Commit Graph

21310 Commits

Author SHA1 Message Date
Richard Henderson 16ce62054b 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.
1998-01-28 05:48:34 +00:00
Jeff Law 09025569d2 * 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.
1998-01-28 04:58:37 +00:00
Jeff Law 83af233519 * mips-dis.c (_print_insn_mips): Set target_processor as appropriate.
Only recognize instructions for the current target_processor.
1998-01-28 04:51:22 +00:00
Jeff Law 29410c45ae * archures.c (bfd_mach_mips*): Add definitions for various MIPS
processors.
        * cpu-mips.c (arch_info_struct): Add mips variants.
        * bfd-in2.h: Rebuilt.
1998-01-28 04:45:04 +00:00
James Lemke 4411d96450 *** empty log message *** 1998-01-28 02:20:20 +00:00
James Lemke 1f8b7bb9cf Partial implementation of DMA tags (instructions).
Checkin to facilitate a component name change.
1998-01-28 02:18:58 +00:00
Ian Carmichael 8ae6b5cd79 * 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
1998-01-28 02:04:32 +00:00
Jason Molenda 4b95e9a13d * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
when using GNU ld.
A little longer patch than necessary due to some whitespace reformatting.
1998-01-28 00:17:53 +00:00
Ian Carmichael 53a560f95a * Incorporate GPR_SET() macro from mips/sim-main.h 1998-01-27 23:16:23 +00:00
Nick Clifton ba6ea759c9 Fix PR 14752 by preserving t2a3_b_insn 1998-01-27 23:15:16 +00:00
Doug Evans 95bfad6d10 * 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.
1998-01-27 22:17:11 +00:00
Doug Evans f006120d1d * txvu-dis.c (*): Update to use new arguments in
parse/insert/extract/print fns.
	* txvu-opc.c (*): Likewise.
1998-01-27 22:11:55 +00:00
Doug Evans 35389a9340 * txvu.h (txvu_{opcode,operand}): New typedefs.
(txvu_operand): Add opcode,operand,mods arguments consistently to
	each of the parse/insert/extract/print routines.
1998-01-27 22:08:19 +00:00
Nick Clifton 38a8f434a8 Fix PRs 14721, 14722, 14723 1998-01-27 19:13:49 +00:00
Fred Fish 570d5115d8 Fix gdbtk sanitizations to be silent unless verbose optio is given. 1998-01-27 18:38:33 +00:00
Ian Lance Taylor 6cc7a93828 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.
1998-01-27 18:35:53 +00:00
Doug Evans 17d8f29c26 use '/' in one case to test it 1998-01-27 18:18:53 +00:00
Doug Evans ee1c882ed5 allow '/' in addition to '.' in dest spec 1998-01-27 18:12:33 +00:00
Doug Evans 764c48f8ab fix ior encoding 1998-01-27 17:56:06 +00:00
Ian Lance Taylor a3e62cc05b Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com>
* config.bfd (i[3456]86-sco3.2v5*) ELF now the default.
	(i[3456]86sco3.2v5*coff) New target.
1998-01-27 17:48:57 +00:00
Ian Lance Taylor 5a82ebaffc tweak again 1998-01-27 17:35:43 +00:00
Ian Lance Taylor 29b2b5da96 tweak last patch 1998-01-27 17:33:35 +00:00
Ian Lance Taylor 8ecadea45b * config/tc-arm.c (md_apply_fix3): Add casts before comparing
offsetT variable set to unsigned int value with FAIL.
1998-01-27 17:29:05 +00:00
Richard Henderson 76f9e5afa3 * 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.
1998-01-27 14:56:15 +00:00
Richard Henderson 7b7a88d0e1 Bring over lost listing bits from emc-97r1-branch. 1998-01-27 14:45:09 +00:00
Richard Henderson 8c1caf7911 * gas/m68k/mri_moveml.[sd]: New testcase. 1998-01-27 13:36:48 +00:00
Richard Henderson c3b27a64b4 * as.c (parse_args): Add --keep-locals alias for -L.
Add --strip-local-absolute.
	(show_usage): Update.
	* as.h (flag_strip_local_absolute): New flag.
	* symbols.c (S_IS_LOCAL): Use it.
	* config/obj-aout.h (S_IS_LOCAL): Likewise.
	* config/obj-bout.h (S_IS_LOCAL): Likewise.
	* config/obj-coff.h (S_IS_LOCAL): Likewise.
PR 14689
1998-01-27 13:33:54 +00:00
Doug Evans f3329c1a64 add more pke/dma/gpuif parsing support 1998-01-27 05:59:50 +00:00
Doug Evans 3f7eb70f90 add pke field bit macros 1998-01-27 05:53:54 +00:00
Fred Fish 043fadbe52 Fix some mswin sanitization problems. 1998-01-27 05:19:50 +00:00
James Lemke 5fcbec8f9c Fix to s_dmadata(), .EndDmaData was causing a trap. 1998-01-27 03:34:26 +00:00
Doug Evans 5340383e69 add comment 1998-01-27 03:19:26 +00:00
Jason Molenda bf1fb2e0c3 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
Add closing parenthesis.  From HJ Lu.
1998-01-27 03:10:23 +00:00
Doug Evans 7b5c32cfa1 (lookup_keyword_{value,name}): New functions.
(scan_symbol): New function.
	(issymchar,SKIP_BLANKS): New macros.
Plus more dma/gpuif support code.
1998-01-27 02:58:45 +00:00
Doug Evans dff6e4a297 (enum gpuif_reg): Declare. 1998-01-27 02:57:22 +00:00
James Lemke 63589bf457 *** empty log message *** 1998-01-27 02:52:04 +00:00
Doug Evans b1313caee0 * tc-txvu.c (assemble_one_insn): Allow [] in suffix operand. 1998-01-27 02:36:56 +00:00
Doug Evans 2f511a26ba allow [] in suffix operand 1998-01-27 02:36:28 +00:00
Mark Alexander d8365eee42 * dve3900-rom.c: Improve performance by using memory commands
that print less fluff.  Minor cosmetic changes.
	Eliminate compiler warnings.
1998-01-27 02:04:21 +00:00
Doug Evans f73062614b * 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.
1998-01-27 00:32:01 +00:00
Doug Evans f31e207296 * 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.
1998-01-27 00:27:54 +00:00
Doug Evans 6e84cd36f3 * 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.
1998-01-27 00:21:03 +00:00
Fred Fish d8021475a1 Fix some problems with gdbtk sanitization. 1998-01-26 23:04:13 +00:00
Nick Clifton 26192c5084 Detect when explicltly parallel instructions have i/o conflicts and
generate warning messages.
1998-01-26 21:09:18 +00:00
Ian Lance Taylor f1dc7bb282 * bfd-in2.h: Rebuild with changes to chew--tab expansion. 1998-01-26 20:43:50 +00:00
Nick Clifton b6930bdf46 Fixed infinite loop bug in can_make_parallel().
Added second level of sanization to remove phase 2 work.
1998-01-26 20:42:15 +00:00
Keith Seitz d001edb7ba * gdbtk.c (gdb_actions_command): Make note of next action
before freeing all references to it.
1998-01-26 19:41:39 +00:00
Keith Seitz efe1929bb6 remove last entry regarding new install target "install-gdbtk" 1998-01-26 17:38:30 +00:00
Fred Fish e454c4004f Fix minor sanitization problems. 1998-01-26 17:14:55 +00:00
Doug Evans 0ca3c05121 use .vu pseduo-op 1998-01-26 06:33:18 +00:00