patchAVR C Runtime Library - Patches: patch #3912, Fix ctype.S linker error due to...

 
 

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

patch #3912: Fix ctype.S linker error due to asm branches out of range

Submitter:  Stefano Fedrigo <aleph>
Submitted:  Fri 15 Apr 2005 11:53:24 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  joerg_wunsch Open/Closed:  Closed

Thu 01 Sep 2005 09:16:35 PM UTC, comment #1: 

Thanks, patch verified and applied.

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 15 Apr 2005 11:53:24 AM UTC, original submission:  

ctype.S contains several separately compiled functions that branch to __cty_isfalse and __cty_istrue. The compiled functions end up in the same linker section but if several functions are compiled and linked together the section gets too large and the __cty_isfalse branch is too far for BRNE, BRGE, etc instructions (+/- 64 words).
In that case linker complains with a relocation truncated error.

The attached patch change all branches with RJMP calls, that have a range greater than the whole ctype.S code (+/- 2 Kwords).

Stefano Fedrigo <aleph>

 

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

Attached Files
file #8684:  ctype_rel.patch added by aleph (6KiB - application/octet-stream - ctype.S patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-09-01 joerg_wunsch StatusNone Done
    Assigned toNone joerg_wunsch
    Open/ClosedOpen Closed
2005-04-15 aleph Attached File- Added ctype_rel.patch, #4460
    Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code