Jeff Law
9a1f316032
* config/tc-mips.c (load_address): Don't use mips III or mips IV
...
insns regardless of the size of a pointer if we're in mips I or
MIPS II mode.
(macro, macro2, s_cprestore, s_cpadd): Likewise.
Fix problems in recent code to handle address sizes more sanely.
1998-02-12 09:45:13 +00:00
Joern Rennecke
fc3c25b9e0
opcodes:
...
* d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes):
Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
Introduce OPERAND_GPR.
* d10v-dis.c (print_operand): Likewise.
include/opcode:
* d10v.h (OPERAND_ACC): Split into:
(OPERAND_ACC0, OPERAND_ACC1) .
(OPERAND_GPR): Define.
gas/config:
* tc-d10v.c (parallel_ok, find_opcode):
Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
Introduce OPERAND_GPR.
1998-02-12 03:56:57 +00:00
Doug Evans
00aa5b172e
(check_parallel_io_clash): Add #if 0'd out code that uses new operand
...
usage facility.
1998-02-12 01:21:31 +00:00
Doug Evans
b4cbabb879
(insert_operand): Bring over possible change from branch.
1998-02-11 23:40:43 +00:00
Andrew Cagney
14926763d6
Handle xxx@word + N. Treat it as xxx >> 2 + N.
1998-02-11 02:46:51 +00:00
Ian Lance Taylor
b073d4281c
* config/tc-mips.c (append_insn): Make sure that if we have a
...
fixup for an unmatched %hi reloc, it does not associated with a
variant frag.
1998-02-06 03:08:45 +00:00
Nick Clifton
89285fc92b
Add checks for side effects of instructions preventing their parallelisation.
1998-02-04 23:44:58 +00:00
Ian Lance Taylor
dfe0d219ce
* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
...
a gas internal symbol is adjustable.
1998-02-04 20:29:30 +00:00
Doug Evans
76090fdd40
fix comment
1998-02-03 23:39:28 +00:00
Ian Lance Taylor
0e034c7751
Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
...
Add tms320c30 support:
* config/tc-tic30.h: New file.
* config/tc-tic30.c: New file.
* config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
TARGET_FORMAT as "coff-tic30".
* configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add tic30.
(CPU_OBJ_VALID): tic30-aout is valid.
(TARGET_CPU_CFILES): Add config/tc-tic30.c.
(TARGET_CPU_HFILES): Add config/tc-tic30.h.
* configure, Makefile.in: Rebuild.
1998-02-03 00:17:20 +00:00
Nick Clifton
6d0b44264f
Improve error reporting for PR14724
1998-02-02 23:44:42 +00:00
Ian Lance Taylor
32715d71b8
Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
...
* config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
BFD_RELOC_HI16_S to store the high bits of any value.
* config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
(TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
assembler calculate relocations to any external symbol at all.
* config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
involving generation of pc-relative relocs.
(md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
has been moved to md_apply_fix3.
* config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
(ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
which actually means (the address of identifier's GOT entry) +
constant, which is not particularly useful.
1998-02-02 17:44:57 +00:00
Doug Evans
b6675c1a8e
(md_pcrel_from_section): Add offset to delay slot for
...
undefined symbols.
1998-01-31 00:04:27 +00:00
James Lemke
3b2215c2ed
Implement DMAcnt, DMAret & DMAend with explicit count args.
1998-01-31 00:04:26 +00:00
Ian Lance Taylor
4b02738729
* config/vms-conf.h: Don't undef VERSION.
1998-01-30 16:48:57 +00:00
Doug Evans
08847198d5
fix typo in last change
1998-01-30 12:10:00 +00:00
Doug Evans
fe9efeb6d9
* config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
...
(md_parse_option): Handle them.
(md_show_usage): Print them.
(output_dma,output_pke): New static globals.
(md_begin): Initialize them to 1.
(assemble_pke): Handle -no-dma-pke.
(insert_file): Search include dir list.
(s_enddirect): Validate length if prespecified.
(s_endmpg): Likewise. Handle -no-dma-pke.
(s_endunpack): Handle -no-dma-pke.
1998-01-30 12:01:27 +00:00
Ian Lance Taylor
c412299f00
Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
...
* Makefile.am (CONFIG_OBJS): New variable, containing part of old
OBJS variable.
(GENERIC_OBJS): New variable, with the rest of the old OBJS
variable.
(OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
($(srcdir)/make-gas.com): Rename from make-gas.com.
(stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
(EXTRA_DIST): Define.
* vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
explicitly rather than via the list of object files.
(gcc-as.opt): New file created when make-gas.com is run.
* config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
itbl-cpu.h} to #include appropriate file rather than copying that
file.
* config/vms-conf.h: Synchronize with current config.in.
* Makefile.in: Rebuild.
1998-01-29 19:48:18 +00:00
Doug Evans
d476d46aab
add more direct/unpack code
1998-01-29 19:37:59 +00:00
Doug Evans
55a4759f2b
* config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
...
(m32rx support): only include #ifdef HAVE_CPU_M32RX.
1998-01-29 17:27:49 +00:00
Nick Clifton
5ffc6deeb3
Fuxed sanitization (again!)
1998-01-29 17:27:48 +00:00
Doug Evans
e1b747c4f2
checkpoint
1998-01-29 17:06:52 +00:00
Doug Evans
8dddf63f16
checkpoint
1998-01-29 13:22:46 +00:00
Doug Evans
e033023fb2
checkpoint
1998-01-29 12:37:45 +00:00
Nick Clifton
79420f9af9
Sanitization fixes.
1998-01-29 00:41:46 +00:00
Nick Clifton
ed29580469
Fix determination of when two instructions can be combined in parallel.
1998-01-29 00:29:37 +00:00
Ian Lance Taylor
f414803c3a
* config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
...
S_GET_SEGMENT.
1998-01-28 19:55:40 +00:00
Doug Evans
6856244d32
checkpoint
1998-01-28 19:35:31 +00:00
Ian Lance Taylor
8fb6931a28
* config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
1998-01-28 18:49:01 +00:00
Bill Moyer
7012071819
Added --nowarnswap arg to suppress "Swapping instructions" warning.
1998-01-28 18:20:46 +00:00
Nick Clifton
1adee2cc07
Display instruction when an insertion error is encountered.
1998-01-28 17:53:31 +00:00
Doug Evans
aa788b629f
(assemble_one_insn): tweak lexing of suffix
1998-01-28 17:31:22 +00:00
Doug Evans
3a6b89101e
checkpoint
1998-01-28 14:05:49 +00:00
Doug Evans
276dd6efe9
txvu renamed to dvp
1998-01-28 10:15:09 +00:00
James Lemke
4411d96450
*** empty log message ***
1998-01-28 02:20:20 +00:00
Doug Evans
95bfad6d10
* tc-txvu.c (*): Update to use handle new arguments for
...
parse/insert/extract/print handlers.
({encode,decode}_fixup_reloc_type): New function.
(assemble_pke): Write out insn after parsing it.
1998-01-27 22:17:11 +00:00
Nick Clifton
38a8f434a8
Fix PRs 14721, 14722, 14723
1998-01-27 19:13:49 +00:00
Doug Evans
ee1c882ed5
allow '/' in addition to '.' in dest spec
1998-01-27 18:12:33 +00:00
Ian Lance Taylor
5a82ebaffc
tweak again
1998-01-27 17:35:43 +00:00
Ian Lance Taylor
29b2b5da96
tweak last patch
1998-01-27 17:33:35 +00:00
Ian Lance Taylor
8ecadea45b
* config/tc-arm.c (md_apply_fix3): Add casts before comparing
...
offsetT variable set to unsigned int value with FAIL.
1998-01-27 17:29:05 +00:00
Richard Henderson
c3b27a64b4
* as.c (parse_args): Add --keep-locals alias for -L.
...
Add --strip-local-absolute.
(show_usage): Update.
* as.h (flag_strip_local_absolute): New flag.
* symbols.c (S_IS_LOCAL): Use it.
* config/obj-aout.h (S_IS_LOCAL): Likewise.
* config/obj-bout.h (S_IS_LOCAL): Likewise.
* config/obj-coff.h (S_IS_LOCAL): Likewise.
PR 14689
1998-01-27 13:33:54 +00:00
James Lemke
5fcbec8f9c
Fix to s_dmadata(), .EndDmaData was causing a trap.
1998-01-27 03:34:26 +00:00
James Lemke
63589bf457
*** empty log message ***
1998-01-27 02:52:04 +00:00
Doug Evans
2f511a26ba
allow [] in suffix operand
1998-01-27 02:36:28 +00:00
Doug Evans
f73062614b
* tc-txvu.c: First pass at dma/pke/gpuif support.
...
(assemble_one_insn): Renamed from assemble_insn.
Initialize errmsg = NULL before calling parse fn.
(fixups,fixup_count): Make static globals.
1998-01-27 00:32:01 +00:00
Nick Clifton
26192c5084
Detect when explicltly parallel instructions have i/o conflicts and
...
generate warning messages.
1998-01-26 21:09:18 +00:00
Nick Clifton
b6930bdf46
Fixed infinite loop bug in can_make_parallel().
...
Added second level of sanization to remove phase 2 work.
1998-01-26 20:42:15 +00:00
Doug Evans
b5d20cf65d
checkpoint
1998-01-26 06:24:59 +00:00
Doug Evans
f62a42d0dc
* config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
...
before calling insert routine.
1998-01-24 00:44:53 +00:00