aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2000-11-14 20:46:25 +0000
committerJakub Jelinek <jakub@redhat.com>2000-11-14 20:46:25 +0000
commitc810873da19e9350a1f7ba9af80d1f37876c92f1 (patch)
treef3d481609cb6a6361087e4fe1b82da0265c6e5c7 /bfd
parentb6b0b32c895842eff432aae033ed437db8af403f (diff)
downloadfsf-binutils-gdb-c810873da19e9350a1f7ba9af80d1f37876c92f1.zip
fsf-binutils-gdb-c810873da19e9350a1f7ba9af80d1f37876c92f1.tar.gz
fsf-binutils-gdb-c810873da19e9350a1f7ba9af80d1f37876c92f1.tar.bz2
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
by STO_ALPHA constants. * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-alpha.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d2d262a..98ed9ce 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-14 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
+ by STO_ALPHA constants.
+
2000-11-14 Kazu Hirata <kazu@hxi.com>
* coff-pmac.c: Fix formatting.
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index 73620eb..bb20f55 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -1304,12 +1304,12 @@ elf64_alpha_relax_opt_call (info, symval)
/* If the symbol is marked NOPV, we are being told the function never
needs its procedure value. */
- if (info->other == STO_ALPHA_NOPV)
+ if ((info->other & STO_ALPHA_STD_GPLOAD) == STO_ALPHA_NOPV)
return symval;
/* If the symbol is marked STD_GP, we are being told the function does
a normal ldgp in the first two words. */
- else if (info->other == STO_ALPHA_STD_GPLOAD)
+ else if ((info->other & STO_ALPHA_STD_GPLOAD) == STO_ALPHA_STD_GPLOAD)
;
/* Otherwise, we may be able to identify a GP load in the first two