Commit graph

24354 commits

Author SHA1 Message Date
Ian Lance Taylor
e9814417ab * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
file defines a symbol first mentioned in an ELF file.
1998-12-06 23:02:41 +00:00
Ian Lance Taylor
859a615e58 * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
possible, rather than only if BFD64.
	* elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT,
	not __GNUC__.
	* bfd-in2.h: Rebuild.
1998-12-06 22:14:30 +00:00
Ian Lance Taylor
fa06287137 * srec.c (srec_set_section_contents): Correct test to avoid
switching to 4 byte addresses after seeing a second section which
	requires 3 byte addresses.  From Joel Schantz
	<joel.schantz@argosys.boeing.com>.
1998-12-06 21:56:13 +00:00
Ian Lance Taylor
44be43971b * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
	* aclocal.m4: Rebuild with current tools.
	* configure: Rebuild.
1998-12-06 21:48:34 +00:00
Ian Lance Taylor
955e17b0de rebuild correctly 1998-12-06 21:37:41 +00:00
Ian Lance Taylor
4bd1816047 * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
1998-12-06 21:34:37 +00:00
Ian Lance Taylor
884949db64 * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
1998-12-06 21:31:24 +00:00
Ian Lance Taylor
bc99705349 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
an assertion failure for a case we can't handle when OBJ_ECOFF.
1998-12-06 20:10:52 +00:00
Ian Lance Taylor
0894cecfab * ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.
1998-12-06 19:09:24 +00:00
Ian Lance Taylor
db367261ca * strip.1: Fix typo (-V to -v). From Issei Hirayama
<iss@mail.wbs.or.jp>.
1998-12-06 18:28:53 +00:00
Ian Lance Taylor
2b6348fcaa * i386.h (i386_optab): Permit w suffix on processor control and
status word instructions.
1998-12-06 18:22:55 +00:00
Ian Lance Taylor
d11b289ba8 Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers1.c: Add missing return types and values.
	* ld-elfvers/vers2.c: Likewise.
	* ld-elfvers/vers3.c: Likewise.
	* ld-elfvers/vers4.c: Likewise.
	* ld-elfvers/vers5.c: Likewise.
	* ld-elfvers/vers6.c: Likewise.
	* ld-elfvers/vers7.c: Likewise.
	* ld-elfvers/vers9.c: Likewise.
	* ld-elfvers/vers15.c: Likewise.
1998-12-06 18:01:41 +00:00
Ian Lance Taylor
3885a41e32 * expr.c (operator): And with 0xff to avoid problems with signed
char.
1998-12-06 17:52:58 +00:00
Frank Ch. Eigler
8127139143 * gxtool silence tweak 1998-12-05 11:46:32 +00:00
Frank Ch. Eigler
3e99af1bae * gx prototype: simulator I/O bug fix
1998-12-05  Frank Ch. Eigler  <fche@elastic.org>
	* gx-translate.c (m32r_emit_short_insn): Correct ABI result
	handling for TRAP insn.
1998-12-05 10:32:12 +00:00
Doug Evans
1932239a58 (profile_print_addr_range): Pretty up output a little. 1998-12-05 08:47:32 +00:00
Doug Evans
0a18a6b8ad * configure.in: Call SIM_AC_OPTION_INLINE.
* configure: Regenerate.
	* sim-main.h: Protect against multiple inclusion.
	Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
	Done by cgen-sim.h now.
	* tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h.
	* cpuall.h: Regenerate.
	* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
	* mloop.in (extract16): Make static inline again.
	Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
	(extract32): Ditto.
	Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
	(execute): Test ARGBUF_PROFILE_P before profiling.
	Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
	* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
	* mloopx.in: Rewrite.
