aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2020-11-13 12:07:45 -0700
committerJeff Law <law@redhat.com>2020-11-13 12:08:48 -0700
commit500e7efee91cc66f91f993f53039983f131f7075 (patch)
treec9ff2549a94173730139e9a2866b5ed0b7b63c5b
parentfcbb6018abaf04d30e2cf6fff2eb35115412cdd5 (diff)
downloadgcc-500e7efee91cc66f91f993f53039983f131f7075.zip
gcc-500e7efee91cc66f91f993f53039983f131f7075.tar.gz
gcc-500e7efee91cc66f91f993f53039983f131f7075.tar.bz2
Clarify the documentation for the ms_abi fucntion attribute
gcc/ * doc/extend.texi: Clarify the documentation for the ms_abi function attribute.
-rw-r--r--gcc/doc/extend.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index af25f66..c084dd1 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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.