This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Dead easy question - if you already know...


On Mon, Apr 21, 2008 at 06:13:27PM +0100, Dave Korn wrote:
>   The standard idiom in bfd to find out if you're doing a relocatable or final
> link is to test if the output bfd pointer is NULL; if so, you're doing a final
> link, else you're doing a relocatable one.

This true of the relocation howto functions, but it is certainly not
true in general.  The output bfd is passed in many other function.
I don't know why the relocation howto functions were written that
way.

-- 
Alan Modra
Australia Development Lab, IBM


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