This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Question about MIPS elf-rel7
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Mon, 5 May 2003 08:57:35 +0930
- Subject: Re: Question about MIPS elf-rel7
- References: <20030504212017.GA7289@nevyn.them.org>
On Sun, May 04, 2003 at 05:20:17PM -0400, Daniel Jacobowitz wrote:
> .section .barsec,"aM",@progbits,8
[snip]
> Why should the first relocation be section-relative instead of
> symbol-relative?
How is escaping this check in gas/write.c:adjust_reloc_syms?
/* Never adjust a reloc against local symbol in a merge section
with non-zero addend. */
if ((symsec->flags & SEC_MERGE) != 0
&& (fixp->fx_offset != 0 || fixp->fx_subsy != NULL))
continue;
--
Alan Modra
IBM OzLabs - Linux Technology Centre