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

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

[avr-gcc-list] section .vectors [0000000e -> 00000027] overlaps section


From: Jan Kneschke
Subject: [avr-gcc-list] section .vectors [0000000e -> 00000027] overlaps section .data ...
Date: Thu, 1 Aug 2002 23:31:35 +0200
User-agent: KMail/1.4.1

The following program doesn't compile:

char a[] = "";

int main(void) {
        for(;;);
}


output is:

$ ../bin/avr-gcc -c -Os -Wall -g -mmcu=at90s8515 -I/usr/local/avr/include -o 
demo.o demo.c
$ ../bin/avr-gcc -Os -Wall -g -mmcu=at90s8515 -I/usr/local/avr/include -o demo 
demo.o
../bin/../lib/gcc-lib/avr/3.2/../../../../avr/bin/ld: section .vectors 
[0000000e -> 00000027] overlaps section .data [0000000e -> 0000000f]
make: *** [demo] Fehler 1

$ ../bin/avr-ld --version
GNU ld version 020731 20020731

$ ../bin/avr-gcc --version
avr-gcc (GCC) 3.2 20020729 (prerelease)

Is there a way to get that working ? The 8515 has 256 bytes of RAM and
it would be nice if I could use it with avr-gcc.

Jan

-- 
http://jan.kneschke.de   weigon @ #modlogan - irc.openprojects.net
mailto:address@hidden   weigon @ #php.de   - irc.fu-berlin.de

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



reply via email to

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