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

Submitter:  Stephane Carrez <ciceron>
Submitted:  Fri 05 Mar 2004 10:58:47 PM UTC
   
 
Category:  gcc Severity:  4 - Important
Item Group:  sw-bug Status:  Fixed
Privacy:  Public Assigned to:  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>
Group administrator
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>
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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-01 ciceron StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code