Ian Lance Taylor [Wed, 28 Jan 1998 18:56:15 +0000 (18:56 +0000)]
Wed Jan 28 13:54:50 1998 Pat Rankin <[email protected]>
as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
depends upon HAVE_{UNLINK,REMOVE} values rather than host
compiler.
Jeff Law [Wed, 28 Jan 1998 06:58:27 +0000 (06:58 +0000)]
* configure (package_makefile_rules_frag): New variable, which names
a file with generic rules, ...
Change comment to mention we now have FIVE parts.
* configure: Undo last change.
Sparc v9 ABI compliant PLT:
* elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries.
(plt_templates, sparc64_elf_build_plt_entry): Delete.
(LARGE_PLT_THRESHOLD): New define.
(GOT_RESERVED_ENTRIES): V9 ABI only uses 1.
(sparc64_elf_build_plt): New function.
(sparc64_elf_plt_entry_offset): Likewise.
(sparc64_elf_plt_ptr_offset): Likewise.
(sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to
contain the index for convenience. Skip the initial entries
in .rela.plt.
(sparc64_elf_size_dynamic_sections): Zero the allocated contents
memory for the benefit of .rela.plt.
(sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset.
(sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use
sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc.
(sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt.
Call sparc64_elf_build_plt.
(elf_backend_want_got_plt): No.
(elf_backend_plt_readonly): No.
(elf_backend_plt_alignment): 8.
* elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab.
* elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it.
* elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it
to be called.
Jeff Law [Wed, 28 Jan 1998 04:58:37 +0000 (04:58 +0000)]
* gas/mips/4010.s: Add 4010 tests.
* gas/mips/4010.d: Expected output.
* gas/mips/4100.s: Add 4010 tests.
* gas/mips/4100.d: Expected output.
* gas/mips/4650.s: Add 4010 tests.
* gas/mips/4650.d: Expected output.
* gas/mips/mips.exp: Run the new tests.
* gas/mips/*.d: Pass the right processor model to objdump.
Fix minor cases where expected output was wrong due to opcode
conflicts.
Ian Carmichael [Wed, 28 Jan 1998 02:04:32 +0000 (02:04 +0000)]
* Very, very early support for vu1 based on sce code.
* Modified Files:
* ChangeLog Makefile.in hardware.c vu1.c vu1.h
* Added Files:
* libvpe.c libvpe.h vpe.h vu.h
Doug Evans [Tue, 27 Jan 1998 22:17:11 +0000 (22:17 +0000)]
* tc-txvu.c (*): Update to use handle new arguments for
parse/insert/extract/print handlers.
({encode,decode}_fixup_reloc_type): New function.
(assemble_pke): Write out insn after parsing it.
Doug Evans [Tue, 27 Jan 1998 22:08:19 +0000 (22:08 +0000)]
* txvu.h (txvu_{opcode,operand}): New typedefs.
(txvu_operand): Add opcode,operand,mods arguments consistently to
each of the parse/insert/extract/print routines.
Ian Lance Taylor [Tue, 27 Jan 1998 18:35:53 +0000 (18:35 +0000)]
Tue Jan 27 13:32:01 1998 Robert Lipe <[email protected]>
* configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
(i386-*-sco3.2v5*coff): New target.
(i386-*-sco3.2*): New target.
* configure: Rebuild.
* listing.c (MAX_BYTES): Use listing variables not constants.
(data_buffer): No longer an array, but a pointer.
(calc_hex): sizeof(data_buffer) -> MAX_BYTES.
(listing_listing): Allocate data_buffer.
Doug Evans [Tue, 27 Jan 1998 00:32:01 +0000 (00:32 +0000)]
* tc-txvu.c: First pass at dma/pke/gpuif support.
(assemble_one_insn): Renamed from assemble_insn.
Initialize errmsg = NULL before calling parse fn.
(fixups,fixup_count): Make static globals.
Doug Evans [Tue, 27 Jan 1998 00:27:54 +0000 (00:27 +0000)]
* txvu-dis.c (print_insn): Extract/print fns take pointer to
insn now and not insn itself.
* txvu-opc.c: insert/extract/print fns take pointer to
insn now and not insn itself. Add initial dma,pke,gpuif support.
Parse fn no longer needs to set errmsg = NULL for success.
Doug Evans [Tue, 27 Jan 1998 00:21:03 +0000 (00:21 +0000)]
* txvu.h (txvu_opcode): insert/extract/print take pointer to
instruction rather than instruction itself. Result of insert is
`void'. Add decls for dma, pke, gpuif support.
Martin Hunt [Sun, 25 Jan 1998 08:56:08 +0000 (08:56 +0000)]
Sat Jan 24 23:52:08 1998 Martin M. Hunt <[email protected]>
* gdbtk.c: Merge from Foundry branch.
(TclDebug): New debugging function.
(gdb_loc): For frames, find address of calling function
instead of whatever is on the stack (usually the next
instruction).
(gdb_listfiles): Takes an optional pathname argument and
returns an alphabetized list of basenames of files in the
path.
Martin Hunt [Sun, 25 Jan 1998 08:53:37 +0000 (08:53 +0000)]
Sat Jan 24 23:44:43 1998 Martin M. Hunt <[email protected]>
* breakpoint.c (enable_breakpoint): Preserve breakpoint
disposition when enabling a breakpoint.
* symtab.c (find_pc_sect_line): If no symbol information
is found, return correct pc anyway.
Doug Evans [Sat, 24 Jan 1998 02:47:35 +0000 (02:47 +0000)]
* txvu-opc.c:
(parse_dest1,insert_luimm12up6): New functions.
(txvu_operands): New operands LUIMM12UP6, LDEST1.
(txvu_lower_opcodes): Clean up pass over table.
(parse_dotdest1): Fix dest calculation.
(_parse_sdest): Fix typo.
Mark Alexander [Sat, 24 Jan 1998 00:52:54 +0000 (00:52 +0000)]
* monitor.c (monitor_write, monitor_readchar): New functions.
* monitor.h (monitor_write, monitor_readchar): Declare.
* dve3900-rom.c: Add support for fast loading on ethernet connections.
Keith Seitz [Fri, 23 Jan 1998 20:54:35 +0000 (20:54 +0000)]
* symfile.c: Define two new hooks for symbol reading: "pre_add_symbol_hook"
and "post_add_symbol_hook". These hooks are called before we begin reading
symbols, and after we finish.
(generic_load): Use new symbol reading hooks and get rid of compiler warning.
* gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
(gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
(gdbtk_post_add_symbol): New function: the post-add-symbol hook.
(find_file_in_dir): New function. Moved the guts of gdb_find_file_command
into here to allow its use by others.
(gdb_loc): Use find_file_in_dir to return the real path to the file
(or "N/A" if we can't find it).
* configure.in (TIX_LIB_EXT): Define new variable for those special cases
when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
* configure: Regenerate.
Fred Fish [Fri, 23 Jan 1998 15:44:12 +0000 (15:44 +0000)]
* config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
(TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
(TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
(d10v_write_fp, d10v_read_fp): Add prototypes.
* symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
* symfile.c (simple_overlay_update, simple_overlay_update_1):
Ignore the size of overlay sections. This check is redundant anyway.
* printcmd.c (print_frame_args): Ditto.
* valops.c (value_fetch_lazy): Ditto.
* values.c (unpack_long): Ditto.
* d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
d10v_init_extra_frame_info): Fix some minor bugs so the finish command
works properly.
(show_regs): Change num1 and num2 types from "long long" to "LONGEST".
(d10v_read_fp, d10v_write_fp): New functions.
(d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
(d10v_push_arguments): Fix for pointers and structs.
(d10v_extract_return_value): Fix for pointers and chars.
Doug Evans [Fri, 23 Jan 1998 10:06:43 +0000 (10:06 +0000)]
* txvu-opc.c (txvu_operands, UBC): Add extract entry.
(txvu_operands, UACCDEST): Not a fake operand.
(txvu_operands, UXYZ): Move parse entry to insert entry.
(txvu_operands, LVI01): Not a fake operand.
(txvu_upper_opcodes): Fix spelling of minii instruction.
(printf_vfreg): Print register number with "%02ld".
(print_bcftreg): Likewise.
(print_accdest): Pass `dest' to _print_dest.
(insert_xyz): Renamed from parse_xyz.