This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: A glibc dynamic linker or gld bug?


   Date: Tue, 6 Jul 1999 19:28:11 -0700
   From: Richard Henderson <rth@twiddle.net>

   > It is perhaps worth noting that the System V linker and the SGI
   > linker, unlike the GNU linker and the Solaris linker, considers a weak
   > definition followed by a strong definition to be a multiple definition
   > error.

   Really?  SGI does this?  I'm a bit surprised.

It actually follows from a careful reading of the SVR4 generic ELF
ABI.  The GNU linker originally behaved this way as well.  However,
somebody complained, and I checked Solaris.  Since Solaris acts
differently, I changed the GNU linker, thus unfortunately perpetuating
a split.

Ian

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