diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-07-08 17:53:44 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2010-07-08 19:53:44 +0200 |
commit | 135a687e07ebca28ae62b9b37f421f8e73dd50da (patch) | |
tree | fa8c8344ea79abfbf4515250a71acdceffc27b5d /gcc/defaults.h | |
parent | 5ab3a5af253c3b6a57ccf66444e393815eedcaff (diff) | |
download | gcc-135a687e07ebca28ae62b9b37f421f8e73dd50da.tar.gz |
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/defaults.h')
-rw-r--r-- | gcc/defaults.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index eb74033657b..e7e32c4dd06 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -133,13 +133,21 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #endif /* This is how to output the definition of a user-level label named - NAME, such as the label on a static function or variable NAME. */ + NAME, such as the label on variable NAME. */ #ifndef ASM_OUTPUT_LABEL #define ASM_OUTPUT_LABEL(FILE,NAME) \ do { assemble_name ((FILE), (NAME)); fputs (":\n", (FILE)); } while (0) #endif +/* This is how to output the definition of a user-level label named + NAME, such as the label on a function. */ + +#ifndef ASM_OUTPUT_FUNCTION_LABEL +#define ASM_OUTPUT_FUNCTION_LABEL(FILE, NAME, DECL) \ + ASM_OUTPUT_LABEL ((FILE), (NAME)) +#endif + /* Output the definition of a compiler-generated label named NAME. */ #ifndef ASM_OUTPUT_INTERNAL_LABEL #define ASM_OUTPUT_INTERNAL_LABEL(FILE,NAME) \ |