From bd79540a0357babd460c034c12ffe3a351941b41 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 8 Sep 2002 09:30:21 +0000 Subject: [PATCH] varasm.c (default_assemble_visibility): Rename from assemble_visibility. * varasm.c (default_assemble_visibility): Rename from assemble_visibility. * output.h: Here too. * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here. * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here. From-SVN: r56948 --- gcc/ChangeLog | 8 ++++++++ gcc/config/rs6000/rs6000.c | 2 +- gcc/output.h | 2 +- gcc/target-def.h | 2 +- gcc/varasm.c | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e063de6f8de6..fb6d4511b356 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-09-08 Alan Modra + + * varasm.c (default_assemble_visibility): Rename from + assemble_visibility. + * output.h: Here too. + * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here. + * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here. + 2002-09-08 Alan Modra * reload.c (find_reloads

): Pass operand_mode to diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5f66c5822311..85d6dbe5b687 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -8168,7 +8168,7 @@ rs6000_assemble_visibility (decl, visibility_type) tree decl; const char *visibility_type; { - assemble_visibility (decl, visibility_type); + default_assemble_visibility (decl, visibility_type); /* Functions need to have their entry point symbol visibility set as well as their descriptor symbol visibility. */ diff --git a/gcc/output.h b/gcc/output.h index bbacd3104562..af469ac27c56 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -258,7 +258,7 @@ extern void assemble_constant_align PARAMS ((tree)); extern void assemble_alias PARAMS ((tree, tree)); -extern void assemble_visibility PARAMS ((tree, const char *)); +extern void default_assemble_visibility PARAMS ((tree, const char *)); /* Output a string of literal assembler code for an `asm' keyword used between functions. */ diff --git a/gcc/target-def.h b/gcc/target-def.h index 939502f1e14d..53b29a921e81 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -59,7 +59,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #endif #ifndef TARGET_ASM_ASSEMBLE_VISIBILITY -#define TARGET_ASM_ASSEMBLE_VISIBILITY assemble_visibility +#define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility #endif #define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue diff --git a/gcc/varasm.c b/gcc/varasm.c index d950d94bf4b1..49df302c0736 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -4597,7 +4597,7 @@ assemble_alias (decl, target) VISIBILITY_TYPE. */ void -assemble_visibility (decl, visibility_type) +default_assemble_visibility (decl, visibility_type) tree decl; const char *visibility_type ATTRIBUTE_UNUSED; { -- 2.47.2