------- Additional Comments From hjl at lucon dot org 2007-01-05 14:08 -------
(In reply to comment #4)
> Sorry, maybe I was mixing up terms incorrectly there. For 'export' I
> effectively meant ELF visibility.
>
> __attribute__((visibility("hidden")) int secret = 0;
> __attribute__((visibility("default")) int public = 42;
>
> If you say that the linker can find out about these variables doesn't it also
> know their visiblity?
>
> References to hidden ones can be bound locally, not so for the
> visible/exported
> ones.
You don't need --dynamic-list for it. It should work by default. If not,
please open a bug. I will fix it.
--dynamic-list is for controlling bindings of exported global symbols within
DSO.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3831
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils