avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks


From: Marek Michalkiewicz
Subject: Re: [avr-gcc-list] probelms with new avr-gcc from avr-freaks
Date: Sat, 6 Jul 2002 15:08:14 +0200 (CEST)

> ./OBJ/os_cpu_a.o  -T/source/avrmega103.x  -Wl,-Map=test.map,--cref -mmcu=atm
> ega103  -o test.elf
> D:\AVRGCC\BIN\..\lib\gcc-lib\avr\3.2\..\..\..\..\avr\bin\ld.exe: section
> .vector
> s [000030be -> 0000311d] overlaps section .data [000030be -> 0000328f]

If you need to use a modified linker script, make a copy of avr3.x (not
avrmega103.x) and modify that (old linker scripts are provided only for
compatibility, so that GCC 3.0 and 3.1 will work with latest binutils).

I don't want to remove the old linker scripts from binutils source just
yet (only after the 2.13 release), but they are not necessary (and only
cause confusion) in the win32 binary distribution.  Just keep the new
avr[1-5].* ones, that's all that is needed for GCC 3.2.

> ../../../crt1/gcrt1.S:40: undefined reference to `__data_end'
> ../../../crt1/gcrt1.S:41: undefined reference to `__data_load_start'

These symbols are also defined in the new linker scripts.

Hope this helps,
Marek

avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]