Re: Forcing far calls on x86

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

 



Mike Smith <scgtrp@xxxxxxxxx> writes:

> Is it possible to force GCC to emit absolute-address calls when
> compiling for x86? I'm referring to the CALL r/m32 (FF /2) form of the
> instruction, as opposed to the CALL rel32 (E8) form.

I don't think there is any gcc option for this in 32-bit mode.

In 64-bit mode you can use -mcmodel=large.

Ian


[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