Commit Graph

3132 Commits

Author SHA1 Message Date
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
David Edelsohn
9f719a5652 m32r support. 1997-04-05 00:09:41 +00:00
Ian Lance Taylor
5c57b91389 * gas/all/float.s: Put a tab before .text, to keep the PA happy. 1997-04-04 22:50:43 +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
8d5f01200f * gas/arm/arm.exp: Only run inst and arm7t on targets which can
handle -EL.  Add setup_xfail for thumb.
1997-04-04 21:57:17 +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
452eaaca83 * gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits. 1997-04-04 18:24:03 +00:00
David Edelsohn
8d89f3af98 * gas/m32r/allinsn.{exp,s.d}: New testcases. 1997-04-04 02:27:27 +00:00
David Edelsohn
4293fe5c65 m32r "allinsn" testcases 1997-04-04 02:26:33 +00:00
David Edelsohn
a7d373e51e Keep m32r. 1997-04-03 23:25:42 +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
8c0714dc0d Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30.exp: Add test case reloc.
	* reloc.[sd]: New files to test relocations.
1997-03-27 08:44:55 +00:00
Martin Hunt
e35ed894f7 Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* gas/d30v/d30.exp: Add test case reloc.
	* gas/d30v/reloc.[sd]: New files to test relocations.
1997-03-27 08:44:39 +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
2c268a8551 Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* 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:27:09 +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