bugGNU Development Chain for 68HC11/68HC12 - Bugs: bug #8028, Problem with interrupt handlers...

 
 

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

bug #8028: Problem with interrupt handlers and -mlong-calls

Submitted by:  Stephane Carrez <ciceron>
Submitted on:  Fri 05 Mar 2004 10:58:47 PM UTC  
 
Category: gccSeverity: 4 - Important
Item Group: sw-bugStatus: Fixed
Privacy: PublicAssigned to: Stephane Carrez <ciceron>
Open/Closed: Closed

Sun 01 Aug 2004 12:37:30 PM UTC, comment #1:

Fixed in 3.0.
Fix reported in gcc (in of 3.4.0, 3.4.1 and 3.5)

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Fri 05 Mar 2004 10:58:47 PM UTC, original submission:

When an interrupt handler is compiled with -mlong-calls
the interrupt handler will crash at its return.

The interrupt handler is correctly generated with 'rti'.

However, the symbol is marked with 'far':

.far handler

And this 'far' marking generates a trampoline which is
used in the interrupt table. The interrupt is then
redirected to the trampoline, thus creating an invalid
call frame.

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

Date Changed By Updated Field Previous Value => Replaced By
Sun 01 Aug 2004 12:37:30 PM UTCciceronStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1