]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin: Make metadata symbol lables linker-visible for GNU objc.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 30 Sep 2023 16:15:16 +0000 (17:15 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 26 Oct 2023 14:59:34 +0000 (15:59 +0100)
commit2ae00adb326ed050bd67a67656b20a2cfe789626
tree9f729a8bda67b328a4de55efbaff07c4cfca095a
parentf55cdce3f8dd8503e080e35be59c5f5390f6d95e
Darwin: Make metadata symbol lables linker-visible for GNU objc.

Now we have shifted to using the same relocation mechanism as clang for
objective-c typeinfo the static linker needs to have a linker-visible
symbol for metadata names (this is only needed for GNU objective C, for
NeXT the names are in separate sections).

gcc/ChangeLog:

* config/darwin.h
(darwin_label_is_anonymous_local_objc_name): Make metadata names
linker-visibile for GNU objective C.

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