diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-13 01:33:36 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-13 01:33:36 +0000 |
commit | 387fa9f2ee7146484b9d8dd4f2e898ba79a67d53 (patch) | |
tree | f2876eedab5b735be8838bad36b93572d6faec97 /gcc | |
parent | 863ba363516bfdbfaf0540009c9dc16aa7209496 (diff) | |
download | gcc-387fa9f2ee7146484b9d8dd4f2e898ba79a67d53.tar.gz |
* config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
internal visibility change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50704 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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 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 |