[patch i386]: Add support of "hotfix" -feature for x64
Kai Tietz
Kai.Tietz@onevision.com
Wed Jun 30 13:28:00 GMT 2010
Hello,
this patch adds the hot-patchabel Win32 feature used by Wine also for x64
targets. Additionally it adds the missing feature part of adding prefix
before function as hot-patchable area, as defined by win32 ABI.
ChangeLog gcc/
2010-06-30 Kai Tietz <kai.tietz@onevision.com>
* config/i386/i386.c (ix86_function_ms_hook_prologue): Enable x64
support.
(ix86_expand_prologue): Likewise.
(ix86_handle_fndecl_attribute): Likewise.
(ix86_asm_declare_function_name): New function for
ASM_DECLARE_FUNCTION_NAME.
* config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): New macro.
* config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Removed.
(SUBTARGET_ASM_DECLARE_FUNCTION_NAME): New macro.
* config/i386/i386-protos.h (ix86_asm_declare_function_name): New.
* doc/extend.texi: Adjust documentation about ms_hook_prologue
attribute.
ChangeLog gcc/testsuite
2010-06-30 Kai Tietz <kai.tietz@onevision.com>
* gcc.target/i386/ms_hook_prologue.c: Add x64 ms_hook_prologue
support.
* gcc.target/i386/i386.exp: Likewise.
Regards,
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adfn_hook.diff
Type: application/octet-stream
Size: 8953 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100630/8f048923/attachment.obj>
More information about the Gcc-patches
mailing list