summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-27 06:13:23 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-27 06:13:23 +0000
commit8cf34b34f883b383072b1ee2cde9584f97c19de6 (patch)
tree81aceb060743bb202f3bdc25d65782869844092b /gcc/target.h
parent9eb844027b3e7d0150349f9fa8324bbfaff8b5f6 (diff)
downloadgcc-8cf34b34f883b383072b1ee2cde9584f97c19de6.tar.gz
* c-common.c (handle_visibility_attribute): Accept "default".
* tree.h (enum symbol_visibility): New. (decl_visibility): Declare. * target.h (gcc_target.visibility): Take visibility arg as integer. * varasm.c (default_assemble_visibility): Likewise. (decl_visibility): New. (maybe_assemble_visibility): Use it. * output.h (default_assemble_visibility): Update prototype. * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take visibility arg as integer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59559 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 161c3dd02d7..d9475625414 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -74,7 +74,7 @@ struct gcc_target
/* Emit an assembler directive to set visibility for the symbol
associated with the tree decl. */
- void (* visibility) PARAMS ((tree, const char *));
+ void (* visibility) PARAMS ((tree, int));
/* Output the assembler code for entry to a function. */
void (* function_prologue) PARAMS ((FILE *, HOST_WIDE_INT));