This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: modified x86 ABI
> From: Andreas Jaeger <aj@suse.de>
> Date: Tue, 23 Oct 2007 11:40:53 +0200
>
> One interesting question to me is what is the ABI like compared to the
> x86-64 ABI? Did you just change the size of the types or did you change
> others as well, e.g. calling conventions?=20=20
Brief answer: x86_64 ABI with minor changes -- primarily just change
sizes to the 32 bit ABI sizes. Use x86_64 calling conventions (e.g.,
pass first few args in registers rather than use the stack).
> Do you need new binutils for this? A new C library?
Truly minor binutils changes. If you wanted to use it with GNU/Linux
or the like, you would need a new C library. For us, our application
is embedded, so we just compile the world in the new mode.
> Andreas
David