A glibc dynamic linker or gld bug?

Ian Lance Taylor ian@zembu.com
Tue Jul 6 19:31:00 GMT 1999


   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


More information about the Binutils mailing list