This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] bfd/ld bug when using linker plugins and dynobj is dynamic
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Kwok Cheung Yeung <kcy at codesourcery dot com>
- Cc: <binutils at sourceware dot org>
- Date: Thu, 6 Jun 2013 16:58:29 +0100
- Subject: Re: [PATCH] bfd/ld bug when using linker plugins and dynobj is dynamic
- References: <51A949C1 dot 1090003 at codesourcery dot com>
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