bugGNU Development Chain for 68HC11/68HC12 - Bugs: bug #1403, Branch adjustment to another...

 
 

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

bug #1403: Branch adjustment to another section not correct when doing linker relaxation

Submitted by:  Stephane Carrez <ciceron>
Submitted on:  Sat 12 Oct 2002 10:25:17 AM UTC  
 
Category: binutilsSeverity: 3 - Normal
Item Group: sw-bugStatus: None
Privacy: PublicAssigned to: Stephane Carrez <ciceron>
Open/Closed: Closed

Sat 12 Oct 2002 10:25:17 AM UTC, original submission:

A jump to a different section is not relaxed correctly.
In the following assembly code:

.sect .text
.globl _start
_start:
.relax L1
ldx #table
bset 0,x #4
L1:
nop
bra toto

.sect .text.toto
.globl toto
toto:
rts
.sect .page0
.globl table
table: .long 0

When assembled and linked with --relax, the 'bra toto'
is adjusted but the branch becomes invalid. This comes
from the fact that 'toto' is not in the same
section as the 'bra' which use it.

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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 15 Oct 2002 08:55:44 PM UTCciceronOpen/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup