From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Mark Klein Cc: Ian Lance Taylor , binutils@sourceware.cygnus.com Subject: Re: HPPA/SOM Patch Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <26495.929344705@upchuck.cygnus.com> References: <4.1.19990604110845.00bb5100@garfield.dis.com> X-SW-Source: 1999-q2/msg00237.html 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