Commit graph

1800 commits

Author SHA1 Message Date
Ian Lance Taylor
e366a2d6e8 * Makefile.in (srcroot): Remove.
(INSTALL): Set to @INSTALL@.
	(INSTALL_XFORM, INSTALL_XFORM1): Remove.
	(all, dvi): Don't set srcroot.
	(install): Depend upon as.new, gasp.new, and installdirs.  Use
	$(program_transform_name) directly, rather than using
	$(INSTALL_XFORM) and $(INSTALL_XFORM1).
	(installdirs): New target.
	* doc/Makefile.in (INSTALL_XFORM1): Remove.
	(install): Depend upon installdirs.  Use $(program_transform_name)
	directly, rather than using $(INSTALL_XFORM) and
	$(INSTALL_XFORM1).
	(installdirs): New target.
	(install-info-as): Run mkinstalldirs.
	(install-info-gasp): Likewise.
1997-04-15 17:11:08 +00:00
Ian Lance Taylor
dca6429fad From Thomas Graichen <graichen@rzpd.de>:
* Makefile.in: Always use $(SHELL) when running move-if-change.
	* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
	* configure: Rebuild.
1997-04-14 16:05:50 +00:00
David Edelsohn
f3f00e9486 * cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
New argument `want'.  Update enum cgen_parse_operand_result values.
	Initialize if CGEN_PARSE_OPERAND_INIT.
	* config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
	(md_assemble): Call cgen_asm_init_parse.
	Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 23:40:30 +00:00
David Edelsohn
4e9d8deacb * config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
(md_assemble): Call cgen_asm_init_parse.
	Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 21:54:15 +00:00
Ian Lance Taylor
902a77ac80 * config/tc-m68k.c (m68k_ip): Handle #j. 1997-04-09 15:50:13 +00:00
Jeff Law
967429536d * config/tc-mn10300.c (md_convert_frag): Create fixup at the
right address for call label:32,regs,imm.
Fixes bug exposed by gdb testsuite.
1997-04-08 22:47:42 +00:00
Jeff Law
e41369a45f * config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
zero.
        * config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
        symbol for OBJ_ELF anymore.
Fixes testsuite problem for hppa1.1-hp-*elf*.
1997-04-07 21:01:43 +00:00
David Edelsohn
39ffbb4dcc * Makefile.in: Regenerate dependencies.
(TARG_CPU): New variable.
	(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
	(.dep1): Delete creating of cgen-opc.h.
	(.tcdep): Put proper contents in cgen-opc.h.
	* configure.in (m32r): Delete setting of extra_files, extra_links.
	(AC_OUTPUT): Create cgen-opc.h.
	* configure: Regenerated.
1997-04-07 18:38:33 +00:00
Ian Lance Taylor
596c5b74fc Sat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Update to build gasp.exe.
1997-04-05 18:20:59 +00:00
David Edelsohn
c8cf7e1737 * write.c (relax_frag): Make non-static.
* write.h (relax_frag): Add prototype for.
	* config/tc-m32r.h (md_do_align): New arg `max'.
	* config/tc-m32r.c (m32r_do_align): Likewise.
	Update calls to frag_align, frag_align_pattern.
	(fill_insn): Update call to m32r_do_align.
	(m32r_scomm): Update call to frag_align.
1997-04-05 02:34:40 +00:00
David Edelsohn
403c708e0a * frags.c (frag_var): fr_pcrel_adjust renamed to
fr_targ.ns32k.pcrel_adjust.  fr_bsr renamed to fr_targ.ns32k.bsr.
	(frag_variant): Likewise.
	* Makefile.in: Tweak last entry, cgen.o is in extra_objects!
