diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-12 16:36:37 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-12 16:36:37 +0000 |
commit | 5a5324bc2c016804d001045dae3a8dcab9f01bb4 (patch) | |
tree | 458ae7e284b9bdd2f115c05aee9e40fdb0d47167 /gcc/doc/extend.texi | |
parent | b4722fd8dea9ece0db2c6ea8c1e6e55c2f082e27 (diff) | |
download | gcc-5a5324bc2c016804d001045dae3a8dcab9f01bb4.tar.gz |
2009-10-12 Stefan Dösinger <stefan@codeweavers.com>
* config/i386/i386.md (vswapmov): New.
* config/i386/i386.c (ix86_handle_fndecl_attribute): New.
(ix86_function_ms_hook_prologue): New.
(ix86_expand_prologue): Handle ms_hook_prologue attribute.
* configure.ac: Test for swap suffix support in as.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152670 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 6f0955577c3..da886a30f11 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 |