1998-12-05 08:09:18 +00:00
Doug Evans
b61e2e146a * cgen-defs.h: New file, old cgen-sim.h.
* cgen-sim.h: Simple header that includes others.
	* sim-arange.c: New file.
	* sim-arange.h: New file.
	* sim-basics.h: Include it.
	* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
	(sim-arange.o): Add rule for.
	* sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
	(sim_io_eprintf_cpu): Add prototype.
	* sim-inline.h (HAVE_INLINE): Define if GNUC.
	(INLINE2): New macro.
	(EXTERN_INLINE): New macro.
	* sim-module.c (sim_post_argv_init): Initialize cpu backlink
	before calling module init fns.
	* sim-profile.h (OPTION_PROFILE_*): Move into enum.
	(profile_init): New function.
	(profile_options): New option --profile-range.
	(profile_option_handler): Handle --profile-range.
	(profile_print_insn): Qualify address range specific section titles.
	(profile_print_addr_ranges): New function.
	(profile_info): Print address ranges if specified.
	(profile_install): Set profile_init init fn.
	* sim-profile.h (PROFILE_DATA): New member `range'.
	* sim-trace.c (trace_init): New function.
	(trace_options): New option --trace-range.
	(trace_option_handler): Handle --trace-range.
	(trace_install): Set trace_init init fn.
	* sim-trace.h (TRACE_DATA): New member `range'.
	* sim-utils.c (sim_cpu_msg_prefix): New function.
	(sim_io_eprintf_cpu): New function.
	* cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
	(PC_IN_PROFILE_RANGE_P): New macro.
	* cgen-trace.c (trace_insn_init): Set current_insn to NULL.
	(trace_insn_fini): New arg abuf.  All callers updated.
	Exit early if trace_insn not called.  Check ARGBUF_PROFILE_P before
	printing cycle counts.
	* cgen-trace.h (trace_insn_fini): Update prototype.
	(TRACE_RESULT_P): New macro.
	(TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf.  All callers updated.
	(TRACE_INSN): Check ARGBUF_TRACE_P.
	(TRACE_EXTRACT,TRACE_RESULT): New arg abuf.  All callers updated.
	* cgen-types.h (SIM_INLINE): Delete.
	(SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
	* cgen-utils.c: Don't include cgen-engine.h
	* genmloop.sh (@cpu@_fill_argbuf): New function.
	(@cpu@_fill_argbuf_tp): New function.
	(@cpu@_emit_before,@cpu@_emit_after): New functions.
	(@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
	(SET_CTI_VPC,SET_INSN_COUNT): Update.
	(@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
	doing profiling.  Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
	(@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
	doing profiling. Update call to TRACE_INSN_FINI.
1998-12-05 07:56:13 +00:00
Doug Evans
e8116eca81 * sim-memopt.c (sim_memory_uninstall): Result type is `void'. 1998-12-05 02:33:31 +00:00
Doug Evans
17f07639b4 address range support 1998-12-05 02:19:39 +00:00
Doug Evans
c8faefbe09 * fr30-opc.c: Regenerate. 1998-12-05 01:46:33 +00:00
Jim Blandy
71812ec59b *** empty log message *** 1998-12-04 23:24:21 +00:00
Jim Blandy
cc95a2d522 *** empty log message *** 1998-12-04 23:17:38 +00:00
Dave Brolley
ac1b0e6d01 Fri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-04 22:08:56 +00:00
Nick Clifton
24776ee006 Change default start address to 0x10000 so that it fits in 20 bits 1998-12-04 10:14:35 +00:00
Doug Evans
99c53aa9f6 * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
1998-12-04 08:22:27 +00:00
Jason Molenda
edc452d07d 1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (monitor_read_memory): Zero out pattern buffers
        before calling re_search.
        (parse_register_dump): Ditto.

PR 18049.  This bug had existed erratically since I upgraded to
the new gnu-regex.c this last summer.  The problem is mostly in
parse_register_dump; the allocated structure has some random values
in it and there is a flag set in the register_pattern structure by the
gnu-regex library which indicates that the values in the re_registers
should be trusted.

If those arbitrary contents aren't zero, gnu-regex tries to run realloc
on them and we get a core dump on some hosts for some targets when the
moon is just right.
1998-12-04 04:46:18 +00:00
Andrew Cagney
33ccdb1b97 * gen-engine.c (print_run_body): Prefix instruction_address. 1998-12-04 04:45:05 +00:00
Frank Ch. Eigler
beef5e777c * Test case for PR 18364, over from d30v branch.
1998-12-04  Frank Ch. Eigler  <fche@cygnus.com>
	* do-shifts.S: Update an older test case.
1998-12-04 04:17:08 +00:00
Stan Shebs
0d2ff0f12b * remote.texi: Changed wording that implied that the GDB remote
protocol caches register values instead of GDB itself.
1998-12-03 23:29:54 +00:00
Dave Brolley
2cf8f53cc9 Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/ld.cgs: Implement more loads.
	* sim/fr30/call.cgs: New testcase.
	* sim/fr30/testutils.inc (testr_h_dr): New macro.
	(set_s_user,set_s_system): New macros.
1998-12-03 22:38:13 +00:00
Dave Brolley
7862c6cfb2 Thu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-03 19:27:35 +00:00
Dave Brolley
3bf9790595 Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30: New Directory.
1998-12-03 19:22:56 +00:00
Nick Clifton
37b0c1aa72 Fix typo in orevious delta 1998-12-03 17:03:56 +00:00
Nick Clifton
2f53621405 change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48 1998-12-03 17:02:49 +00:00
Nick Clifton
a617cb0b12 Add support for R_FR30_48 reloc. 1998-12-03 16:53:03 +00:00
Zdenek Radouch
254ba53622 FR30 updates/checkpoint. 1998-12-03 15:40:00 +00:00
Zdenek Radouch
9357ae3468 fr30 update. 1998-12-03 15:37:08 +00:00
Zdenek Radouch
a7f32b781b Still some bogus code; checkpoint. 1998-12-03 15:36:26 +00:00
Zdenek Radouch
5198e74614 Still a lot of bogus code; just a checkpoint. 1998-12-03 15:35:40 +00:00
Nick Clifton
36b9061355 Updated to match latest assembler output. 1998-12-03 13:19:21 +00:00
Doug Evans
a73911a767 * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate. 1998-12-03 08:14:46 +00:00
Andrew Cagney
1c3cd1b020 Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
1998-12-03 05:34:25 +00:00
Stan Shebs
321d48c5b8 From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
	int return types.
1998-12-03 04:08:14 +00:00
Ulrich Drepper
b57b7d4c82 Update. 1998-12-03 02:00:20 +00:00
Ulrich Drepper
bd7be6b090 (process_mips_specific): Print .conflict section content. 1998-12-03 01:59:23 +00:00
Michael Snyder
a9d0b92329 Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-tdep.c (decode_prologue): If no branch or push fp is found,
        but there's a stack adjust, then use that as the end of prologue.
        (m32r_skip_prologue): don't skip past the first line if there is
        line info.  (m32r_virtual_frame_pointer): new function.
        (m32r_fix_call_dummy): no return value needed.
1998-12-03 00:50:54 +00:00
Ulrich Drepper
46be1c93d2 Update. 1998-12-02 23:38:04 +00:00
Ulrich Drepper
7922afa1da (process_mips_specific): Print l_flags in liblist in textual form. 1998-12-02 23:37:54 +00:00
Ulrich Drepper
46ab34a185 Add more LL_* options from Irix 6.5. 1998-12-02 23:36:56 +00:00