* config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
authorRichard Henderson <rth@redhat.com>
Wed, 5 Sep 2001 02:39:43 +0000 (02:39 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 5 Sep 2001 02:39:43 +0000 (02:39 +0000)
commit19f785835e5e97a7c666e8f942cb4ec8e543aebc
tree2449f5d4aa18964c87052a617c6f0af5b3191e54
parentb8720f9d577e623c5e7203ec586f19a06b5e7399
  * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
  (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
  (alpha_macros): Remove occurrences of same.
  (O_lituse_addr, O_gprel): New.
  (DUMMY_RELOC_LITUSE_*): New.
  (s_alpha_ucons, s_alpha_arch): Prototype.
  (alpha_reloc_op): Construct elements via DEF macro.
  (ALPHA_RELOC_SEQUENCE_OK): Remove.
  (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
  members to not be literal specific.
  (next_sequence_num): New.
  (md_apply_fix3): Cope with missing GPDISP_LO16.  Adjust for
  added/removed BFD relocations.
  (alpha_force_relocation, alpha_fix_adjustable): Likewise.
  (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
  (tokenize_arguments): Parse ! relocations properly.
  (find_macro_match): Delete unused macro argument types.
  (assemble_insn): Add reloc parameter; emit that instead of the
  default as appropriate.
  (get_alpha_reloc_tag): New.  Split from ...
  (emit_insn): ... here.  Allocate a reloc tag for GPDISP.
  (assemble_tokens): Don't search macros if user relocation present.
  Copy reloc sequence number to insn struct.
  (emit_ldgp): Remove user reloc handling.
  (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
  (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
  (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
  * config/tc-alpha.h (tc_adjust_symtab): Always define.
  (struct alpha_fix_tag): Name members less literal specific.

  * gas/alpha/alpha.exp: New file.
  * gas/alpha/elf-reloc-1.[sd]: New test.
  * gas/alpha/elf-reloc-2.[sl]: New test.
  * gas/alpha/elf-reloc-3.[sl]: New test.
  * gas/alpha/elf-reloc-4.[sd]: New test.
  * gas/alpha/fp.exp: Remove file.
  * gas/alpha/fp.s: Output to .data not .rdata.
  * gas/alpha/fp.d: Adjust to match.
16 files changed:
gas/ChangeLog
gas/config/tc-alpha.c
gas/config/tc-alpha.h
gas/testsuite/ChangeLog
gas/testsuite/gas/alpha/alpha.exp [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-1.d [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-1.s [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-2.l [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-2.s [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-3.l [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-3.s [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-4.d [new file with mode: 0644]
gas/testsuite/gas/alpha/elf-reloc-4.s [new file with mode: 0644]
gas/testsuite/gas/alpha/fp.d
gas/testsuite/gas/alpha/fp.exp [deleted file]
gas/testsuite/gas/alpha/fp.s