]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Clarify the documentation for the ms_abi fucntion attribute
authorPeter Jones <pjones@redhat.com>
Fri, 13 Nov 2020 19:07:45 +0000 (12:07 -0700)
committerJeff Law <law@redhat.com>
Fri, 13 Nov 2020 19:08:48 +0000 (12:08 -0700)
gcc/

* doc/extend.texi: Clarify the documentation for the ms_abi
function attribute.

gcc/doc/extend.texi

index af25f66c8b4285a2dff4397b90135d4d10d7964b..c084dd15367d49b3c4f7abcdd99b54f240d1f256 100644 (file)
@@ -6161,9 +6161,10 @@ and for static member methods.
 On 32-bit and 64-bit x86 targets, you can use an ABI attribute
 to indicate which calling convention should be used for a function.  The
 @code{ms_abi} attribute tells the compiler to use the Microsoft ABI,
-while the @code{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 x86/AMD ABI.
+while the @code{sysv_abi} attribute tells the compiler to use the System V
+ELF ABI, which is 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 System V ELF ABI.
 
 Note, the @code{ms_abi} attribute for Microsoft Windows 64-bit targets currently
 requires the @option{-maccumulate-outgoing-args} option.