[AVR][PATCH] Add linker relaxation support / Fix 64 bit bug in gas rev. 5

Nick Clifton nickc@redhat.com
Tue Nov 8 12:15:00 GMT 2005


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



More information about the Binutils mailing list