Commit Graph

21425 Commits

Author SHA1 Message Date
Doug Evans
1e796e1d54 * gas/dvp/{basic-1,lower-1,upper-1,upper-2}.d: Update to remove dest
spec on operands.
1998-02-18 02:46:36 +00:00
Richard Henderson
a3a4bb5d4a * objcopy.c (compare_section_lma): Rename from _vma.
(copy_object): Gap fill based on LMA not VMA.
	* binutils.texi: Update and clarify.
	* objcopy.1: Likewise.

PR 14917
1998-02-18 02:45:07 +00:00
Doug Evans
0c22a4c125 remove #ifdef HAVE_CPU_M32RX uses. tweak some comments 1998-02-18 02:31:57 +00:00
Doug Evans
b8641a4d20 * Makefile.in (M32R_OBJS): Add cpu.o.
(cpu.o): Add rule for.
	(NL_TARGET): Define.
	* configure.in: Add AC_CHECK_PROG(SCHEME).
	* cpu.c: New file.
	* cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
	* sem-switch.c,sem.c: Regenerate.
	* mloop.in (execute): Update call to semantic fn.
	(M32RX_OBJS): Add cpux.o.
	(cpux.o): Add rule for.
	cpux.c: New file.
	* cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
	* m32rx.c (m32rx_h_accums_{get,set}): Rewrite.
	(m32rx_h_cr_{get,set}): New functions.
	(m32rx_h_accums_{get,set}): New functions.
	* mloopx.in: Rewrite main loop.

	* m32r.c (do_trap): Move from here.
	* sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
	(sim_create_inferior): Use h_pc_set.
	(h_pc_{get,set}): New functions.
	(h_gr_{get,set}): New functions.
	(syscall_{read,write}_mem): New functions.
	* sim-main.h (h_{gr,pc}_{get,set}): Declare.
1998-02-18 02:26:47 +00:00
Doug Evans
5bd0ca8616 * Make-common.in (CGEN_MAIN_SCM): Update.
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.
1998-02-18 02:05:54 +00:00
Ian Lance Taylor
c9b3e42e6b * dlltool.c (make_one_lib_file): Don't add 1 to hint. 1998-02-18 01:34:41 +00:00
Doug Evans
4f071e3056 * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
(SEMANTIC_FN): Rewrite declaration.
	(DECODE): Update type of semantic_fast member.
	({EX,SEM}_FN_NAME): Have only one version.
	* cgen.sh: Support building cpu.c.
	* sim-base.h (sim_state_base): Delete conditionals surrounding
	member scache_size.
1998-02-18 01:30:04 +00:00
Doug Evans
b02643b554 * Makefile.am (CGENFILES): Update.
* Makefile.in: Regenerate.
	* cgen-asm.in (insert_normal): Result is error message now.
	Validate value to be inserted.
	(insert_insn_normal): Result is error message now.
	(@arch@_cgen_assemble_insn): Update.
	* cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max
	arguments.  Don't perform validation here.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.
