aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-07-08 17:53:44 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2010-07-08 19:53:44 +0200
commit135a687e07ebca28ae62b9b37f421f8e73dd50da (patch)
treefa8c8344ea79abfbf4515250a71acdceffc27b5d /gcc/varasm.c
parent5ab3a5af253c3b6a57ccf66444e393815eedcaff (diff)
downloadgcc-135a687e07ebca28ae62b9b37f421f8e73dd50da.zip
gcc-135a687e07ebca28ae62b9b37f421f8e73dd50da.tar.gz
gcc-135a687e07ebca28ae62b9b37f421f8e73dd50da.tar.bz2
i386-protos.h (ix86_asm_output_function_label): New prototype.
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. From-SVN: r161971
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 68ae70a..de78bd0 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1865,7 +1865,7 @@ assemble_start_function (tree decl, const char *fnname)
ASM_DECLARE_FUNCTION_NAME (asm_out_file, fnname, current_function_decl);
#else
/* Standard thing is just output label for the function. */
- ASM_OUTPUT_LABEL (asm_out_file, fnname);
+ ASM_OUTPUT_FUNCTION_LABEL (asm_out_file, fnname, current_function_decl);
#endif /* ASM_DECLARE_FUNCTION_NAME */
}