summaryrefslogtreecommitdiffstats
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-08 17:53:44 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-08 17:53:44 +0000
commit2761b7cb0156763a66f84eabbba47751c2669577 (patch)
treefa8c8344ea79abfbf4515250a71acdceffc27b5d /gcc/config/darwin.h
parent7f55dd083b55f09bcc5940668f7d52780551e95c (diff)
downloadppe42-gcc-2761b7cb0156763a66f84eabbba47751c2669577.tar.gz
ppe42-gcc-2761b7cb0156763a66f84eabbba47751c2669577.zip
2010-07-08 Kai Tietz <kai.tietz@onevision.com>
* config/i386/i386-protos.h (ix86_asm_output_function_label): New prototype. * config/i386/i386.c (ix86_function_ms_hook_prologue): Check for NULL fntype argument and allow 64-bit targets. (ix86_asm_output_function_label): New function. (ix86_expand_prologue): Handle 64-bit ms hook prologue. (ix86_handle_fndecl_attribute): Likewise. * doc/extend.texi (ms_hook_prologue): Adjust documentation. * doc/doc/tm.texi: Regenerated. * doc/doc/doc/tm.texi.in (ASM_OUTPUT_FUNCTION_LABEL): New. (ASM_DECLARE_FUNCTION_NAME): Adjust documentation. * defaults.h (ASM_OUTPUT_FUNCTION_LABEL): New macro. * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL. * config/elfos.h: Likewise. * config/i386/cygming.h: Likewise. * config/netbsd-aout.h: Likewise. * config/openbsd.h: Likewise. * config/i386/i386.h (ASM_OUTPUT_FUNCTION_LABEL): Override by ix86_asm_output_function_label function call. * varasm.c (assemble_start_function): Use ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 6b681ee4509..99d99288152 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -651,7 +651,7 @@ extern GTY(()) int darwin_ms_struct;
&& (!DECL_COMMON (DECL) || !TREE_PUBLIC (DECL))) \
|| DECL_INITIAL (DECL)) \
(* targetm.encode_section_info) (DECL, DECL_RTL (DECL), false); \
- ASM_OUTPUT_LABEL (FILE, xname); \
+ ASM_OUTPUT_FUNCTION_LABEL (FILE, xname, DECL); \
} while (0)
#undef TARGET_ASM_DECLARE_CONSTANT_NAME
OpenPOWER on IntegriCloud