Re: Can gcc generate an x86 "far return"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 07, 2009 at 04:36:04PM -0800, John Z. Bohach wrote:
> Is there an __attribute__ or #pragma or some other facility to get gcc 
> to generate an "lret" (opcode  0xcb as opposed to opcode 0xc3) at the 
> end of a void function?
> 
> I am able to generate my own "lret" via inline assembly, but I was 
> wondering if the compiler offered any other options?

There is no current support in the compiler for generating an LRET instruction
directly.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@xxxxxxxxxxxxxxxxxx

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux