diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-07 00:19:27 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-07 00:19:27 +0000 |
commit | 2532673e387f0bb25b2944591844e0f1e05b14d1 (patch) | |
tree | 5de5ac5f72323e7b1a2c867059483f6f69c4f135 /gcc/target.h | |
parent | 260fbc4e954607050fd2243efec279de51369f77 (diff) | |
download | gcc-2532673e387f0bb25b2944591844e0f1e05b14d1.tar.gz |
* doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
* target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
(TARGET_ASM_OUT): Add the above here.
* target.h (struct gcc_target): Add "visibility" field.
* varasm.c (maybe_assemble_visibility): Call targetm visibility func.
* config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
(TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
(rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56906 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 6bb1bb0aa64..f68cfb13632 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -72,6 +72,10 @@ struct gcc_target /* Output code that will globalize a label. */ void (* globalize_label) PARAMS ((FILE *, const char *)); + /* Emit an assembler directive to set visibility for the symbol + associated with the tree decl. */ + void (* visibility) PARAMS ((tree, const char *)); + /* Output the assembler code for entry to a function. */ void (* function_prologue) PARAMS ((FILE *, HOST_WIDE_INT)); |