[Bug target/60545] Please support the 64-bit Windows/EFI calling convention on x86-64 Linux/ELF
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 17 04:16:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60545
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The attribute is ms_abi. It is documented in 4.4.0 and above.
>From GCC 4.5.0 docuemtnation:
http://gcc.gnu.org/onlinedocs/gcc-4.45.0/gcc/Function-Attributes.html#Function-Attributes
ms_abi/sysv_abi
On 64-bit x86_64-*-* targets, you can use an ABI attribute to indicate which
calling convention should be used for a function. The ms_abi attribute tells
the compiler to use the Microsoft ABI, while the sysv_abi attribute tells the
compiler to use the ABI used on GNU/Linux and other systems. The default is to
use the Microsoft ABI when targeting Windows. On all other systems, the default
is the AMD ABI.
Note, the ms_abi attribute for Windows targets currently requires the
-maccumulate-outgoing-args option.
More information about the Gcc-bugs
mailing list