aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2000-03-27Default LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes perAlan Modra4-15/+21
line is 4. Fix tests for LISTING_WORD_SIZE==1.
2000-03-11In bfd/:Geoffrey Keating8-0/+377
* elf32-mips.c (mips_elf_next_relocation): Rename from mips_elf_next_lo16_relocation, and generalize to look for any relocation type. (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. (mips_rtype_to_howto): Likewise. (mips_elf_calculate_relocation): Handle new relocs. (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs are paired. The addend for R_MIPS_GNU_REL16_S2 is shifted right two bits. In gas/: * config/tc-mips.c (mips_ip): Don't put stuff in .rodata when embedded-pic. * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic implementation doesn't have special handling for switch statements. (macro_build): Allow for code in sections other than .text. (macro): Likewise. (mips_ip): Likewise. (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. Don't perform relocs if we will be outputting them. (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when embedded-pic. In gas/testsuite/: * gas/mips/empic.d: New file. * gas/mips/empic.s: New file. * gas/mips/mips16-e.d: New file. * gas/mips/mips16-e.s: New file. * gas/mips/mips16-f.d: New file. * gas/mips/mips16-f.s: New file. * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an expected failure. In include/elf: * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation numbers.
2000-02-262000-02-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/i386/general.l: Support a.out and coff.
2000-02-25Fix silly thinko in gas/i386/intel.s Mention i386.exp in ChangeLogAlan Modra2-4/+5
2000-02-25Extend the i386 gas testsuite to do some tests for intel_syntax. Fix allAlan Modra6-180/+1358
the errors exposed by this addition. These were intel mode "fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al". The failure with intel "out dx,al" was also present in att "out al,dx". Extend testsuite to catch this case too.
2000-01-31Add ATPCS register naming supportNick Clifton3-28/+36
2000-01-21Fix gas x86 testsuite for a.outAlan Modra4-7/+13
2000-01-21gas/testsuite/ChangeLogAlan Modra8-187/+175
* gas/i386/general.{s,l}: Move 16 bit jmp and call tests from here * gas/i386/jump16.{s,d}: To here. * gas/i386/jump.{s,d}: New files. Duplicate 32 bit jmp and call tests in general.s so that objdump is exercised. * gas/i386/i386.exp: Call new tests.
2000-01-15Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp andAlan Modra3-45/+200
call tests + tweak intel mode far call and jmp.
2000-01-15Add jmp and call tests to prevent intel mode lossage creeping in again.Alan Modra3-2/+87
1999-12-01Tue Nov 30 23:02:01 1999 Jeffrey A Law (law@cygnus.com)Jeff Law10-0/+1230
* gas/mn10300/{am33.s, am33_2.s, am33_3.s}: New test files. * gas/mn10300/{am33_4.s, am33_5.s, am33_6.s}: Likewise. * gas/mn10300/{am33_7.s, am33_8.s}: Likewise. * gas/mn10300/basic.exp: Run the am33 tests.
1999-11-15 * gas/mips/la.d: Adjust for new la macro expansion.Gavin Romig-Koch4-1446/+1445
Change matches for explicit addresses to matches for any address. * gas/mips/la-xgot.d: Same. * gas/mips/la-svr4pic.d: Same.
1999-11-01fixes for arm-aout....Nick Clifton3-6/+6
1999-11-01Fix test results for arm-pe toolchainNick Clifton4-5/+15
1999-10-21Fix assembler testsuite for ARMNick Clifton4-35/+41
1999-10-11* lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "someGeoffrey Keating5-8/+27
indeterminate number of extra lines here". * gas/elf/elf.exp: Remove XFAILs. * gas/elf/section0.d: Make pass on MIPS (and hopefully alpha). * gas/elf/section1.d: Likewise.
1999-10-07Forgot to add these files in the previous commit. This is theDiego Novillo3-0/+72
testsuite for the new instructions added to d10v gas.
1999-10-07Added seven new instructions ld, ld2w, sac, sachi, slae, st andDiego Novillo1-0/+7
st2w for d10v. Created new testsuite for d10v to verify new instructions.
1999-10-07* gas/mips/elf-rel.s: New file.Geoffrey Keating8-1/+182
* gas/mips/elf-rel.d: New file. * gas/mips/elf-rel2.d: New file. * gas/mips/e32-rel2.d: New file. * gas/mips/elf-rel2.s: New file. * gas/mips/mips.exp: Add elf-rel, elf-rel2. * gas/mips/elf_e_flags1.d: Tweak a little so it passes even if the CPU is set to something by default.
1999-10-05 * gas/m32r/error.exp: New testcase driver.Doug Evans11-0/+1054
* gas/m32r/m32rx.exp: New testcase driver. * gas/m32r/fslotx.[sd]: New testcase. * gas/m32r/m32rx.[sd]: New testcase. * gas/m32r/relax-s.[sd]: New testcase. * gas/m32r/interfere.s: New testcase. * gas/m32r/wrongsize.s: New testcase.
1999-09-18Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite testsAlan Modra3-7/+12
previously disabled for lack of such support. For *-*-linux*libc1 targets, XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to glibc-2.1.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor3-0/+7
* gas/all/gas.exp: Run cofftag test for i*86-*-interix*. * lib/gas-defs.exp: Add perror if can not read .d file.
1999-09-04remove extraneous periodIan Lance Taylor1-1/+1
1999-09-041999-09-04 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor4-0/+815
* gas/pj/{pj.exp, ops.c, ops.d}: New tests for picoJava.
1999-09-02Add test for strongarm to ScottB's patch.Nick Clifton2-0/+6
1999-09-01 * gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dumpCatherine Moore2-1/+9
test "entry0" instead of "entry1". ARM targets use REL relocs, and should use the test entry0.
1999-09-01Coff fix for i386 gas testsuiteAlan Modra2-1/+5
1999-08-30 * gas/hppa/unsorted/*.s: Use .code instead of .SPACE/.SUBSPA forJeff Law8-63/+33
sectioning. * gas/hppa/unsorted/unsorted.exp: Disable tests not appropriate for PA64.
1999-08-30 * gas/hppa/reloc/*.s: Use .code instead of .SPACE/.SUBSPA forJeff Law18-235/+99
sectioning. * gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64. Revamp address expressions slightly to handle an arbitrary sized address.
1999-08-30 * gas/hppa/parse/*.s: Use .code instead of .SPACE/.SUBSPA forJeff Law25-222/+32
sectioning. * gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64.
1999-08-30 * gas/hppa/basic/*.s: Use .code instead of .SPACE/.SUBSPA forJeff Law48-471/+53
sectioning.
1999-08-30New i386 tests for naked register syntax, ie. "eax" instead of "%eax"Alan Modra4-0/+64
1999-08-29Allow spaces in i386 FP reg names, eg. %st ( 1 ).Alan Modra3-0/+10
1999-08-28 * gas/hppa/basic/basic.exp: Add new tests shift2.s,Jeff Law8-0/+755
shift3.s, extract2.s, extract3.s, deposit2.s, and deposit3.s. * gas/hppa/basic/shift2.s, shift3.s, extract2.s, extract3.s, deposit2.s, deposit3.s: New.
1999-08-28 * gas/hppa/basic/add.s,addi.s,dcor.s,shladd.s,sub.s,subi.s,unit.s:Jeff Law17-5/+2031
Add new syntax versions of instructions to tests. * gas/hppa/basic/add2.s,dcor2.s,perf.s,purge2.s,shladd2.s,sub2.s, system2.s, unit2.s: New tests. * hppa/basic/basic.exp: Add new tests.
1999-08-28 * gas/hppa/basic/basic.exp:Jeff Law3-8/+50
* gas/hppa/basic/media.s: Add test cases for new instructions.
1999-08-28Fix minor goofs in previous delta.Jeff Law1-3/+3
1999-08-28 * gas/hppa/basic/basic.exp (do_branch2,do_media): New.Jeff Law4-2/+156
* gas/hppa/basic/branch2.s: New. * gas/hppa/basic/media.s: New.
1999-08-28 * gas/testsuite/gas/hppa/basic/basic.exp (do_fp_comp2): New.Jeff Law3-0/+94
* gas/testsuite/gas/hppa/basic/fp_comp2.s: New.
1999-08-20*gas/config/tc-i386.c: Fix errors in displacement size whenAlan Modra3-4/+24
automatically inferring an address prefex.
1999-08-171999-08-17 H.J. Lu <hjl@gnu.org>Ian Lance Taylor2-2/+8
* gas/elf/elf.exp: Expected to fail on alpha*-*-*.
1999-08-09 * gas/i386/float.s, gas/i386/float.l: Modify to work correctlyIan Lance Taylor11-18/+28
when gas uses 2**4 alignment for .text. * gas/i386/general.s, gas/i386/general.l: Likewise. * gas/i386/katmai.s, gas/i386/katmai.d: Likewise. * gas/i386/modrm.s, gas/i386/modrm.l: Likewise. * gas/i386/prefix.s, gas/i386/prefix.d: Likewise.
1999-07-27Tweak for when --enable-targets includes 64-bit bfd target.Alan Modra2-1/+6
1999-06-13 * gas/i386/katmai.d: Tweak for recent disassembler changes.Ian Lance Taylor2-1/+6
1999-06-12 * gas/elf/elf.exp: Don't run tests on "*-*-linux*aout*" orIan Lance Taylor4-13/+24
"*-*-linux*oldld*". * gas/vtable/vtable.exp: Likewise. * gas/i386/reloc.d: Modify expected reloc names to accept a.out names.
1999-06-11 * gas/i386/amd.s: Add a symbol so a.out tests will work.Ian Lance Taylor5-2/+11
* gas/i386/katmai.s: Likewise. * gas/i386/amd.d: Corresponding change. * gas/i386/katmai.d: Corresponding change.
1999-06-10 * gas/mips/sync.d: Pass -mips2 to the assembler.Ian Lance Taylor10-26/+54
* gas/mips/elf_e_flags.s: Tweak code so that the tests pass for mips-elf target as well as mips64-elf target. * gas/mips/elf_e_flags1.d: Corresponding changes. * gas/mips/elf_e_flags2.d: Likewise. * gas/mips/elf_e_flags3.d: Likewise. * gas/mips/elf_e_flags4.d: Likewise. * gas/elf/elf.exp: Add setup_xfail for mips*-*-*. * gas/all/itbl-test.c (main): Update itbl_get_reg_val call for new parameter.
1999-06-10Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson10-83/+146
* gas/sparc/synth64.s: Add checks for single register signx/clruw. * gas/sparc/set64.s: Add tests for setuw and setsw synthetic insns. * gas/sparc/prefetch.d: Add -64 as switch. * gas/sparc/rdpr.d: Ditto. * gas/sparc/wrpr.d: Ditto. * gas/sparc/synth64.d: Ditto, reflect synth64.s changes. * gas/sparc/reloc64.d: Add -64 as switch, be more tolerant, as current gas outputs %hi(0) and not %hi(0x0). * gas/sparc/set64.d: Add -64 as switch, reflect set64.s changes and optimizations for setx instruction. * gas/sparc/sparc.exp: Do sparc64*-*-* checks if it is any of the compiled-in targets.
1999-06-10 * gas/macros/irp.s: Use `foo' and `bar' instead of `r' and `s'.Richard Henderson9-18/+24
* gas/macros/rept.s, gas/macros/test2.s, gas/macros/test3.s: Likewise. * gas/macros/{irp,rept,test2,test3}.d: Update.
1999-06-05 * gas/elf/elf.exp: New directory.Richard Henderson6-0/+96
* gas/elf/section0.[sd]: New test. * gas/elf/section1.[sd]: New test.