Commit graph

4176 commits

Author SHA1 Message Date
Nick Clifton
2ca484a711 Fixed reloc generation to match latest opcoide list from cgen. 1998-11-17 23:28:19 +00:00
Nick Clifton
a88a845a87 Moved bad insns to end of test file and added disassembly of good insns. 1998-11-17 23:26:18 +00:00
Nick Clifton
3b0ae69636 PR17074 - ignore line terminator characters found inside strings. 1998-11-17 21:44:22 +00:00
Nick Clifton
67c72211ac Fix syntax errors 1998-11-17 00:53:19 +00:00
Dave Brolley
4229bee92c Mon Nov 16 19:27:52 1998 Dave Brolley <brolley@cygnus.com>
* gas/fr30/allinsn.s: Fixed more typos.
1998-11-17 00:29:18 +00:00
Nick Clifton
3c0b1a5c8a Fixed typos and added some uppercase vs lowercase testing 1998-11-13 21:17:07 +00:00
Nick Clifton
b91e1ec1e4 Add support for delay slot insns. 1998-11-13 01:15:29 +00:00
Dave Brolley
4ad7b0c376 Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
* po/gas.pot: Regenerated.
1998-11-13 00:34:11 +00:00
Nick Clifton
5ed0e368c6 Add code to support FR30 instrucitons which contain a colon in their mnemonic 1998-11-12 18:55:57 +00:00
Doug Evans
93db5513ee sanitize fr30 parts 1998-11-11 23:31:52 +00:00
Nick Clifton
b67f7834e2 Removed superflous code. 1998-11-11 17:59:42 +00:00
Nick Clifton
bb7c5d2a02 New files for testing fr30 assembler 1998-11-10 22:55:51 +00:00
Nick Clifton
a833b07a5d Added fr30 directory to things to loose 1998-11-10 21:34:41 +00:00
Nick Clifton
0012cae090 Added tc-fr30.h to things to loose 1998-11-10 21:32:30 +00:00
Nick Clifton
8f83181c30 Changes so that GAS will build - not work - just build. 1998-11-10 21:14:43 +00:00
Catherine Moore
de2c5b0dae * config/tc-d10v.h (obj_fix_adjustable): Define.
(TC_FORCE_RELOCATION):  Define.
        (d10v_force_relocation):  Declare.
        * config/tc-d10v.c (tc_gen_reloc):  Handle Vtable relocs.
        (md_apply_fix3):  Handle Vtable relocs.
        (d10v_fix_adjustable):  New.
        (d10v_force_relocation):  New.
1998-11-10 20:50:34 +00:00
Nick Clifton
a1bda8d6bc Change default behaviour so that conflicts between register names and usr symbols
are ignored.
1998-11-09 22:26:47 +00:00
Doug Evans
71e6edeab4 redo fr30 sanitization 1998-11-06 00:10:54 +00:00
Doug Evans
f3dc77c243 sanitize fr30 port for now 1998-11-05 23:53:05 +00:00
Dave Brolley
aa6c50c1e9 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* po/gas.pot: Regenerated.
1998-11-05 21:18:31 +00:00
Dave Brolley
352b0f4d64 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* configure.in: Add fr30-*-*.
	* config/tc-fr30.c: New file.
	* Makefile.in: Regenerated.
	* config.in: Regenerated.
	* configure: Regenerated.
1998-11-05 21:17:23 +00:00
Dave Brolley
d22910f69f Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c: New file.
1998-11-05 21:11:29 +00:00
Doug Evans
29e9c76053 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
are 16 bit insns.
PR 18135.
1998-11-03 05:05:58 +00:00
Doug Evans
e35350e414 * gas/m32r/error.exp: New error testcase driver.
* gas/m32r/wrongsize.s: New testcase.
PR 18135.
1998-11-03 05:03:11 +00:00
Doug Evans
7c678e9e63 * gas/m32r/fslot.[sd]: New testcase.
* gas/m32r/m32r.exp: Run it.
	* gas/m32r/fslotx.[sd]: New testcase.
	* gas/m32r/m32rx.exp: Run it.
	* gas/m32r/m32rx.[sd]: Update.
PR 18134.
1998-11-03 04:25:28 +00:00
Ian Lance Taylor
668f52e048 Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
* app.c (do_scrub_begin): Set characters above 127 to be symbol
	characters.
	(do_scrub_chars): Add some casts to unsigned char to avoid
	unwanted sign extension.
	* read.c (lex_type): Set characters about 127 to be symbol
	characters.
	* config/tc-i386.c (md_begin): Set identifier_chars and
	operand_chars for values above 127.
1998-11-03 01:16:02 +00:00
Geoffrey Noer
c296a05229 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate
1998-11-02 23:16:11 +00:00
Nick Clifton
7a6f678220 Add support for producing a lsiting from piped input. 1998-10-27 21:19:21 +00:00
Gavin Romig-Koch
d3b42ce1c7 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
(append_insn): Account for the tx39's multiply behavior.
	* mips.h (INSN_MULT): Added.
	* mips-opc.c (IS_M): Added.
