Commit Graph

21272 Commits

Author SHA1 Message Date
Andrew Cagney
452b380811 Fix double dependency for itable.[hc]. Was causing both the mips16 and the
normal mips simulators to be built.
1998-02-07 06:24:51 +00:00
Nick Clifton
8b6dcc1bb9 Do not initialise private data in output BFD if the input BFD is the default
architecture - instead allow future merges to do this.
1998-02-07 01:06:49 +00:00
Jason Molenda
b67a3a96ad Add automake and libtool as things to keep around. 1998-02-07 00:40:28 +00:00
Frank Ch. Eigler
fba9bfed2d - Added almost all code needed for PKE0/1 simulation. Considers
clarifications given in SCEI question/answer batches #1 and #2.
1998-02-07 00:12:14 +00:00
Jason Molenda
4434e2dc4e Sun Jul 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
* m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
        (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
        (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
        because floating-point values return via %fp0.
        (CLEAR_INSN_CACHE): New macro.
        * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
        to use DOUBLEST.
        (REGISTER_CONVERT_TO_RAW): Ditto.
        * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
        call it after having written in child process's memory.
        * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
        (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
1998-02-06 23:27:06 +00:00
Michael Meissner
ca1a4060b1 Move code from branch 1998-02-06 23:21:00 +00:00
Jeff Law
4cb366740e * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
override.
        (TARGET_LONG_LONG_BIT): Likewise.
        (TARGET_PTR_BIT): Likewise.
start-sanitize-r5900
        * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
end-sanitize-r5900
1998-02-06 23:18:29 +00:00
Ian Lance Taylor
eb0a94a173 more tweaks 1998-02-06 23:14:42 +00:00
Jeff Law
6766132db9 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
the argument to bfd_set_arch_mach.
        (load_address): Use bfd_arch_bits_per_address to determine the
        bit size of an address instead of looking at the isa level.
        (macro, macro2, s_cprestore, s_cpadd): Likewise.
1998-02-06 23:11:01 +00:00
Nick Clifton
75172c0f50 Do not generate an error message when merging v850 code into v850e/v850ea code. 1998-02-06 22:53:35 +00:00
Nick Clifton
3cb46b33bb Add -mv850any command line option for PR 14732 1998-02-06 22:47:04 +00:00
Doug Evans
5f3ba16b71 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
* config/mips/txvu.mt (SIM): txvu -> mips.
1998-02-06 22:39:18 +00:00
Jeff Law
bb1fd71fc5 Add missing sanitize markers in last ChangeLog entry. 1998-02-06 22:35:05 +00:00
Jeff Law
6f84b00f99 * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. 1998-02-06 22:30:45 +00:00
Jeff Law
9b47bc23b8 * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR
get the size from bfd_arch_bits_per_address instead of directly
        from the isa.
1998-02-06 18:50:34 +00:00
Ian Lance Taylor
5587a091de * alpha.c (alpha_Instruction): Use int, not signed. 1998-02-06 17:04:19 +00:00
Jeff Law
ed302e5ddf * core.c (core_init): Adding missing "break". 1998-02-06 08:58:31 +00:00
Andrew Cagney
608addd440 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
D10V_CONVERT_DADDR_TO_RAW): Define.
	* d10v-tdep.c (d10v_push_arguments): Re-write.  Pass arguments in
 	registers, regardless of their size, when they fit.
1998-02-06 07:26:11 +00:00
Ian Lance Taylor
1430b6ed3a improvements 1998-02-06 06:54:01 +00:00
Andrew Cagney
9961ca7ab5 o Update GDB to match changes to d10v abi (ARG1 in r0 instead of r2).
o Fix code assuming that host/target were both bigendian.
o Replace d10v push dummy frame code with version using new common
  generic generic version.
o Find/fix more cases where a value needs to be translated to/from
  instruction (IMAP) or data (DMAP) spaces.
1998-02-06 04:09:35 +00:00
Ian Lance Taylor
ffd652c313 * ehopt.c: New file.
* as.h (enum _relax_state): Add rs_cfa.
	(check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
	(eh_frame_relax_frag, eh_frame_convert_frag): Declare.
	* read.c (emit_expr): Call check_eh_frame.
	* write.c (cvt_frag_to_fill): Handle rs_cfa.
	(relax_segment): Likewise.
	* Makefile.am: Rebuild dependencies.
 	(GAS_CFILES): Add ehopt.c.
	(GENERIC_OBJS): Add ehopt.o.
	* doc/internals.texi (Frags): Document rs_cfa.

	* as.c (show_usage): Mention --traditional-format.
	(parse_args): Accept --traditional-format.
	* as.h (flag_traditional_format): Declare.
	* output-file.c (output_file_create): If flag_traditional_format,
	set BFD_TRADITIONAL_FORMAT on stdoutput.
	* doc/as.texinfo, doc/as.1: Document --traditional-format.
1998-02-06 03:42:05 +00:00
Andrew Cagney
44d33d559e New function, generic_pop_current_frame(), targets point POP_FRAME at
this.
1998-02-06 03:35:00 +00:00
Doug Evans
f3534b6867 sky sanitization 1998-02-06 03:27:55 +00:00
Andrew Cagney
93854f7c7c Get overlay testsuite to work on m32r when image is being built with a
small data section (.sdata): Force _novrly variable into .data; stop
test variables being put into .sdata.
1998-02-06 03:26:11 +00:00
Doug Evans
5759734b2c * Makefile.in (SIM_SKY_OBJS,MIPS_EXTRA_OBJS): New vars.
(SIM_OBJS): Add $(MIPS_EXTRA_OBJS).
	* configure.in: Set mips_extra_objs to sky files if mips64r59*-sky-*.
	* configure: Regenerated.
1998-02-06 03:19:56 +00:00
Doug Evans
72db5610de Prepend sky- to sky header file names. 1998-02-06 03:11:44 +00:00
Andrew Cagney
1931ea8d43 When starting a new simulator run, ensure proceed status is cleared. 1998-02-06 03:09:59 +00:00
Doug Evans
803f52b9dc Second pass at moving sky files into mips dir,
prepend sky- to all #include's of sky headers.
1998-02-06 03:09:03 +00:00
Ian Lance Taylor
b073d4281c * config/tc-mips.c (append_insn): Make sure that if we have a
fixup for an unmatched %hi reloc, it does not associated with a
	variant frag.
1998-02-06 03:08:45 +00:00
Doug Evans
0b0caaf11b delete txvu/dvp/sky stuff, lives in mips dir now, configured with
mips64r5900-sky-elf.
1998-02-06 02:42:34 +00:00
Doug Evans
aea481da17 First pass at moving sky stuff from ../txvu to mips dir. 1998-02-06 02:29:22 +00:00
Doug Evans
587c41ae20 Delete txvu stuff.
Delete last change that made sim build under dvp-elf.
1998-02-06 01:58:48 +00:00
Jason Molenda
8d743926f4 * top.c (do_nothing): Remove signal handler after signal is caught.
Helpful for SYSV systems where two ^-\s will cause problems.  Should have
no effect on BSD systems.
1998-02-06 01:22:01 +00:00
Jason Molenda
df419eec9c * top.c (do_nothing): Remove signal handler after signal is caught.
Helpful for SYSV systems where two ^-\s will cause problems.  Should have
no effect on BSD systems.
1998-02-06 01:16:56 +00:00
Jason Molenda
db5d8d390b * configure.in (host_tools, native_only): Add libtool. 1998-02-06 01:10:10 +00:00
Michael Meissner
942738d396 Repeat/repeati are pc-relative 1998-02-05 23:01:37 +00:00
Andrew Cagney
8c9ee21e2f New files, update .Sanitize 1998-02-05 22:08:33 +00:00
Doug Evans
61b62559ba * cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
(SEM_INSN): New macro.
1998-02-05 21:29:18 +00:00
Doug Evans
d542677191 Sanitize m32rx from cpu.h and m32r-sim.h. 1998-02-05 21:16:08 +00:00
Doug Evans
b8a9943dd4 * Makefile.in (m32r.o): Depend on cpu.h
(extract.o): Pass -DSCACHE_P.
	* mloop.in (extract{16,32}): Update call to m32r_decode.
	* arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate.
	* extract.c,model.c,sem-switch.c,sem.c: Regenerate.
	* sim-main.h: #include "ansidecl.h".
	Don't include cpu-opc.h, done by arch.h.
start-sanitize-m32rx
	* Makefile.in (M32RX_OBJS): Build m32rx support now.
	(m32rx.o): New rule.
	* m32r-sim.h (m32rx_h_cr_[gs]et): Define.
	* m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC.
	(m32rx_h_accums_get): New function.
	* mloopx.in: Update call to m32rx_decode.  Rewrite exec loop.
	* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
end-sanitize-m32rx
1998-02-05 21:01:06 +00:00
Ian Lance Taylor
5bd5a5c7a2 * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
From Thomas de Lellis <tdel@wrs.com>.
1998-02-05 20:40:06 +00:00
Ian Lance Taylor
1f2864765c * coff-i386.c (coff_pe_i386_relocate_section): New static function
if COFF_WITH_PE.
	(coff_relocate_section): If COFF_WITH_PE, define as
	coff_pe_i386_relocate_section.
	* coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE,
	skip empty sections, to match coff_write_object_contents.
1998-02-05 20:25:31 +00:00
Michael Snyder
d9ba1c3faf Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (tracepoint_operation): call free_actions instead
        of free.  (free_actions): eliminate some memory leaks for actions.
        (validate_actionline): pass string arg by reference, so we can
        change the pointer.  Change all memrange collection arguments to
        canonical form (literal address and size), to enforce early
        evaluation.  Accept UNOP_MEMVAL (assembly variables) for
        trace collection.  (parse_and_eval_memrange): accept expressions
        for the address and size fields of a memrange (and evaluate
        them immediately).  (several places): use -1 instead of zero
        to distinguish an absolute memrange from a register-relative one.
        (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
1998-02-05 20:13:58 +00:00
Michael Meissner
b494ec3e81 Do not allow BFD_ALIGN to wrap 1998-02-05 19:38:28 +00:00
Michael Meissner
29b7118aec Do not allow BFD_ALIGN to wrap 1998-02-05 19:29:29 +00:00
Ian Lance Taylor
fa1a1b3235 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1998-02-05 17:50:44 +00:00
Ian Lance Taylor
a52052dbac * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
* doc/Makefile.in: Likewise.
1998-02-05 17:45:32 +00:00
Ian Lance Taylor
12e0afe57b * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1998-02-05 17:24:24 +00:00
Ian Lance Taylor
4ea6538794 * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend,
rather than swapping out r_offset twice.  From Luke Deller
 	<luked@cse.unsw.edu.au>.
1998-02-05 16:52:22 +00:00
Jason Molenda
c7bb1531b8 * Makefile.in (SFILES): add tracepoint.c.
(LINTFILES): add @CONFIG_SRCS@.
        (SOURCES): Ditto.
        * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
        * configure: Regenerated.
1998-02-05 01:47:26 +00:00