This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AVR][PATCH] Add linker relaxation support / Fix 64 bit bug ingas rev. 5
- From: Nick Clifton <nickc at redhat dot com>
- To: Björn Haase <bjoern dot m dot haase at web dot de>
- Cc: binutils at sourceware dot org, Bernd Trog <berndtrog at yahoo dot com>
- Date: Tue, 08 Nov 2005 12:16:41 +0000
- Subject: Re: [AVR][PATCH] Add linker relaxation support / Fix 64 bit bug ingas rev. 5
- References: <200510151652.33552.bjoern.m.haase@web.de> <200510310032.05450.bjoern.m.haase@web.de> <436F93C4.6030109@redhat.com> <200511072310.09790.bjoern.m.haase@web.de>
Hi Björn,
ok, Nick, I indeed have forgotten to attach the patch. Here it is now. Here I
also have added the appropriate *(.data.*) and *(.bss.*) lines for making the
-fdata-sections switch useable.
I am very sorry, but there is still a problem with this patch. A new
GAS test is failing:
Running /sources/binutils/current/gas/testsuite/gas/all/gas.exp ...
FAIL: .equ redefinitions (2)
This is because GAS is generating a reloc with a bad symbol index:
.../avr-elf/binutils/objdump -rsj .data dump.o > dump.out
BFD: dump.o(.data): relocation 0 has invalid symbol index 11389588
Which in turn is probably related to the fact that the reloc is being
made against a local symbol ("here") rather than a global symbol.
Please could you investigate and fix this problem.
Cheers
Nick