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
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
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
Ian Lance Taylor
b3ef365828
Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
...
* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
* config/tc-i386.h (template.extension_opcode): Change to
unsigned int to allow full range of 8-bit opcode suffixes.
(None): Redefine as 0xffff.
From Jeff B Epler <jepler@usgs.gov>
* doc/c-i386.texi (i386-SIMD): New section.
1998-10-05 00:59:52 +00:00