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: binutils problem


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

-- 
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]