This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Fwd: gas: installing relocations for SEC_MERGE strings]
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Joern Rennecke <joern dot rennecke at st dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 10 Apr 2002 21:49:00 +0930
- Subject: Re: [Fwd: gas: installing relocations for SEC_MERGE strings]
- References: <3CB41414.D3540902@st.com>
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