This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for ELF's STT_COMMON symbol type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]