This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
x86 procedure calling convention (again)
- From: phi gcc <phi dot gcc at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 7 Nov 2012 13:49:47 +0100
- Subject: x86 procedure calling convention (again)
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) ...
Any hints appreciated.
Cheers,
Phi