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

Björn Haase bjoern.m.haase@web.de
Sun Oct 30 22:24:00 GMT 2005


Hi,

Concerning the linker relaxation patch for avr, I just have received a private 
mail from Bernd Trog who asked me to add support for the -fdata-sections 
switch in the avr.sc patch. This would require the addition of two lines

> -*(.data)
> +*(.data*)
>
> -*(.bss)
> +*(.bss*)

to avr.sc for the .data and .bss output sections respectively. 
Presently we do not support the -fdata-sections switch due to the two missing 
lines in the linker script. In order to keep revision numbers lower than 
10 :-), I am now not again posting an entire new patch, but I think this 
change should be added. Once the patch is approved, I would be willing to 
post a final patch that incorporates also this change.

Bjoern.



More information about the Binutils mailing list