aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2003-12-06gas/Richard Sandiford6-8/+38
* config/tc-mips.c (macro): Switch misordered call to frag_grow() and setting of tc_fr_offset. gas/testsuite/ * gas/mips/elf-rel16.[sd]: New test. * gas/mips/mips.exp: Run it. * gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)". * gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-12-06 * gas/arm/arm.exp: Add archv6 and thumbv6.Mark Mitchell6-0/+485
* gas/arm/archv6.d: New file. * gas/arm/archv6.s: Likewise. * gas/arm/thumbv6.d: Likewise. * gas/arm/thumbv6.s: Likewise. Add V6 support. * config/tc-arm.c (ARM_EXT_V6): New macro. (ARM_ARCH_V6): Likewise. (SHIFT_IMMEDIATE): Likewise. (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise. (SHIFT_ASR_IMMEDIATE): Likewise. (SHIFT_LSL_IMMMEDIATE): Likewise. (do_cps): New function. (do_cpsi): Likewise. (do_ldrex): Likewise. (do_pkhbt): Likewise. (do_pkhtb): Likewise. (do_qadd16): Likewise. (do_rev): Likewise. (do_rfe): Likewise. (do_sxtah): Likewise. (do_sxth): Likewise. (do_setend): Likewise. (do_smlad): Likewise. (do_smlald): Likewise. (do_smmul): Likewise. (do_ssat): Likewise. (do_usat): Likewise. (do_srs): Likewise. (do_ssat16): Likewise. (do_usat16): Likewise. (do_strex): Likewise. (do_umaal): Likewise. (do_cps_mode): Likewise. (do_cps_flags): Likewise. (do_endian_specifier): Likewise. (do_pkh_core): Likewise. (do_sat): Likewise. (do_sat16): Likewise. (insns): Add V6 instructions. (do_t_cps): New function. (do_t_cpy): Likewise. (do_t_setend): Likewise. (THUMB_CPY): New macro. (tinsns): Add V6 instructions. (decode_shift): Handle V6 restricted-shift options. (thumb_mov_compare): Support CPY. (arm_cores): Add arm1136js and arm1136jfs. (arm_archs): Add armv6. (arm_fpus): Add arm1136jfs. * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and armv6 options. * gas/arm/arm.exp: Add archv6 and thumbv6. * gas/arm/archv6.d: New file. * gas/arm/archv6.s: Likewise. * gas/arm/thumbv6.d: Likewise. * gas/arm/thumbv6.s: Likewise. * arm-dis.c (print_arm_insn): Add 'W' macro. * arm-opc.h (arm_opcodes): Add V6 instructions. (thumb_opcodes): Likewise.
2003-12-05 * gas/z8k/ctrl-names.d: New file.Christian Groessler4-0/+86
* gas/z8k/ctrl-names.s: New file. * gas/z8k/z8k.exp: Run new tests.
2003-12-052003-12-03 Alexandre Oliva <aoliva@redhat.com>Michael Snyder12-1/+442
* config/tc-sh.c: Add support for sh4a and no-fpu variants, with appropriate additions to md_show_usage. * testsuite/gas/sh/basic.exp: Call tests for sh4a. * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: New files, tests for sh4a and related variants. * doc/c-sh.texi: Document new -isa options. * doc/c-sh64.texi: Ditto. * NEWS: Mention new support for sh4a.
2003-12-03Add support for the M32R2 processor.Nick Clifton4-0/+229
2003-12-03Add vax-linux-gnu targetNick Clifton2-1/+6
2003-12-01 * gas/sh/basic.exp: Define ASFLAGS appropriately and don't doKaz Kojima8-27/+38
dsp test for sh64/sh5 targets. * gas/sh/sh64/crange1.s: Tidy up to match data alignment. * gas/sh/sh64/crange1-1.d: Update. * gas/sh/sh64/crange1-2.d: Likewise. * gas/sh/sh64/datal32-3.d: Likewise. * gas/sh/sh64/datal64-3.d: Likewise. * gas/sh/sh64/localcom-1.d: Likewise.
2003-11-27* gas/frv/reloc1.[sd]: Test references to external symbols andAlexandre Oliva3-2/+39
inter-section references too.
2003-11-26 * gas/z8k/jmp-cc.d: New file.Christian Groessler6-0/+178
* gas/z8k/jmp-cc.s: New file. * gas/z8k/ret-cc.d: New file. * gas/z8k/ret-cc.s: New file. * gas/z8k/z8k.exp: Run new tests.
2003-11-26Revert change to t01_mov test.Nick Clifton3-10/+15
Fix ldm/stm verifying code to allow er4-er7 for H8SX.
2003-11-25 Catch illegal register pairings in ldm/stm instructions.Nick Clifton5-11/+33
Update test files to avoid illegal pairings.
2003-11-22 * gas/i386/divide.s: New.Alan Modra4-0/+17
* gas/i386/divide.d: New. * gas/i386/i386.exp (gas_32_check): Run it.
2003-11-21 * gas/ppc/machine.s: New.Alan Modra4-1/+32
* gas/ppc/machine.d: New. * gas/ppc/ppc.exp: Run it.
2003-11-18* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"Maciej W. Rozycki5-0/+1208
for loading addresses using CALL relocations. Don't emit CALL relocations when a base register is used. * gas/mips/lca-svr4pic.d: New test for the "lca" macro. * gas/mips/lca-xgot.d: Likewise. * gas/mips/lca.s: Source for the new tests. * gas/mips/mips.exp: Run the new tests. * opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB. * mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and "dlca".
2003-11-14Add new field to disassemble_info structure: symbol_is_valid() and use it toNick Clifton3-3/+13
skip displaying arm elf mapping symbols in disassembly output.
2003-11-13Add support for ARM ELF Mapping symbolsNick Clifton4-0/+46
2003-11-06* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.Nick Clifton7-5/+51
(rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table, dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table, mav_mvax_table, mav_dspc_table): Initialise new field. (insert_reg_alias): Initialise new field. (md_pseudo_table): Add "unreq" entry. (s_unreq): New function: Undo the effects of a previous .req. * doc/c-arm.texi: Document new pseudo op. * NEWS: Mention new feature. * testsuite/gas/arm/req.s: New test file. Check .req and .unreq psuedo ops. * testsuite/gas/arm/req.l: Expected error output from req.s test. * testsuite/gas/arm/copro.d: Set target architecture for objdump so that the test will work on architectures which cannot encode higher arm architecture types in their file headers. * testsuite/gas/arm/arm.exp: Run new req.s test. Skip thumb instruction test for PE targets which do not support thumb relocations. * testsuite/gas/elf/elf.exp: Skip special handling of section2 test for XScale targets - it is no longer needed.
2003-11-052003-11-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/m68k/mcf-mov3q.d: Support 64bit BFD.
2003-11-03 * gas/arm/arm7t.d: Replace '-#' with '#-'.Daniel Jacobowitz9-60/+71
* gas/arm/copro.d: Likewise. * gas/arm/fpa-mem.d: Likewise. * gas/arm/maverick.c: Likewise. * gas/arm/maverick.d: Likewise. * gas/arm/vfp1.d: Likewise. * gas/arm/vfp1xD.d: Likewise. * gas/arm/xscale.d: Likewise.
2003-10-27 * gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed.Stephane Carrez3-4/+9
* gas/m68hc11/lbranch-dwarf2.d: Update.
2003-10-23Add ColdFire testNick Clifton4-0/+41
2003-10-23gas/H.J. Lu5-2/+68
2003-10-22 Andreas Schwab <schwab@suse.de> H.J. Lu <hongjiu.lu@intel.com> Jim Wilson <wilson@specifixinc.com> * config/tc-ia64.c (update_qp_mutex): New. (note_register_values): Properly handle one of PRs in compare is PR0. Don't add a mutex relation for .and.orcm/.or.andcm. Clear mutex relation for .none/.unc. Don't clear mutex relation on predicated compare. testsuite/ 2003-10-22 Andreas Schwab <schwab@suse.de> H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/dv-mutex-err.s: Add more tests for compare. * gas/ia64/dv-mutex.s: Likewise. * gas/ia64/dv-mutex-err.l: Updated. * gas/ia64/dv-mutex.d: Likewise.
2003-10-18 * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: AddHans-Peter Nilsson14-12/+442
--no-pushj-stubs option. * gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs option. * gas/mmix/reloclab.l: Adjust for PUSHJ stub. * gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s, gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d, gas/mmix/weak1-s.d: New tests.
2003-10-17 * gas/arm/iwmmxt-bad.s: New file.Ian Lance Taylor4-0/+24
* gas/arm/iwmmxt-bad.l: New file. * gas/arm/arm.exp: Run new test.
2003-10-17 * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get theIan Lance Taylor2-1/+6
right disassembly.
2003-10-172003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-17/+21
* gas/alpha/elf-reloc-8.d: Updated.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley3-48/+53
* gas/frv/allinsn.s: Use preoperly aligned registers. * gas/frv/allinsn.d: Update expected results.
2003-10-082003-10-08 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+11
* lib/gas-defs.exp (gas_run): Always log the command being run. (gas_start): Likewise. (regexp_diff): Make error reporting about non-existent files consistent.
2003-10-06Fix macro tests to ignore section symbolsNick Clifton5-0/+17
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler16-13/+171
* gas/z8k/calr-backf.s: New file. * gas/z8k/calr-forwf.s: New file. * gas/z8k/calr.d: New file. * gas/z8k/calr.s: New file. * gas/z8k/djnz-backf.s: New file. * gas/z8k/djnz-backf2.s: New file. * gas/z8k/djnz.d: New file. * gas/z8k/djnz.s: New file. * gas/z8k/jr-back.d: New file. * gas/z8k/jr-forw.d: New file. * gas/z8k/jr-back.s: Fix displacement length. Add some more jumps for jr-back.d. * gas/z8k/jr-backf.s: Fix displacement length. * gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps for jr-forw.d. * gas/z8k/jr-forwf.s: Fix displacement length. * gas/z8k/z8k.exp: Run new tests.
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extensionThiemo Seufer11-0/+955
tests. (load_register): Likewise. (macro): Likewise. * gas/mips/ldstla-32-shared.d: New file. * gas/mips/ldstla-32.d: New file. * gas/mips/ldstla-32.s: New file. * gas/mips/ldstla-n32-shared.d: New file. * gas/mips/ldstla-n32.d: New file. * gas/mips/ldstla-n32.s: New file. * gas/mips/ldstla-n64-shared.d: New file. * gas/mips/ldstla-n64.d: New file. * gas/mips/ldstla-n64.s: New file. * gas/mips/mips.exp: Add ld-st-la tests.
2003-09-30[ gas/ChangeLog ]Chris Demetriou9-3/+53
2003-09-30 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_ip): Capitalize first word of existing condition code warning, and add condition code warnings for .ps instructions, and for bc1any[24][tf]. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * lib/gas-defs.exp (run_dump_test): If stderr file is specified and there was no stderr output, compare anyway (i.e., cause a test failure). * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings. * gas/mips/mips64-mips3d.l: New file. * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for changes to mips64-mips3d.s. * gas/mips/mips64-mips3d-incl.d: Likewise. * gas/mips/set-arch.l: New file. * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check. * gas/mips/mips5.l: Make error messages match source.
2003-09-30[ bfd/ChangeLog ]Chris Demetriou12-1/+784
2003-09-30 Chris Demetriou <cgd@broadcom.com> * archures.c (bfd_mach_mipsisa64r2): New define. * bfd-in2.h: Regenerate. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. * cpu-mips.c (I_mipsisa64r2): New enum value. (arch_info_struct): Add entry for I_mipsisa64r2. * elfxx-mips.c (_bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. [ binutils/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. [ gas/Changelog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. * configure: Regenerate. * config/tc-mips.c (imm2_expr): New variable. (md_assemble, mips16_ip): Initialize imm2_expr. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. (macro): Handle M_DEXT and M_DINS. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. (mips_ip): Likewise. (OPTION_MIPS64R2): New define. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. (md_parse_option): Handle OPTION_MIPS64R2. (s_mipsset): Handle setting "mips64r2" ISA. (mips_cpu_info_table): Add mips64r2. (md_show_usage): Document -mips64r2 option. * doc/as.texinfo: Docuemnt -mips64r2 option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips64r2.d: New file. * gas/mips/cp0sel-names-mips64r2.d: New file. * gas/mips/elf_arch_mips64r2.d: New file. * gas/mips/hwr-names-mips64r2.d: New file. * gas/mips/mips32r2-ill-fp64.l: New file. * gas/mips/mips32r2-ill-fp64.s: New file. * gas/mips/mips64r2-ill.l: New file. * gas/mips/mips64r2-ill.s: New file. * gas/mips/mips64r2.d: New file. * gas/mips/mips64r2.s: New file. * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. [ include/elf/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_64R2): New define. [ include/opcode/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document +E, +F, +G, +H, and +I operand types. Update documentation of I, +B and +C operand types. (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. (M_DEXT, M_DINS): New enum values. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ldmain.c (get_emulation): Ignore "-mips64r2". [ ld/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations with MIPS64r2. [ opcodes/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" (print_insn_args): Add handing for +E, +F, +G, and +H. * mips-opc.c (I65): New define for MIPS64r2. (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to be supported on MIPS64r2.
2003-09-292003-09-29 Dave Brolley <brolley@redhat.com>Dave Brolley3-5/+10
* gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. * gas/frv/allinsn.d (nldqi): Ditto.
2003-09-262003-09-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu22-32/+111
* gas/ia64/alias-ilp32.d: New file. * gas/ia64/secname-ilp32.d: Likewise. * gas/ia64/unwind-ilp32.d: Likewise. * gas/ia64/dependency-1.d: Support ILP32. * gas/ia64/dv-branch.d: Likewise. * gas/ia64/dv-imply.d: Likewise. * gas/ia64/dv-mutex.d: Likewise. * gas/ia64/dv-safe.d: Likewise. * gas/ia64/dv-srlz.d: Likewise. * gas/ia64/global.d: Likewise. * gas/ia64/ldxmov-1.d: Likewise. * gas/ia64/ltoff22x-1.d:Likewise. * gas/ia64/opc-a.d: Likewise. * gas/ia64/opc-b.d: Likewise. * gas/ia64/opc-f.d: Likewise. * gas/ia64/opc-i.d: Likewise. * gas/ia64/opc-m.d: Likewise. * gas/ia64/opc-x.d: Likewise. * gas/ia64/order.d: Likewise. * gas/ia64/regs.d: Likewise. * gas/ia64/tls.d: Likewise. * gas/ia64/ia64.exp: Run "secname-ilp32", "unwind-ilp32" and "alias-ilp32" for ia64-*-hpux*.
2003-09-25 * gas/cris/rd-pcrel2.d: Update for changes in section flagHans-Peter Nilsson2-0/+17
defaults.
2003-09-19 * gas/mips/elfel-rel.d: Add ABI specification.Thiemo Seufer4-0/+9
* gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise.
2003-09-19 * gas/mips/rm7000.s: Let objdump print trailing dots.Thiemo Seufer2-0/+6
2003-09-19 * gas/mips/empic3_e.s: Fix typo.Thiemo Seufer2-2/+6
2003-09-05gas/Richard Sandiford4-0/+41
* config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION. gas/testsuite/ * gas/frv/reloc1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
2003-09-04Add binutils support for v850e1 processorNick Clifton4-1/+90
2003-09-03Add *kfreebsd-gnu configuration supportNick Clifton2-0/+6
2003-09-03Use bfd_map_over_sections to walk section chain.Nick Clifton64-89/+88
Do not dump the contents of an empty section.
2003-09-01* gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns forMaciej W. Rozycki5-192/+200
little-endian. * gas/mips/elf-rel-got-n64.d: Likewise. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-08-29s/.cfi_gnu_window_save/.cfi_window_save/gJakub Jelinek2-2/+2
2003-08-29 * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.Jakub Jelinek6-0/+114
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save. (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK nor tc_cfi_emit_pcrel_expr are defined. (output_fde): Use tc_cfi_emit_pcrel_expr if available and DIFF_EXPR_OK is not defined. * config/tc-sparc.h (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, tc_cfi_emit_pcrel_expr): Define. (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum, sparc_cfi_emit_pcrel_expr): New prototypes. (sparc_cie_data_alignment): New decl. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. * config/tc-sparc.c: Include dw2gencfi.h. (sparc_cie_data_alignment): New variable. (md_begin): Initialize it. (sparc_cfi_frame_initial_instructions): New function. (sparc_regname_to_dw2regnum): Likewise. (sparc_cfi_emit_pcrel_expr): Likewise. * doc/as.texinfo: Document .cfi_gnu_window_save. * config/tc-sparc.c (s_common): Cast last argument to long and change format string to shut up warning. testsuite/ * gas/cfi/cfi-sparc-1.s: New test. * gas/cfi/cfi-sparc-1.d: New test. * gas/cfi/cfi-sparc64-1.s: New test. * gas/cfi/cfi-sparc64-1.d: New test. * gas/cfi/cfi.exp: Run them.
2003-08-19Add support for unindexed form of Addressing Mode 5Nick Clifton4-1/+63
2003-08-17include/opcode/ChangeLog:Jason Eckhardt5-3/+32
2003-08-16 Jason Eckhardt <jle@rice.edu> * i860.h (fmov.ds): Expand as famov.ds. (fmov.sd): Expand as famov.sd. (pfmov.ds): Expand as pfamov.ds. gas/testsuite/ChangeLog: 2003-08-16 Jason Eckhardt <jle@rice.edu> * gas/i860/pseudo-ops01.{s,d}: New files. * gas/i860/i860.exp: Execute the new test above. * gas/i860/README.i860: Mention that pseudo-ops need more testing and remove the align fill defect from the list.
2003-08-14Update regexp for destination address of unrelocated branch instructions soNick Clifton3-5/+11
that they point to themselves.
2003-08-08gas/Andreas Schwab4-0/+105
* config/tc-m68k.h (TARGET_USE_CFIPOP) (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): Define. * config/tc-m68k.c: Include "dw2gencfi.h". (tc_m68k_regname_to_dw2regnum) (tc_m68k_frame_initial_instructions): New functions. gas/testsuite/ * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. * gas/cfi/cfi.exp (run_list_test): Run it.