Ron Unrau [Fri, 31 Jul 1998 22:08:08 +0000 (22:08 +0000)]
* config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
* mips-tdep.c: use NUM_CORE_REGS
* txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
(txvu_insert_breakpoints): use VIF interrupt bit
Ron Unrau [Fri, 31 Jul 1998 22:02:12 +0000 (22:02 +0000)]
* sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
* interp.c: use NUM_CORE_REGS
* sky-gdb.c (set_fifo_breakpoints): use VIF interrupt bit for break
* sky-pke.c (pke_issue): use interrupt bit for break points
Ron Unrau [Fri, 31 Jul 1998 21:56:15 +0000 (21:56 +0000)]
Start of changes to remove mdebug section from mips*-elf
Based on MIPS_STAB_ELF definition
* acconfig.h: undef if not configured
* config.in: undef if not configured
* config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
* config/tc-mips.c (s_ent): set BSF_FUNCTION
* stabs.c (s_stab_generic): flush frag
Catherine Moore [Fri, 31 Jul 1998 21:26:28 +0000 (21:26 +0000)]
* Makefile.am: Add support for elf32-arm.lo.
* Makefile.in: Rebuild.
* config.bfd (arm-*-elf): Define targ_defvec and targ_selvecs.
(thumb-*-elf): Define targ_defvec and targ_selvecs.
* configure.in: Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec.
* configure: Regenerate.
* elf.c: (prep_headers): Support arch_type of EM_ARM.
* targets.c: Support new targets bfd_elf32_bigarm_vec and
bfd_target bfd_elf32_littlearm_vec.
* elf32-arm.c: New file.
Catherine Moore [Fri, 31 Jul 1998 21:15:51 +0000 (21:15 +0000)]
* configure.in: (arm-*-elf): Handle.
(thumb-*-elf): Handle.
* configure: Regenerate.
* read.c (stringer): Fix typo in comment.
* write.c (fixup_segment): Don't add symbol value to addend if
TC_ARM and OBJ_ELF.
* config/tc-arm.c (md_section_align): Don't align dwarf debug
sections.
(tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
for OBJ_ELF.
Mark Alexander [Thu, 30 Jul 1998 21:07:14 +0000 (21:07 +0000)]
* mips-tdep.c (mask_address_p): New variable.
(mips_addr_bits_remove): Test mask_address_p to decide whether
to mask off the upper 32 bits of addresses.
(_initialize_mips_tdep): Add command to set mask_address_p.
(mips_call_dummy_address): New function.
* config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to
call mips_call_dummy_address.
* Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <[email protected]>
* config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
(write_2_short): Emit warning if new flag is set.
(do_assemble): Set flags if left instruction is one of special
"right-instruction-killer" type.
* Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:44:25 1998 Frank Ch. Eigler <[email protected]>
* d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions.
* Fix for PR 16389, brought over from d30v branch
Thu Jul 30 21:41:10 1998 Frank Ch. Eigler <[email protected]>
* d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some
instructions.
Jeff Law [Wed, 29 Jul 1998 16:41:36 +0000 (16:41 +0000)]
* mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
registers if we are not in am33 mode.
(mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
(set_machine_hook): Keep track of whether or not we're in am33 mode.
Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
accept an accumulator choice.
* cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
Jeff Law [Tue, 28 Jul 1998 17:03:05 +0000 (17:03 +0000)]
* config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
to work with internationalization code. Issue an error when two
operands match that are not allowed to match.
* configure.in (install_tooldir): Allow target to specify whether
it wants to be installed in $(tooldir)/bin.
start-sanitize-sky
(dvp-*-*): Don't install in $(tooldir)/bin.
end-sanitize-sky
* configure: Regenerate.
* Makefile.am (install-exec-local): Set install-exec-tooldir
dependency via configure.
* Makefile.in: Regenerate.
* tracepoint.c (remote_set_transparent_ranges): new function.
Send the start and end addresses of all loadable read-only
sections down to the trace target, so that it can treat them
as "transparent" (ie. don't care if they were collected or not).
* symtab.c (decode_line_1): For minimal symbol, call
find_pc_sect_line() to make sure the line number gets set
properly.
(print_symbol_info): Redeclare function void.
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The
stack pointer et al are synthesized from the SP_REGNUM (etc)
defines and should not be mentioned in REGISTER_NAMES.
There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit. I'm not tackling the general for this PR, though.
Andrew Cagney [Sat, 25 Jul 1998 06:45:18 +0000 (06:45 +0000)]
Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
Hack sanitize so that it doesn't sanitize vrXXX when either of
keep-vr5400 or keep-vr4320 are specified.
Move two basic vr4100 instructions from mips.igen to vr.igen.
* Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES
to here ...
(install-no-fixedincludes): and here
(INSTALL_MODULES): ... to here.
* op_utils.c (do_syscall): Rewrite to use common/syscall.c.
(syscall_read_mem, syscall_write_mem): New functions for syscall
callbacks.
* mn10300_sim.h: Add prototypes for syscall_read_mem and
syscall_write_mem.
* mn10300.igen: Change C++ style comments to C style comments.
Check for divide by zero in div and divu ops.
Keith Seitz [Fri, 24 Jul 1998 22:11:22 +0000 (22:11 +0000)]
* gdb.gdbtk/Makefile.in: Add new example program "stack".
* gdb.gdbtk/browser.test,browser.exp: Add browser window
tests.
* gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
Keith Seitz [Fri, 24 Jul 1998 22:02:39 +0000 (22:02 +0000)]
* gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
Add missing flags to result_ptr.
Pass along any errors caused by getting the list of files from
tcl.
Allocate correct amount of memory for the file list.
Don't do any unecessary cleanups.
Jeff Law [Fri, 24 Jul 1998 21:52:43 +0000 (21:52 +0000)]
* gdb.disasm/am33.s: Add tests for autoincrement instructions.
* gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
to use a0-a3/d0-d3 as needed.
* tracepoint.c (encode_actions): Treat register names and simple
variable names as special cases and don't convert them to byte-
codes: these things can be collected far more efficiently
without invoking the bytecode interpreter.
Ian Lance Taylor [Fri, 24 Jul 1998 20:33:13 +0000 (20:33 +0000)]
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin. From Maciej
W. Rozycki <[email protected]>.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 24 Jul 1998 16:51:33 +0000 (16:51 +0000)]
start-sanitize-r5900
The value of R_MIPS15_S3 has changed:
* elf32-mips.c (elf_mips15_s3_howto): New static variable.
(mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
specially.
(mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
(mips_elf_relocate_section): Check for R_MIPS15_S3.
end-sanitize-r5900
* elf32-mips.c (elf_mips_howto_table): Add reloc types used on
Irix 6.
(bfd_elf32_bfd_reloc_type_lookup): Add default case.
* elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
elf_mips_reloc_type defined in elf/mips.h.
* config/tc-dvp.c (assemble_vif): Make label at start of overlay
a local label.
(create_vuoverlay_section): Put __start_ label at start of overlay
for gdb.
* configure.in (mips64r5900-sky-elf*): Use config/mt-sky.
Set extraconfigdirs to build dvp-elf-as.
* configure (extraconfigdirs): New variable.
(SUBDIRS): Add extraconfigdirs and recurse on them too.
* Makefile.in (all): Move higher in file.
(EXTRA_TARGET_HOST_ALL_MODULES): New variable.
(EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables.
(ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES.
(CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES.
(INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES.
Mark Alexander [Fri, 24 Jul 1998 14:48:41 +0000 (14:48 +0000)]
* mn10300-tdep.c (set_movm_offsets): New helper function
for mn10300_analyze_prologue.
(mn10300_analyze_prologue): Simplify by factoring out common code.
Fix bugs in setting frame address for optimized code.
Use read_memory_nobpt instead of target_read_memory.