------- Additional Comments From shausman at trolltech dot com 2007-01-05
14:04 -------
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.
--
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