diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-alpha.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9232f455754..7fd89d6fbfb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2000-11-14 Jakub Jelinek <jakub@redhat.com> + + * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits. + 2000-11-13 H.J. Lu <hjl@gnu.org> * config/obj-elf.c (elf_frob_symbol): Support diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index c8a1244579e..44aedcd1cd0 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; |