This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Will glibc support optional STT_COMMON lookup?
On Wed, Oct 10, 2007 at 05:53:52AM -0700, H.J. Lu wrote:
> If I am not mistaken, glibc treates STT_COMMON the same as STT_OBJECT.
Right.
> That means the optional STT_COMMON lookup isn't supported. There
> is no point to generate STT_COMMON in executable and shared library.
Yep. I don't think it would be a good idea to slow down the dynamic
lookup for this, especially if STT_COMMON would be generated for all
common vars rather than only when asked for it by some new attribute.
That would throw us back to the LD_DYNAMIC_WEAK=1 times.
Jakub