summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-12 17:33:36 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-12 17:33:36 -0800
commit36ad2436427c37bac46dc216589ed936f8106f2d (patch)
treef2876eedab5b735be8838bad36b93572d6faec97 /gcc/config/i386
parentc2273204ae3088f8e31cd3e014950db5de96e2d9 (diff)
downloadgcc-36ad2436427c37bac46dc216589ed936f8106f2d.tar.gz
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
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.c8
1 files changed, 1 insertions, 7 deletions
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