This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils problem
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andreas Schwab <schwab at suse dot de>, Richard Zidlicky <rz at linux-m68k dot org>,"H. J. Lu" <hjl at lucon dot org>, binutils at sources dot redhat dot com
- Date: Mon, 28 Oct 2002 11:35:56 -0500
- Subject: Re: binutils problem
- References: <20020824004405.B302@linux-m68k.org> <20020823220731.A12566@lucon.org> <20020824135559.A589@linux-m68k.org> <je8z2wmd4z.fsf@sykes.suse.de> <20021024200919.GA13007@nevyn.them.org> <20021025073553.GK12686@bubble.sa.bigpond.net.au>
On Fri, Oct 25, 2002 at 05:05:53PM +0930, Alan Modra wrote:
> On Thu, Oct 24, 2002 at 04:09:19PM -0400, Daniel Jacobowitz wrote:
> > This patch never received any comments. Is it still applicable - it
> > seems so?
>
> Current m68k gas seems to assemble the testcase OK, as I'd expect
> from this code in gas/write.c:
> /* 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)
> continue;
>
> $ cd /src/tmp/gas/m68k-linux/
> $ gas/as-new -o zzz.o /usr/tmp/gas/pea.s
> $ binutils/objdump -dr zzz.o
>
> zzz.o: file format elf32-m68k
>
> Disassembly of section .text:
>
> 00000000 <foobar>:
> 0: 4879 0000 0000 pea 0 <foobar>
> 2: R_68K_32 .LC88+0xa
Thanks. The patch _is_ needed on the 2.13.1 branch and I'll apply it
there; then this will be fixed in 2.13.1 and differently in 2.14. One
more off the TODO list.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer