This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: HPPA/SOM Patch
- To: Mark Klein <mklein@dis.com>
- Subject: Re: HPPA/SOM Patch
- From: Jeffrey A Law <law@cygnus.com>
- Date: Mon, 14 Jun 1999 01:18:25 -0600
- cc: Ian Lance Taylor <ian@airs.com>, binutils@sourceware.cygnus.com
- Reply-To: law@cygnus.com
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