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
This commit is contained in:
Alan Modra 2002-09-08 09:30:21 +00:00 committed by Alan Modra
parent 32ff9c742f
commit bd79540a03
5 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2002-09-08 Alan Modra <amodra@bigpond.net.au>
* 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 <amodra@bigpond.net.au>
* reload.c (find_reloads <p constraint>): Pass operand_mode to

View File

@ -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. */

View File

@ -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. */

View File

@ -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

View File

@ -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;
{