URL:
  <http://savannah.nongnu.org/bugs/?21174>

                 Summary: assembly error with targets at90s1200, attiny11,
attiny12, and attiny28
                 Project: AVR C Runtime Library
            Submitted by: silverblood
            Submitted on: Friday 09/28/2007 at 01:48
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

with binutils-2.17, gcc-4.2.0, and avr-libc (cvs as of 2007-09-15)

building from assembly for the at90s1200, attiny11, attiny12, and attiny28
targets fails with the following:

{avr-toolchain-root}/bin/avr-gcc -c -Wa,-gstabs -x assembler-with-cpp
-mmcu=at90s1200   -o main.o main.s 
{avr-toolchain-root}/bin/avr-gcc -O2 -mno-wrap -I. -fpack-struct
-fshort-enums -funsigned-bitfields -funsigned-char -g -Wall -O2
-mmcu=at90s1200  -Wa,-gstabs -Wl,-Map,main.map -o main.elf main.o 
{avr-toolchain-root}/bin/../lib/gcc/avr/4.2.0/../../../../avr/lib/crts1200.o:
In function `__bad_interrupt':
../../../../crt1/gcrt1.S:124: undefined reference to `exit'
make: *** [main.elf] Error 1

the message for the other devices is the same excepting the object file,
which is crttn11.o, crttn12.o, crttn15.o, and crttn28.o, respectively for
attiny11, attiny12, and attiny28.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21174>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to