1998-10-27 14:04:03 +00:00
Michael Meissner
a561cd980b PR 17947: Add -> to indicate two instructions are explicitly serial 1998-10-27 00:36:15 +00:00
Catherine Moore
5aa001ff77 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
WEAK handling.
1998-10-24 20:24:50 +00:00
Frank Ch. Eigler
24b2f07acf * Fix for PR 17559 brought over from sky branch
start-sanitize-r5900
Fri Oct 23 13:01:24 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
	* gas/mips/vu0.[sd]: Update tests for VRNEXT and VRGET
	instructions, to match corrected operand synatx.
end-sanitize-r5900
1998-10-23 11:30:09 +00:00
Catherine Moore
046381da3a Revert last change. 1998-10-22 17:46:33 +00:00
Ron Unrau
993b4e8d38 * config/tc-mips.c : support frame and regmask/fregmask when
MIPS_STABS_ELF is specified.
1998-10-22 16:02:52 +00:00
Ian Lance Taylor
a0bc1e7d2b Tue Oct 20 11:35:06 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/i386.exp: Run AMD insn test.
	* gas/i386/amd.s: New test.
	* gas/i386/amd.d: New test results.
1998-10-20 15:36:31 +00:00
Ian Lance Taylor
6e1acc623a Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* doc/c-i386.texi: Replace occurences of "opcode" with
	"instruction mnemonic", "instruction", or "mnemonic" when
	referring to the name of an instruction.  Use "opcode" when
	referring to the sequence of machine bytes.

	* config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
	(is_opcode_char): Rename to is_mnemonic_char.
	(md_assemble and i386_operand): Correct error messages from
        "opcode" to "instruction mnemonic"
	Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
	MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
	DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
	WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
	BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
	SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
	LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX

	* config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
1998-10-20 15:33:27 +00:00
Ian Lance Taylor
7540e47096 Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (i386_operand): Check for garbage after
	register name.
1998-10-20 15:24:45 +00:00
Ian Lance Taylor
f5003e7d62 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
for BFD_ASSEMBLER to only change value when COFF if TE_PE.
1998-10-20 14:51:09 +00:00
Catherine Moore
7e2014e092 * config/tc-sh.h (obj_fix_adjustable): Define.
* config/tc-sh.c (sh_force_relocation):  Handle VT relocs.
        (md_apply_fix):  Likewise.
        (tc_gen_reloc):  Likewise.
        (sh_fix_adjustable):  New.
1998-10-20 01:26:55 +00:00
Doug Evans
1ab68803c4 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
* cgen.h (gas_cgen_finish_insn): Update prototype.
	* config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
	cgen_insn_t -> CGEN_INSN_INT.
	(make_parallel): Update handling of CGEN_INT_INSN_P.
	(assemble_parallel_insn): Ditto.
	(target_make_parallel): New function.
	(md_assemble): Use it.
1998-10-19 19:45:40 +00:00
Catherine Moore
5dbf2f20a1 Fix typo. 1998-10-19 18:21:05 +00:00
Jeff Law
0ef1fa08dc * config/tc-sh.c (md_assemble): Make sure the entire opcode is
converted into lower case.
pr17413
1998-10-19 00:50:59 +00:00
Catherine Moore
0f829c8eae * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
(gas_cgen_tc_gen_reloc):  Likewise.
        * config/tc-m32r.h (obj_fix_adjustable):  Define.
        * config/tc-m32r.c (m32r_fix_adjustable):  New.
        (m32r_force_relocation):  Handle VTABLE relocs.
1998-10-16 18:45:25 +00:00
Nick Clifton
908b913631 Fix PR17762 - convert second opcode of a parallel insn to lower case before
parsing.
1998-10-13 00:45:27 +00:00
Nick Clifton
172fc86df5 Fix for PR 17008 - ignore conflicts when explicitly parallel instructions
both set bits in the PSW as side effects.
1998-10-12 18:09:31 +00:00
Nick Clifton
633f501677 Apply patches from PRs 16299, 17008 and 17140 1998-10-08 17:55:58 +00:00
Nick Clifton
726a394601 Ooops - failed to check in first part of patch for PR 17438 1998-10-08 17:19:55 +00:00
Nick Clifton
644a26542c Fix for PR 16299: Do not assume that bad relocations always have an associated symbol. 1998-10-07 21:10:16 +00:00
Catherine Moore
1a113a4cdc * tc-sparc.h (TC_FORCE_RELOCATION): Define.
(elf32_sparc_force_relocation):  Declare.
        * tc-sparc.c (md_apply_fix3):  Handle vtable relocs.
        (tc_gen_reloc):  Handle vtable relocs.
        (elf32_sparc_force_relocation):  New.
1998-10-06 14:37:23 +00:00
Catherine Moore
272cea1421 * symbols.c (S_IS_FUNCTION): New.
* config/tc-v850.h (obj_fix_adjustable):  Define.
        (TC_FORCE_RELOCATION):  Define.
        (v850_force_relocation):  Declare.
        * config/tc-v850.c (tc_gen_reloc):  Use offset instead
        of fx_addnumber for VTABLE reloc addends.
        (md_apply_fix3):  Handle VTABLE relocs.
        (v850_fix_adjustable):  New.
        (v850_force_relocation):  New.
1998-10-05 14:30:25 +00:00