Ian Lance Taylor [Sun, 6 Dec 1998 21:48:34 +0000 (21:48 +0000)]
* configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
* aclocal.m4: Rebuild with current tools.
* configure: Rebuild.
Ian Lance Taylor [Sun, 6 Dec 1998 21:37:41 +0000 (21:37 +0000)]
rebuild correctly
Ian Lance Taylor [Sun, 6 Dec 1998 21:34:37 +0000 (21:34 +0000)]
* configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
Ian Lance Taylor [Sun, 6 Dec 1998 21:31:24 +0000 (21:31 +0000)]
* config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent
<aymeric.vincent@emi.u-bordeaux.fr>.
Ian Lance Taylor [Sun, 6 Dec 1998 20:10:52 +0000 (20:10 +0000)]
* 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.
Ian Lance Taylor [Sun, 6 Dec 1998 19:09:24 +0000 (19:09 +0000)]
* ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.
Ian Lance Taylor [Sun, 6 Dec 1998 18:28:53 +0000 (18:28 +0000)]
* strip.1: Fix typo (-V to -v). From Issei Hirayama
<iss@mail.wbs.or.jp>.
Ian Lance Taylor [Sun, 6 Dec 1998 18:22:55 +0000 (18:22 +0000)]
* i386.h (i386_optab): Permit w suffix on processor control and
status word instructions.
Ian Lance Taylor [Sun, 6 Dec 1998 18:01:41 +0000 (18:01 +0000)]
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.
Ian Lance Taylor [Sun, 6 Dec 1998 17:52:58 +0000 (17:52 +0000)]
* expr.c (operator): And with 0xff to avoid problems with signed
char.
Frank Ch. Eigler [Sat, 5 Dec 1998 11:46:32 +0000 (11:46 +0000)]
* gxtool silence tweak
Frank Ch. Eigler [Sat, 5 Dec 1998 10:32:12 +0000 (10:32 +0000)]
* 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.
Doug Evans [Sat, 5 Dec 1998 08:47:32 +0000 (08:47 +0000)]
(profile_print_addr_range): Pretty up output a little.
Doug Evans [Sat, 5 Dec 1998 08:09:18 +0000 (08:09 +0000)]
* 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.
Doug Evans [Sat, 5 Dec 1998 07:56:13 +0000 (07:56 +0000)]
* 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.
Doug Evans [Sat, 5 Dec 1998 02:33:31 +0000 (02:33 +0000)]
* sim-memopt.c (sim_memory_uninstall): Result type is `void'.
Doug Evans [Sat, 5 Dec 1998 02:19:39 +0000 (02:19 +0000)]
address range support
Doug Evans [Sat, 5 Dec 1998 01:46:33 +0000 (01:46 +0000)]
* fr30-opc.c: Regenerate.
Jim Blandy [Fri, 4 Dec 1998 23:24:21 +0000 (23:24 +0000)]
*** empty log message ***
Jim Blandy [Fri, 4 Dec 1998 23:17:38 +0000 (23:17 +0000)]
*** empty log message ***
Dave Brolley [Fri, 4 Dec 1998 22:08:56 +0000 (22:08 +0000)]
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.
Nick Clifton [Fri, 4 Dec 1998 10:14:35 +0000 (10:14 +0000)]
Change default start address to 0x10000 so that it fits in 20 bits
Doug Evans [Fri, 4 Dec 1998 08:22:27 +0000 (08:22 +0000)]
* cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
Jason Molenda [Fri, 4 Dec 1998 04:46:18 +0000 (04:46 +0000)]
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.
Andrew Cagney [Fri, 4 Dec 1998 04:45:05 +0000 (04:45 +0000)]
* gen-engine.c (print_run_body): Prefix instruction_address.
Frank Ch. Eigler [Fri, 4 Dec 1998 04:17:08 +0000 (04:17 +0000)]
* 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.
Stan Shebs [Thu, 3 Dec 1998 23:29:54 +0000 (23:29 +0000)]
* remote.texi: Changed wording that implied that the GDB remote
protocol caches register values instead of GDB itself.
Dave Brolley [Thu, 3 Dec 1998 22:38:13 +0000 (22:38 +0000)]
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.
Dave Brolley [Thu, 3 Dec 1998 19:27:35 +0000 (19:27 +0000)]
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.
Dave Brolley [Thu, 3 Dec 1998 19:22:56 +0000 (19:22 +0000)]
Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30: New Directory.
Nick Clifton [Thu, 3 Dec 1998 17:03:56 +0000 (17:03 +0000)]
Fix typo in orevious delta
Nick Clifton [Thu, 3 Dec 1998 17:02:49 +0000 (17:02 +0000)]
change BFD_RELOC_FR30_32 to BFD_RELOC_FR30_48
Nick Clifton [Thu, 3 Dec 1998 16:53:03 +0000 (16:53 +0000)]
Add support for R_FR30_48 reloc.
Zdenek Radouch [Thu, 3 Dec 1998 15:40:00 +0000 (15:40 +0000)]
FR30 updates/checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:37:08 +0000 (15:37 +0000)]
fr30 update.
Zdenek Radouch [Thu, 3 Dec 1998 15:36:26 +0000 (15:36 +0000)]
Still some bogus code; checkpoint.
Zdenek Radouch [Thu, 3 Dec 1998 15:35:40 +0000 (15:35 +0000)]
Still a lot of bogus code; just a checkpoint.
Nick Clifton [Thu, 3 Dec 1998 13:19:21 +0000 (13:19 +0000)]
Updated to match latest assembler output.
Doug Evans [Thu, 3 Dec 1998 08:14:46 +0000 (08:14 +0000)]
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.
Andrew Cagney [Thu, 3 Dec 1998 05:34:25 +0000 (05:34 +0000)]
Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
Stan Shebs [Thu, 3 Dec 1998 04:08:14 +0000 (04:08 +0000)]
From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
int return types.
Ulrich Drepper [Thu, 3 Dec 1998 02:00:20 +0000 (02:00 +0000)]
Update.
Ulrich Drepper [Thu, 3 Dec 1998 01:59:23 +0000 (01:59 +0000)]
(process_mips_specific): Print .conflict section content.
Michael Snyder [Thu, 3 Dec 1998 00:50:54 +0000 (00:50 +0000)]
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.
Ulrich Drepper [Wed, 2 Dec 1998 23:38:04 +0000 (23:38 +0000)]
Update.
Ulrich Drepper [Wed, 2 Dec 1998 23:37:54 +0000 (23:37 +0000)]
(process_mips_specific): Print l_flags in liblist in textual form.
Ulrich Drepper [Wed, 2 Dec 1998 23:36:56 +0000 (23:36 +0000)]
Add more LL_* options from Irix 6.5.
Michael Snyder [Wed, 2 Dec 1998 23:27:40 +0000 (23:27 +0000)]
spelling correction.
Michael Snyder [Wed, 2 Dec 1998 23:22:58 +0000 (23:22 +0000)]
Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c: Move default definition of
TARGET_VIRTUAL_FRAME_POINTER from here to target.h.
* target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER.
* ax-gdb.c (gen_frame_args_address, gen_frame_locals_address):
use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer.
(gen_trace_for_expr): new argument, address of tracepoint,
gets passed to new_agent_expr and added to struct agent_expr.
(is_nontrivial_conversion): call to new_agent_expr now requires
a dummy argument. (agent_command): use get_current_frame() to
get current PC scope; pass it to gen_trace_for_expr.
* ax-general.c (new_agent_expr): new argument, address of
tracepoint; store it in new field of struct agent_expr.
* ax.h (struct agent_expr): add new field for tracepoint address.
* ax-gdb.h: change prototypes to match above changes.
Ulrich Drepper [Wed, 2 Dec 1998 21:47:13 +0000 (21:47 +0000)]
Update.
Ulrich Drepper [Wed, 2 Dec 1998 21:46:19 +0000 (21:46 +0000)]
Add R_MIPS_JALR and adjust R_MIPS_max appropriately.
Doug Evans [Wed, 2 Dec 1998 20:44:29 +0000 (20:44 +0000)]
add docs for r5900 arg characters
Nick Clifton [Wed, 2 Dec 1998 15:53:48 +0000 (15:53 +0000)]
Enable relocs for ldi:20 insn
Ian Lance Taylor [Wed, 2 Dec 1998 05:59:07 +0000 (05:59 +0000)]
* elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to
link against a dynamic symbol with no type or size.
Stan Shebs [Wed, 2 Dec 1998 01:55:32 +0000 (01:55 +0000)]
* gdbint.texinfo: Add some info about symbol readers.
(CHILL_PRODUCER, etc): Comment out descriptions, not useful.
(IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE.
(IN_SOLIB_RETURN_TRAMPOLINE): Describe.
(KERNEL_DEBUGGING, MIPSEL): No info about these, remove.
Ulrich Drepper [Tue, 1 Dec 1998 20:50:27 +0000 (20:50 +0000)]
Update.
Jim Wilson [Tue, 1 Dec 1998 20:17:18 +0000 (20:17 +0000)]
patch for PR 18243.
* coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size,
reloc_count and i long instead of unsigned long. Handle error
return from bfd_canonicalize_reloc.
Frank Ch. Eigler [Tue, 1 Dec 1998 13:28:53 +0000 (13:28 +0000)]
* A few more improvements to gx jit prototype.
[common/ChangeLog]
1998-12-01 Frank Ch. Eigler <fche@elastic.org>
* sim-gx-run.c (sim_engine_run): Use new tgx_info struct to
collect run-time arguments to gx block.
* sim-gx.h (sim_gx_function): Corresponding signature change.
* sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to
again compile a gx block source file.
(sim_gx_compiled_block_dispose): Uninstall obsoleted gx block
shared libraries.
(sim_gx_block_translate): Always emit new "gx_label_NNNN" labels,
for basic block entry points, even if !__GNUC__.
[m32r-gx/ChangeLog]
1998-12-01 Frank Ch. Eigler <fche@elastic.org>
* Makefile.in (SIM_OBJS): Don't build sim-core.o.
* configure.in: Added --enable-sim-inline support.
Look for "getenv()" function.
* configure: Rebuilt.
* config.in: Rebuilt.
* gx-translate.c: Include "sim-inline.c" for sim-core inlining.
(m32r_gx_{load,store}*): Update signature.
(tgx_emit_pre_function): Emit new "tgx_info" struct, update
callback function signatures.
(m32r_emit_*_insn): Use new callback signatures. For all short
branches in optimized mode, emit direct "goto gx_label_NNNN".
(tgx_optimize_test): If the GX_OPTIMIZE environment variable is
set, allow its integer value to override the optimization heuristic.
* m32r-sim.h: New empty placeholder file.
* sim-main.c: New empty placeholder file.
* sim-if.c (sim_create_inferior): Use NULL instead of &abort
for unimplemented register fondling functions.
* sim-main.h: Add multiple inclusion guard. Update callback
function signatures.
(tgx_info): New struct for collecting gx block invocation
arguments.
Nick Clifton [Tue, 1 Dec 1998 09:58:28 +0000 (09:58 +0000)]
Detect the absence of a symbol hash table.
Andrew Cagney [Tue, 1 Dec 1998 01:18:18 +0000 (01:18 +0000)]
Cleanup open comments.
Doug Evans [Tue, 1 Dec 1998 00:05:18 +0000 (00:05 +0000)]
* config/fr30/tm-fr30.h (INNER_THAN): Add parameters.
Doug Evans [Mon, 30 Nov 1998 23:43:58 +0000 (23:43 +0000)]
* cgen-utils.c (cgen_virtual_opcode_table): Update.
Doug Evans [Mon, 30 Nov 1998 23:41:55 +0000 (23:41 +0000)]
* cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE ->
CGEN_INSN_BASE_VALUE.
* cgen-asm.in (insert_normal): Change start,length to unsigned int.
New args word_offset, word_length. Rewrite.
(FLD): Define.
(insert_1): Fix lsb0 case.
* cgen-dis.in (extract_normal): Change start,length to unsigned int.
New args word_offset, word_length. Rewrite.
(FLD): Define.
(extract_1): Fix lsb0 case.
* cgen-opc.in (FLD): Define.
* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.
* fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate.
Doug Evans [Mon, 30 Nov 1998 19:53:57 +0000 (19:53 +0000)]
* Makefile.am (CGENFILES): Add rtx-funcs.scm.
* Makefile.in: Rebuild.
Gavin Romig-Koch [Mon, 30 Nov 1998 19:28:22 +0000 (19:28 +0000)]
missing stuff for vr4xxx
Joern Rennecke [Mon, 30 Nov 1998 15:29:45 +0000 (15:29 +0000)]
* elf32-sh.c (elf/sh.h): Include.
sh_reloc_type: Delete. Changed all references to elf_sh_reloc_type.
(sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8.
(sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8.
(sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
* Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h.
Andrew Cagney [Mon, 30 Nov 1998 10:56:16 +0000 (10:56 +0000)]
CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
Andrew Cagney [Sun, 29 Nov 1998 07:41:36 +0000 (07:41 +0000)]
CARP:
Convert ADDR_BITS_REMOVE to a function.
Andrew Cagney [Sat, 28 Nov 1998 22:53:04 +0000 (22:53 +0000)]
CARP:
Rewrite INNER_THAN so that it takes parameters.
Andrew Cagney [Fri, 27 Nov 1998 23:35:08 +0000 (23:35 +0000)]
CARP:
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing
#ifdef's.
NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P +
SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static
singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
Richard Henderson [Fri, 27 Nov 1998 17:03:39 +0000 (17:03 +0000)]
* elflink.h (compute_bucket_count): Don't allow minsize==0, it
causes division by zero later on.
Dave Brolley [Thu, 26 Nov 1998 16:50:44 +0000 (16:50 +0000)]
Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-dis.c: Regenerated.
Dave Brolley [Thu, 26 Nov 1998 16:28:02 +0000 (16:28 +0000)]
Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated.
Dave Brolley [Thu, 26 Nov 1998 16:25:57 +0000 (16:25 +0000)]
Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
of pcrel point.
Dave Brolley [Thu, 26 Nov 1998 16:25:34 +0000 (16:25 +0000)]
Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
of pcrel point.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Dave Brolley [Thu, 26 Nov 1998 16:22:08 +0000 (16:22 +0000)]
Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com>
* elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not
needed.
Andrew Cagney [Thu, 26 Nov 1998 11:13:01 +0000 (11:13 +0000)]
CARP: Delete ABOUT_TO_RETURN across all targets.
Andrew Cagney [Thu, 26 Nov 1998 10:36:45 +0000 (10:36 +0000)]
* rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint
and little_breakpoint to char[] from char*.
* remote-array.c (array_insert_breakpoint): Change bp_addr to
CORE_ADDR type.
DJ Delorie [Wed, 25 Nov 1998 23:03:47 +0000 (23:03 +0000)]
* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
* ldemul.c (ldemul_recognized_file): new function, new hook
* ldint.texinfo: document new hook.
* ldlang.c (load_symbols): call recognized_hook for all objects we
do recognize, in case the emulation needs to handle them
specially. PE DLLs use this.
* pe-dll.c (pe_dll_generate_def_file): take out hack and debug
printfs
* emultempl/pe.em (gld_i386_recognized_file): new function
(gld_i486_unrecognized_file): take out hack
DJ Delorie [Wed, 25 Nov 1998 22:59:34 +0000 (22:59 +0000)]
* coff-i386.c (i3coff_object_p): Remove hack. Use new emulation
hook now.
Andrew Cagney [Wed, 25 Nov 1998 22:13:53 +0000 (22:13 +0000)]
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
Andrew Cagney [Wed, 25 Nov 1998 09:58:04 +0000 (09:58 +0000)]
Fix --enable-build-warnings=-Werror failures.
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in:
Include targ-vals.h instead of syscall.h. Replace SYS_* with
TARGET_SYS_*. Add dependency.
z8k/support.c: Include <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.
Andrew Cagney [Wed, 25 Nov 1998 09:44:57 +0000 (09:44 +0000)]
mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
address of bplen.
Andrew Cagney [Wed, 25 Nov 1998 06:50:48 +0000 (06:50 +0000)]
Explicitly tag vr41/mips16 instructions.
Update configure.in/configure.
Felix Lee [Wed, 25 Nov 1998 04:22:28 +0000 (04:22 +0000)]
remove some accidentally committed (harmless) code.
Nick Clifton [Wed, 25 Nov 1998 01:22:54 +0000 (01:22 +0000)]
Fix calculation of address for pc rel operations.
Nick Clifton [Wed, 25 Nov 1998 01:21:53 +0000 (01:21 +0000)]
Add support for 9_PCREL and 12_PCREL relocs.
Gavin Romig-Koch [Wed, 25 Nov 1998 01:10:52 +0000 (01:10 +0000)]
For top level:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
For gcc:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
* configure.in (mips64vr4xxx,mips64vr4xxxel): New.
* config/mips/t-vr4xxx: New.
* config/mips/elfb4xxx.h: New.
* config/mips/elfl4xxx.h: New.
* configure: Rebuilt.
For gas:
* config/tc-mips.c (md_begin): Added mip64vr4xxx as a
possible CPU_TARGET.
For gdb:
* configure.tgt: Handle mips64*vr4xxx.
For ld:
* configure.tgt: Handle mips64*vr4xxx.
Nick Clifton [Wed, 25 Nov 1998 00:54:31 +0000 (00:54 +0000)]
Fix handling of I32 and I20 relocs.
Michael Snyder [Tue, 24 Nov 1998 23:50:20 +0000 (23:50 +0000)]
Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER):
new target macro.
* mn10300-tdep.c (mn10300_virtual_frame_pointer): new function.
* tracepoint.c (encode_actions): Use the new target macro to
determine the virtual frame pointer, for collecting locals/args.
(add_local_symbols, collect_symbol): add a register/offset pair of
arguments so that the virtual frame pointer can be passed in.
Felix Lee [Tue, 24 Nov 1998 14:51:13 +0000 (14:51 +0000)]
* procfs.c (procfs_wait): handle syscall events first.
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros.
* config/sparc/xm-sun4sol2.h: use them.
* core-sol2.c: don't #undef gregset_t and fpregset_t.
* sol-thread.c: ditto.
* sparc-tdep.c: ditto.
Andrew Cagney [Tue, 24 Nov 1998 13:49:00 +0000 (13:49 +0000)]
CARP: *BREAKPOINT*
Convert mn10300, MIPS and powerpc/rs6000 targets to use
BREAKPOINT_FROM_PC
Delete global variable memory_breakpoint_size. Use BREAKPOINT_FROM_PC
instead.
Andrew Cagney [Tue, 24 Nov 1998 07:59:01 +0000 (07:59 +0000)]
Add d10v and v850 to gennltvals.sh and regenerate.
Add a howto.
DJ Delorie [Tue, 24 Nov 1998 04:33:33 +0000 (04:33 +0000)]
* pe-dll.c (make_head): name object files sequentially to ensure
they link in the right order.
(make_tail): same here
(pe_process_import_defs): use sequential names for bfds to ensure
proper link order.
(pe_implied_import_dll): new function; handles linking directly
against DLLs by simulating IMPORTS directives. * emultempl/pe.em
(gld_i386pe_before_parse): hack bfd to not recognize .dll files
via bfd_pe_dll_not_recognized_hack
DJ Delorie [Tue, 24 Nov 1998 04:25:41 +0000 (04:25 +0000)]
* coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants
to see .DLL files as unrecognized.
(i3coff_object_p): Sorry, had to hack it to not recognize these
files (pei-i386) on request.
DJ Delorie [Tue, 24 Nov 1998 00:24:06 +0000 (00:24 +0000)]
* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
pe_dll_add_excludes
Dave Brolley [Mon, 23 Nov 1998 23:30:08 +0000 (23:30 +0000)]
Mon Nov 23 18:28:48 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
Dave Brolley [Mon, 23 Nov 1998 23:25:28 +0000 (23:25 +0000)]
Mon Nov 23 17:02:47 1998 Dave Brolley <brolley@cygnus.com>
* Directory created.
Nick Clifton [Mon, 23 Nov 1998 22:38:48 +0000 (22:38 +0000)]
fix for arm-pe linker testsuite failures - only define an entry symbol if one has been specified.
DJ Delorie [Mon, 23 Nov 1998 19:47:31 +0000 (19:47 +0000)]
* emultempl/pe.em (gld_i386pe_after_open): call
pe_process_import_defs
* pe-dll.c (pe_dll_generate_def_file): calculate BASE from
pe_data, only print if actually set. Print version only if
set.
(save_relocs): save relocs for both input and output.
(make_one): support internal/external different names.
(pe_dll_generate_implib): support new make_one
(pe_process_import_defs): new function; handles IMPORT
directives in .def files.