Ian Lance Taylor [Wed, 28 Jan 1998 21:44:53 +0000 (21:44 +0000)]
Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* configure.in (i386-*-mingw32*): New target.
* configure: Rebuild.
Michael Snyder [Wed, 28 Jan 1998 21:06:54 +0000 (21:06 +0000)]
Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* blockframe.c (generic_frame_chain_valid): A frame pointer may
be valid if it is equal to the frame pointer of its caller (ie.
not necessarily strictly INNER_THAN). Allows frameless functions.
Mark Alexander [Wed, 28 Jan 1998 19:52:06 +0000 (19:52 +0000)]
* monitor.c (monitor_vsprintf): New function to handle
printing of large addresses using %A format specifier.
(monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
instead of vsprintf.
* dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
to print addresses.
Ian Lance Taylor [Wed, 28 Jan 1998 18:56:15 +0000 (18:56 +0000)]
Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
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 <robertl@dgii.com>
* 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 <hunt@cygnus.com>
* 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 <hunt@cygnus.com>
* 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.