bugGNU Development Chain for 68HC11/68HC12 - Bugs: bug #1906, linker does not relocate 68HC12...

 
 

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

bug #1906: linker does not relocate 68HC12 far calls correctly

Submitter:  Stephane Carrez <ciceron>
Submitted:  Thu 05 Dec 2002 09:44:31 PM UTC
   
 
Category:  binutils Severity:  4 - Important
Item Group:  sw-bug Status:  Fixed
Privacy:  Public Assigned to:  ciceron
Open/Closed:  Closed

Wed 23 Apr 2003 08:25:08 PM UTC, comment #1: 

This is fixed in release 2.2 and in next binutils (2.14).

Stephane Carrez <ciceron>
Group administrator
Thu 05 Dec 2002 09:44:31 PM UTC, original submission:  

The linker does not relocate the 68HC12 call addresses
correctly.  The page number seem to be always 0.
The address seem also to be wrong (for a call).

reported by Al Gelders:

0000c018 <.LM5>:
  foo1();
    c018: 4a 00 00 00 call 0 <__data_section_size> {0
<__data_section_size>, 0}

0000c01c <.LM6>:
  foo2();
    c01c: 4a 40 00 00 call 4000 <_start> {4000 <_start>, 0}

The calls should be:
    4a 80 00 30 for foo1();
And
    4a 80 00 31 for foo2();



Stephane Carrez <ciceron>
Group administrator

 

(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

 

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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-04-23 ciceron StatusNone None
    Open/ClosedOpen None
2002-12-05 ciceron Severity3 - Normal None

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code