This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Re: [Fwd: gas: installing relocations for SEC_MERGE strings]


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


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