aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-alpha.c
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 /gas/config/tc-alpha.c
parentb6b0b32c895842eff432aae033ed437db8af403f (diff)
downloadgdb-c810873da19e9350a1f7ba9af80d1f37876c92f1.zip
gdb-c810873da19e9350a1f7ba9af80d1f37876c92f1.tar.gz
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 'gas/config/tc-alpha.c')
-rw-r--r--gas/config/tc-alpha.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index c8a1244..44aedcd 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -4555,10 +4555,12 @@ s_alpha_prologue (ignore)
switch (arg)
{
case 0: /* No PV required. */
- S_SET_OTHER (sym, STO_ALPHA_NOPV);
+ S_SET_OTHER (sym, STO_ALPHA_NOPV
+ | (S_GET_OTHER (sym) & ~STO_ALPHA_STD_GPLOAD));
break;
case 1: /* Std GP load. */
- S_SET_OTHER (sym, STO_ALPHA_STD_GPLOAD);
+ S_SET_OTHER (sym, STO_ALPHA_STD_GPLOAD
+ | (S_GET_OTHER (sym) & ~STO_ALPHA_STD_GPLOAD));
break;
case 2: /* Non-std use of PV. */
break;