Hans-Peter Nilsson
5ef6758f8a
* gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d:
...
New tests.
2001-03-23 05:58:38 +00:00
Hans-Peter Nilsson
7704145c73
* gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s,
...
gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s.
2001-03-23 05:39:38 +00:00
Alan Modra
bbe6d95f46
Don't try to read past end of info buffer, and correct test results.
2001-03-19 12:20:10 +00:00
Andreas Schwab
d394a3392e
* gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get
...
consistent output across targets.
* gas/m68k/pcrel.d: Adjusted.
2001-03-19 10:02:07 +00:00
H.J. Lu
64cbbfaefe
2001-03-18 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.s: Move PIC code to ...
* gas/i386/intelpic.s: New. Here.
* gas/i386/intel.d: Updated.
* gas/i386/intelpic.d: New.
* gas/i386/i386.exp: Check PIC code in Intel syntax for ELF
targets only.
2001-03-18 21:28:56 +00:00
Stephane Carrez
31abcf7d04
* gas/mri/mri.exp: Fix test of m6811/m6812 targets.
2001-03-18 10:18:24 +00:00
H.J. Lu
fa7cd6d20a
2001-02-26 H.J. Lu <hjl@gnu.org>
...
* gas/ia64/opc-a-err.l: Change "Operand [3|4]" to "Operand [34]".
2001-02-26 17:40:07 +00:00
H.J. Lu
d88ae36a6f
2001-02-23 H.J. Lu <hjl@gnu.org>
...
* gas/ia64/opc-a-err.l: Fix "cmp4.lt.or".
* gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and
"cmp4".
* gas/ia64/opc-a.s: Rebuilt.
* gas/ia64/opc-a.d: Likewise.
2001-02-23 21:47:33 +00:00
Chris Demetriou
f14c687886
2001-02-17 Chris Demetriou <cgd@broadcom.com>
...
* gas/mips/mips32.d: Remove ELF dependencies. This test
wasn't meant to be ELF specific, and doesn't have to be.
* gas/mips/mips64.d: Likewise.
2001-02-18 01:57:20 +00:00
Chris Demetriou
2cd5676f03
2001-02-17 Chris Demetriou <cgd@broadcom.com>
...
* gas/mips/mips.exp: Don't attempt the elf_e_flags family of
tests if not ELF; they test ELF-specific features.
2001-02-18 01:52:11 +00:00
Stephane Carrez
98a797049b
* gas/mri/mri.exp: Don't execute the M68K specific tests
...
on m6811-elf and m6812-elf targets, still run the generic MRI tests.
2001-02-08 18:55:29 +00:00
Stephane Carrez
4f69f9744a
* gas/m68hc11/malis.s: New test to verify compliance with Motorola
...
Assembly Language Input Standard.
* gas/m68hc11/malis.d: New file.
* gas/m68hc11/malis-include.s: New file.
* gas/m68hc11/all.exp: Add the new test.
2001-02-04 13:53:49 +00:00
Alan Modra
6e0b89ee6c
Cure recent x86 warts.
2001-01-12 03:34:49 +00:00
Nick Clifton
0d2bcfafbf
Updated ARC assembler from arccores.com
2001-01-11 21:20:20 +00:00
Stephane Carrez
8805103910
Fix gas 68HC12 indexed addressing code generation
2001-01-11 20:19:17 +00:00
Stephane Carrez
68a581b811
Dwarf2 test for 68HC11/68HC12 gas
2001-01-11 19:48:41 +00:00
Nick Clifton
3f53569383
Make COFF and ELF disassemblys agree
2001-01-11 18:42:58 +00:00
Jan Hubicka
de9d65b5dc
* i386.exp: Add ssemmx2 and sse2 tests.
...
(sse2.d, sse2.s, ssemmx2.d, ssemmx2.s): New tests.
2001-01-10 14:32:32 +00:00
Nick Clifton
d38ccb31e9
fix patterns to match new behaviour of disassembler
2001-01-09 22:08:42 +00:00
Phil Blundell
183d61753f
2001-01-03 Philip Blundell <pb@futuretv.com>
...
* gas/vtable/vtable.exp: Don't run tests on Alpha.
2001-01-09 11:13:42 +00:00
Jan Hubicka
b96d3a207a
* configure.in: Define DEFAULT_ARCH for i386.
...
* tc-i386.c (md_assemble): Return after the error message;
move testing for 64bit operands to proper place.
* i386.exp: Add tests for presence of 32bit versus 64bit output
format; run both 64bit and 32bit tests when format is available;
add x86_64 test.
* x86_64.s: New file.
* x86_64.d: New file.
2001-01-06 12:36:04 +00:00
Nick Clifton
ab32098a86
Fix msr-bsd test
2001-01-02 19:39:15 +00:00
Phil Blundell
ca6489f958
2001-01-01 Philip Blundell <philb@gnu.org>
...
* gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests.
* gas/arm/arm.exp: Run them.
* gas/arm/adrl.d, gas/arm/pic.d: Expected results for above.
* gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'.
2001-01-01 13:43:06 +00:00
H.J. Lu
0a940afa28
2000-12-22 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.s: Replace "nop" with ".p2align 4,0".
* gas/i386/intel.d: Updated.
2000-12-22 21:03:24 +00:00
Jim Wilson
514829c3af
Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
...
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
* config/tc-ia64.h (ia64_init): Add prototype.
* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
argument.
* ia64_gen.c (insert_deplist): Cast sizeof result to int.
(print_dependency_table): Print NULL if semantics field not set.
(insert_opcode_dependencies): Mark cmp parameter as unused.
(print_main_table): Use fprintf_vma to print long long fields.
(main): Mark argv paramter as unused. Convert to old style definition.
* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
* ia64-asmtab.c: Regnerate.
2000-12-12 22:56:36 +00:00
Nick Clifton
846b8f1ed9
Add el segundo tests
...
Fix formatting
2000-12-12 19:32:56 +00:00
H.J. Lu
4819127ae0
2000-12-11 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.d: Adjusted for the a.out assembler.
* gas/i386/intel.s: Likewise.
2000-12-11 21:49:36 +00:00
Nick Clifton
77eb0326c5
Update to match latest assembler output.
2000-12-09 22:55:52 +00:00
Nick Clifton
eaf99ab9a9
Add xscale to list of Rel targets
2000-12-09 01:59:22 +00:00
Nick Clifton
40293bdaea
Fixup whitespace
2000-12-09 01:53:57 +00:00
Nick Clifton
8a2deaf4b2
oops - omitted from previous deltas
2000-12-03 22:12:00 +00:00
Nick Clifton
0808b8a9ca
Add MIPS64 instructions and tests
2000-12-03 22:10:02 +00:00
Nick Clifton
e70f259005
Finish off adding MIPS32 instructions.
2000-12-03 21:34:08 +00:00
Nick Clifton
b6426432a0
More test case alignments.
2000-12-03 20:57:19 +00:00
Nick Clifton
9abcc8f09d
oops - fix typo
2000-12-03 20:51:44 +00:00
Nick Clifton
4c507252cd
Fix tests to align to a 16 byte boundary.
2000-12-03 20:50:35 +00:00
Nick Clifton
481294f002
Add mips32 tests.
2000-12-01 23:52:12 +00:00
Nick Clifton
6b52a7eb8b
Fix whitespace
2000-12-01 23:50:11 +00:00
Nick Clifton
e7af610e14
Add MIPS32 as a seperate MIPS architecture
2000-12-01 21:35:38 +00:00
Nick Clifton
0c92ba5f58
Fix testcase and test results
2000-12-01 19:11:20 +00:00
Nick Clifton
b90dd60727
Expect mips16 nops to be used for padding when mips16 code generation is
...
enabled.
2000-12-01 18:57:08 +00:00
Diego Novillo
76a0ddacc0
2000-11-30 Diego Novillo <dnovillo@redhat.com>
...
* tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
syntax.
2000-11-30 Diego Novillo <dnovillo@redhat.com>
* intel.s, intel.d: New test for @GOT references.
2000-12-01 03:08:32 +00:00
Hans-Peter Nilsson
dc6e09d363
* gas/sh/err.exp: New, framework for error-testing.
...
* gas/sh/err-1.s: New test.
2000-11-28 23:39:19 +00:00
Stephane Carrez
ae3e85dd27
Fix movw/movb operands for 68HC12
2000-11-26 21:18:15 +00:00
Nick Clifton
077b8428ab
Add ARM v5t, v5te and XScale support
2000-11-25 00:21:40 +00:00
H.J. Lu
a257e27a6e
2000-11-20 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.d: Add 3 "nop"s for the a.out assembler.
* gas/i386/intel.s: Likewise.
2000-11-20 21:16:26 +00:00
H.J. Lu
77e913df42
Use "[ ]+" instead of "[ ]*".
2000-11-16 22:27:45 +00:00
H.J. Lu
f5776d3d84
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.
2000-11-16 22:25:13 +00:00
H.J. Lu
e206b66f34
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver.exp: Don't run symver4 nor symver5.
2000-11-16 19:28:10 +00:00
H.J. Lu
747e13a0ce
2000-11-13 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver.exp: New for symver test.
* gas/symver/symver0.d: Likewise.
* gas/symver/symver0.s: Likewise.
* gas/symver/symver1.d: Likewise.
* gas/symver/symver1.s: Likewise.
* gas/symver/symver2.l: Likewise.
* gas/symver/symver2.s: Likewise.
* gas/symver/symver3.l: Likewise.
* gas/symver/symver3.s: Likewise.
* gas/symver/symver4.l: Likewise.
* gas/symver/symver4.s: Likewise.
* gas/symver/symver5.l: Likewise.
* gas/symver/symver5.s: Likewise.
* gas/symver/symver6.l: Likewise.
* gas/symver/symver6.s: Likewise.
2000-11-13 21:36:14 +00:00
Hans-Peter Nilsson
935e6103d2
* gas/macros/macros.exp: Mark strings test xfail for sh.
2000-11-11 16:02:33 +00:00
Diego Novillo
64a0c77978
2000-10-24 Diego Novillo <dnovillo@cygnus.com>
...
* tc-i386.c (i386_operand_modifier): Remove.
(build_displacement_string): Remove.
(i386_parse_seg): Remove.
(i386_intel_memory_operand): Remove.
(i386_intel_operand): Re-write using recursive descent parser based
on MASM documentation.
(struct intel_parser_s): New structure.
(intel_parser): New static variable.
(struct intel_token): New structure.
(cur_token, prev_token): New static variables.
(T_NIL): Define.
(T_CONST): Define.
(T_REG): Define.
(T_BYTE): Define.
(T_WORD): Define.
(T_DWORD): Define.
(T_QWORD): Define.
(T_XWORD): Define.
(T_SHORT): Define.
(T_OFFSET): Define.
(T_PTR): Define.
(T_ID): Define.
(intel_match_token): New function.
(intel_get_token): New function.
(intel_putback_token): New function.
(intel_expr): New function.
(intel_e05): New function.
(intel_e05_1): New function.
(intel_e06): New function.
(intel_e06_1): New function.
(intel_e09): New function.
(intel_e09_1): New function.
(intel_e10): New function.
(intel_e10_1): New function.
(intel_e11): New function.
2000-10-24 Diego Novillo <dnovillo@cygnus.com>
* intel.s, intel.d: Add new tests for intel syntax.
2000-10-25 01:39:11 +00:00
Alan Modra
73cd359e15
Ensure section sizes are multiples of 16, so that targets like MIPS
...
that pad out sections won't fail these tests.
2000-10-19 03:19:51 +00:00
H.J. Lu
476d4b9b97
2000-10-18 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.d: Fix the support for 64bit BFD in the last
change.
2000-10-18 19:46:28 +00:00
Diego Novillo
6588847e4f
gas:
...
2000-10-15 Diego Novillo <dnovillo@cygnus.com>
* config/tc-i386.c (i386_operand_modifier): Only match
modifiers SHORT and FLAT if they are followed by a space.
(parse_register): When `allow_naked_reg' is set, do not confuse
identifiers that start with a register name with a register.
gas/testsuite:
2000-10-15 Diego Novillo <dnovillo@cygnus.com>
* intel.s, intel.d: Add new tests for naked registers using intel
syntax.
2000-10-15 06:17:36 +00:00
Hans-Peter Nilsson
2e968471c5
Oops. Forgot to commit ChangeLog
2000-09-29 18:40:19 +00:00
Hans-Peter Nilsson
37260204fd
* gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s,
...
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New.
* gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d.
2000-09-29 18:39:31 +00:00
Alan Modra
170cdc4f01
Update for hppa*w -> hppa*64* configure name change.
2000-09-28 10:16:34 +00:00
Alan Modra
9a6355046e
Modify .PARAM so we need an arg reloc.
2000-09-28 08:43:21 +00:00
Jim Wilson
d48ad4f3b6
Add missing fpcmp instructions, and add missing fcmp/fpcmp tests.
...
* gas/ia64/opc-f.pl: Add missing fcmp and fpcmp tests.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
* ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
gt, ge, ngt, and nge.
* ia64-asmtab.c: Regenerate.
2000-09-22 22:34:41 +00:00
Jim Wilson
139368c9f3
Fix ia64 gas testsuite. Update ia64 DV tables. Fix ia64 gas testsuite again.
...
gas/ChangeLog
* config/tc-ia64.c (dv_sem): Add "stop".
(specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
(specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
(specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
match above.
(mark_resources): Check IA64_RS_PRr.
gas/testsuite/ChangeLog
* gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/dv-imply.d: Regenerate.
* gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l,
gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise.
include/opcode/ChangeLog
* ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP.
opcodes/ChangeLog
* ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
* ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
(lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
* ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
* ia64-asmtab.c: Regnerate.
2000-09-22 19:43:50 +00:00
Timothy Wall
7484b8e6d9
Eliminate false DVs on parallel compares.
2000-09-14 21:37:04 +00:00
Alan Modra
927781e250
Miscellaneous tiny fixes.
2000-09-05 03:53:02 +00:00
Timothy Wall
9a8f29e36f
Fix some ia64 gas failures.
2000-08-29 12:15:51 +00:00
H.J. Lu
5e0c222624
2000-08-21 H.J. Lu <hjl@gnu.org>
...
* gas/all/cofftag.d: Support the strict COFF.
2000-08-22 19:11:55 +00:00
Jim Wilson
50b81f1903
Fix 3 DV bugs, and a few minor cleanups.
...
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers. Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand. Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.
2000-08-16 23:20:15 +00:00
Nick Clifton
8cb8bcbabb
Tidy up decoding of shift based addressing modes.
...
Add extra tests for these addressing modes
2000-08-16 19:02:00 +00:00
Hans-Peter Nilsson
e5da6f528f
Forgot to commit ChangeLog entry for CRIS gas tests. Oops.
2000-07-21 00:57:47 +00:00
Hans-Peter Nilsson
a471a06b87
* gas/cris/*: New tests for CRIS.
2000-07-21 00:48:55 +00:00
Hans-Peter Nilsson
483f05e373
* gas/all/gas.exp: Don't run floating-point tests on CRIS.
...
* gas/ieee-fp/x930509a.exp: Ditto.
* gas/macros/macros.exp: Mark strings test xfail for CRIS.
2000-07-20 17:53:38 +00:00
Alan Modra
81366cb8f6
Fix a couple of HPPA SOM test failures.
...
Re-enable some tests for hppa-linux.
2000-07-19 04:55:14 +00:00
Nick Clifton
4b43d9f691
Fix expected results to match current assembler output.
2000-07-18 22:07:53 +00:00
Alan Modra
4b6341e9d2
Yet more hppa testuite tweaks for hppa-linux.
2000-07-10 15:21:05 +00:00
Nick Clifton
97b39d03ca
Fix expected results
...
Fix expected results.
2000-07-05 22:28:07 +00:00
Nick Clifton
fbe1e41fe2
Change the registers used in ldmac and stmac tests.
2000-06-29 23:44:41 +00:00
Nick Clifton
6b2539e3e6
Do not allow EITHER_BUT_PREFER_MU opcodes to be packed into reverse
...
sequential buckets, and warn if the user does so.
2000-06-27 18:21:39 +00:00
Timothy Wall
39bec121fb
TI C54x target.
2000-06-20 13:52:32 +00:00
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
...
for m68hc11 and m68hc12 processors.
2000-06-19 01:22:44 +00:00
Alan Modra
55d98a80d4
Don't start directives in first column.
2000-06-17 12:09:58 +00:00
H.J. Lu
8e1b6ed697
2000-06-14 H.J. Lu <hjl@gnu.org>
...
* gas/macros/strings.d: Support a.out and coff.
2000-06-14 18:12:26 +00:00
Nick Clifton
88830cd102
Remove 'mrs r9, cpsr_all' since the cpsr_all flag is no longer legal syntax.
2000-06-14 18:08:24 +00:00
Nick Clifton
aa787a8959
Add test of macro expansion of string arguments.
2000-06-13 21:23:28 +00:00
Alan Modra
a6b9488aec
Modify test to check line separator works.
2000-06-04 23:14:30 +00:00
Nick Clifton
992403b686
Update copyright dates
2000-05-29 20:10:32 +00:00
Nick Clifton
4b62050960
Do not run test sfor c54x
2000-05-29 20:04:54 +00:00
Hans-Peter Nilsson
f48026f7d7
* gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.
2000-05-21 18:06:40 +00:00
Nick Clifton
322f2c4579
Add support for _x and _s flags to MSR instruction
2000-05-15 19:25:22 +00:00
Alan Modra
de950844b3
Ulf Carlsson's patches:
...
Include *-*-linux* in svr4pic tests
Test weak symbol handling.
2000-05-11 01:55:11 +00:00
Alan Modra
575bc3d64a
Fix breakage from 2000-03-31 bfd/srec.c change.
2000-05-08 10:11:19 +00:00
Alan Modra
36f8992610
Duplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
...
Fix elf tests for targets that define LABELS_WITHOUT_COLONS.
2000-05-01 23:56:49 +00:00
Nick Clifton
7fca9a7240
Fix tests to remove leading zeroes from labels
2000-05-01 18:08:39 +00:00
Alan Modra
ee68970f7e
Cope with PE relocs.
2000-04-25 07:19:46 +00:00
Jim Wilson
8d82e76a9d
Really fix last IA-64 gas testsuite failure.
...
* gas/ia64/opc-i.d: Change pmin2.u to pmin2. Change pmax2.u to pmax2.
Change MLI to MLX. Switch operands for output matching tbit.z.orcm,
tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm,
tnat.nz.orcm, tnat.nz.andcm inputs.
* gas/ia64/opc-i.pl: Insert padding nops before last dep.
* gas/ia64/opc-i.s: Regenerate.
2000-04-25 01:52:27 +00:00
Jim Wilson
c447920894
Fix last remaining IA-64 gas testsuite failure.
...
* gas/ia64/opc-i.s: Regenerate.
* gas/ia64/opc-f.pl: Add explicit stop at end.
2000-04-24 23:53:54 +00:00
Timothy Wall
bf3ca999c1
Clean up F-unit assembly and tests.
2000-04-23 02:53:35 +00:00
Jim Wilson
800eeca487
IA-64 ELF support.
2000-04-21 20:22:24 +00:00
Alan Modra
71851002d0
Add 16-bit immediate tests.
2000-04-03 12:20:55 +00:00
Alexandre Oliva
31254b20c5
* gas/mn10300/am33_5.s: Check that negative SP offsets are encoded
...
with 32 bits, not with the unsigned shorter opcodes.
* gas/mn10300/basic.exp: Likewise.
2000-04-01 23:46:53 +00:00
Alexandre Oliva
77f42f92d5
* lib/gas-defs.exp (regexp_diff): Don't break on the first
...
difference, list them all.
2000-03-31 18:54:24 +00:00
Nick Clifton
d1a1bf19b4
Add "bal" instruction pattern.
...
Add test of assembling "bal" instruction
2000-03-29 18:25:37 +00:00
Alan Modra
224de7a50d
Default LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes per
...
line is 4. Fix tests for LISTING_WORD_SIZE==1.
2000-03-27 23:47:09 +00:00
Geoffrey Keating
bb2d6cd7b1
In bfd/:
...
* 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-03-11 02:16:25 +00:00
H.J. Lu
11038c5ef1
2000-02-25 H.J. Lu <hjl@gnu.org>
...
* gas/i386/general.l: Support a.out and coff.
2000-02-26 00:49:27 +00:00
Alan Modra
084e9a84fa
Fix silly thinko in gas/i386/intel.s Mention i386.exp in ChangeLog
2000-02-25 11:55:50 +00:00
Alan Modra
cc5ca5ce51
Extend the i386 gas testsuite to do some tests for intel_syntax. Fix all
...
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-02-25 11:41:12 +00:00
Nick Clifton
557537a556
Add ATPCS register naming support
2000-01-31 22:14:50 +00:00
Alan Modra
dfad2e408f
Fix gas x86 testsuite for a.out
2000-01-21 22:58:04 +00:00
Alan Modra
a3d1c52b07
gas/testsuite/ChangeLog
...
* 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-21 10:18:33 +00:00
Alan Modra
add0c67765
Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp and
...
call tests + tweak intel mode far call and jmp.
2000-01-15 12:06:03 +00:00
Alan Modra
a8de59980c
Add jmp and call tests to prevent intel mode lossage creeping in again.
2000-01-15 04:46:00 +00:00
Jeff Law
433b86296f
Tue Nov 30 23:02:01 1999 Jeffrey A Law (law@cygnus.com)
...
* 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-12-01 10:41:44 +00:00
Gavin Romig-Koch
73c89d4876
* gas/mips/la.d: Adjust for new la macro expansion.
...
Change matches for explicit addresses to matches for
any address.
* gas/mips/la-xgot.d: Same.
* gas/mips/la-svr4pic.d: Same.
1999-11-15 15:47:48 +00:00
Nick Clifton
509033932c
fixes for arm-aout....
1999-11-01 17:10:27 +00:00
Nick Clifton
603eea0846
Fix test results for arm-pe toolchain
1999-11-01 16:42:16 +00:00
Nick Clifton
e591b0ea67
Fix assembler testsuite for ARM
1999-10-21 10:44:39 +00:00
Geoffrey Keating
a6ea59ce8a
* lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "some
...
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-11 03:40:17 +00:00
Diego Novillo
dd04745b74
Forgot to add these files in the previous commit. This is the
...
testsuite for the new instructions added to d10v gas.
1999-10-07 06:19:24 +00:00
Diego Novillo
c43185deeb
Added seven new instructions ld, ld2w, sac, sachi, slae, st and
...
st2w for d10v. Created new testsuite for d10v to verify new
instructions.
1999-10-07 06:17:04 +00:00
Geoffrey Keating
07147777d3
* gas/mips/elf-rel.s: New file.
...
* 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-07 02:57:33 +00:00
Doug Evans
93c6c0152b
* gas/m32r/error.exp: New testcase driver.
...
* 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-10-05 01:27:35 +00:00
Alan Modra
b7be1db6b5
Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite tests
...
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-18 00:44:47 +00:00
Ian Lance Taylor
61feeec2ee
1999-09-12 Donn Terry <donn@interix.com>
...
* 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-12 05:32:04 +00:00
Ian Lance Taylor
6040cc9d99
remove extraneous period
1999-09-04 17:29:42 +00:00
Ian Lance Taylor
2ef5e2a158
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* gas/pj/{pj.exp, ops.c, ops.d}: New tests for picoJava.
1999-09-04 17:18:59 +00:00
Nick Clifton
c5089c8475
Add test for strongarm to ScottB's patch.
1999-09-02 10:11:11 +00:00
Catherine Moore
f3d180e977
* gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dump
...
test "entry0" instead of "entry1". ARM targets use REL relocs,
and should use the test entry0.
1999-09-01 21:17:36 +00:00
Alan Modra
c35dfbebaf
Coff fix for i386 gas testsuite
1999-09-01 14:57:03 +00:00
Jeff Law
cb63de9b03
* gas/hppa/unsorted/*.s: Use .code instead of .SPACE/.SUBSPA for
...
sectioning.
* gas/hppa/unsorted/unsorted.exp: Disable tests not appropriate for
PA64.
1999-08-30 21:15:01 +00:00
Jeff Law
a91f57fd4b
* gas/hppa/reloc/*.s: Use .code instead of .SPACE/.SUBSPA for
...
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 21:00:59 +00:00
Jeff Law
a022ef54db
* gas/hppa/parse/*.s: Use .code instead of .SPACE/.SUBSPA for
...
sectioning.
* gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64.
1999-08-30 20:09:00 +00:00
Jeff Law
68196d703a
* gas/hppa/basic/*.s: Use .code instead of .SPACE/.SUBSPA for
...
sectioning.
1999-08-30 18:20:18 +00:00
Alan Modra
3f9ed93baf
New i386 tests for naked register syntax, ie. "eax" instead of "%eax"
1999-08-30 14:09:43 +00:00
Alan Modra
5f47d35be1
Allow spaces in i386 FP reg names, eg. %st ( 1 ).
1999-08-29 23:44:27 +00:00
Jeff Law
e3ca10d721
* gas/hppa/basic/basic.exp: Add new tests shift2.s,
...
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 11:00:36 +00:00
Jeff Law
436709eeb3
* gas/hppa/basic/add.s,addi.s,dcor.s,shladd.s,sub.s,subi.s,unit.s:
...
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 10:32:43 +00:00
Jeff Law
3c5c4310a6
* gas/hppa/basic/basic.exp:
...
* gas/hppa/basic/media.s: Add test cases for new instructions.
1999-08-28 08:50:00 +00:00
Jeff Law
3d756caf33
Fix minor goofs in previous delta.
1999-08-28 08:02:52 +00:00
Jeff Law
be3f1865fb
* gas/hppa/basic/basic.exp (do_branch2,do_media): New.
...
* gas/hppa/basic/branch2.s: New.
* gas/hppa/basic/media.s: New.
1999-08-28 06:44:31 +00:00
Jeff Law
0791df6ce3
* gas/testsuite/gas/hppa/basic/basic.exp (do_fp_comp2): New.
...
* gas/testsuite/gas/hppa/basic/fp_comp2.s: New.
1999-08-28 06:18:40 +00:00
Alan Modra
b23bac3600
*gas/config/tc-i386.c: Fix errors in displacement size when
...
automatically inferring an address prefex.
1999-08-20 11:59:19 +00:00
Ian Lance Taylor
2190b5a5a8
1999-08-17 H.J. Lu <hjl@gnu.org>
...
* gas/elf/elf.exp: Expected to fail on alpha*-*-*.
1999-08-17 07:59:00 +00:00
Ian Lance Taylor
171a4983e7
* gas/i386/float.s, gas/i386/float.l: Modify to work correctly
...
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-08-09 04:41:00 +00:00
Alan Modra
6812da59f2
Tweak for when --enable-targets includes 64-bit bfd target.
1999-07-27 11:43:20 +00:00
Ian Lance Taylor
aa1b0fd6fe
* gas/i386/katmai.d: Tweak for recent disassembler changes.
1999-06-13 17:13:19 +00:00
Ian Lance Taylor
966d5bec04
* gas/elf/elf.exp: Don't run tests on "*-*-linux*aout*" or
...
"*-*-linux*oldld*".
* gas/vtable/vtable.exp: Likewise.
* gas/i386/reloc.d: Modify expected reloc names to accept a.out
names.
1999-06-12 10:43:43 +00:00
Ian Lance Taylor
14c1861305
* gas/i386/amd.s: Add a symbol so a.out tests will work.
...
* gas/i386/katmai.s: Likewise.
* gas/i386/amd.d: Corresponding change.
* gas/i386/katmai.d: Corresponding change.
1999-06-11 21:02:59 +00:00
Ian Lance Taylor
8ee99f93eb
* gas/mips/sync.d: Pass -mips2 to the assembler.
...
* 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-10 21:15:05 +00:00
Richard Henderson
b3fb1136bf
Jakub Jelinek <jj@ultra.linux.cz>
...
* 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 21:08:10 +00:00
Richard Henderson
18452d405c
* gas/macros/irp.s: Use foo' and
bar' instead of r' and
s'.
...
* gas/macros/rept.s, gas/macros/test2.s, gas/macros/test3.s: Likewise.
* gas/macros/{irp,rept,test2,test3}.d: Update.
1999-06-10 13:48:44 +00:00
Richard Henderson
9894490542
* gas/elf/elf.exp: New directory.
...
* gas/elf/section0.[sd]: New test.
* gas/elf/section1.[sd]: New test.
1999-06-05 23:14:42 +00:00
Nick Clifton
5164c3826e
Update to match current gas,bfd and opcodes.
1999-06-04 07:12:40 +00:00
Ian Lance Taylor
0dbfb37cce
* gas/vtable/vtable.exp: Don't run test for i960 yet.
1999-05-27 21:58:10 +00:00
Nick Clifton
2481b576e9
Update to match lattest assembler/objdump outpuyt
1999-05-17 09:26:37 +00:00
Alan Modra
f4497960b0
Ø
...
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
1999-05-17 08:35:40 +00:00
Alan Modra
c608c12e5e
P
...
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly
1999-05-13 06:00:30 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00