--- Additional Comments From ccoutant at google dot com 2008-03-31 21:18
---
When Nick reviewed my patch, he did some additional code cleanup and
changed several instances of '\012' to ARFMAG[0]. That should have
been ARFMAG[1].
--
What|Removed
--- Additional Comments From schwab at suse dot de 2008-03-31 22:15 ---
The problem appears to be that the INTERP segment has a lot of sections
besides .interp lumped together:
$ readelf -l script_test_3
Elf file type is EXEC (Executable file)
Entry point 0x1480
There are 5
avr-ld fails with --relax, unless --gc-sections is also used, even if
-ffunction-sections is not used with avr-gcc.
--
Summary: [avr] avr-ld --relax requires --gc-sections
Product: binutils
Version: 2.18
Status: NEW
Severity: normal