aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
AgeCommit message (Collapse)AuthorFilesLines
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
2002-11-18 * gas/config/tc-tic4x.c: Fixed proper commandlineSvein Seldal10-697/+1897
parameters. Added support for new opcode-list format. General error message fixups. (c4x_inst_add): Reject insn not for our CPU (md_begin): Added matrix for setting the proper opcode-level & device-flags according to cpu type and revision. Rewrite the opcode hasher. (c4x_operand_parse): Fix opcode bug (c4x_operands_match): New function argument. Added dry-run mechanism, that is optional error generation. Added constraint 'i' and 'j'. (c4x_insn_check): Added new function for post-verification of the generated insn. (md_assemble): Check all opcodes before croaking because of an argument mismatch. Need this to be able to fully support ortogonally arguments. (md_parse_options): Revised commandprompt swicthes and added new ones. (md_show_usage): Complete rewrite of printout. * gas/testsuite/gas/tic4x/addressing.s: Fix bug in one insn * gas/testsuite/gas/tic4x/addressing_c3x.d: Update thereafter * gas/testsuite/gas/tic4x/addressing_c4x.d: Update thereafter * gas/testsuite/gas/tic4x/allopcodes.S: Add support for new opclass.h changes * gas/testsuite/gas/tic4x/opclasses.h: Added testsuites for the new enhanced opcodes. * gas/testsuite/gas/tic4x/opcodes.s: Regenerate * gas/testsuite/gas/tic4x/opcodes_c3x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_c4x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_new.d: Added new testsuite for the enhanced and special insns. * gas/testsuite/gas/tic4x/tic4x.exp: Added the opcodes_new testsuite * include/opcode/tic4x.h: File reordering. Added enhanced opcodes. * opcodes/tic4x-dis.c: Added support for enhanced and special insn. (c4x_print_op): Added insn class 'i' and 'j' (c4x_hash_opcode_special): Add to support special insn (c4x_hash_opcode): Update to support the new opcode-list format. Add support for the new special insns. (c4x_disassemble): New opcode-list support.
2002-11-18TIC4X testcase commitSvein Seldal21-7/+6309
* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x from test * binutils/testsuite/binutils-all/objdump.exp: Setup proper values for tic4x testcase * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/tic4x: New tic4x gas testsuite directory * ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase
2002-11-12 * gas/ppc/booke.d: Adjust output for corrected condition reg.Alan Modra2-2/+6
2002-11-07 Only run fastcall test for x86 PE targets.Nick Clifton2-1/+9
2002-11-07 * config/tc-alpha.c (alpha_validate_fix): Move code ...Richard Henderson3-0/+1429
(alpha_fix_adjustable): ... here. * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
2002-11-06Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton3-0/+9
(i386)
2002-11-012002-11-01 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+29
* gas/i386/i386.exp: Add "sub". * gas/i386/sub.d: New. * gas/i386/sub.s: New.
2002-10-232002-10-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-6/+16
* gas/mips/branch-misc-2.d: Updated.
2002-10-22 * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,Hans-Peter Nilsson5-0/+205
gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests.
2002-10-21 * config/tc-mips.c (mips_need_elf_addend_fixup): Return trueRichard Sandiford4-0/+49
for relocs against symbols in a merged section. testsuite/ * gas/mips/elf-rel7.[sd]: New test. * gas/mips/mips.exp: Run it.
2002-10-12* gas/mips/mips.exp: Don't xfail relax.Alexandre Oliva5-5/+492
* gas/mips/relax.s: Increase coverage. * gas/mips/relax.d: Add expected output. Use relax.l for as stderr. * gas/mips/relax.l: New file.
2002-10-11 * gas/sh/tlsd.s, gas/sh/tlsd.d: New.Kaz Kojima8-0/+246
* gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New. * gas/sh/tlspic.s, gas/sh/tlspic.d: New. * gas/sh/basic.exp: Add new tests.
2002-10-09* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets theStephen Clarke84-88/+150
lsb in SHmedia code addresses. * gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable recognition of SH-1/2/3/4 instructions. (proc do_fp): Do not run dsp tests for sh64*-*-linux*. * gas/sh/sh64/abi-32.d: Adjust expected output to include sh64*-*-linux* formats too. * gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d, gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d, gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d, gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d, sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d, gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d, gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d, gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d, gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d, gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d, gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d, gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d, gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d, gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d, gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d, gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d, gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d, gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d, gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d, gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d, gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d, gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d, gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d, gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d, gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d, gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d, gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d, gas/sh/sh64/ua64-1.d: Likewise.
2002-10-032002-10-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* gas/mips/mips-no-jalx.l: Make error message regexps accomodate tools which target a specific CPU by default.
2002-10-03 * contig/tc-sh.c (sh_local_pcrel): New.Kaz Kojima2-1/+23
(sh_force_relocation): Use sh_local_pcrel. (md_pcrel_from_section): Check the relocation type whether it should be resolved locally. Use S_FORCE_RELOC. * testsuite/gas/sh/pcrel2.d: Check code also.
2002-10-03* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*Stephen Clarke3-2/+8
symbol generation. * gas/sh/sh64/ptc64-noexp-1.d: Likewise.
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+4
* gas/mips/mips.exp: Undo the last change.
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+3
* gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the rest of output.
2002-09-302002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+9
* gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and empic3_g2 on Linux/mips.
2002-09-302002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/mips/vr4120.d: Pass -m mips:4120 to objdump.
2002-09-30[gas/]Richard Sandiford14-9/+605
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. (hilo_interlocks): True for CPU_VR5500. (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. (mips_fix_vr4122_bugs): New. (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. (mips_emit_delays): Likewise. (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. [M_ROLI]: Likewise ror if CPU_HAS_ROR. (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. (OPTION_ELF_BASE): Bump. (md_parse_option): Handle the new options. (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, vr5400 and vr5500. [gas/testsuite/] * gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to... * gas/mips/vr4111.[sd]: ...this new test. * gas/mips/vr4120.[sd], * gas/mips/vr4122.[sd], * gas/mips/vr5400.[sd], * gas/mips/vr5500.[sd]: New tests. * mips.exp: Run them.
2002-09-282002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>Daniel Jacobowitz4-0/+30
* config/tc-sh.c (sh_force_relocation): Return 0 for some PC relative relocations when not relaxing. * testsuite/gas/sh/pcrel2.s: New. * testsuite/gas/sh/pcrel2.d: New. * testsuite/gas/sh/basic.exp: Add pcrel2 test.
2002-09-27* gas/vax/elf-rel.[ds]: New test.Jason Thorpe4-2/+87
* gas/vax/quad.exp: Move contents to... * gas/vax/vax.exp: ...here. New file.
2002-09-272002-09-27 H.J. Lu <hjl@gnu.org>H.J. Lu5-1/+21
* gas/mips/mips-jalx.s: Add ".p2align 4". * gas/mips/mips16-jalx.s: Likewise. * gas/mips/mips-jalx.d: Check nop. * gas/mips/mips16-jalx.d: Likewise.
2002-09-26 /gas/ChangeLogThiemo Seufer8-1/+46
* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16 capable configuration. (macro_build): Check for MIPS16 capability, not for actual MIPS16 code generation. (mips_ip): Likewise. /gas/testsuite/ChangeLog * gas/mips/mips-jalx.d: New file, check jalx assembly. * gas/mips/mips-jalx.s: Likewise. * gas/mips/mips-no-jalx.l: Likewise. * gas/mips/mips-no-jalx.s: Likewise. * gas/mips/mips16-jalx.d: Likewise. * gas/mips/mips16-jalx.s: Likewise. * gas/mips/mips.exp: Add new tests. /opcodes/ChangeLog: * mips-dis.c (print_insn_mips): Always allow disassembly of 32-bit jalx opcode.
2002-09-26 * config/tc-mips.c (append_insn): Fix jump overflow check.Thiemo Seufer3-6/+12
* gas/mips/jal-range.s: Fix jump overflow check. * gas/mips/jal-range.l: Likewise.
2002-09-23Add LDM and STM instructions which are unpredictable because of their use ofNick Clifton3-0/+14
the writeback bit.
2002-09-21Fix UNPREDICATABLE use of writeback in LDM/STM instructions.Nick Clifton3-6/+12