diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-09-07 00:19:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2002-09-07 09:49:27 +0930 |
commit | 93638d7a89548904eca63862085c30e2808922dc (patch) | |
tree | 5de5ac5f72323e7b1a2c867059483f6f69c4f135 /gcc/target.h | |
parent | 370ce32a02500b1394456b4d1ca495e464624cc0 (diff) | |
download | gcc-93638d7a89548904eca63862085c30e2808922dc.zip gcc-93638d7a89548904eca63862085c30e2808922dc.tar.gz gcc-93638d7a89548904eca63862085c30e2808922dc.tar.bz2 |
tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
* 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.
From-SVN: r56906
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 6bb1bb0..f68cfb1 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)); |