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

 
 

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

Submitted by:  Gary <silverblood>
Submitted on:  Fri 28 Sep 2007 01:48:35 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Oct 2007 01:35:49 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1