aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorStefan Dösinger <stefan@codeweavers.com>2009-10-12 16:36:37 +0000
committerRichard Henderson <rth@gcc.gnu.org>2009-10-12 09:36:37 -0700
commitafd2c302c6f4377ed46d809744115e67d363d997 (patch)
tree458ae7e284b9bdd2f115c05aee9e40fdb0d47167 /gcc/doc
parentea1b2f550d560f911ee70052713b7e5a17d44f33 (diff)
downloadgcc-afd2c302c6f4377ed46d809744115e67d363d997.zip
gcc-afd2c302c6f4377ed46d809744115e67d363d997.tar.gz
gcc-afd2c302c6f4377ed46d809744115e67d363d997.tar.bz2
i386.md (vswapmov): New.
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. From-SVN: r152670
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 6f09555..da886a3 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