[Top][All Lists]

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

[avr-libc-dev] [Bug #3184] XCALL resolved incorrectly in avr5/libc.a

From: nobody
Subject: [avr-libc-dev] [Bug #3184] XCALL resolved incorrectly in avr5/libc.a
Date: Thu, 10 Apr 2003 16:17:33 -0400

=================== BUG #3184: LATEST MODIFICATIONS ==================

Changes by: Joerg Wunsch <address@hidden>
Date: Thu 04/10/03 at 22:17 (Europe/Berlin)

            What     | Removed                   | Added
                  CC |                           | address@hidden

=================== BUG #3184: FULL BUG SNAPSHOT ===================

Submitted by: joerg_wunsch            Project: AVR C Runtime Library        
Submitted on: Thu 04/10/03 at 22:13
Category:  Library                    Severity:  7                          
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Originator Email:  address@hidden
Status:  Open                         

Summary:  XCALL resolved incorrectly in avr5/libc.a

Original Submission:  In a larger ATmega128 project,
the original submitter of this bug (in AVRfreaks) suddenly

itoa.o(.text+0x20): relocation truncated to fit: R_AVR_13_PCREL __udivmodhi4

This corresponds with

        XCALL   _U(__udivmodhi4);  quotient in r23:r22, remainder in r25:r24
                                ;  clobbered: r0, r21, r26, r27
                                ;  call-used but preserved: r18, r19, r20, r30, 
        subi    r24, 0xd0       ; + '0'

in libc/misc/itoa.S.  XCALL is supposed to be an absolute
call for the avr5 target, but extracting itoa.o from
avr5/libc.a, and disassembling it reveals that it has
been assembled as an rcall.

Other functions migh probably be affected as well.

No Followups Have Been Posted

CC List

CC Address                          | Comment
address@hidden     | Steven originally reported the bug.

No files currently attached

For detailed info, follow this link:

reply via email to

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