Reg ABI

Michael Eager eager@eagercon.com
Thu May 8 15:57:00 GMT 2003


Anil Kumar wrote:
> I am looking at the assembly code generated by gcc.
> Based on the System V ABI Draft
> (http://www.caldera.com/developers/devspecs/) i am not
> able to figure out the conventions used. Maybe the
> draft is too old or incomplete. Where can i get the
> latest version of C and C++ ABIs? The gcc version
> which i am using is 3.2.2.

There is a base SVR4 ABI, which was written by AT&T/UI/Caldera/SCO.
That's the one that you currently have.

The details of the calling conventions are in ABI supplements for
each architecture.  Some are well defined, others less so.
What architecture are you working with?

For C++, see http://www.codesourcery.com/publications.html



-- 
Michael Eager	 Eager Consulting     eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Gcc mailing list