Commit Graph

4270 Commits

Author SHA1 Message Date
Ken Raeburn
8a71fa4e1e config/tc-alpha.c (md_show_usage): Put \ before newline in strings always. 1999-02-15 00:00:20 +00:00
Richard Henderson
15445dcdcd * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
(emit_insn): Look for pc-relative and no-overflow specifiers on
        internal relocation types.
1999-02-13 22:13:09 +00:00
Jim Blandy
287169e548 Add clauses for tx19, vr4xxx, vr4320, tx49, and r5900 1999-02-13 21:59:27 +00:00
Jim Blandy
0e00d2706a *** empty log message *** 1999-02-13 21:37:36 +00:00
Jim Blandy
3b88ed2a72 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
-mcpu=NNNN flags.
1999-02-13 21:37:16 +00:00
Jim Blandy
de484a066b * config/tc-mips.c: Remove all the mips_NNNN variables; just use
mips_cpu instead.
(mips_4650, mips_4010, mips_4100): Variables removed.
start-sanitize-vr4xxx
(mips_4121): Variable removed.
end-sanitize-vr4xxx
start-sanitize-vr4320
(mips_4320): Variable removed.
end-sanitize-vr4320
start-sanitize-cygnus
(mips_5400): Variable removed.
end-sanitize-cygnus
start-sanitize-r5900
(mips_5900): Variable removed.
end-sanitize-r5900
start-sanitize-tx49
(mips_4900): Variable removed.
end-sanitize-tx49
(hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
variables.
(md_begin): Don't bother initializing the mips_NNNN variables;
mips_cpu is set, and that's good enough now.
(md_parse_option): Have the -mNNNN options set mips_cpu instead of
the mips_NNNN variable.  The -no-mNNNN flags are now no-ops.
(show): New function, to handle wrapping in the CPU lists.
(md_show_usage): Update lists of -mcpu and -mNNNN switches.
1999-02-13 21:36:35 +00:00
Jim Blandy
adfdbe9083 *** empty log message *** 1999-02-13 21:19:17 +00:00
Jim Blandy
346b8b0797 *** empty log message *** 1999-02-13 20:07:02 +00:00
Jim Blandy
bd24408345 * gas/mips/mips.exp: Run the new tests, below.
* gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d,
gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: New files.
* gas/mips/elf_e_flags.c, gas/mips/elf_e_flags.s: New files.
1999-02-13 20:06:53 +00:00
Jim Blandy
c80f964dc6 *** empty log message *** 1999-02-13 20:04:28 +00:00
Jim Blandy
06643e93f6 *** empty log message *** 1999-02-13 20:04:14 +00:00
Richard Henderson
e58ae7a3fd * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
than treat as an immediate specifier.
1999-02-13 08:18:51 +00:00
Richard Henderson
e715a0271e * config/tc-i386.c: Prototype many functions.
(set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
        (i386_immediate): Remove unused second argument.
        (i386_intel_operand): Fix i386_is_reg typo.
        (i386_operand): Use allow_naked_reg.
        (output_invalid): Make operand int for K&R.
1999-02-12 00:27:34 +00:00
Ian Lance Taylor
e0a991bf5e * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
patch.
	* Makefile.in: Rebuild.
1999-02-11 16:22:25 +00:00
Doug Evans
39c80401ec * gas/m32r/allinsn.d: Prefix all | with \.
(push,pop): Fix expected output.
	* gas/m32r/relax-1.d: Emitted nops are serial, not parallel.
	* gas/m32r/fslot.d: Prefix all | with \.
	* gas/m32r/fslotx.d: Prefix all | with \.
	* gas/m32r/m32rx.d: Assemble with -O to get effect we're testing for.
	Prefix all | with \.  Fix misc. typos.
	* gas/m32r/m32rx.s (bc__add,bcl__addi): Use non-relaxable versions
	of branches so we get the effect we're testing for.
	* gas/m32r/relax-2.d: Prefix all | with \.
| must be prefixed with \ (or otherwise escaped).
Fix problems that were then revealed.
Some still remain in m32rx.[ds].
1999-02-11 03:24:19 +00:00
Doug Evans
8a12d48ebe * config/tc-dvp.h (tc_symbol_chars): Define.
pr 19072
1999-02-11 00:58:29 +00:00
Doug Evans
3ab32eae4d * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
(cgen.o): Ditto.
	(EXTRA_as_new_SOURCES): Comment out.
	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
	* Makefile.in: Rebuild.
	* doc/Makefile.in: Rebuild.
	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
	* configure: Rebuild.
	* aclocal.m4: Rebuild.
	* config.in: Rebuild.
	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
	(gas_cgen_record_fixup_exp): Ditto.
	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
	descriptor, not global variable.
	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
	descriptor, not global variable.  Refer to insert_operand handler
	via cpu descriptor, not global function.
	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
	* config/tc-m32r.c: Ditto.
	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
	(md_assemble): Ditto.
	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
1999-02-10 03:20:59 +00:00
Doug Evans
310addc423 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
(cgen.o): Ditto.
	(EXTRA_as_new_SOURCES): Comment out.
	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
	* Makefile.in: Rebuild.
	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
	* configure: Rebuild.
	* aclocal.m4: Rebuild.
	* config.in: Rebuild.
	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
	(gas_cgen_record_fixup_exp): Ditto.
	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
	descriptor, not global variable.
	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
	descriptor, not global variable.  Refer to insert_operand handler
	via cpu descriptor, not global function.
	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
	* config/tc-m32r.c: Ditto.
	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
	(md_assemble): Ditto.
	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
1999-02-10 03:19:32 +00:00
Nick Clifton
b8d4b00e93 Fix Label1 - Label2 relocartions for ELF targets 1999-02-09 15:49:01 +00:00
Nick Clifton
9db7f240c3 Fix tests to pass on ARM targets 1999-02-08 17:29:05 +00:00
Nick Clifton
326fe535eb Add support for StrongARM target. 1999-02-08 12:41:43 +00:00
Doug Evans
92a24a438f * gas/m32r/relax-2.[sd]: New testcase.
* gas/m32r/m32rx.exp: Run it.
PR 19068
1999-02-06 03:56:24 +00:00
Doug Evans
5f02ae577f * config/tc-m32r.c (assemble_two_insns): Always call fill_insn.
PR 19068
1999-02-06 03:29:45 +00:00
Doug Evans
79caaa57ed s/sanitize-m32rx/sanitize-cygnus/ 1999-02-05 19:42:14 +00:00
Nick Clifton
8761296743 Fix arm-coff relocations. 1999-02-05 17:34:41 +00:00
Jeff Law
d53e566bc0 m32rx -> cygnus sanitization change. 1999-02-05 17:34:40 +00:00
Jeff Law
6a1132ef3f m32rx -> cygnus sanitization changes. 1999-02-05 17:28:16 +00:00
Doug Evans
f5ee0390c5 expand on a comment and reorg for 80 column screen some code in
assemble_two insns
1999-02-04 22:32:46 +00:00
Doug Evans
bbbad6ead2 keep outofrange.s 1999-02-04 22:15:27 +00:00
Doug Evans
56629002aa * gas/m32r/outofrange.s: New testcase.
* gas/m32r/error.exp: Run it.
PR 19044
1999-02-04 22:15:12 +00:00
Jeff Law
c498fa7287 * config/tc-mn10300.c (md_assemble): "exreg0", "exreg1", "exregother",
and "all" are not valid operands when not in am33 mode.
1999-02-04 17:40:02 +00:00
Richard Henderson
b7a4b50949 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options. 1999-02-03 19:36:27 +00:00
Nick Clifton
808837c56e Fix spelling typo. 1999-02-02 11:45:18 +00:00
Catherine Moore
d0cbdea696 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
(INTEL_DWORD_MNEM_SUFFIX):  Define.
        (BYTE_PTR):  Define.
        (WORD_PTR):  Define.
        (DWORD_PTR):  Define.
        (XWORD_PTR):  Define.
        (SHORT):  Define.
        (OFFSET_FLAT):  Define.
        (FLAT):  Define.
        (NONE_FOUND):  Define.
        (No_dSuf):  Define.
        (No_xSuf):  Define.
        * config/tc-i386.c  (set_intel_syntax):  New routine.
        (intel_syntax):  Declare.
        (allow_naked_reg):  Declare.
        (md_pseudo_table):  Support .intel_syntax and .att_syntax.
        (intel_float_operand):  New routine.
        (md_assemble):  Handle INTEL_DWORD_MNEM_SUFFIX.
        Handle brackets as well as parens.  Call i386_intel_operand for
        intel syntax.  Reverse operands if appropriate.  Handle new
        suffixes.  Handle movzx and movsx.
        (i386_is_reg):  New routine.
        (i386_immediate):  New routine.
        (i386_scale):  New routine.
        (i386_displacement):  New routine.
        (i386_operand_modifier):  New routine.
        (build_displacement_string):  New routine.
        (i386_parse_seg):  New routine.
        (i386_intel_memory_operand):  New routine.
        (i386_intel_operand):  New routine.
        (i386_operand):  Call i386_displacement, i386_immediate,
        i386_scale, etc.  instead of handling inline.
        (parse_register):  Handle registers without prefix.
1999-02-02 02:58:57 +00:00
Catherine Moore
9ac8e451f6 * configure: Regenerate.
* configure.in (arm-*-oabi):  New.
        (thumb-*-oabi):  New.
        * config/tc-arm.c (target_oabi):  Declare.
        (md_apply_fix3): Support REL relocs.
        (md_parse_option):  Handle -oabi.
        (elf32_arm_target_format):  New routine.
        (md_longopts):  Add OPTION_OABI.
        * config/tc-arm.h:  Redefine TARGET_FORMAT.
1999-02-01 20:34:39 +00:00
Nick Clifton
a21a12e39e Remove v850e sanitization 1999-02-01 11:21:32 +00:00
Nick Clifton
a5904a0f69 Handle bfd_install_relocation returning out-of-range error. 1999-01-28 18:11:41 +00:00
Nick Clifton
760798c61e Fixes to allow vtable support to work. 1999-01-28 17:29:49 +00:00
Jeff Law
9e58f7c1ef am33 sanitization changes. 1999-01-26 14:30:38 +00:00
Nick Clifton
bc7d553ce3 Do not merge two instructions when the left hand one kills the right hand one. 1999-01-16 13:33:46 +00:00
Doug Evans
5dddc35ca9 * Makefile.in: Regenerate.
* configure.in: Redo test for using cgen.
	* configure: Regenerate.
plus remove fr30 sanitization
1999-01-12 00:08:48 +00:00
Doug Evans
e5e95c7d80 keep fr30 1999-01-11 23:16:57 +00:00
Doug Evans
3a794236c3 keep tc-fr30.[ch] 1999-01-11 23:16:25 +00:00
Nick Clifton
65fedafeb8 prevent accidental redefinition of obj_adjust_symtab 1999-01-09 11:02:56 +00:00
Doug Evans
57c3ff4ee5 * config/tc-m32r.c (OPERAND_IS_COND_BIT): Add check for psw.
pr 18634
1999-01-07 00:48:45 +00:00
Doug Evans
6b4e5a82fe * gas/m32r/interfere.s: New testcase.
* gas/m32r/error.exp: Run it.
pr 18634
1999-01-07 00:45:24 +00:00
Frank Ch. Eigler
79b41c05a4 * Test for PR 18665, from sky branch.
1999-01-06  Frank Ch. Eigler  <fche@cygnus.com>
	* gas/mips/r5900.[sd]: Add tests for multu1/div1/divu1 insns.
1999-01-06 12:47:21 +00:00
Doug Evans
fa88f06825 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc" warning.
pr 18655
1999-01-06 06:00:46 +00:00
Gavin Romig-Koch
2e23624e62 * config/tc-mips.c (append_insn): For mips16, insert a nop between
a read of HI or LO and an immediatly following branch.
1998-12-29 15:46:59 +00:00
Gavin Romig-Koch
ffa3e1860a 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
* config/tc-mips.c (md_begin): Another correction to the setting of
	mips_eabi64.
1998-12-29 14:09:36 +00:00