Commit graph

4224 commits

Author SHA1 Message Date
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
Gavin Romig-Koch
15b7d7d32a * config/tc-mips.c (md_begin): Correct type-o in setting of mips_eabi64. 1998-12-24 00:37:47 +00:00
Nick Clifton
29388c2520 Fix for PR18233, emit a NOP after a relaxable 16 bit insn so that optimised
insns will start on a 32 bit boundary.
1998-12-21 12:42:28 +00:00
Gavin Romig-Koch
d95b73282a * config/tc-mips.c (mips_eabi64): New.
(md_begin): Set mips_eabi64.
	(mips_elf_final_processing): Use it.
1998-12-20 00:01:51 +00:00
Gavin Romig-Koch
a0542b2798 Correct setting of ABI in e_flags 1998-12-18 20:01:37 +00:00
Nick Clifton
c548312b72 Fixed to match latest assembler output. 1998-12-18 16:26:49 +00:00
Dave Brolley
d744bbbbb8 Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_assemble): Warn about invalid instructions in delay slots.
1998-12-16 21:19:51 +00:00
Gavin Romig-Koch
fd85b79fcf Handle vr4111 1998-12-16 07:17:25 +00:00
Doug Evans
8ca780d31c * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
warning, values that don't fit in the field.
1998-12-16 06:22:33 +00:00
Gavin Romig-Koch
02650bd0a9 This adds ABI flags to MIPS/ELF object files.
For bfd:
	* elf32-mips.c (elf_mips_abi_name): New.
	(_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags.

For gas:
	* config/tc-mips.c (mips_abi_string): New.
	(md_parse_option,md_longopts): Add mabi.
	(mips_elf_final_processing): Set e_flags based on mabi flag.

For gcc:
	* config/mips/mips.h (GAS_ASM_SPEC): Pass mabi to gas.
	(ABI_GAS_ASM_SPEC,abi_gas_asm_spec): New.
	(EXTRA_SPECS): Added ABI_GAS_ASM_SPEC,abi_gas_asm_spec.

For include/elf:

	* mips.h (EF_MIPS_ABI,E_MIPS_ABI_O32,E_MIPS_ABI_O64,
	E_MIPS_ABI_EABI32,E_MIPS_ABI_EABI64):
1998-12-15 14:10:46 +00:00
Gavin Romig-Koch
3105a286d5 Handle the 4111 option. 1998-12-15 06:51:12 +00:00
Gavin Romig-Koch
f14397f057 for bfd:
* archures.c,bfd-in2.h (bfd_mach_mips4121): New.
	* cpu-mips.c: Added vr4121.
	* elf32-mips.c (elf_mips_mach): Same.
	(_bfd_mips_elf_final_write_processing): Same.

for gas:
	* config/tc-mips.c (mips_4121): New.
	(md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121.

for gcc:
	* config/mips/mips.c (override_options): Add vr4121.
	* config/mips/t-vr4xxx (MULTILIB_MATCHES): Same.

for include/elf:
	* mips.h (E_MIPS_MACH_4121): New.

for include/opcode:
	* mips.h (INSN_4121): New.

for opcodes:
	* mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121.
	(_print_insn_mips): Same.
	* mips-opc.c: Add vr4121.

for sim/mips:
	* configure.in,mips.igen,vr.igen: Add vr4121.
	* configure: Rebuilt.
1998-12-13 16:14:24 +00:00
Ken Raeburn
9139dd623e h8300: tweak "opcode not available in h8/300 mode" message 1998-12-11 07:55:04 +00:00
Doug Evans
51d57b0aa6 * gas/mips/vu0.[sd]: Update vmtir testcases. 1998-12-10 21:20:00 +00:00
Doug Evans
46338a996d Bring over forgotten changelog entry from sky-980617-branch.
Thu Jul 23 18:31:03 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
	old one-operand CLIP.
1998-12-10 19:36:01 +00:00
Doug Evans
de9705cb1a * gas/dvp/lower-2.[sd]: Handle label as immediate data.
* gas/dvp/gifimage-1.[sd]: Add testcases for EOP.
	* gas/dvp/upper-[12].[sd]: Test two-operand CLIP; remove
	old one-operand CLIP.
Bring over from sky-980617-branch.
1998-12-10 19:27:27 +00:00
Nick Clifton
c8f7664ff1 Add line separator character. 1998-12-10 12:04:21 +00:00
Doug Evans
d734c861b4 * config/tc-mips.c (append_insn): Don't move INSN_SYNC
instructions into delay slot.
Bring over from sky-980617-branch.
1998-12-10 04:19:50 +00:00
Doug Evans
84177a47f5 * config/tc-dvp.h (md_end): Define.
* config/tc-dvp.c (dvp_end): New function.
Bring over from sky-980617-branch.
1998-12-10 01:19:52 +00:00
Jeff Law
e121918a4f * gas/vtable/vtable.exp: Do not run these tests for the dvp assembler. 1998-12-09 21:04:28 +00:00
Jeff Law
3b35597c52 * config/tc-mips.c (gpr_interlocks): The r5900 always has
gpr interlocks.
Fixes minor assembler testsuite failure on the r5900.
1998-12-09 19:33:06 +00:00
Ian Lance Taylor
4533e615d7 Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
* configure.in (hppa-*-mpeix*): New target.
	* config/obj-som.h (obj_som_compiler): Declare.
	* config/obj-som.c (compiler_seen): New static variable.
	(obj_som_compiler): New function.
	* config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
 	(md_pseudo_table): Add "compiler" if OBJ_SOM.
	(pa_type_args): Set hppa_priv_level.
	(pa_compiler): New static function if OBJ_SOM.
	* configure: Rebuild.
1998-12-09 00:55:55 +00:00
Ian Lance Taylor
9f3ab15add * read.c (output_leb128): Don't mark as inline. 1998-12-08 20:01:58 +00:00
Andrew Macleod
a31eb1a195 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
AIX .vbyte unaligned data support.
  (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
  (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
  sections.
1998-12-08 17:05:38 +00:00
Nick Clifton
10b5c3732c Imrpve handling of erroneous input. 1998-12-07 15:54:34 +00:00
Catherine Moore
fc32c96d2b Check for BFD_RELOC_ARM_PCREL_BRANCH in elf32_arm_force_relocation. 1998-12-07 15:54:33 +00:00
Ian Lance Taylor
ae6130f111 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
checking the target type.
	(mips-dec-bsd*): Set endian to little.
	* configure: Rebuild.
1998-12-07 03:41:40 +00:00
Ian Lance Taylor
c8989232c3 COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
	* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
	* config/obj-coff.c (obj_coff_weak): New static function.
	(obj_coff_endef) [both versions]: Handle weak symbols.
	(coff_frob_symbol): Likewise.
	(yank_symbols): Likewise.
	(obj_pseudo_table): Add "weak".
1998-12-07 02:46:56 +00:00
Ian Lance Taylor
44be43971b * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
	* aclocal.m4: Rebuild with current tools.
	* configure: Rebuild.
1998-12-06 21:48:34 +00:00
Ian Lance Taylor
bc99705349 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
an assertion failure for a case we can't handle when OBJ_ECOFF.
1998-12-06 20:10:52 +00:00
Ian Lance Taylor
3885a41e32 * expr.c (operator): And with 0xff to avoid problems with signed
char.
1998-12-06 17:52:58 +00:00
Nick Clifton
2f53621405 change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48 1998-12-03 17:02:49 +00:00
Nick Clifton
36b9061355 Updated to match latest assembler output. 1998-12-03 13:19:21 +00:00
Nick Clifton
38c01dc96e Enable relocs for ldi:20 insn 1998-12-02 15:53:48 +00:00
Gavin Romig-Koch
01b7cec600 missing stuff for vr4xxx 1998-11-30 19:28:22 +00:00
Dave Brolley
12f2784d7f Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
	of pcrel point.
1998-11-26 16:25:57 +00:00
Dave Brolley
46530d767a Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
	of pcrel point.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
1998-11-26 16:25:34 +00:00
Nick Clifton
ff95478c14 Fix calculation of address for pc rel operations. 1998-11-25 01:22:54 +00:00
Gavin Romig-Koch
f8c41900fc For top level:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.


For gcc:
	* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
	* configure.in (mips64vr4xxx,mips64vr4xxxel): New.
	* config/mips/t-vr4xxx: New.
	* config/mips/elfb4xxx.h: New.
	* config/mips/elfl4xxx.h: New.
	* configure: Rebuilt.

For gas:
	* config/tc-mips.c (md_begin): Added mip64vr4xxx as a
	possible CPU_TARGET.

For gdb:
	* configure.tgt: Handle mips64*vr4xxx.

For ld:
	* configure.tgt: Handle mips64*vr4xxx.
1998-11-25 01:10:52 +00:00
Nick Clifton
0e92e723c9 Add support for FR30_OPERAND_I32 1998-11-20 19:42:45 +00:00
Nick Clifton
d2e2384b83 Add support for -marm6xxx and -marm7xxx command line switches 1998-11-19 23:03:04 +00:00
Doug Evans
009c4572b6 run sanitize over Makefile.{am,in} for fr30 1998-11-19 21:35:59 +00:00
Doug Evans
4764e0cfc4 * gas/mips/sync.[sd]: New testcase.
* gas/mips/mips.exp: Run it.
pr 18302
1998-11-19 16:06:02 +00:00
Doug Evans
11d06c350c * Makefile.am (DEP): Use $(srcdir)/../mkdep.
(itbl-ops.o): Delete duplicate dependencies.
	Rebuild dependencies.
	Add fr30 dependencies.
	* Makefile.in: Rebuild.
1998-11-19 00:23:24 +00:00
Dave Brolley
a20d433120 Wed Nov 18 11:27:56 1998 Dave Brolley <brolley@cygnus.com>
* gas/fr30/allinsn.s (dmov): Correct hex literals.
1998-11-18 16:29:08 +00:00
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