[Fwd: gas: installing relocations for SEC_MERGE strings]

Alan Modra amodra@bigpond.net.au
Wed Apr 10 05:19:00 GMT 2002


On Wed, Apr 10, 2002 at 11:29:40AM +0100, Joern Rennecke wrote:
> 
> I can fix this for now in TC_FIX_ADJUSTABLE in tc-sh.h, but I wonder if
> any target actually wants these fixups to occur, or if we would be 
> better off to change the condition above to
> 	
> if (! symbol_used_in_reloc_p (fixP->fx_addsy)
>      && TC_FIX_ADJUSTABLE(fixP))

That's probably the right thing to do, but I've been caught out before
when trying to simplify this code.  Can you add a generic testcase to
the testsuite?  That way, we'll soon see if other targets have similar
problems with SEC_MERGE relocs.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list