bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/302] Add warning when ELF symbol visibility is not consistent


From: s_fsfeurope2 at nedprod dot com
Subject: [Bug ld/302] Add warning when ELF symbol visibility is not consistent
Date: 14 Nov 2004 21:34:29 -0000

------- Additional Comments From s_fsfeurope2 at nedprod dot com  2004-11-14 
21:34 -------
Please find attached a patch to GNU ld implementing the proposed enhancement. 
The new command line option --warn-visibility-clash will now cause the issue of 
warnings when a symbol in two compilation units has different visibilities.

Big question: I followed Alan Modra's instructions but the bit he suggested has 
if(!dynamic) surrounding it. Does this mean that the warning would not be 
issued 
when dynamic libraries are being linked?

If so, this is wrong - we WANT the warning when the same symbol in two shared 
libraries differ. Suggestions most welcome, I am not familiar with this source.

Cheers,
Niall


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=302

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