Support for ELF's STT_COMMON symbol type
Nick Clifton
nickc@redhat.com
Thu Oct 4 13:48:00 GMT 2007
Hi Alan,
Just to note: the current version of the patch does leave STT_COMMON types in
executables, so it will cause problems for ld.so. Fortunately I am not
planning on checking this patch in as-is.
> On Wed, Oct 03, 2007 at 05:01:46PM -0700, Ian Lance Taylor wrote:
>> I believe this is a bug which should be fixed in glibc.
>
> Yes, and ld.so needs to implement the different lookup rules too.
> The problem is that since glibc doesn't support STT_COMMON, we
> can't change ld until glibc is fixed. Ideally, ld would automatically
> detect a fixed glibc (or newlib, which has the same lack of STT_COMMON
> support).
Hmm, so for the moment it looks like we need a configure option, or maybe a
configure-time test (for native toolchains), to control this part of the patch.
Cheers
Nick
More information about the Binutils
mailing list