From 36ad2436427c37bac46dc216589ed936f8106f2d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 12 Mar 2002 17:33:36 -0800 Subject: [PATCH] i386.c (ix86_expand_prologue): Revert 2002-03-03 internal visibility change. * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 internal visibility change. From-SVN: r50704 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 83dca8de4b4..ba11d1a7b5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-12 Richard Henderson + + * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 + internal visibility change. + 2002-03-12 Bob Wilson * config/xtensa/xtensa.c (xtensa_expand_block_move): Use diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ae714da67b3..56fdf9076c8 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4184,13 +4184,7 @@ ix86_expand_prologue () #endif if (pic_reg_used) - { - tree vis = lookup_attribute ("visibility", DECL_ATTRIBUTES (cfun->decl)); - if (!vis - || strcmp ("internal", - TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (vis))))) - load_pic_register (); - } + load_pic_register (); /* If we are profiling, make sure no instructions are scheduled before the call to mcount. However, if -fpic, the above call will have