x86 procedure calling convention (again)
Andrew Haley
aph@redhat.com
Wed Nov 7 16:23:00 GMT 2012
On 11/07/12 12:49, phi gcc wrote:
> Hi All,
>
> Is there a documnent or a way to know the various procedure calling
> convention used by gcc over time (i.e by gcc version) for regular
> compile, fastcall, (eventually static function).
>
> For instance I got occurences of some gcc version that do
> a0 in ax, a1 in dx, a2 in 0(sp), a3 in 4(sp) ...
>
> and other occurences that do
> a0 in cx, a1 in dx, a2 in 0(sp), a3 in 4(sp) ...
http://www.sco.com/developers/devspecs/abi386-4.pdf
Andrew.
More information about the Gcc-help
mailing list