Commit Graph

21367 Commits

Author SHA1 Message Date
Andrew Cagney
93c6a010dc Test switching between SPI/SPU. 1998-02-13 05:19:02 +00:00
Doug Evans
d04b9852c0 Beginnings of m32r simulator testsuite. 1998-02-13 03:16:48 +00:00
Doug Evans
6dc224fb87 Keep m32r-elf. 1998-02-13 03:01:10 +00:00
Doug Evans
ad87e8651b * cgen.h (lookup_insn): New argument alias_p.
* dvp.h (VU_FLAG_[IEMDT]): New macros.
1998-02-13 02:33:26 +00:00
Doug Evans
bf59c0544d tweak last entry 1998-02-13 02:31:33 +00:00
Doug Evans
390bd87dba * cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Ignore ALIAS insns if asked to.
	(@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
	* m32r-opc.c: Regenerate.
1998-02-13 02:31:10 +00:00
Doug Evans
a7dead174d (vu_operands): New element UFLAGS.
(parse_uflags,print_uflags): New functions.
	(vu_upper_opcodes): Add UFLAGS to all insns.
1998-02-13 01:48:16 +00:00
Doug Evans
7e9e43bb2c * gas/dvp/upper-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.
1998-02-13 01:44:29 +00:00
Doug Evans
7caa749767 Regenerate with less verbose operand instance tables. 1998-02-13 01:18:09 +00:00
Ian Lance Taylor
7abc6c55ba * gasp/macro.out: Adjust to reflect the fact that keyword
arguments are now permitted after positional arguments.
1998-02-13 01:13:15 +00:00
Ian Lance Taylor
618ea80814 Based on patches from Ross Harvey <ross@teraflop.com>:
* macro.c (ISSEP): Only treat '<' and '>' as separator characters
	if macro_alternate or macro_mri.
	(getstring): Remove support for byte constants between < and >.
	(get_any_string): '<' only starts a string if macro_alternate or
	macro_mri.
	(macro_expand_body): Permit keyword parameters following
	positional parameters.
1998-02-13 01:09:32 +00:00
Ian Lance Taylor
f53bcd0a9c NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* netbsd.h (MACHTYPE_OK): Define.
	(MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when
	calling N_SET_MACHTYPE, rather than having a switch.
	* libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD,
	and M_ALPHA_NETBSD.
	* i386netbsd.c (MACHTYPE_OK): Don't define.
	(DEFAULT_MID): Define.
	* m68k4knetbsd.c (SEGMENT_SIZE): Don't define.
	(MACHTYPE_OK): Don't define.
	(DEFAULT_MID): Define.
	* m68knetbsd.c: (MACHTYPE_OK): Don't define.
	(DEFAULT_MID): Define.
	* ns32knetbsd.c (MACHTYPE_OK): Don't define.
	(DEFAULT_MID): Define.
	* sparcnetbsd.c (MACHTYPE_OK): Don't define.
	(DEFAULT_MID): Define.
1998-02-13 00:11:41 +00:00
Ian Lance Taylor
71468d841e * scripttempl/elf.sc: Align the _end symbol according to the ELF
format size.  From Gordon W. Ross <gwr@mc.com>.
1998-02-13 00:00:55 +00:00
Ian Lance Taylor
c5eea47348 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.host (alpha*-*-netbsd*): New host.
	* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
	targets.
1998-02-12 23:14:33 +00:00
Ian Lance Taylor
69d0b6d3d0 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.in (alpha*-*-netbsd*): New target.
	* config/te-nbsd.h (LOCAL_LABELS_FB): Define.
	* configure: Rebuild.
1998-02-12 23:12:45 +00:00
Ian Lance Taylor
eee4e8ca3e NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* vaxnetbsd.c: New file.
	* netbsd-core.c: Clean up.  Remove unused macros.  Use netbsd
	rather than netbsd_core.
	* targets.c (vaxnetbsd_vec): Declare.
	(bfd_target_vector): Add vaxnetbsd_vec.  If NETBSD_CORE is
	defined, add netbsd_core_vec.
	* configure.in: Set COREFILE for alpha*-*-netbsd* and
	powerpc-*-netbsd* to netbsd-core.lo.  If COREFILE is
	netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
	* config.bfd (alpha*-*-netbsd*): New target.
	* Makefile.am: Rebuild dependencies.
 	(BFD32_BACKENDS): Add vaxnetbsd.lo.
	(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
	* configure, Makefile.in: Rebuild.
1998-02-12 23:03:13 +00:00
Ian Lance Taylor
1b9bf4a503 * as.h (flag_warn_suppress_instructionswap): Move from here...
* config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
	here, and make static.
1998-02-12 21:46:32 +00:00
Ian Lance Taylor
5d8acc9de1 * getopt.h: Update to latest FSF version. 1998-02-12 21:29:17 +00:00
Frank Ch. Eigler
a469b84c3b * Changed MIPS monitor interface code to be tolerant of slightly
different IDT/sim 6.0 behavior.  Extra time and laxness is alloted
  for monitor entry and exit.
1998-02-12 21:28:52 +00:00
Ian Lance Taylor
8642a20358 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
BFD_ASSEMBLER or MANY_SEGMENTS.
1998-02-12 21:22:04 +00:00
Ian Lance Taylor
9a455e6bd6 * deflex.l: Accept '?' in symbol names, for VC++ mangled names.
From Mikey <jeffdb@netzone.com>.
1998-02-12 20:53:49 +00:00
Ian Lance Taylor
46b6795a39 Thu Feb 12 15:03:08 1998 H.J. Lu <hjl@gnu.org>
* ltmain.sh (mkdir): Check that the directory doesn't exist
	before we exit with error, so that we don't get races during
	parallel builds.
1998-02-12 20:05:58 +00:00
Ian Lance Taylor
6590e0d571 * gprof.c (usage): Update bug-gnu-utils address. 1998-02-12 19:36:41 +00:00
Ian Lance Taylor
eaa147a640 * addr2line.c (usage): Update bug-gnu-utils address.
* ar.c (usage): Likewise.
	* nlmconv.c (show_usage): Likewise.
	* nm.c (usage): Likewise.
	* objcopy.c (copy_usage): Likewise.
	(strip_usage): Likewise.
	* objdump.c (usage): Likewise.
	* size.c (usage): Likewise.
	* strings.c (usage): Likewise.
	* windres.c (usage): Likewise.
	* binutils.texi (Bug Reporting): Likewise.
1998-02-12 19:19:33 +00:00
Ian Lance Taylor
b95ad8c8e7 * lexsup.c (help): Update bug-gnu-utils address.
* ld.texinfo (Bug Reporting): Likewise.
1998-02-12 19:12:02 +00:00
Ian Lance Taylor
43448efe7d * as.c (show_usage): Update bug-gnu-utils address.
* gasp.c (show_usage): Likewise.
	* doc/as.texinfo (Bug Reporting): Likewise.
1998-02-12 19:09:49 +00:00
Doug Evans
a45cf1c5cf * dvp.opc.c: Nicely format opcode tables. 1998-02-12 19:04:15 +00:00
Ian Lance Taylor
23b6505c78 update bug-gnu-utils address 1998-02-12 18:35:59 +00:00
James Lemke
be0ed38bef Improve my ChangeLog etiquette. 1998-02-12 15:08:57 +00:00
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
Andrew Cagney
9df3ba709f * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
accumulators.
1998-02-12 07:32:58 +00:00
Andrew Cagney
9308792034 For d10v, do not sign-extend pointers. 1998-02-12 06:21:12 +00:00
Andrew Cagney
dd0ce8f668 Add a new target specific protocol `target d10v' implemented in
remote-d10v.c.  It has an xfer_mem function that can translate a d10v
GDB address into a d10v monitor address.
1998-02-12 05:48:23 +00:00
Andrew Cagney
b6b48d0313 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
on-chip insn memory and IMAP1 to upper 128k.
        (D10VCopy): Handle memory regions crossing 16k boundaries.
        (D10VCopy): Transfer data in 32 bit chunks.
1998-02-12 05:09:25 +00:00
Andrew Cagney
0c3ab0a169 Remote protocol for d10v. Mainly responsible for translating GDB d10v
addresses into those expected by the remote d10v monitor.
1998-02-12 04:20:07 +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
02e565a270 * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now. 1998-02-12 03:55:30 +00:00
Doug Evans
b2f9c13cb7 Regenerated to use correct symbol concat macro. 1998-02-12 03:28:18 +00:00
Doug Evans
ab0bd0493a * cgen-opc.in: New file.
* cgen.sh: Translate @ARCH@.  Cat cgen-opc.in into @arch@-opc.c.
	* Makefile.am (CGENFILES): Add cgen-opc.in.
	* Makefile.in: Regenerate.

	* cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain.
	(cgen_hw_lookup): Make result const.

	* cgen-dis.in (*): Use PTR instead of void *.
	(print_insn): Delete unused vars `i', `syntax'.

	* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.
1998-02-12 03:13:21 +00:00
Doug Evans
e0bd6e186c * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.
* cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.
1998-02-12 02:54:20 +00:00
Doug Evans
42d56c40a2 * cgen.h (CGEN_FIELDS): Define here.
(CGEN_HW_ENTRY): New member `type'.
	(hw_list): Delete decl.
	(enum cgen_mode): Declare.
	(CGEN_OPERAND): New member `hw'.
	(enum cgen_operand_instance_type): Declare.
	(CGEN_OPERAND_INSTANCE): New type.
	(CGEN_INSN): New member `operands'.
	(CGEN_OPCODE_DATA): Make hw_list const.
	(get_insn_operands,lookup_insn): Add prototypes for.
1998-02-12 01:42:43 +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
Richard Henderson
ba47566751 * tekhex.c (tekhex_write_object_contents): Call tekhex_init.
PR 14804
1998-02-12 01:12:14 +00:00
Doug Evans
9eb30eaa1d * gas/dvp/{*}: .text renamed to .vutext.
* gas/dvp/vif-1.[sd]: Renamed from pke-1.[sd].
1998-02-12 01:10:22 +00:00
Doug Evans
2acf55ff6c * symcat.h: New file. 1998-02-12 00:58:27 +00:00
Richard Henderson
a699db2270 * read.c (s_fill): Handle non-constant repeat counts by creating
an rs_space fragment.

PR 14940
1998-02-12 00:27:08 +00:00
Doug Evans
95effc2b25 update copyright date 1998-02-12 00:11:47 +00:00
Doug Evans
b4cbabb879 (insert_operand): Bring over possible change from branch. 1998-02-11 23:40:43 +00:00
James Lemke
5d5a459fd1 Update DMA register addresses 1998-02-11 23:19:52 +00:00
Andrew Cagney
e0deacd295 * sim-load.c (sim_load_file): Print LMA/VMA according to value
used.
1998-02-11 21:10:23 +00:00