aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
parentc2273204ae3088f8e31cd3e014950db5de96e2d9 (diff)
downloadgcc-36ad2436427c37bac46dc216589ed936f8106f2d.zip
gcc-36ad2436427c37bac46dc216589ed936f8106f2d.tar.gz
gcc-36ad2436427c37bac46dc216589ed936f8106f2d.tar.bz2
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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 83dca8d..ba11d1a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index ae714da6..56fdf90 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