diff options
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 6f0955577c3..a0f66214e3f 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2679,6 +2679,14 @@ when targeting Windows. On all other systems, the default is the AMD ABI. Note, This feature is currently sorried out for Windows targets trying to +@item ms_hook_prologue +@cindex @code{ms_hook_prologue} attribute + +On 32 bit i[34567]86-*-* targets, you can use this function attribute to make +gcc generate the "hot-patching" function prologue used in Win32 API +functions in Microsoft Windows XP Service Pack 2 and newer. This requires +support for the swap suffix in the assembler. (GNU Binutils 2.19.51 or later) + @item naked @cindex function without a prologue/epilogue code Use this attribute on the ARM, AVR, IP2K and SPU ports to indicate that @@ -9732,7 +9740,7 @@ storing the value 32767 if the result overflows. @item int __builtin_subs (int @var{x}, int @var{y}) Saturating subtraction. Return the result of subtracting @var{y} from -@var{x}, storing the value -32768 if the result overflows. +@var{x}, storing the value @minus{}32768 if the result overflows. @item void __builtin_halt (void) Halt. The processor will stop execution. This built-in is useful for |