diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-alpha.c | 23 |
2 files changed, 13 insertions, 15 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e964701..21206ca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-06-01 Richard Henderson <rth@redhat.com> + + * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". + Rename them LITUSE_ALPHA_*. + 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com> * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 1ba7aca..dec4db4 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -137,13 +137,6 @@ struct alpha_macro { #define DUMMY_RELOC_LITUSE_TLSGD (BFD_RELOC_UNUSED + 5) #define DUMMY_RELOC_LITUSE_TLSLDM (BFD_RELOC_UNUSED + 6) -#define LITUSE_ADDR 0 -#define LITUSE_BASE 1 -#define LITUSE_BYTOFF 2 -#define LITUSE_JSR 3 -#define LITUSE_TLSGD 4 -#define LITUSE_TLSLDM 5 - #define USER_RELOC_P(R) ((R) >= O_literal && (R) <= O_tprel) /* Macros for extracting the type and number of encoded register tokens */ @@ -1758,14 +1751,14 @@ alpha_adjust_symtab_relocs (abfd, sec, ptr) as_bad_where (fixp->fx_file, fixp->fx_line, _("No !literal!%ld was found"), fixp->tc_fix_data.info->sequence); - if (fixp->fx_offset == LITUSE_TLSGD) + if (fixp->fx_offset == LITUSE_ALPHA_TLSGD) { if (! fixp->tc_fix_data.info->saw_tlsgd) as_bad_where (fixp->fx_file, fixp->fx_line, _("No !tlsgd!%ld was found"), fixp->tc_fix_data.info->sequence); } - else if (fixp->fx_offset == LITUSE_TLSLDM) + else if (fixp->fx_offset == LITUSE_ALPHA_TLSLDM) { if (! fixp->tc_fix_data.info->saw_tlsldm) as_bad_where (fixp->fx_file, fixp->fx_line, @@ -2686,22 +2679,22 @@ emit_insn (insn) break; case DUMMY_RELOC_LITUSE_ADDR: - fixP->fx_offset = LITUSE_ADDR; + fixP->fx_offset = LITUSE_ALPHA_ADDR; goto do_lituse; case DUMMY_RELOC_LITUSE_BASE: - fixP->fx_offset = LITUSE_BASE; + fixP->fx_offset = LITUSE_ALPHA_BASE; goto do_lituse; case DUMMY_RELOC_LITUSE_BYTOFF: - fixP->fx_offset = LITUSE_BYTOFF; + fixP->fx_offset = LITUSE_ALPHA_BYTOFF; goto do_lituse; case DUMMY_RELOC_LITUSE_JSR: - fixP->fx_offset = LITUSE_JSR; + fixP->fx_offset = LITUSE_ALPHA_JSR; goto do_lituse; case DUMMY_RELOC_LITUSE_TLSGD: - fixP->fx_offset = LITUSE_TLSGD; + fixP->fx_offset = LITUSE_ALPHA_TLSGD; goto do_lituse; case DUMMY_RELOC_LITUSE_TLSLDM: - fixP->fx_offset = LITUSE_TLSLDM; + fixP->fx_offset = LITUSE_ALPHA_TLSLDM; goto do_lituse; do_lituse: fixP->fx_addsy = section_symbol (now_seg); |