Can gcc generate an x86 "far return"?

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

 



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?

Thanks,
John

(I'm talking i386 and newer...).

[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