This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting GCC to generate m68k RTE instruction


Matthew Majka wrote:

> Hi all,
>
> Target m68k-coff (MC68360)
>
> Is there are way to tell GCC to use an RTE instruction, instead of RTS, at the
> end of a function used as an interrupt handler?  A pragma perhaps?
>

Pragma does not exist. Probably, the better way is writing cover function
inassembler. Look crossgcc FAQ for additional discuss about this problem.

                                                       Best regards, Victor

--
Victor V. Vengerov
TEPKOM State Enterprise
Bibliotechnaya sq., 2, office 3382
St.-Petersburg, Russian Fed.
Tel. 7 (812) 428-4659, 7 (812) 279-7504
fax. 7 (812) 428-7109