A glibc dynamic linker or gld bug?

Ian Lance Taylor ian@zembu.com
Wed Jul 7 07:35:00 GMT 1999


   Date: Wed, 7 Jul 1999 18:23:19 +1000
   From: Geoff Keating <geoffk@ozemail.com.au>

   Or the converse; if the weak symbol is initially defined in a shared
   object, referenced by the executable, but later becomes undefined.  I
   think that if such a thing happens, it should be an error in ld.so
   (only for symbols referenced by the executable, of course).  It would
   be nice to make the first case a visible error too.

I think that this particular case does work correctly now.  Assuming
we are talking about a weak undefined symbol, the program linker will
generate the appropriate relocations, and the dynamic linker will
handle them correctly if the weak symbol disappears from the shared
library.  This was sorted out in February 1999.

Ian


More information about the Binutils mailing list