[PATCH] bfd/ld bug when using linker plugins and dynobj is dynamic

Maciej W. Rozycki macro@codesourcery.com
Thu Jun 6 15:58:00 GMT 2013


On Sat, 1 Jun 2013, Kwok Cheung Yeung wrote:

> I haven't seen this anywhere else so far - on MIPS with glibc for example,
> dynobj gets set to the BFD for crti.o. There doesn't seem to be anything
> explicitly stopping the BFD of a dynamic library becoming the dynobj though
> (apart from static objects tending to get there first), so this could
> potentially occur on any architecture.

 FWIW, this is rare enough in real use for there to be some phenomena 
throughout LD seen when dynobj happens to get set to a BFD associated with 
a dynamic rather than a static object, see e.g. the discussion here:

http://sourceware.org/ml/binutils/2012-12/msg00003.html

  Maciej



More information about the Binutils mailing list