diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-24 19:40:12 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-24 19:40:12 +0000 |
commit | 9afff52dab85b10e858e0b2b5adf9d6f47f475d6 (patch) | |
tree | 13559698c1afb4d85fe748d845c52d2e03712729 /gcc/target.h | |
parent | 32875ae1539a38675063d51563416a67017d3af3 (diff) | |
download | gcc-9afff52dab85b10e858e0b2b5adf9d6f47f475d6.tar.gz |
* target.h (globalize_decl_name): New.
* target-def.h (TARGET_ASM_GLOBALIZE_DECL_NAME): New.
* output.h (default_globalize_decl_name): New.
* varasm.c (asm_output_bss): Use globalize_decl_name instead of
globalize_label.
(globalize_decl): Ditto.
(default_globalize_decl_name): New.
* config/ia64/ia64.c (ia64_globalize_decl_name): New.
(ia64_handle_version_id_attribute): New.
(TARGET_ASM_GLOBALIZE_DECL_NAME): New.
(ia64_asm_output_external): Use globalize_decl_name instead
of globalize_label.
* doc/extend.texi (version_id): New pragma.
* doc/tm.texi (ARGET_ASM_GLOBALIZE_DECL_NAME): New target hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121128 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index e86ba2167e2..d43ea565579 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -113,6 +113,9 @@ struct gcc_target /* Output code that will globalize a label. */ void (* globalize_label) (FILE *, const char *); + /* Output code that will globalise a declaration. */ + void (* globalize_decl_name) (FILE *, tree); + /* Output code that will emit a label for unwind info, if this target requires such labels. Second argument is the decl the unwind info is associated with, third is a boolean: true if |