WinAVR gcc, 2007 version does not correctly pass data re-location options to the linker, so variables cannot be re-located to external memory.
Option that fails is : -Wl,-Tdata=0x801100,--defsym=__heap_end=0x807fff the -Tdata=0x80110 is ignored. Workaround is to use : -Wl,--section-start=.data=0x801100,--defsym=__heap_end=0x807fff Cheers. Phill. -- Summary: section options not passed to linker Product: binutils Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: afra at aurigae dot demon dot co dot uk CC: bug-binutils at gnu dot org GCC host triplet: WinAVR-windows GCC target triplet: avr http://sourceware.org/bugzilla/show_bug.cgi?id=4346 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils