summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorSteve Ellcey <sje@gcc.gnu.org>2007-01-24 19:40:12 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2007-01-24 19:40:12 +0000
commit812b587e9dd503c08805b69f0006beef8faa9ac2 (patch)
tree13559698c1afb4d85fe748d845c52d2e03712729 /gcc/target.h
parentfe32582aca9d7fa72265813406102b97119cd86d (diff)
downloadgcc-812b587e9dd503c08805b69f0006beef8faa9ac2.tar.gz
target.h (globalize_decl_name): New.
* 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. From-SVN: r121128
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h3
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