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]

Dead easy question - if you already know...



  I kind of already know that the answer is "yes", but I don't understand the
logic behind it:

  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.

  But why?  Where's the output going, if not to an output bfd?



  (And if there's something I've overlooked in the docs that should have
already explained this for me, RTFM pointers gratefully accepted.)

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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