Commit graph

2103 commits

Author SHA1 Message Date
Ian Lance Taylor
ce44ad74d9 * listing.c (buffer_line): If we can't open the file, set at_end.
(listing_print): Remove unused local variable fi.
1998-01-30 19:06:39 +00:00
Ian Lance Taylor
4b02738729 * config/vms-conf.h: Don't undef VERSION. 1998-01-30 16:48:57 +00:00
Doug Evans
72e6c688c3 * config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
(m32rx support): only include #ifdef HAVE_CPU_M32RX.
1998-01-29 21:39:53 +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
Nick Clifton
ed29580469 Fix determination of when two instructions can be combined in parallel. 1998-01-29 00:29:37 +00:00
Bill Moyer
4d1dc7f122 Added "--nowarnswap" option for suppressing "Swapping instructions" warnings. 1998-01-28 22:36:10 +00:00
Ian Lance Taylor
0040c1e966 Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* configure.in (i386-*-mingw32*): New target.
	* configure: Rebuild.
1998-01-28 21:44:53 +00:00
Ian Lance Taylor
8ecd2ccb89 * symbols.c (resolve_symbol_value): Don't set the segment if it
hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
1998-01-28 20:22:00 +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
Ian Lance Taylor
fa8666c791 Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
	depends upon HAVE_{UNLINK,REMOVE} values rather than host
	compiler.
1998-01-28 18:56:15 +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
Doug Evans
98b155a20a * configure.in: Add dvp support.
* configure: Regenerate.
	* config/tc-dvp.[ch]: New files.
And delete old txvu stuff.
1998-01-28 18:08:06 +00:00
Nick Clifton
1adee2cc07 Display instruction when an insertion error is encountered. 1998-01-28 17:53:31 +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
Ian Lance Taylor
6cc7a93828 Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
* configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
	(i386-*-sco3.2v5*coff): New target.
	(i386-*-sco3.2*): New target.
	* configure: Rebuild.
1998-01-27 18:35:53 +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
76f9e5afa3 * listing.c (MAX_BYTES): Use listing variables not constants.
(data_buffer): No longer an array, but a pointer.
(calc_hex): sizeof(data_buffer) -> MAX_BYTES.
(listing_listing): Allocate data_buffer.
1998-01-27 14:56:15 +00:00
Richard Henderson
7b7a88d0e1 Bring over lost listing bits from emc-97r1-branch. 1998-01-27 14:45:09 +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
Doug Evans
b1313caee0 * tc-txvu.c (assemble_one_insn): Allow [] in suffix operand. 1998-01-27 02:36:56 +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
70d7bd21d1 * config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
1998-01-24 02:44:02 +00:00
Doug Evans
fbe2ad4648 * config/tc-txvu.c (assemble_insn): Delete test for !isalpha
after parsing mnemonic.  ASCII operand chars are case insensitive.
1998-01-24 00:44:52 +00:00
Doug Evans
23ded74859 * config/tc-txvu.c (assemble_insn): Commas moved to opcode table. 1998-01-23 05:36:20 +00:00
Nick Clifton
f7124cf258 Add support for swapping the fixups when insn are swapped. 1998-01-23 01:54:39 +00:00
Richard Henderson
cc746b3ed5 * listing.c (file_info_struct): Remove FILE, add POS.
(last_open_file_info, last_open_file): New; a one entry FILE* cache.
	(file_info): Don't open the file.
	(buffer_line): Check for the file in the last_open cache, updating
	as necessary.
	(print_source): Don't reference file_info->file.
	(listing_listing): Likewise.
	(listing_print): Close the file in the cache, if any.
1998-01-22 00:50:17 +00:00
Nick Clifton
775fdd0c3f Added opportunistic parallelisation of adjacent instructions. 1998-01-21 01:13:47 +00:00
Ian Lance Taylor
af8e4ed9b1 * read.c (dwarf_file_string): New file static variable.
(emit_expr): Look for constant sequence that leads up to a file
	name in DWARF debugging output.
	(stringer): Use dwarf_file_string to decide whether to accept a
	string as a file name.
PR 13210.
1998-01-16 19:56:43 +00:00
Richard Henderson
9ca4498fd5 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
(crack_operand): Add reg->reglst MRI hack.
        (r_seg): Put reglst symbols in reg_section.
        (m68k_frob_symbol): Frob reglst symbols into absolute_section.
1998-01-16 19:35:15 +00:00
Richard Henderson
43e941fd88 * tc-sh.c (get_specific): Handle SGR & DBR.
PR 14523
1998-01-15 22:17:44 +00:00
Richard Henderson
2833e2512e * tc-h8500.c (parse_reg): Likewise. 1998-01-15 21:51:12 +00:00
Richard Henderson
e71bd99cc6 * tc-h8300.c (parse_reg): Take the length of the symbol into
account when attempting to match a register name.
1998-01-15 21:46:57 +00:00
Gavin Romig-Koch
86418a70c8 toplevel--
* config.sub: Create the vr4111 as a copy of vr4100.
	gas--
	* config/tc-mips.c (md_begin): Create the vr4111 as a copy of
	the vr4100.
	gcc--
	* config.sub: Create the vr4111 as a copy of the vr4100.
	* configure.in: Same.
	* configure: Rebuild.
	gdb--
	* configure.tgt: Create the vr4111 as a copy of the vr4100.
1998-01-15 14:56:12 +00:00
Nick Clifton
ebde3f6235 Add support for parallel instructions. 1998-01-15 01:58:34 +00:00
Jeff Law
6c4b811d6a * config/tc-mips.c (macro): Rework division code to avoid unfilled
delay slot.
1998-01-15 00:08:12 +00:00
Michael Meissner
4ef6f7f11f Make cross section PC relative relocs work; fix non-ANSI case 1998-01-14 23:09:29 +00:00
Doug Evans
b2cf4548a1 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO. 1998-01-14 23:06:34 +00:00
Doug Evans
1002d8ed0b * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
(expr_jmp_buf): New static local.
	(cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
	(cgen_md_operand): New function.
	* tc-m32r.c: Clean up pass over `struct foo' usage.
	(md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
1998-01-12 21:12:52 +00:00
Richard Henderson
d7ab10784a * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
PR 14239
        (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
1998-01-06 15:38:20 +00:00
Doug Evans
61e09fac57 * config/tc-txvu.c (md_assemble): Handle no separator between
upper and lower insn #ifndef VERTICAL_BAR_SEPARATOR.
	(assemble_insn): Likewise.
1998-01-06 13:12:16 +00:00
Doug Evans
f6428b86cc * config/tc-txvu.c: #include dis-asm.h, opcode/txvu.h, elf/txvu.h.
(md_begin): Call txvu_opcode_init_tables.
	(assemble_insn): New function.
	(md_assemble): Beginnings of implementation.
1998-01-05 14:56:04 +00:00
Ian Lance Taylor
388fa5c64e * config/tc-i386.c (i386_operand): Give an error if there are
unrecognized characters after an expression.
1998-01-02 13:09:57 +00:00
Jeff Law
ffd0546fb0 * config/tc-mn10200.c (md_relax_table): Correct branch ranges.
Fix bugs exposed in egcs compiler.
1997-12-31 11:28:40 +00:00
Doug Evans
103dd76488 * configure.in: Add txvu support.
* configure: Regenerate.
	* config/tc-txvu.[ch]: New files.
1997-12-22 18:03:58 +00:00
Ian Lance Taylor
60dc9fb283 * configure.in (i386*-go32-rtems*): Fix to be the same as
i[3456]86-go32.
	* configure: Rebuild.
1997-12-22 10:08:43 +00:00