This is the mail archive of the binutils@sourceware.org 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: [AVR][PATCH] Add linker relaxation support / Fix 64 bit bug ingas rev. 5


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]