1998-02-18 01:26:15 +00:00
Doug Evans
652af042db * cgen.h (cgen_insert_fn): Change type of result to const char *.
(cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.
1998-02-18 00:02:27 +00:00
Ian Carmichael
374ed20d80 * XGKICK now uses memory-based GIF fifo. 1998-02-17 23:50:35 +00:00
Frank Ch. Eigler
f8611801b1 * remote-mips.c (mips_request): Use unsigned long during parsing
returned value from monitor, to prevent accidental sign extension.
1998-02-17 23:14:57 +00:00
Jason Molenda
dd60073596 Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
        * configure.in: Ditto.
        * configure: Regenerated.

Tue Feb 17 14:07:34 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>

        * gdbtypes.c (check_typedef): Do not try to resolve the length of
        a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
        set TYPE_FLAG_TARGET_STUB as well.



Patches from Peter.
1998-02-17 22:42:02 +00:00
Doug Evans
761784f055 keep config, lib, sim. 1998-02-17 22:05:11 +00:00
Doug Evans
fdad7ba5a2 * config/default.exp: New file.
* lib/sim-defs.exp: New file.
	* sim/m32r/*: m32r dejagnu simulator testsuite.
1998-02-17 21:58:11 +00:00
Doug Evans
6b47885968 keep m32r 1998-02-17 21:54:07 +00:00
Doug Evans
6b35d9dd89 m32r simulator testsuite 1998-02-17 21:52:53 +00:00
Doug Evans
ed063d525f * Makefile.in (build_alias): Define.
(arch): Define.
	(RUNTEST_FOR_TARGET): Delete.
	(RUNTEST): Fix.
	(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define.
	(check): Depend on site.exp.
	(site.exp): New target.
	(cgen): New target.
	* configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen.
	(arch): Define from target_cpu.
	* configure: Regenerate.
1998-02-17 20:54:50 +00:00
Michael Meissner
9902213101 Better tracing for conditional branches 1998-02-17 19:38:48 +00:00
Ian Lance Taylor
5290378abc * libbfd.c (bfd_seek): If fseek fails, save errno around call to
bfd_tell.  If errno is EINVAL, set bfd_error_file_truncated, not
	bfd_error_system_call.
1998-02-17 18:02:55 +00:00
Andrew Cagney
bccb2e7f89 Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returned
register size.
1998-02-17 04:28:00 +00:00
Andrew Cagney
fbb8b6b9ab For sim_fetch_register / sim_store_register: Add LENGTH parameter,
return actual size of register, 0 if not applicable, -1 of legacy
implementation.
1998-02-17 04:06:38 +00:00
Ian Carmichael
c5efcf3c85 * Added VU0_CIA register #define. 1998-02-16 22:09:57 +00:00
Ian Carmichael
04a7f72aea * Add magic VU1_CIA register. 1998-02-16 22:07:11 +00:00
Ian Carmichael
9c577d9a94 * Partially implement new VPE_STAT register. 1998-02-16 21:44:45 +00:00
Nick Clifton
b86c0dd361 Only parallelise instructions when assembling for the m32rx, and when
neither instruction is relaxable.
1998-02-16 20:30:58 +00:00
Ian Lance Taylor
38c82baf63 fix 5900 in Makefile.am 1998-02-16 17:25:52 +00:00
Andrew Cagney
6c3beaaf21 Make `target d10v'' and `target remote'' equivalent.
Hack remote.c so that xfer_memory calls a memory translate function.
1998-02-16 09:17:07 +00:00
Ron Unrau
7aa6042f58 configure: rerun autoconf
interp.c: shield dummy vu registers with -DTARGET_SKY
1998-02-16 04:33:28 +00:00
Andrew Cagney
729295b597 Implement "dbt" and "rtd" instructions.
Import fixes to dmap_addr() from mitsu branch.
1998-02-16 00:35:57 +00:00
Andrew Cagney
b104806fd3 Test the RDT and DBT instructions. 1998-02-15 23:21:19 +00:00
Ron Unrau
97908603a4 configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.
sim-main.h: Define regs for sky if -DTARGET_SKY
interp.c: Initial register upload/download support for sky.
1998-02-15 21:33:13 +00:00
Ron Unrau
678fa7ffe3 parse.c (write_dollar_variable): call new function target_map_name_to_register
so that targets can define their own register name aliases.
infcmd.c (registers_info): call target_map_name_to_register so that
	"print $reg" and "info reg $reg" share the same register alias set.
mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers
	can be printed separately.
txvu-tdep.c: print registers according to current CPU context.
tm-txvu.h: define SKY registers and conditionalize register interpretation
	macros.
txvu.mt: Don't bother building remote-mips.o for sky target.
1998-02-15 21:30:02 +00:00
Ian Carmichael
486c714a26 * Vu1 state moved to struct. Host-target endian twiddling. Misc other fixes. 1998-02-14 05:34:08 +00:00
Michael Meissner
77cfb0a136 TIC80 uses little endian doubles, not big endian 1998-02-14 00:59:44 +00:00
Stan Shebs
8970f2fd36 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
* config/i386/xm-i386mk.h: Fix an include.
	* config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
1998-02-14 00:49:47 +00:00
Stan Shebs
67d8c3aa30 micro-cleanup 1998-02-14 00:38:57 +00:00
Frank Ch. Eigler
db6dac32c7 - PKE simulation almost finished. Needed enhancements:
* trace file generation
  * FIFO pruning

- PKE functions still missing due to external dependencies:
  * interrupt to 5900 (igen?)
  * VU busy checking (sky-vu / coprocessor registers)
  * PATH3 masking (sky-gpuif / covert control interface)
1998-02-13 23:29:38 +00:00
Nick Clifton
62e89e48a4 Fix tests to match latest version of the assembler. 1998-02-13 22:46:09 +00:00
Nick Clifton
c9cec4ef98 Do not bother checking the operands of instructions which have no operands! 1998-02-13 22:45:14 +00:00
Doug Evans
bed9a23ccd Fix comment. 1998-02-13 22:36:22 +00:00
Doug Evans
b2f1861292 * cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
operand instance list.
	* m32r-opc.c: Regenerate.
1998-02-13 22:35:43 +00:00
Michael Meissner
8114673a2b Pass floating point structure address instead of the structure itself 1998-02-13 22:12:51 +00:00
Nick Clifton
8e7a5a048a Reverted writes_to_pc() back to old version of code until PC operands are
supported by cgen.
1998-02-13 21:52:13 +00:00
Ian Lance Taylor
ba4da4fe4e * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
	* doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
	* doc/Makefile.in: Rebuild.
1998-02-13 21:48:00 +00:00
Ian Lance Taylor
d383cc5c5b * Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1998-02-13 21:39:55 +00:00
Ian Lance Taylor
251617280e * Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1998-02-13 19:55:14 +00:00
Ian Lance Taylor
004040c93b rebuild with new automake 1998-02-13 19:44:27 +00:00
Ian Lance Taylor
cf4ce8779a x 1998-02-13 18:39:49 +00:00
Mark Alexander
d31bae35d0 Oops, fix typo. 1998-02-13 18:34:46 +00:00
Mark Alexander
3ed34fca38 * mn10300-dis.c (print_insn_mn10300): Recognize break instruction. 1998-02-13 18:33:34 +00:00