1997-04-05 00:35:29 +00:00
David Edelsohn
374bdac737 * config/tc-m32r.[ch]: New files.
* cgen.c: New file.
	* Makefile.in (CPU_TYPES): Add m32r.
	(CFILES): Add cgen.c.
	(TARGET_CPU_CFILES): Add tc-m32r.c.
	(TARGET_CPU_HFILES): Add tc-m32r.h.
	(OBJS): Add cgen.o.
	(DISTCLEAN_HERE): Add cgen-opc.h.
	(.dep1,.tcdep): Create empty cgen-opc.h.
	(cgen.o): Add dependencies.
	(dependencies): Regenerate.
	* as.h (struct frag): New member fr_targ.
	(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
	* conf.in (USING_CGEN): New macro.
	* configure.in (m32r-*-*): Add entry for.
	* configure: Regenerate.
	* write.c (relax_frag): fr_pcrel_adjust renamed to
	fr_targ.ns32k.pcrel_adjust.
	* config/tc-ns32k.c (*): Likewise.
	fr_bsr renamed to fr_targ.ns32k.bsr.
1997-04-05 00:21:26 +00:00
Ian Lance Taylor
dc966dadf7 * config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
rather than for any end of line character.
1997-04-04 22:49:21 +00:00
Ian Lance Taylor
5c11dba28a * config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
call abort (i.e., as_abort) rather than crashing.
1997-04-04 22:48:24 +00:00
Ian Lance Taylor
457a20b54a * config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
OBJ_ELF, rather than of S_GET_OTHER.
1997-04-04 21:12:50 +00:00
Ian Lance Taylor
e819d858c9 * Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak. 1997-04-04 18:26:33 +00:00
Ian Lance Taylor
3884d17b45 * Makefile.in (VERSION): Set to 2.8.1. 1997-04-03 18:19:26 +00:00
Ian Lance Taylor
64d2004922 * COPYING: Update FSF address. 1997-04-02 19:51:31 +00:00
Ian Lance Taylor
08438bef4a * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
PR 11982.
1997-04-02 17:24:44 +00:00
Jim Wilson
3c83da8ac4 * config/tc-mips.c (md_begin): Don't set interlocks for 4100. 1997-04-02 02:33:47 +00:00
Ian Lance Taylor
396e8d7ff0 Tue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de>
* config-gas.com: Update to handle both vax and alpha.
	* makefile.vms: Update to use config-gas.
	* conf-a-gas.com: Remove file.
1997-04-01 21:26:16 +00:00
Ian Lance Taylor
db2377831a * Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
itbl-lex.c dependencies.  Remove rules for itbl-lex.o,
	itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.
1997-04-01 21:09:44 +00:00
Michael Meissner
64251de516 Make # a line comment character 1997-04-01 16:29:10 +00:00
Ian Lance Taylor
3c6adeaf93 Mon Mar 31 23:53:44 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* config/tc-ppc.c (register_name): Declare.
1997-04-01 04:54:41 +00:00
Ian Lance Taylor
332d5c4952 Mon Mar 31 16:31:04 1997 Joel Sherrill <joel@oarcorp.com>
* configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
	* configure: Rebuild.
1997-03-31 21:34:52 +00:00
Ian Lance Taylor
2f2bcadb7d * config/tc-mips.c (mips_pseudo_table): Add "stabn".
(mips16_mark_labels): New static function.
	(append_insn): Call mips16_mark_labels.
	(mips_emit_delays): Likewise.
	(s_insn): Likewise.  Don't call mips_clear_insn_labels.
	(s_mips_stab): New static function.
1997-03-31 19:45:23 +00:00
Ian Lance Taylor
6d65a06574 * configure.in: Use ELF for mips-*-gnu*.
* configure: Rebuild.
1997-03-31 19:16:11 +00:00
Ian Lance Taylor
ca37421ec4 Mon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
	TE_DELTA.
1997-03-31 19:11:03 +00:00
Ian Lance Taylor
2e013bb766 Fri Mar 28 18:03:19 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
* configure.in: Add AC_ARG_ENABLE for commonbfdlib.  If it is set,
	set OPCODES_LIB to empty.
	* configure: Rebuild.
1997-03-28 23:16:18 +00:00
Ian Lance Taylor
04b8ad8bb2 Fri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
	targets.
	* configure: Rebuild.
1997-03-28 20:26:26 +00:00
Ian Lance Taylor
ab91e1ef72 * itbl-parse.y (yyerror): Make static. Declare. 1997-03-28 19:40:00 +00:00
Ian Lance Taylor
515c71428d From Ralf Baechle <ralf@gnu.ai.mit.edu>:
* configure.in: Set emulations for mips-*-linux*-*.
	* configure: Rebuild.
1997-03-28 19:25:01 +00:00
Ian Lance Taylor
1347404a58 * config/tc-mips.c (struct mips_set_options): Define.
(mips_opts): New static variable.
	(mips_isa): Remove.  Now a field in mips_opts.  Change all
	references.
	(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
	(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
	(struct mips_option_stack): Define.
	(mips_opts_stack): New static variable.
	(s_mipsset): Add support for .set push and .set pop.
	* doc/c-mips.texi: Document .set push and .set pop.
1997-03-28 19:18:11 +00:00
Ian Lance Taylor
acdc7ce30e * config/obj-elf.c (obj_elf_section_change_hook): New function.
* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
	* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
1997-03-28 18:10:09 +00:00
Ian Lance Taylor
e22e79dc43 * as.c (parse_args): Update copyright date in version message. 1997-03-27 22:13:23 +00:00
Ian Lance Taylor
9b8b7e970e * Makefile.in (clean-here): Remove dependency files. 1997-03-27 18:52:00 +00:00
Ian Lance Taylor
23ac3ca1f0 * read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
(s_mri_common): Check S_IS_COMMON unconditionally.
	* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
	* config/tc-alpha.c (s_alpha_comm): Likewise.
	* config/tc-mips.c (nopic_need_relax): Likewise.
	* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
	(ppc_pe_comm): Likewise.
	* config/obj-elf.c (obj_elf_common): Likewise.  Set segment of
	common symbol to bfd_com_section_ptr.
	* config/tc-sparc.c (s_common): Likewise.
	(tc_gen_reloc): Likewise.
1997-03-27 17:31:06 +00:00
Martin Hunt
80834add01 Thu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (md_apply_fix3): Get the relocs right.
1997-03-27 08:41:18 +00:00
Ian Lance Taylor
8cd0c287b0 * listing.c (print_lines): Add lineno parameter. Change all
callers.
	(listing_listing): Only call calc_hex for the right line.
	(listing_list): Set the new edict based on the current edict, in
	order to handle listing commands in macros correctly.
1997-03-26 22:26:14 +00:00
Ian Lance Taylor
734a9064b6 Wed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
	BFD_ASSEMBLER.
1997-03-26 18:36:17 +00:00
Ian Lance Taylor
e807a57e6f * config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
instructions.
1997-03-26 17:23:34 +00:00
Ian Lance Taylor
efda47f9ff * cond.c (cond_finish_check): New function.
* as.h (cond_finish_check): Declare.
	* as.c (main): Call cond_finish_check.
1997-03-26 16:38:42 +00:00
Martin Hunt
710fdf4735 Tue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (md_assemble): If two instructions
	are supposed to be assembled in parallel and the first one is
	long, print an error and stop.
	(md_apply_fix3): Don't calculate absolute relocs.  Just write
	them out.
1997-03-25 22:49:26 +00:00
Ian Lance Taylor
2fb44892b1 * config/tc-i386.h (iclrKludge): Define.
* config/tc-i386.c (md_assemble): Handle iclrKludge.
1997-03-24 19:37:05 +00:00
Ian Lance Taylor
1361ba7757 * config/tc-alpha.h (tc_frob_file_before_adjust): Define if
OBJ_ECOFF.
	(alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
	* config/tc-alpha.c (alpha_debug): New static variable.
	(md_parse_option): Set alpha_debug if -g is seen.
 	(alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
1997-03-24 17:14:06 +00:00
Martin Hunt
9c9e75bf03 Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (build_insn): Enable range-checking code.
	(postfix): Stop at space or comma. Fixes PR 11862.
	(md_assemble): Change error message.
1997-03-24 02:26:54 +00:00
Ian Lance Taylor
65d7de4fc2 * Makefile.in: Added automatic dependency building.
* dep-in.sed: New file.
1997-03-22 18:53:01 +00:00
Ian Lance Taylor
7cad1a894b * config/obj-ieee.c (segment_name): Don't define function if this
is a macro.
1997-03-21 23:52:29 +00:00
Ian Lance Taylor
f062ec459f * config/obj-coff.h (DO_STRIP): Don't define.
* config/tc-h8300.h (DO_STRIP): Don't define.
	* config/tc-h8500.h (DO_STRIP): Don't define.
	* config/tc-w65.h (DO_STRIP): Don't define.
	* config/tc-z8k.h (DO_STRIP): Don't define.
1997-03-21 23:13:26 +00:00
Ian Lance Taylor
a71dc20461 * symbols.c (colon): Call obj_frob_label if it is defined.
* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
1997-03-21 23:06:08 +00:00