]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin, crts: Build Darwin10 unwinder shim as a library.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 18 Sep 2021 16:08:42 +0000 (17:08 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 14 Apr 2022 05:24:56 +0000 (06:24 +0100)
commit916814832ab8d91c15b790c97dd5e382a4e8c229
tree514151ff235902252d13c812db3f431684c96dc3
parent13ef16cf960b66dcbf85feb32767c68ae75bfba1
Darwin, crts: Build Darwin10 unwinder shim as a library.

We have a small unwinder shim that is only used for Darwin10
(and only then in quite specific cases).  To avoid linking
this code for every executable or DSO, we can present the crt
as a convenience library (rather than a .o file).

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:

* config/darwin.h (LINK_COMMAND_SPEC_A): Use Darwin10
unwinder shim as a convenience library.

libgcc/ChangeLog:

* config.host: Use convenience library for Darwin10
unwinder shim.
* config/t-darwin: Build Darwin10 unwinder shim as a
convenience library.

(cherry picked from commit 873854387865d18484bd0d39324773cd1e76df85)
gcc/config/darwin.h
libgcc/config.host
libgcc/config/t-darwin