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: hjl at lucon dot org
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:08:30 -0000

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




reply via email to

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