bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/3831] Support for automatically including symbols in the list of


From: shausman at trolltech dot com
Subject: [Bug ld/3831] Support for automatically including symbols in the list of dynamic symbols that are referenced as global data
Date: 5 Jan 2007 14:04:43 -0000

------- 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]