4 * gas/tic80/{float.d, float.lst, float.s}: New tests for
5 simple floating point operands.
6 * gas/tic80/tic80.exp: Run the float test.
10 * gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,
11 regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}:
12 New tests for :m and :s operand modifiers.
13 * gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests.
18 * gas/macros/semi.s: Force the final alignment to use a fill value
21 * gas/all/cond.s, gas/all/cond.d: New test.
22 * gas/all/gas.exp: Run it.
26 * lib/gas-defs.exp(gas_init): Added new parameter for script
32 * gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d,
34 (relocs1.c): Add file for reference.
35 (relocs1b.d): Split reloc table contents test to different test file.
36 (relocs2.c): Add test that uses various types (char, short, int, ...) of
37 static and global variables with data shuffling to generate lots of ld/st
38 instructions for the different types.
39 (relocs2.d): New file, expected code for relocs2 test.
40 (relocs2.lst): New file, TI assembler listing for reference.
41 (relocs2.s): New file, assembly source for relocs2 test.
42 (relocs2b.d): New file, expected reloc table contents for relocs2 test.
43 (tic80.exp): Run the relocs1b, relocs2, and relocs2b tests.
48 * gas/all/itbl-test.c(main): Update function calls.
49 Remove parameters from itbl_get_reg_val and
50 change itbl_get_insn_name to itbl_get_field.
54 * gas/mips/itbl: Add comments.
55 * gas/mips/itbl.s: Add comments. Prefix register names with $.
56 * gas/all/itbl: Generic table for testing for itbl support.
57 * gas/all/itbl.s: Generic assembly for testing for itbl support.
58 * gas/mips/itbl-test.c: Moved to gas/all.
59 * gas/all/itbl-test.c: Moved from gas/mips.
64 * gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst,
65 endmask.lst, regops.lst}: Remove ^M's from end of lines.
66 * gas/tic80/bitnum.s: Add comment to each line showing value
67 that symbolic BITNUM assembles to. Add coverage for raw
68 numeric values for the BITNUM operand.
69 * gas/tic80/bitnum.d: Update due to bitnum.s changes.
70 * gas/tic80/regops.d: Update due to opcode library additions
71 of floating point test BITNUM values that are ambiguous with
73 * gas/tic80/relocs1.s: New test case that tests simple relocs.
74 * gas/tic80/relocs1.d: Expected output for above.
75 * gas/tic80/relocs1.lst: TI assembler listing for above.
76 * gas/tic80/tic80.exp: Add relocs1 test.
82 * gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s,
83 inst.d, inst.s, opt.d, opt.s}: Test files for D30V.
88 * gas/macros/semi.s, gas/macros/semi.d: New test.
89 * gas/macros/macros.exp: Run it.
90 * gas/mri/semi.s, gas/mri/semi.d: New test.
91 * gas/mri/mri.exp: Run it.
95 * gas/hppa/unsorted/unsorted.exp (align4 tests): Tweak expected
100 * gas/all/align.d, gas/all/align.s: New test.
101 * gas/all/gas.exp: Run it.
105 * gas/mips/mips16.d: Correct PC relative instruction bytes.
109 * gas/mips/lif-svr4pic.d: Pass -EB when running the assembler.
110 * gas/mips/lif-xgot.d: Likewise.
111 * gas/mips/ulh-svr4pic.d: Likewise.
112 * gas/mips/ulh-xgot.d: Likewise.
114 * gas/mips/mips16.d: Update for yet another change in disassembly
115 output (this one is spacing only).
120 * gas/tic80/{add.d, add.lst, add.s, bitnum.d, bitnum.lst, bitnum.s,
121 ccode.d, ccode.lst, ccode.s, cregops.d, cregops.lst, cregops.s,
122 endmask.d, endmask.lst, endmask.s, regops.d, regops.lst, regops.s,
123 tic80.exp}: New files for TIc80 test cases.
128 * gas/mips/mips16.d: Update for change in disassembly output.
132 * gas/mips/itbl-test.c: Add copyright message and fix indentation.
136 * gas/mips/itbl-test.c: New file. Stand-alone assembler and
137 dissassembler for itbl support.
141 * gas/mips/itbl: New file. Instruction Spec for testing --itbl
143 * gas/mips/itbl.s: New file. Assembly with ne2w instructions
148 * gasp/gasp.exp: Use prune_warnings instead of prune_system_crud.
149 * lib/gas-defs.exp: Ditto.
153 * gas/arm/inst.d, gas/arm/arm7t.d: Pass --prefix-addresses to
154 objdump. Update for current relocation printing style.
158 * gas/mips/mips16.d: Update for disassembler changes.
162 * gas/mips/mips.exp: set ilocks for all 4100/4300
166 * gas/mips/mips16.s, gas/mips/mips16.d: New test.
167 * gas/mips/mips.exp: Run mips16 test.
169 * gas/mips/mips.exp: Run dli test unconditionally.
170 * gas/mips/dli.s: Add text symbol. Add nops to round to 16 byte
172 * gas/mips/dli.d: Corresponding changes.
176 * gas/sparc/synth.d: Use --prefix-addresses for objdump.
177 * gas/sparc/synth64.d: Likewise.
181 * gas/mips/*-ilocks.d: Fix regexps to resemble disassembled output.
185 * gas/mips/*.[sd]: Add explicit nops, sometimes controlled by
186 .ifdef, to accomodate change to avoid default alignment on
191 * gas/mn10200/basic.exp (do_movb): Fix bit pattern for
196 * gas/mn10300/basic.exp: Update after endianness changes to
199 * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests.
200 * gas/mn10200/{movb.s, movbu.s}: Likewise.
201 * gas/mn10200/basic.exp: Run them.
205 * gas/mn10200/*.s: New tests for the mn10200 assembler.
206 * gas/mn10200/basic.exp: Run them.
210 * gas/mn10300/*.s: Remove '$' register prefixing.
214 * gas/sparc-solaris/addend.exp: Fix patterns, you can't assume
219 * gas/m68k/*.d: Update for disassembler changes.
220 * gas/mri/*.d: Likewise.
224 * gas/mn10300/*.s: Use '$' as register prefix for
225 all register operands.
229 * gas/all/gas.exp: xfail a couple tests for the mn10300.
233 * gas/mn10300/other.s: Update for correct syntax on a
234 few instructions (those with register lists).
235 * gas/mn10300/basic.exp: Corresponding changes.
239 * gas/mn10300/movm.s: Update for correct syntax.
240 * gas/mn10300/basic.exp: Update expected movm bit patterns.
244 * gas/mn10300/other.s: Put parens around register
245 argument in calls and jmp instructions.
249 * gas/h8300/ffxx1.d: Update for recent disassembler changes.
253 * gas/hppa/reloc/reloc.exp: Pass "--prefix-addresses" to objdump
255 * gas/hppa/unsorted/unsorted.exp: Likewise.
259 * gas/mn10300/basic.exp: Check opcode insertion for
260 extended instructions.
261 * gas/mn10300/extend.s: Tweak constants for better
266 * gas/mn10300/basic.exp: Test insertion of operands
267 into call and jmp instructions with 32bit offsets.
268 Fix typo in bit test patterns.
269 * gas/mn10300/other.s: Tweak constants to improve
272 * gas/mn10300/basic.exp: Test insertion of 32bit operand
273 in calls, btst, bclr & bset instructions.
275 * gas/mn10300/*.s: Tweak constants in 32bit insns for
276 better testing coverage.
277 * gas/mn10300/basic.exp: Test insertion of most 32bit
282 * gas/mn10300/basic.exp: Check bit patterns for indexed mov,
283 movbu, movhu instructions. Check bit patterns for more bit
284 operations. Check bit patterns for various 16bit call, retf
285 and ret instructions.
286 * gas/mn10300/other.s: Update operands for better test coverage.
290 * gas/mn10300/basic.exp: Check bit patterns for a couple more
291 mov and cmp instructions.
295 * gas/mips/*.d: Update for disassembler changes.
300 * gas/v850/reloc.s: New tests.
301 * gas/v850/basic.exp: Run them.
306 * gas/mips: Add symbols to several testsuites, since the ELF
307 assembler now always builds a symbol table, which means that
308 objdump will no longer report `No symbols in FILE'. Change the
309 expected output accordingly.
313 * gas/mn10300/basic.exp: Check bit patterns for instructions
314 with a single 8bit or 16bit immediate operand.
316 * gas/mn10300/basic.exp: Check bit patterns for many
317 instructions. Add missing test in do_mov1.
318 * gas/mn10300/mov1.s: Add missing test.
322 * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
323 * gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise.
324 * gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise.
325 * gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise.
326 * gas/mn10300/{shift.s, sub.s}: Likewise.
327 * gas/mn10300/basic.exp: Run them.
331 * gas/mn10200, gas/mn10300: New directories for Matsushita
332 mn10200 and mn10300 tests.
336 * lib/gas-defs.exp (gas_version): Fix for current version
341 * gas/sparc/splet.d: Fix typo in cpusha result.
345 * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: Add tests for fmovemx.
349 * gas/all/cofftag.s: Use .p2align rather than .align.
353 * gas/h8300/macs.s: Add "stmac" instructions.
354 * gas/h8300/basic.exp: Test them.
358 * gas/arm/thumb.s (back): Check assembly of Thumb BL.
362 * gas/mips/mips4.s, gas/mips/mips4.d: Use $fccN for condition code
367 * gas/mips/dli.{s,d}: More test cases added.
371 * gas/mips/mips.exp: Add check for dli macro instruction.
372 * gas/mips/dli.{s,d}: Added.
377 * gas/v850/basic.exp (do_mem): Check bit patterns for short
378 load/store instructions. Remove xfails for short load/store
380 * gas/v850/mem.s: Offsets for short load/store operands
383 * gas/v850/basic.exp (do_branch): Check offsets in branch insns.
384 (do_jumps): Likewise.
388 * gas/v850/misc.s: Tweak register numbers for better testing.
389 * gas/v850/basic.exp (do_misc): Corresponding changes.
391 * gas/v850/hilo.s: New testfile.
392 * gas/v850/basic.exp: Run hilo tests.
397 * gas/arm/arm7t.d: Explicitly force little-endian assembly.
402 * gas/v850/basic.exp (do_move): Test instruction bit patterns.
403 * gas/v850/move.s: Tweak constants for better testing.
405 * gas/v850/basic.exp (do_mem): Test instruction bit patterns.
406 xfail sst and sld tests.
407 (do_mov): Remove bogus xfail.
408 * gas/v850/mem.s: sst and sld instructions can only index from
411 * gas/v850/basic.exp (do_logical): Test instruction bit patterns.
413 * gas/v850/logical.s: Tweak constants for better testing.
415 * gas/v850/basic.exp (do_jump): Test instruction bit patterns,
416 but not displacements (yet).
418 * gas/v850/basic.exp (do_compare): Test instruction bit patterns.
420 * gas/v850/basic.exp (do_branch): Test instruction bit patterns,
421 but not displacements (yet).
423 * gas/v850/basic.exp (do_bit): Test instruction bit patterns.
425 * gas/v850/basic.exp (do_arith): Test instruction bit patterns.
426 * gas/v850/arith.s: Tweak constants for better testing.
428 * gas/v850/basic.exp (do_misc): No longer expect failures
429 assembling "ldsr" and "stsr" opcodes.
430 * gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr"
433 * gas/v850/basic.exp (do_misc): No longer expect failures
434 assembling "trap" opcodes.
435 * gas/v850/misc.s: Re-enable assembling of "trap" opcodes.
437 * gas/v850: New directory with v850 tests.
442 * gas/hppa/basic/purge.s: Use "%sr4" on pitlb, pitlbe
443 fic and fice instructions to test 3bit space identifiers.
444 * gas/hppa/basic/system.s: Similarly for iitlba and
446 * gas/hppa/basic/basic.exp: Corresponding changes.
450 * gas/arm/arm.exp: Change inst.s test to check objdump.
451 * gas/arm/inst.d: Added.
455 * gas/arm/thumb.s: Added.
456 * gas/arm/immed.s: Added.
457 * gas/arm/arch4t.s: Added.
458 * gas/arm/arm.exp: Updated to run the new tests.
462 * gas/h8300/misch.s: Reenable "eepmov.w" test.
463 * gas/h8300/miscs.s: Likewise.
464 * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w"
465 on the H8/300H and H8/S. Don't expect it to fail.
469 * gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
473 * gas/arm/arm7t.s: Added.
474 * gas/arm/arm7t.d: Added.
475 * gas/arm/arm.exp: Updated to run the new test.
479 * gas/m68k/pcrel.d: Rename from schwab.d.
480 * gas/m68k/pcrel.s: Rename from schwab.s.
484 * gas/m68k/schwab.d: Correct for ELF format.
485 * gas/m68k/all.exp: Run "schwab" test for all targets.
489 Avoid DOS file naming problems:
490 * gas/h8300/branch.s: Rename from branches.s.
491 * gas/h8300/branchh.s: Rename from branchesh.s.
492 * gas/h8300/branchs.s: Rename from branchess.s.
493 * gas/h8300/rotsh.s: Rename from rotshift.s.
494 * gas/h8300/rotshh.s: Rename from rotshifth.s.
495 * gas/h8300/rotshs.s: Rename from rotshifts.s.
496 * gas/h8300/h8300.exp: Corresponding changes.
500 * gas/mips/mips.exp: Add new tests for processors with interlocks
502 * gas/mips/div-ilocks.d: Added.
503 * gas/mips/mul-ilocks.d: Added.
507 * gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests
509 * gas/h8300/h8300.exp: Fix regexp of mov32bug test to work on a 64
514 * gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a
516 * gas/vax/quad.exp: Expect a nop after the movq.
520 * gas/h8300/cbranchh.s: Switch into h8300h mode.
521 * gas/h8300/h8300.exp (H8/300H misc tests): Fix test names.
523 * gas/h8300/{addsubs.s,bitops1s.s,bitops2s.s}: New tests for the
525 * gas/h8300/{bitops3.s,bitops4.s,cbranchs.s,logicals.s}: Likewise.
526 * gas/h8300/{branchess.s,compares.s,macs.s,decimals.s}: Likewise.
527 * gas/h8300/{incdecs.s,divmuls.s,miscs.s,multiples.s}: Likewise.
528 * gas/h8300/{movbs.s,movws.s,movls.s,pushpops.s}: Likewise.
529 * gas/h8300/{rotshifts.s,extends.s}: Likewise.
530 * gas/h8300/h8300.exp: Run them.
534 * gas/all/cofftag.s, gas/all/cofftag.d: New test for COFF enum tag
535 with the same name as a global variable.
536 * gas/all/gas.exp: Run cofftag test for any COFF target.
540 * gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s
545 * gas/h8300/h8300.exp: Fix add.l test for H8/300H.
549 * gas/mips/jal-xgot.d: Correct for 64 bit output.
553 * gas/sparc/sparc.exp: Only run sparclet tests if sparclet.
557 * gas/m68k/op68000.d: Add statements now caught by gas.
561 * gas/sparc/splet.[ds]: New tests for sparclet extensions.
562 * gas/sparc/sparc.exp: Run them.
566 * gas/mips/la.d: Updated for April 5 MIPS assembler changes.
567 * gas/mips/lb.d, gas/mips/ld.d, gas/mips/sb.d: Likewise.
568 * gas/mips/uld.d, gas/mips/ulh.d, gas/mips/ulw.d: Likewise.
569 * gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d: Likewise.
573 * gas/h8300/mov32bug.s: New test.
574 * gas/h8300/h8300.exp: Run it.
578 * gas/h8300/{addsubh.s,bitops1h.s,bitops2h.s}: New h8300h tests.
579 * gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests.
580 * gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests.
581 * gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests.
582 * gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests.
583 * gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests.
584 * gas/h8300/h8300.exp: Run them.
586 * gas/h8300/{movb.s,movw.s}: Correct predecrement syntax.
588 * gas/h8300/h8300.exp: Fix typos in bitops4 and movb tests.
590 * gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests.
591 * gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests.
592 * gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests.
593 * gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests.
594 * gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests.
595 * gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests.
596 * gas/h8300/h8300.exp: Run them.
600 * gas/sparc/synth.d: Don't require sparc in the file format, since
601 it won't be there on SunOS.
605 * gas/sparc/synth.[ds]: New testcase.
606 * gas/sparc/sparc.exp: Run it.
610 * gas/all/gas.exp: xfail difference of two undefined symbols
611 and difference of forward references for the h8300.
615 * gas/mips/lb-xgot.d: Correct.
619 * gas/sparc/{asi,membar,prefetch,rdpr,synth64,wrpr}.d: Pass -Av9
621 * gas/sparc/addend.exp: Execute for any sparc cpu.
622 * gas/sparc/{mismatch.exp,mism-1.s}: New test.
626 * gas/mips/jal-xgot.d, gas/mips/la-xgot.d: New tests.
627 * gas/mips/lb-xgot.d, gas/mips/ld-xgot.d: New tests.
628 * gas/mips/lif-xgot.d, gas/mips/ulh-xgot.d: New tests.
629 * gas/mips/mips.exp: Run new tests if svr4pic.
633 * lib/gas-dg.exp (gas-dg-test): Delete default_flags and libs args.
635 * gas/arc/warn.exp: Delete libs arg in call to dg-runtest.
640 * gas/hppa/unsorted/unsorted.exp: Update for objdump changes.
644 * gas/mips/*.d: Update for changes to disassembler.
648 * gas/mips/ulh-svr4pic.d: Update for tc-mips.c load_address
653 * gas/mri/immconst.d: New test.
654 * gas/mri/mri.exp: Run it.
655 * gas/mri/constants.s: Test immediate constants.
656 * gas/mri/constants.d: Corresponding change.
658 * gas/m68k/link.s: Add nop to pad to eight byte boundary.
659 * gas/m68k/link.d: Corresponding change.
663 * gas/hppa/unsorted/brlenbug.s: New test.
664 * gas/hppa/unsorted/unsorted.exp: Run it.
668 * gas/mips/beq.s: Declare text_label global.
669 * gas/mips/jal.s: Likewise.
673 * gas/m68k/link.s: Use "&" instead of "#" for immediate values.
675 * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test.
676 * gas/m68k/all.exp: Run it.
680 * gas/m68k/link.s, gas/m68k/link.d: New test.
681 * gas/m68k/all.exp: Run it.
685 * gas/hppa/basic/basic.exp: Test lci and syncdma instructions.
686 * gas/hppa/basic/system.s: Corresponding changes.
690 * gas/m68k/operands.d: Don't require a fixed number of leading
693 * gas/m68k/operands.s, gas/m68k/bitfield.s: Use "&" instead of "#"
694 for immediate values.
698 * gas/arm/arm.exp: Renamed from gas.exp.
699 * gas/arm/le-fpconst.[sd]: New testcase.
703 * gas/mri/mri.exp: Only run tests for m68k target.
707 * gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constants
712 * gas/sh/fp.s (fmac): Update for new assembly syntax.
716 * lib/gas-defs.exp (gas_run): Call prune_system_crud.
717 (run_dump_test, objdump): Likewise.
721 * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.
722 * gas/sparc/sparc.exp: Run them.
726 * Makefile.in, configure.in: Remove; the testsuite is now run
727 directly from the gas Makefile.
731 * gas/mri/empty.s: New file.
732 * gas/mri/mri.exp: Test assembling empty.s.
733 * gas/mri/comment.s: Add a couple more comment variants.
735 * gas/mri/mri.exp: Add xfail for the expr test for all hppa
740 * gas/mri/comment.s, gas/mri/comment.d: New test.
741 * gas/mri/mri.exp: Run it.
742 * gas/mri/expr.s: Remove whitespace in operand field.
743 * gas/mri/for.s: Add comments for further testing.
744 * gas/macros/test2.s: Put in an upper case ELSE to test case
749 * gas/sparc/{prefetch.[ds],synth64.[ds]}: New tests.
753 * gas/sparc/sparc.exp: New file.
754 * gas/sparc/{asi.[ds],membar.[ds]}: New tests.
758 * gas/macros/*: New tests for macros.
760 * gas/mri/common.s: Use data, not .data.
762 * gasp/pl3.out: Update for changes in commented source output when
767 * gasp/gasp.exp (gasp_test): Call prune_system_crud on the output
769 * lib/gas-defs.exp: Define prune_system_crud if it is not already
774 * gasp/mri/*.out: Use ;, not !, for the comment character.
778 * gas/mri/mri.exp: Change hppa*-*-* expected failures to only
779 expect failure for targets which use SOM.
781 * lib/gas-defs.exp (run_dump_test): If the program to run does not
782 exist, mark the test as untested.
784 * gas/mri/mri.exp: Add setup_xfail for i960 b.out targets for
787 * lib/gas-defs.exp (run_dump_test): Name the output file dump.o,
788 rather than using an implicit a.out.
790 * gas/mri/for.s: Add nop to round out to four byte boundary.
791 * gas/mri/repeat.s: Likewise.
792 * gas/mri/while.s: Likewise.
793 * gas/mri/for.d: Expected added nop.
794 * gas/mri/repeat.d: Likewise.
795 * gas/mri/while.d: Likewise.
797 * gas/mips/*.d: Change all test names to say MIPS.
801 * gas/mri/for.d, gas/mri/for.s: New test.
802 * gas/mri/if.d, gas/mri/if.s: New test.
803 * gas/mri/repeat.d, gas/mri/repeat.s: New test.
804 * gas/mri/while.d, gas/mri/while.s: New test.
805 * gas/mri/mri.exp: Run the new tests.
809 * gas/mri/expr.d: Permit leading zeroes, in case we're using a
812 * gasp/mri/*: New tests.
813 * gasp/gasp.exp: Run them. Also, clean up the test names used in
818 * gas/sh/basic.exp: Update now that we know the right
819 bit patters for the new sts instructions.
823 * gas/mri/char.d: Fix for little endian machines.
824 * gas/mri/float.d: Likewise.
828 * gas/all/struct.s, gas/all/struct.d: New test.
829 * gas/all/gas.exp: Run it.
833 * gas/mri/common.s, gas/mri/common.d: New test.
834 * gas/mri/mri.exp: Run it.
838 * gas/mri/mri.exp: Add setup_xfail for a29k*-*-* for constants
841 * gasp/crash1.out, gasp/macro.out, gasp/sfunc.out: Complete
842 truncated files, so that the tests pass.
844 * gas/mri/mri.exp: Add setup_xfail for hppa*-*-* for equ,
847 * gas/m68k/all.exp: Run schwab test on hpux*, not just hpux. Run
848 on vxworks*, not just vxworks5.1.
850 * lib/gas-defs.exp (fail_phase, pass_phase): Remove.
851 (run_dump_test): Just call pass or fail.
853 * gas/m68k/operands.s, gas/m68k/operands.d: New test.
854 * gas/m68k/op68000.d: New test.
855 * gas/m68k/cas.s, gas/m68k/cas.d: New test.
856 * gas/m68k/bitfield.s, gas/m68k/bitfield.d: New test.
857 * gas/m68k/schwab.d: Run objdump with -j .text. Adjust for
858 changes to disassembler.
859 * gas/m68k/all.exp: Run new tests. Run schwab test for
864 * gas/sh/*: New tests for the hitachi-sh.
868 * gas/mri/*: New tests for MRI mode.
870 * lib/gas-defs.exp (run_dump_test): Support using objcopy. Dump
871 program executions to the log file before running them. Use the
872 simple program name, rather than the path to the binary being run,
873 in pass/fail messages.
874 (regexp_diff): If the regexp file has the special comment #pass,
875 stop checking at that point.
876 * config/default.exp: Set NM, NMFLAGS, OBJCOPY, and OBJCOPYFLAGS,
877 if they are not already set.
881 * Makefile.in: Remove superfluous runtest gasp.
886 * Makefile.in: Use gasp tests.
887 * config/default.exp: Add gasp stuff.
891 * gas/all/gas.exp: Disable tests that are not appropriate for
896 * gas/m68k/all.exp: Run schwab test for m68k vxworks5.1.
900 * gas/m68k/schwab.*: New test based on a test case from Andreas
902 * gas/m68k/all.exp: Run it for some aout configurations.
906 * gas/hppa/parse/badfmpyadd.s: New test.
907 * gas/hppa/parse/parse.exp: Run it.
911 * gas/hppa/unsorted/unsorted.exp: Disable align4 tests for
916 * arm/arm7dm.s: New file -- tests for ARM7DM instructions.
917 * arm/arm6.s: Correct bogus tests.
918 * arm/gas.exp (arm6.s): Is now a valid test.
919 (arm7dm.s): New test.
920 * arm/float.s: Add load/store multiple floating point instruction
925 * gas/hppa/reloc/longcall.s: New test.
926 * gas/hppa/reloc/reloc.exp: Run it.
930 * gas/mips/ld.d: Modified for gas delay-slot fixes.
934 * lib/gas-dg.exp: New file.
936 * gas/arc/warn.{exp,s}: New testcase.
941 * gas/mips/mips4.d: Allow more than exactly 8 zeros in bc1*
946 * lib/gas-defs.exp (pass_phase): New proc.
947 (run_dump_test): Note passing or failing of each phase of this
948 test, instead of failure of phases or passing of complete test.
949 Ensure test file name is in reported message.
954 * gas/arc: Testsuite for ARC.
955 * gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.
956 * gas/arc/{branch.[sd],alias.[sd],sshift.[sd]}: New files.
957 * gas/arc/{insn3.[sd],mul64.[sd],ld.[sd],st.[sd]}: New files.
960 * lib/gas-defs.exp (run_dump_test): Handle arguments with paths.
961 Always resolve testcase status before returning.
962 If `slurp_options' fails, return and don't do test.
963 (slurp_options): Fix "can't open" error message.
964 Return -1 to indicate error.
968 * gas/hppa/unsorted/common.s: New test.
969 * gas/hppa/unsorted/unsorted.exp: Run it.
973 * gas/h8300/ffxx1.s: Add .word 0 at the end to eliminate
974 uncertainty as to whether there should be trailing bytes in the
976 * gas/h8300/ffxx1.d: Adjust reloc values to permit an addend value
977 of 0x00000000ffffffff on 64-bit hosts. (I'm not sure if this is
978 correct.) End with "..." to match trailing zero bytes.
982 * gas/mips/mips4.d, gas/mips/mips4.s: New files.
983 * gas/mips/mips.exp: Run new test.
987 * gas/hppa/basic/fmemLRbug.s: Add indexing variants.
988 * gas/hppa/basic/basic.exp: Test them.
992 * gas/mips/uld.d: New file.
993 * gas/mips/uld.s: New file.
994 * gas/mips/usd.d: New file.
995 * gas/mips/usd.s: New file.
996 * gas/mips/mips.exp: Run new tests.
1000 * gas/hppa/reloc/applybug.s: New test.
1001 * gas/hppa/reloc/reloc.exp (do_applybug_test): Run it.
1005 * gas/hppa/reloc/picreloc.s: New test.
1006 * gas/hppa/reloc/reloc.exp (do_pic_relocation_test): Run it.
1010 * gas/h8300/ffxx1.d, gas/h8300/ffxx1.s, gas/h8300/cmpsi2.s,
1011 gas/h8300/h8300.exp: New tests.
1015 * gas/hppa/basic/basic.exp (do_system): Update.
1019 * gas/mips/mips.exp: Don't run the memory-access tests if the
1020 format is a.out, because the generated code is different from what
1021 is used with other formats.
1025 * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in
1026 regexp to avoid losing without a controlling tty.
1030 * gas/i386/pushw.l: Fixed whitespace to match current listing
1033 * gas/all/gas.exp: Mark test p1480.s expected to pass, even with
1038 * Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.
1039 (uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp.
1040 * config/default.exp: Default OBJDUMP and OBJDUMPFLAGS. Use
1041 findfile and transform procedures to determine objdump program
1044 * gas/mips/abs.s, gas/mips/div.s: Force some padding at the end,
1045 in case the format doesn't automatically require it.
1046 * gas/mips/beq.d, gas/mips/jal.d: Handle MIPS_JMP as an alternate
1047 name for the reloc type.
1049 * lib/gas-defs.exp (file_contents, verbose_eval): New procs.
1050 (run_dump_test): If verbosity level is over 3, print out dump
1051 command and its output.
1055 * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted
1060 * gas/all/gas.exp (comment.s test): Make the "\r" optional, since
1061 it depends on tty modes.
1063 * lib/gas-defs.exp (gas_start): Try using -nottycopy instead of
1066 * gas/arm/gas.exp: The arm6 test should report errors, for now.
1070 * lib/gas-defs.exp: Use -i in expect_after command.
1074 * gas/mips/mul.d,jal.d: Fix 0-strings to work with 64-bit hosted
1077 * gas/ieee-fp: Renamed from ieee.fp.
1079 * lib/gas-defs.exp: Make sure timeout is at least 2 minutes.
1083 * gas/hppa/parse: Renamed from gas/hppa/more.parse.
1087 * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
1088 to fail. Fix comments for the test. Tweak test name.
1092 * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
1097 * gas/mips/ld.d: Adjust to work for both big and little endian
1099 * gas/mips/ld.s, gas/mips/lif-empic.d: Likewise.
1100 * gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise.
1101 * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise.
1102 * gas/mips/usw.d: Likewise.
1106 * gas/hppa/unsorted/align4.s: New test.
1107 * gas/hppa/unsorted/unsorted.exp: Run it.
1109 * gas/hppa/unsorted/unsorted.exp (importbug): Tweak to match
1110 current expected PA ELF output.
1111 * gas/hppa/reloc/reloc.exp (do_r_no_reloc): Likewise.
1112 (do_plabel_relocation_test): Likewise.
1116 * gas/all/p1480.s: Use larger constant, so expression can have a
1118 * gas/all/gas.exp: Expect p1480.s without listings to pass.
1122 * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d, gas/mips/usw.d:
1127 * gas/hppa/reloc/blebug3.s: New test.
1128 * gas/hppa/reloc/reloc.exp: Run it.
1132 * gas/hppa/reloc/reduce3.s: New test.
1133 * gas/hppa/reloc/reloc.exp: Run it.
1137 * gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match
1142 * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
1143 * gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
1144 * gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s
1145 * gas/hppa/reloc/reloc.exp: Changed accordingly.
1149 * gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch
1150 overflows are correctly converted to jumps.
1154 * gas/mips: Add test cases for PIC code, both SVR4 style and
1155 -membedded-pic style.
1159 * gas/mips: New directory with MIPS specific test cases.
1161 * lib/gas-defs.exp (run_dump_test): Permit the .d file to specify
1162 the name of the source file to assemble.
1163 (regexp_diff): Put the reason for failure in the log file.
1167 * lib/gas-defs.exp: Don't try to use shell redirection, since TCL
1168 doesn't support it. Redirect stdout using > instead of 1>, and
1169 don't bother to redirect stderr since TCL redirects it anyhow.
1170 (run_dump_test): Pass appropriate arguments to program, defaulting
1175 * gas/vax: New directory.
1176 * gas/vax/{quad.s,quad.exp}: New test, for immediate quadword
1181 * gas/hppa/reloc/r_no_relocbug.s: New test.
1182 * gas/hppa/reloc/reloc.exp: Run it.
1184 * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update
1189 * gas/arm/*: New subtree. Add ARM tests.
1193 * gas/hppa/unsorted/unsorted.exp: Accept any character
1194 between foo's type and foo itself.
1198 * lib/gas-defs.exp (run_dump_test): New routine for running the
1199 assembler, running objdump or nm (not fully supported) on the
1200 resulting object file, and comparing the results against a file of
1201 regular expressions in the test suite, all in one command.
1202 Options for the assembler and objdump are read from comments at
1203 the start of the .d file.
1204 (fail_phase, slurp_options): New auxiliary routines.
1205 (regexp_diff): Always return a value. Fix bugs in actually doing
1208 * gas/sun4/addend.exp: Use run_dump_test.
1209 * gas/sun4/addend.d: Fix regular expressions so that they work.
1213 * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.
1214 * gas/hppa/reloc/reloc.exp: Run them.
1218 * config/default.exp: Look for "as.new" in "$base_dir/..", where
1219 it got compiled, not in "$base_dir".
1220 * config/unknown.exp: Deleted.
1224 * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait"
1225 before exiting. Enclose both calls inside a "catch".
1226 (objdump_finish): Likewise.
1230 * gas/hppa/reloc/reloc.exp (roundmode test): Tweak expected output
1231 for SOM to match current testcase.
1235 * gas/i386/{pushw.s,pushw.l}: New test.
1236 * gas/i386/all.exp: Run it.
1238 * Makefile.in (distclean): Remove site config files and gas.sum.
1242 * gas/m68k/disperr.s: Use % for registers.
1244 * gas/m68k-coff/gas.exp: Expect failure for p2389a.s.
1248 * lib/gas-defs.exp: Replace error proc calls with perror calls.
1252 * gas/hppa/reloc/reloc.exp: Tweak expected output to match new
1254 * gas/hppa/reloc/roundmode.s: Avoid "S" and "D" modes, ELF does
1256 * gas/hppa/unsorted/unsorted.exp: Tweak expected output to match
1261 * config/default.exp: Renamed from unix-gas.exp.
1265 * Makefile.in (check): Set TCL_LIBRARY for runtest.
1269 * gas/hppa/more.parse/callinfobug.s: Add missing name for
1272 * gas/hppa/reloc/funcrelocbug.s: Place the trampoline in the
1273 $DATA$ rather than $LIT$ subspace.
1277 * gas/hppa/reloc/funcrelocbug.s: New test.
1278 * gas/hppa/reloc/reloc.exp: Run it.
1282 * gas/hppa/unsorted/importbug.s: New test.
1283 * gas/hppa/unsorted/unsorted.exp: Run it.
1287 * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test.
1289 * gas/hppa/unsorted/globalbug.s: New test (expected to fail).
1290 * gas/hppa/unsorted/unsorted.exp: Run it.
1292 * gas/hppa/more.parse/callinfobug.s: New test.
1293 * gas/hppa/omre.parse/parse.exp: Run it.
1295 * gas/hppa/more.parse/regpopbug.s: New test.
1296 * gas/hppa/more.parse/parse.exp: Run it.
1300 * lib/gas-defs.exp (objdump): New proc.
1301 (objdump_start): Deleted unused proc.
1302 (objdump_start_common): Merged into objdump_start_no_subdir.
1304 * gas/alpha/fp.exp: Use objdump instead of
1305 objdump_start_no_subdir, since the former actually waits for
1306 objdump to finish. Specify .rdata section only. Make comment
1307 indicate Alpha architecture rather than SPARC.
1308 * gas/alpha/fp.d: Omit .reginfo patterns. Just use "." to match
1309 against ASCII code 0x2a ("*", special in regexp).
1310 * gas/sun4/addend.exp: Use objdump instead of
1311 objdump_start_no_subdir.
1315 * gas/hppa/more.parse/parse.exp (no subspace test): Only expect
1316 a failure if gas is not producing an ELF object.
1320 * gas/hppa/basic/fmemLRbug.s: New test.
1321 * gas/hppa/basic/basic.exp: Run it.
1325 * gas/alpha/fp.*: New files.
1326 * lib/gas-defs.exp (regexp_diff): Report noted mismatch at
1327 verbosity level 3 or above only.
1331 * gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than
1336 * gas/hppa/more.parse/xmpyubug.s: New test.
1337 * gas/hppa/more.parse/parse.exp: Run it.
1341 * lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on
1342 "simple_diff" from linker test suite.
1343 * gas/sun4/addend.exp: Use it.
1344 * gas/sun4/addend.d: New file.
1348 * gas/all/gas.exp: Adjust regexp for x930509.s for current listing
1353 * gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp,
1354 sparc-solaris/addend.exp: Tweaked to fix a few bugs and to run
1355 well under either version of expect.
1359 * gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested
1361 * gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
1362 * gas/hppa/basic/basic.exp: Run them.
1366 * gas/all/gas.exp: No longer expect difference of forward
1368 * gas/all/x930509.s: Fix testcase to match how the expect code was
1373 * gas/hppa/reloc/reloc.exp: Fix typo in last change. Latest test
1374 for cross-subspace call bugs is no longer expected to fail.
1376 * gas/hppa/more.parse/procbug.s: Add test for another bug relating
1377 to having a function's label follow the .PROC directive.
1381 * gas/hppa/reloc/reloc.exp: Add test for cross-subspace call bug
1382 found while working on multiple $CODE$ subspace support.
1386 * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected
1388 * gas/hppa/more.parse/procbug.s: Add missing .procend.
1392 * gas/hppa/more.parse/labelbug.s: Add testcase for bug in last
1397 * gas/hppa/more.parse/labelbug.s: Add more colonless label tests.
1401 * Makefile.in (site.exp): Don't set ASFLAGS. Quote value of
1402 OBJDUMPFLAGS in case it's empty. Use temporary names until the
1403 end; make creating site.exp the final step.
1404 (check): Pass in ASFLAGS.
1406 * gas/all/gas.exp: Use all_ones proc. Change regexp for matching
1407 C comments to avoid bugs in latest expect code.
1411 * gas/m68k/disperr.s: New test.
1412 * gas/m68k/all.exp: Run it.
1416 * gas/hppa/reloc/roundmode.s: New test.
1417 * gas/hppa/reloc/reloc.exp: Run it. Fix typo in last change.
1421 * gas/hppa/reloc/reloc.exp: Run the first half of bogus R_EXIT
1426 * gas/hppa/more.parse/parse.exp: Test for error on for subspace
1427 directive is an XFAIL for SOM assmeblers.
1429 * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on
1430 cross-subspace call test.
1434 * gas/hppa/more.parse/appbug.s: New test.
1435 * gas/hppa/more.parse/parse.exp: Run it.
1437 * gas/hppa/unsorted/align3.s: New test.
1438 * gas/hppa/unsorted/unsorted.exp: Run it.
1442 * gas/all/p2425.s: Insert a tab before assembler directives so
1443 that the directives are not interpreted as labels.
1445 * gas/hppa/basic/weird.s: Sync with GDB version.
1447 * gas/hppa/more.parse/labelbug.s: New test.
1449 * gas/hppa/more.parse/parse.exp: Run it.
1453 * gas/hppa/reloc/fixupbug.s: New test.
1454 * gas/hppa/reloc/reloc.exp: Run it.
1456 * gas/hppa/reloc/exitbug.s: New test.
1457 * gas/hppa/reloc/reloc.exp: Run it.
1461 * gas/hppa/reloc/reloc.exp: Minor fixes so that SOM & ELF can
1462 share the same test code.
1463 * gas/hppa/reloc/relocreduce.s: Likewise.
1465 * gas/hppa/basic/fmem.s: Add quadword FP store instructions.
1466 * gas/hppa/basic/basic.exp: Test quadword FP store instructions.
1470 * gas/hppa/reloc/reloc.exp: No longer expect failure for
1471 field selector on ble instruction test.
1473 * gas/hppa/basic/basic.exp: No longer expect failures for
1474 system instruction tests now that probei is fixed.
1478 * gas/hppa/reloc/selectorbug.s: New test.
1479 * gas/hppa/reloc/reloc.exp: Run it.
1483 * gas/hppa/unsorted/fragbug.s: New test.
1484 * gas/hppa/unsorted/unsorted.exp: Run it.
1488 * Makefile.in: Changed RUNTESTFLAGS to RUNTEST_FLAGS
1492 * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests.
1493 * gas/hppa/more.parse/parse.exp: Run them.
1497 * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets at
1498 which specific relocations are expected to be found.
1502 * gas/hppa/unsorted/unsorted.exp (ss_align): Remove OSF xfail.
1504 * gas/hppa/more.parse/parse.exp: Add new test.
1505 * gas/hppa/more.parse/ssbug.s: New test to make sure non-default
1506 sections are handled correctly.
1508 * gas/all/gas.exp: Disable (and fail) p1480.s for all PA targets.
1512 * gas/hppa/more.parse/calldatabug.s: Colonize.
1513 * gas/hppa/more.parse/parse.exp: Fix typos.
1517 * gas/hppa/{basic, more.parse, reloc, unsorted}: New directories.
1518 * gas/hppa/*/*.exp: New test drivers.
1519 * gas/hppa/*/*.s: New test files.
1523 * gas/sun4: New directory.
1524 * gas/sun4/addend.s,addend.exp: New test case.
1525 * gas/sparc-solaris/addend.s,addend.exp: Solaris version of same
1528 * gas/all/gas.exp: Check `*' in C comments.
1530 * lib/gas-defs.exp (all_ones): New procedure, for a predicate to
1531 simplify some tests.
1532 (want_no_output): Return zero or nonzero, depending on success or
1534 (gas_test_old): Return value from want_no_output.
1535 (objdump_start_common): Split off from objdump_start.
1536 (objdump_start_no_subdir): New procedure.
1540 * gas/all/diff1.s, gas/m68k/pic1.s: New tests.
1541 * gas/all/gas.exp, gas/m68k/all.exp: Run them.
1543 * Makefile.in (OBJDUMP_FOR_TARGET): Define similar to
1545 (check): Don't pass ASFLAGS variable.
1546 (site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.
1550 * lib/gas-defs.exp (objdump_start, objdump_finish): New functions
1551 so that tests can parse the output of objdump looking for errors
1552 in relocation entires, file headers and the like.
1556 * gas/ieee.fp/x930509a.exp: Currently expected to fail always.
1557 * gas/all/gas.exp (p1480.s, x930509.s): Ditto. Break up gas_test
1558 call so it no longer performs multiple tests.
1559 * gas/m68k/all.exp (t2.s): Don't bother with listings.
1560 (p2410.s): Don't pass unwanted arguments to gas_test_error.
1564 * lib/do*: Remove RCS id strings.
1568 * gas/all/float.s, gas/all/p1480.s, gas/m68k/p2410.s: New tests.
1569 * gas/all/gas.exp, gas/m68k/all.exp: Run them.
1570 * gas/i386: New directory.
1574 * Added directory structure, to categorize tests by targets.
1575 * Added new tests all/x930509.s, ieee.fp/x930509a.s, m68k/p2663.s,
1576 and refined some to examine the assembler listing output.
1577 * lib/gas-defs.exp: Renamed gas_start to gas_run. Added some
1578 expect_after patterns.
1579 (gas_start, gas_finish): New procs, for tests that examine process
1581 * config/unix-gas.exp: Invoke gas_init directly, instead of
1582 requiring test .exp files do it.
1586 * gas/gas.exp: Handle new tests, and changes to testing procs.
1588 * lib/gas-defs.exp (want_no_output): New proc; success iff output
1590 (gas_test_old): Functionally same as old gas_test.
1591 (gas_test_ignore_stdout): Rewritten to use want_no_output.
1592 (gas_test): New argument lists set of options to be tried in
1593 combinations. Option with trailing ">" indicates standard output
1596 * gas/p2425a.s: Use %-form for registers, so this test can be run
1597 on m68k-coff targets too.
1599 * gas/p2430a.s: New test case, whitespace &c matches customer
1600 report more closely. Gets different results from p2430.s; this is
1601 bad, and not yet tested for.
1605 * gas/p2389a.s, gas/p2411.s, gas/t2.s: New test cases.
1606 * lib/run: New script.
1607 * gas/gas-defs.exp (gas_start): Takes new args, assembler options
1608 and redirection options. Use "run" script so redirection works.
1609 (gas_test): Now takes assembler options as separate arg from input
1611 (gas_test_ignore_stdout): New proc. Discards output.
1612 (gas_test_error): New proc. Expects assembler to generate output.
1613 (target_cpu_family setting): Handle i486->i386 also.
1615 * lib/do*: Scripts moved here from gas/testscripts. May be useful
1616 someday for writing more test cases; not currently used.
1620 * gas/sol-gcc.s, gas/sol-cc.s, gas/p2425a.s, gas/p2389.s: New test
1622 * gas/gas.exp: Enable them for appropriate targets. Removed some
1623 useless comments &c. Changed m68k target test to be more general.
1625 * lib/gas-defs.exp (gas_exit, gas_init): New procs.
1626 * gas/gas.exp: Call gas_init.
1630 * Test suite created.