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 authentification level.

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

Submitted by:  Stephane Carrez <ciceron>
Submitted on:  Thu 05 Dec 2002 09:44:31 PM UTC  
 
Category: binutilsSeverity: 4 - Important
Item Group: sw-bugStatus: Fixed
Privacy: PublicAssigned to: Stephane Carrez <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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

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
Wed 23 Apr 2003 08:25:08 PM UTCciceronStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Thu 05 Dec 2002 09:45:47 PM UTCciceronSeverity3 - Normal=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup