Commit graph

1578 commits

Author SHA1 Message Date
Doug Evans
3a794236c3 keep tc-fr30.[ch] 1999-01-11 23:16:25 +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
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
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
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
Nick Clifton
2f53621405 change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48 1998-12-03 17:02:49 +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
2ca484a711 Fixed reloc generation to match latest opcoide list from cgen. 1998-11-17 23:28:19 +00:00
Nick Clifton
b91e1ec1e4 Add support for delay slot insns. 1998-11-13 01:15:29 +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
Nick Clifton
b67f7834e2 Removed superflous code. 1998-11-11 17:59:42 +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
Doug Evans
f3dc77c243 sanitize fr30 port for now 1998-11-05 23:53:05 +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
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
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
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
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
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
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
Jeff Law
e963374a58 * tc-hppa.c (fp_operand_format): Add some additional formats.
(pa_ip): Do not automatically promote into pa2.0 mode.
        (pa_level): Handle ".level 2.0".
start-sanitize-cygnus
        (struct pa_it): New field "trunc".
        (pa_parse_fp_cnv_format): New function.
        (pa_parse_ftest_gfx_completer): New function.
        (pa_ip): Handle various new letters for PA2.0 support.
end-sanitize-cygnus
1998-10-05 06:52:58 +00:00
Nick Clifton
b481c113bb Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
at assembly time.
1998-09-30 18:12:57 +00:00
Nick Clifton
a173c5db00 Fic PR 17045: Do not allow insns in R bin if L bin contains a branch. 1998-09-24 16:31:20 +00:00
Nick Clifton
21056c79a4 PR 17438 - fix parsing of MVTSYS and MVFSYS insns. 1998-09-23 17:56:40 +00:00
Nick Clifton
973e995d34 Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
		are unacceptable.
1998-09-23 01:11:23 +00:00
Nick Clifton
aa7bf2a890 Fix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
symbolic names, except where the register name is unacceptable.
1998-09-22 22:48:42 +00:00
Doug Evans
3c62de83cd update tc-dvp.c with sky-980617-branch 1998-09-21 20:27:28 +00:00
Nick Clifton
e8dedcb3fe Fix PR 17105 - reset previous insn to empty after emitting NOPs. 1998-09-21 17:44:48 +00:00
Catherine Moore
61b113a94e * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
assembler syntax.
(obj_elf_vtable_entry):  Likewise.
* config/tc-arm.h:  Define TC_FORCE_RELOCATION for OBJ_ELF.
* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.
(elf32_arm_force_relocation): New.
(armelf_frob_symbol):  Remove coff-style symbol support.
Remove armelf sanitization.
1998-09-15 14:47:51 +00:00
Catherine Moore
d22136dc8c Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
* config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
        OBJ_COFF so that routine is defined for a.out format.
1998-09-08 23:20:30 +00:00
Richard Henderson
de1d28b669 * config/tc-i386.c (i386_operand): Detect non-segment registers
used as segment prefixes.
1998-09-08 22:57:36 +00:00