aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2003-03-02Leftover from previous commit.Thiemo Seufer1-9/+0
2003-03-02 * elf32-mips.c (elf_mips_howto_table_rel): Change definition ofThiemo Seufer11-81/+134
R_MIPS_PC16 to rightshift 2. (elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc. (bfd_elf32_bfd_reloc_type_lookup): Support BFD_RELOC_MIPSEMB_16_PCREL_S2. * elf64-mips.c (mips_elf64_howto_table_rel): Change definition of R_MIPS_PC16 to rightshift 2. (mips_elf64_howto_table_rela): Likewise. (mips_reloc_map): Map to rightshifted BFD reloc. * elfn32-mips.c: The same as in elf64-mips.c. * elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment. (mips_elf_calculate_relocation): Handle rightshifted addends for R_MIPS_PC16. * reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for MIPS Embedded PIC. Remove superfluous empty COMMENT. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * config/tc-mips.c (append_insn): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about misaligned address and reange overflow. (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add earlier warnings about misaligned address and reange overflow. (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. (md_apply_fix): Likewise. Fix warning output. (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Allow BFD_RELOC_16_PCREL_S2 for all ABIs. (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. * gas/mips/bge.d: Reactivate external branch tests. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/branch-misc-2.d: New File. * gas/mips/branch-misc-2.l: Remove. * gas/mips/mips.exp: Adjust branch-misc-2 test.
2003-02-21Update Maverick tests.Nick Clifton6-632/+1521
Contribute test generator.
2003-02-21 * config/tc-mips.c (prev_reloc_op_frag): New variable.Richard Sandiford4-0/+34
(macro): Check it to decide whether a new frag is needed. (my_getSmallExpression): Set it.
2003-02-08gas/Richard Sandiford6-0/+71
* config/tc-mips.c (reloc_needs_lo_p): New function. (fixup_has_matching_lo_p): New function. (append_insn): Use reloc_needs_lo_p to check whether a relocation might need a matching %lo(). Reuse the head of mips_hi_fixup_list if that fixup already has a matching %lo(). Don't call frag_wane here. (macro): Call frag_wane here if the last unmatched hi was in the current frag. (pic_need_relax): New function, split out from... (md_estimate_size_before_relax): ...here. (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. gas/testsuite/ * gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests. * gas/mips/mips.exp: Run them.
2003-02-07 * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.Richard Sandiford4-0/+35
testsuite/ * gas/mips/expr1.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-02-06 * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.Alan Modra3-70/+87
* gas/i386/x86-64-opcode.d: Adjust to suit.
2003-02-04 * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change.Hans-Peter Nilsson2-2/+7
2003-02-02gas/Richard Sandiford10-2/+380
* config/tc-mips.c (enum small_ex_type): Remove. (imm_unmatched_hi): Remove. (md_assemble): Remove use of imm_unmatched_hi. Remove the last argument from calls to append_insn. (append_insn): Remove unmatched_hi parameter; check reloc_type[0] instead. (macro_build): Update append_insn calls. (mips16_macro_build, macro_build_lui): Likewise. (mips_ip): Rework handling of small expressions. Move explicit relocation handling into my_getSmallExpression. Assume that the value of 'o' operands is zero if there is only one bracketed expression left. (percent_op): Make constant. Record the BFD relocation code associated with each operator. (my_getSmallParser, my_getPercentOp): Remove. (parse_relocation): New function. (my_getSamllExpression): Rework. Fill in relocations here rather than in mips_ip. gas/testsuite * gas/mips/elf-rel8.[sd], gas/mips/elf-rel9.[sd], gas/mips/elf-rel10.[sd], gas/mips/elf-rel11.[sd]: New tests. * gas/mips/mips.exp: Run elf-rel8 and elf-rel9 for all elf targets. Run elf-rel10 and elf-rel11 for NewABI targets.
2003-01-27* gas/mips/n32-consec.d: New.Alexandre Oliva4-0/+30
* gas/mips/n32-consec.s: New. * gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and mips64*-linux* systems.
2003-01-23 * gas/s390/reloc.s: Add test for PLT reloc against locally definedMartin Schwidefsky5-3/+33
but global function. * gas/s390/reloc.d: Likewise. * gas/s390/reloc64.s: Likewise. * gas/s390/reloc64.d: Likewise.
2003-01-21All NetBSD ELF targets should pass these tests.Nick Clifton2-0/+6
2003-01-20 * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoffMartin Schwidefsky5-2/+41
relocations. * gas/s390/reloc.s: Likewise. * gas/s390/reloc64.d: Likewise. * gas/s390/reloc64.s: Likewise.
2003-01-07* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.DJ Delorie2-4/+8
2003-01-03 * gas/iq2000: New testsuite.Stan Cox57-0/+10467
2003-01-02[ gas/ChangeLog ]Chris Demetriou2-1/+5
2003-01-02 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c: Update copyright years to include 2003. (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. Additionally, clean up their code slightly and clean up their comments some more. * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. [ gas/testsuite/ChangeLog ] 2003-01-02 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips32r2.d: Fix file description comment. [ include/opcode/ChangeLog ] 2003-01-02 Chris Demetriou <cgd@broadcom.com> * mips.h: Update copyright years to include 2002 (which had been missed previously) and 2003. Make comments about "+A", "+B", and "+C" operand types more descriptive.
2002-12-31[ gas/ChangeLog ]Chris Demetriou8-0/+1427
2002-12-31 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize the "+D" operand, which will be used only by the disassembler. [ gas/testsuite/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0sel-names-mips32.d: New test. * gas/mips/cp0sel-names-mips32r2.d: New test. * gas/mips/cp0sel-names-mips64.d: New test. * gas/mips/cp0sel-names-numeric.d: New test. * gas/mips/cp0sel-names-sb1.d: New test. * gas/mips/cp0sel-names.s: New test source file. * gas/mips/mips.exp: Run new tests. [ include/opcode/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * mips.h: Note that the "+D" operand type name is now used. [ opcodes/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0sel_name): New structure. (mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2) (mips_cp0sel_names_sb1): New arrays. (mips_arch_choice): New structure members "cp0sel_names" and "cp0sel_names_len". (mips_arch_choices): Add references to new cp0sel_names arrays as appropriate, and make all existing entries reference appropriate mips_XXX_names_numeric arrays rather than simply using NULL. (mips_cp0sel_names, mips_cp0sel_names_len): New variables. (lookup_mips_cp0sel_name): New function. (set_default_mips_dis_options): Set mips_cp0sel_names and mips_cp0sel_names_len as appropriate. Remove now-unnecessary checks for NULL register name arrays. (parse_mips_dis_option): Likewise. (print_insn_arg): Handle "+D" operand type. * mips-opc.c (mips_builtin_opcodes): Add new "+D" variants of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register names symbolically.
2002-12-31[ gas/testsuite/ChangeLog ]Chris Demetriou13-4/+96
2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips1.d: New test. * gas/mips/elf_arch_mips2.d: New test. * gas/mips/elf_arch_mips3.d: New test. * gas/mips/elf_arch_mips4.d: New test. * gas/mips/elf_arch_mips5.d: New test. * gas/mips/elf_arch_mips32.d: New test. * gas/mips/elf_arch_mips32r2.d: New test. * gas/mips/elf_arch_mips64.d: New test. * gas/mips/empty.s: New test source file. * gas/mips/mips.exp: Run new tests. * gas/mips/elf_ase_mips16.d: Change to use empty.s * gas/mips/elf_ase_mips16.s: Remove.
2002-12-31oops - omitted from previous deltaNick Clifton3-0/+119
2002-12-31fix date on last entry. *sigh*Chris Demetriou1-1/+1
2002-12-31[ bfd/ChangeLog ]Chris Demetriou10-0/+398
2002-12-30 Chris Demetriou <cgd@broadcom.com> * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. * archures.c (bfd_mach_mipsisa32r2): New define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsisa32r2): New enum value. (arch_info_struct): Add entry for I_mipsisa32r2. * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. (_bfd_mips_elf_final_write_processing): Add bfd_mach_mipsisa32r2 case. (_bfd_mips_elf_merge_private_bfd_data): Handle merging of binaries marked as using MIPS32 Release 2. [ binutils/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) changes in MIPS -M options. [ gas/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and CPU variants. * configure: Regenerate. * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. (macro_build): Handle "K" operand. (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where CPU_HAS_DROR and CPU_HAS_ROR are currently used. (mips_ip): New variable "lastpos", and implement "+A", "+B", and "+C" operands for MIPS32 Release 2 ins/ext instructions. Implement "K" operand for MIPS32 Release 2 rdhwr instruction. (validate_mips_insn): Implement "+" as a way to extend the allowed operands, and implement "K", "+A", "+B", and "+C" operands. (OPTION_MIPS32R2): New define. (md_longopts): Add entry for OPTION_MIPS32R2. (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. (md_parse_option): Handle OPTION_MIPS32R2. (s_mipsset): Reimplement handling of ".set mipsN" options and add support for ".set mips32r2". (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). (md_show_usage): Document "-mips32r2" option. * doc/as.texinfo: Document "-mips32r2" option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32r2.d: New test. * gas/mips/hwr-names-mips32r2.d: New test. * gas/mips/hwr-names-numeric.d: New test. * gas/mips/hwr-names.s: New test source file. * gas/mips/mips32r2.d: New test. * gas/mips/mips32r2.s: New test source file. * gas/mips/mips32r2-ill.l: New test. * gas/mips/mips32r2-ill.s: New test source file. * gas/mips/mips.exp: Add mips32r2 architecture data array entry. Run new tests mentioned above. [ include/elf/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_32R2): New define. [ include/opcode/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document "+" as the start of two-character operand type names, and add new "K", "+A", "+B", and "+C" operand types. (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New defines. [ opcodes/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) (mips_hwr_names_mips3264r2): New arrays. (mips_arch_choice): New "hwr_names" member. (mips_arch_choices): Adjust for structure change, and add a new entry for "mips32r2" ISA. (mips_hwr_names): New variable. (set_default_mips_dis_options): Set mips_hwr_names. (parse_mips_dis_option): New "hwr-names" option which sets mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. (print_insn_arg): Change return type to "int" and use that to indicate number of characters consumed. Add support for "+" operand extension character, "+A", "+B", "+C", and "K" operands. (print_insn_mips): Adjust for changes to print_insn_arg. (print_mips_disassembler_options): Adjust for "hwr-names" addition and "reg-names" change. * mips-opc (I33): New define (shorthand for INSN_ISA32R2). (mips_builtin_opcodes): Note that "nop" and "ssnop" are special forms of "sll". Add new MIPS32 Release 2 instructions: ehb, di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. Note that hardware rotate instructions (ror, rorv) can be used on MIPS32 Release 2, and add the official mnemonics for them (rotr, rotrv) and the similar "rotl" mnemonic for left-rotate.
2002-12-30Add support for msp430.Nick Clifton1-0/+7
2002-12-272002-12-27 Chris Demetriou <cgd@broadcom.com>Chris Demetriou22-66/+596
* gas/mips/mips.exp: Define the notion of an "architecture data array," add comments indicating how to add a new architecture and suggestions for adding new tests. Populate the architecture data array with many known architectures and convert many tests to be run for multiple architectures. (mips_arches): New global array. (mips_arch_create, mips_arch_list_all, mips_arch_data) (mips_arch_displayname, mips_arch_properties) (mips_arch_as_flags, mips_arch_objdump_flags, mips_arch_matches) (mips_arch_list_matching): New functions to operate on mips_arches. (run_dump_test_arch, run_dump_test_arches, run_list_test_arch) (run_list_test_arches): New functions. (run_list_test): Document and add an optional "test name" argument. * gas/mips/abs.d: Remove CPU-specific assembler and objdump flags, and CPU names from test names. * gas/mips/add.d: Likewise. * gas/mips/and.d: Likewise. * gas/mips/dli.d: Likewise. * gas/mips/jal-empic-elf-2.d: Likewise. * gas/mips/jal-empic-elf-3.d: Likewise. * gas/mips/jal-empic-elf.d: Likewise. * gas/mips/lb-svr4pic.d: Likewise. * gas/mips/lb.d: Likewise. * gas/mips/mips32.d: Likewise. * gas/mips/mips4.d: Likewise. * gas/mips/mips64.d: Likewise. * gas/mips/rol-hw.d: Likewise. * gas/mips/rol.d: Likewise. * gas/mips/rol64-hw.d: Likewise. * gas/mips/rol64.d: Likewise. * gas/mips/elf-jal.d: Likewise. Also, indicate ELF in test name. * gas/mips/mips64-mdmx.d: Tweak printed name to indicate that this test uses the -mdmx flag. * gas/mips/mips64-mips3d.d: Tweak printed name to indicate that this test uses the -mips3d flag. * gas/mips/mips64-mips3d-incl.d: New file.
2002-12-27[ binutils/ChangeLog ]Chris Demetriou17-0/+672
2002-12-27 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Document MIPS -M options. [ gas/testsuite/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32.d: New file. * gas/mips/cp0-names-mips64.d: New file. * gas/mips/cp0-names-numeric.d: New file. * gas/mips/cp0-names-sb1.d: New file. * gas/mips/cp0-names.s: New file. * gas/mips/fpr-names-32.d: New file. * gas/mips/fpr-names-64.d: New file. * gas/mips/fpr-names-n32.d: New file. * gas/mips/fpr-names-numeric.d: New file. * gas/mips/fpr-names.s: New file. * gas/mips/gpr-names-32.d: New file. * gas/mips/gpr-names-64.d: New file. * gas/mips/gpr-names-n32.d: New file. * gas/mips/gpr-names-numeric.d: New file. * gas/mips/gpr-names.s: New file. * gas/mips/mips.exp: Run new tests. [ include/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * dis-asm.h (print_mips_disassembler_options): Prototype. [ include/opcode/ChangeLog ] 2002-12-19 Chris Demetriou <cgd@broadcom.com> * mips.h (OP_OP_COP0, OP_OP_COP1, OP_OP_COP2, OP_OP_COP3) (OP_OP_LWC1, OP_OP_LWC2, OP_OP_LWC3, OP_OP_LDC1, OP_OP_LDC2) (OP_OP_LDC3, OP_OP_SWC1, OP_OP_SWC2, OP_OP_SWC3, OP_OP_SDC1) (OP_OP_SDC2, OP_OP_SDC3): Define. [ opcodes/ChangeLog ] 2002-12-27 Chris Demetriou <cgd@broadcom.com> * disassemble.c (disassembler_usage): Add invocation of print_mips_disassembler_options. * mips-dis.c (print_mips_disassembler_options) (set_default_mips_dis_options, parse_mips_dis_option) (parse_mips_dis_options, choose_abi_by_name, choose_arch_by_name) (choose_arch_by_number): New functions. (mips_abi_choice, mips_arch_choice): New structures. (mips32_reg_names, mips64_reg_names, reg_names): Remove. (mips_gpr_names_numeric, mips_gpr_names_oldabi) (mips_gpr_names_newabi, mips_fpr_names_numeric) (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64) (mips_cp0_names_numeric, mips_cp0_names_mips3264) (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices) (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names) (mips_cp0_names): New variables. (print_insn_args): Use new variables to print GPR, FPR, and CP0 register names. (mips_isa_type): Remove. (print_insn_mips): Remove ISA and CPU setup since it is now done... (_print_insn_mips): Here. Remove register setup code, and call set_default_mips_dis_options and parse_mips_dis_options instead. (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names.
2002-12-212002-12-20 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-6/+27
* lib/gas-defs.exp (run_dump_test): Add a new optional argument, "extra_options".
2002-12-20* gas/xstormy16/allinsn.sh: Add tests for 12-bit reloc.DJ Delorie4-0/+244
* gas/xstormy16/allinsn.s: Likewise. * gas/xstormy16/allinsn.d: Likewise.
2002-12-18[ opcodes/ChangeLog ]Chris Demetriou12-2/+209
2002-12-18 Chris Demetriou <cgd@broadcom.com> * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two "dror" entries, and reorder the remaining "dror" and "ror" entries. [ gas/ChangeLog ] 2002-12-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR, use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I, M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and arrange not to issue warnings about use of AT when AT is not actually used. [ gas/testsuite/ChangeLog ] 2002-12-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/rol.s: Add ".set noat" and some new instructions to test. * gas/mips/rol64.s: Likewise. * gas/mips/rol.l: New file. * gas/mips/rol.d: Adjust to use rol.l and for rol.s changes. * gas/mips/rol64.l: New file. * gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes. * gas/mips/rol-hw.d: New file. * gas/mips/rol-hw.l: New file. * gas/mips/rol64-hw.d: New file. * gas/mips/rol64-hw.l: New file. * gas/mips/mips.exp: Run rol-hw and rol64-hw tests.
2002-12-18kill bogus line between the last 2 entriesChris Demetriou1-1/+0
2002-12-17 * ChangeLog-9295: Fix a typo.Kazu Hirata1-1/+1
* README: Likewise. * config/tc-d10v.c: Fix a comment typo. * config/tc-dlx.c: Likewise. * config/tc-h8300.h: Likewise. * config/tc-h8500.h: Likewise. * config/tc-mips.c: Likewise. * config/tc-s390.c: Likewise. * config/tc-sh.h: Likewise. * config/tc-tic80.h: Likewise. * config/tc-w65.h: Likewise. * config/tc-z8k.c: Likewise. * config/tc-z8k.h: Likewise. * testsuite/gas/h8300/cmpsi2.s: Likewise.
2002-12-12* gas/mips/beq.d: Comment out branches to undefined symbols,Alexandre Oliva15-122/+122
no longer supported. * gas/mips/beq.s: Likewise. * gas/mips/bge.d: Likewise. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/mips.exp: Change branch-misc-2 test to run_list_test. * gas/mips/branch-misc-2.d: Removed. * gas/mips/branch-misc-2.s: Added branches to undefined symbols. * gas/mips/branch-misc-2.l: New.
2002-12-102002-12-09 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez3-4/+10
* gas/ppc/booke.d: Fix msync and mbar to reflect reality. * gas/ppc/e500.d: Fix m[tf]pmr to reflect reality.
2002-12-08 * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;Stephane Carrez2-0/+147
(gas_m68hc11_warning): New function. (gas_m68hc11_message): New function. (top): New tests for assembler errors. (gas_m68hc11_opcode_list): New function. (top): New tests for opcode list.
2002-12-08 * gas/m68hc11/bug-1825.s: Add some tests.Stephane Carrez5-64/+78
* gas/m68hc11/bug-1825.d: Update. * gas/m68hc11/opers12.d: Update. * gas/m68hc11/opers12-dwarf2.d: Update.
2002-12-05 * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.Richard Henderson4-0/+20
(ia64_gen_real_reloc_type): Handle it. (pseudo_func): Add @ltoffx. (md_begin): Build .<ltoffx>. (ia64_force_relocation): True for LTOFF22X and LDXMOV. * gas/ia64/ltoff22x-1.[ds]: New. * gas/ia64/ia64.exp: Run it.
2002-12-05Fix IA-64 opc-d.x gas testsuite failure.Jim Wilson2-29/+33
binutils/ChangeLog * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64. * configure: Regenerate. gas/testsuite/ChangeLog * gas/ia64/opc-x.d: Regenerate.
2002-12-05 * gas/arm/adrl.s: Pad end of .text.Alan Modra3-0/+7
* gas/arm/adrl.d: Adjust to suit.
2002-12-05Patch to update IA-64 port to SDM 2.1.Jim Wilson11-9/+133
bfd/ChangeLog * cpu-ia64-opc.c: Add operand constant "ar.csd". gas/ChangeLog * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" instruction. (emit_one_bundle): Handle "hint" instruction. (operand_match): Match IA64_OPND_AR_CSD. gas/testsuite/ChangeLog * gas/ia64/opc-b.d: Update for instructions added by SDM2.1. * gas/ia64/opc-b.s: Ditto. * gas/ia64/opc-f.d: Ditto. * gas/ia64/opc-f.s: Ditto. * gas/ia64/opc-i.d: Ditto. * gas/ia64/opc-i.s: Ditto. * gas/ia64/opc-m.d: Ditto. * gas/ia64/opc-m.s: Ditto. * gas/ia64/opc-x.d: Ditto. * gas/ia64/opc-x.s: Ditto. include/opcode/ChangeLog * ia64.h: Fix copyright message. (IA64_OPND_AR_CSD): New operand kind. opcodes/ChangeLog * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction. * ia64-opc-b.c: Add "hint.b" instruction. * ia64-opc-f.c: Add "hint.f" instruction. * ia64-opc-i.c: Add "hint.i" instruction. * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and "cmp8xchg16" instructions. * ia64-opc-x.c: Add "hint.x" instruction. * ia64-opc.h (AR_CSD): New macro. * ia64-ic.tbl: Update according to SDM2.1. * ia64-raw.tbl: Ditto. * ia64-waw.tbl: Ditto. * ia64-gen.c (in_iclass): Handle "hint" like "nop". (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD], AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR]. * ia64-asmtab.c: Regenerate.
2002-12-03include/opcode/Richard Henderson6-0/+47
* ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV. bfd/ * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry. opcodes/ * ia64-opc-m.c: Add ld8.mov. * ia64-asmtab.c: Regenerate. gas/ * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. gas/testsuite/ * gas/ia64/ldxmov-1.[ds]: New. * gas/ia64/ldxmov-2.[ls]: New. * gas/ia64/ia64.exp: Run them.
2002-12-03 * gas/arm/adrl.s: Test behaviour against globals too.Alan Modra3-5/+24
* gas/arm/adrl.d: Adjust.
2002-12-02Remove GASP.Nick Clifton121-8655/+6
2002-12-01 * gas/m68hc11/m68hc11.exp: Rename from all.exp; run the new tests.Stephane Carrez6-0/+488
* gas/m68hc11/all.exp: Remove. * gas/m68hc11/indexed12.d: New test. * gas/m68hc11/indexed12.s: Likewise. * gas/m68hc11/bug-1825.d: Likewise. * gas/m68hc11/bug-1825.s: Likewise.
2002-12-01 * gas/m68hc11/insns.s: Don't use .comm for stack symbol so that objdumpStephane Carrez1-2/+2
can find the real symbol and not a gas internal debug symbol. * gas/m68hc11/insns.d: Update. * gas/m68hc11/insns-dwarf2.d: Update. * gas/m68hc11/insns12.d: Update. * gas/m68hc11/opers12.s (min5b, min9b): Use 16 and -256 for the min. * gas/m68hc11/opers12.d: Update after indexed offset operand fixes. * gas/m68hc11/opers12-dwarf2.d: Likewise.
2002-12-01 * gas/m68hc11/insns.s: Don't use .comm for stack symbol so that objdumpStephane Carrez7-47/+60
can find the real symbol and not a gas internal debug symbol. * gas/m68hc11/insns.d: Update. * gas/m68hc11/insns-dwarf2.d: Update. * gas/m68hc11/insns12.d: Update. * gas/m68hc11/opers12.s (min5b, min9b): Use 16 and -256 for the min. * gas/m68hc11/opers12.d: Update after indexed offset operand fixes. * gas/m68hc11/opers12-dwarf2.d: Likewise.
2002-11-30 * config/tc-sh.c (md_apply_fix3): Take account of fx_offsetKaz Kojima3-0/+10
for BFD_RELOC_32_PLT_PCREL. * sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label". * sh/gas/sh/pic.d: Add expected output.
2002-11-29Allow BKPT instruction to be specified without an operand. Add a test for this.Nick Clifton3-7/+11
2002-11-26 * gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.Hans-Peter Nilsson3-0/+29
2002-11-25* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.DJ Delorie2-2/+6
2002-11-20* gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh.DJ Delorie4-155/+194
* gas/xstormy16/allinsn.d: Regenerate. * gas/xstormy16/allinsn.s: Regenerate.
2002-11-20move testsuite entries to the correct changelogAlan Modra1-105/+129
2002-11-18Fixups in ChangeLog entries which has been filed in the wrong place.Svein Seldal1-0/+30