This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: HPPA/SOM Patch



  In message <4.1.19990604110845.00bb5100@garfield.dis.com>you write:
  > Ah ... symbol_mark_used_in_reloc called from hppa_fix_adjustable.
  > 
  > I'm not sure what is intended here ... :-/
For SOM, you need to actually keep track of which symbols are used.  A symbol
which is imported, but never used is not supposed to be added to the
symbol table.

At one time, the generic gas code did not set sy_used_in_reloc for the
sym2 in a sym1-sym2 expression.  Thus hppa_fix_adjustable would set the
flag.
jeff


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