OSDN Git Service

* config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
authorrth <rth>
Wed, 5 Sep 2001 02:39:43 +0000 (02:39 +0000)
committerrth <rth>
Wed, 5 Sep 2001 02:39:43 +0000 (02:39 +0000)
commita9cd77cbbef67e4e901ddb830d3d8d369b07da4b
treef5f6a8e4f47f78cea2db0e07a9c139af962c0e08
parent17177ae146659797e214c7773d6d70b214fddba4
  * 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