bugAVR C Runtime Library - Bugs: bug #21174, assembly error with targets...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21174: assembly error with targets at90s1200, attiny11, attiny12, and attiny28

Submitter:  Gary <silverblood>
Submitted:  Fri 28 Sep 2007 01:48:35 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

Tue 23 Oct 2007 01:35:49 PM UTC, comment #1: 

For the assembly-only architectures, I reverted the file to the
old behaviour or jumping to main, rather than calling it.

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 28 Sep 2007 01:48:35 AM UTC, original submission:  

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.

Gary <silverblood>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by silverblood (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-23 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code