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
This commit is contained in:
Richard Henderson 2002-03-12 17:33:36 -08:00 committed by Richard Henderson
parent c2273204ae
commit 36ad243642
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2002-03-12 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
internal visibility change.
2002-03-12 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_expand_block_move): Use

View File

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