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
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
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
38c01dc96e
Enable relocs for ldi:20 insn
1998-12-02 15:53:48 +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
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
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
Nick Clifton
2ca484a711
Fixed reloc generation to match latest opcoide list from cgen.
1998-11-17 23:28:19 +00:00
Nick Clifton
3b0ae69636
PR17074 - ignore line terminator characters found inside strings.
1998-11-17 21:44:22 +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
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
f3dc77c243
sanitize fr30 port for now
1998-11-05 23:53:05 +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
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
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
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
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