Doug Evans [Wed, 28 Jan 1998 10:15:09 +0000 (10:15 +0000)]
txvu renamed to dvp
Doug Evans [Wed, 28 Jan 1998 09:58:10 +0000 (09:58 +0000)]
* dis-asm.h (print_insn_dvp,dvp_insn_p): Add prototypes.
Delete old txvu stuff.
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.
Jeff Law [Wed, 28 Jan 1998 06:16:52 +0000 (06:16 +0000)]
* config.guess: More accurate determination of HP processor types.
* config.sub: More accurate determination of HP processor types.
Richard Henderson [Wed, 28 Jan 1998 05:48:34 +0000 (05:48 +0000)]
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.
Jeff Law [Wed, 28 Jan 1998 04:51:22 +0000 (04:51 +0000)]
* mips-dis.c (_print_insn_mips): Set target_processor as appropriate.
Only recognize instructions for the current target_processor.
Jeff Law [Wed, 28 Jan 1998 04:45:04 +0000 (04:45 +0000)]
* archures.c (bfd_mach_mips*): Add definitions for various MIPS
processors.
* cpu-mips.c (arch_info_struct): Add mips variants.
* bfd-in2.h: Rebuilt.
James Lemke [Wed, 28 Jan 1998 02:20:20 +0000 (02:20 +0000)]
*** empty log message ***
James Lemke [Wed, 28 Jan 1998 02:18:58 +0000 (02:18 +0000)]
Partial implementation of DMA tags (instructions).
Checkin to facilitate a component name change.
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
Jason Molenda [Wed, 28 Jan 1998 00:17:53 +0000 (00:17 +0000)]
* configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
when using GNU ld.
A little longer patch than necessary due to some whitespace reformatting.
Ian Carmichael [Tue, 27 Jan 1998 23:16:23 +0000 (23:16 +0000)]
* Incorporate GPR_SET() macro from mips/sim-main.h
Nick Clifton [Tue, 27 Jan 1998 23:15:16 +0000 (23:15 +0000)]
Fix PR 14752 by preserving t2a3_b_insn
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:11:55 +0000 (22:11 +0000)]
* txvu-dis.c (*): Update to use new arguments in
parse/insert/extract/print fns.
* txvu-opc.c (*): Likewise.
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.
Nick Clifton [Tue, 27 Jan 1998 19:13:49 +0000 (19:13 +0000)]
Fix PRs 14721, 14722, 14723
Fred Fish [Tue, 27 Jan 1998 18:38:33 +0000 (18:38 +0000)]
Fix gdbtk sanitizations to be silent unless verbose optio is given.
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.
Doug Evans [Tue, 27 Jan 1998 18:18:53 +0000 (18:18 +0000)]
use '/' in one case to test it
Doug Evans [Tue, 27 Jan 1998 18:12:33 +0000 (18:12 +0000)]
allow '/' in addition to '.' in dest spec
Doug Evans [Tue, 27 Jan 1998 17:56:06 +0000 (17:56 +0000)]
fix ior encoding
Ian Lance Taylor [Tue, 27 Jan 1998 17:48:57 +0000 (17:48 +0000)]
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.
Ian Lance Taylor [Tue, 27 Jan 1998 17:35:43 +0000 (17:35 +0000)]
tweak again
Ian Lance Taylor [Tue, 27 Jan 1998 17:33:35 +0000 (17:33 +0000)]
tweak last patch
Ian Lance Taylor [Tue, 27 Jan 1998 17:29:05 +0000 (17:29 +0000)]
* config/tc-arm.c (md_apply_fix3): Add casts before comparing
offsetT variable set to unsigned int value with FAIL.
Richard Henderson [Tue, 27 Jan 1998 14:56:15 +0000 (14:56 +0000)]
* 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.
Richard Henderson [Tue, 27 Jan 1998 14:45:09 +0000 (14:45 +0000)]
Bring over lost listing bits from emc-97r1-branch.
Richard Henderson [Tue, 27 Jan 1998 13:36:48 +0000 (13:36 +0000)]
* gas/m68k/mri_moveml.[sd]: New testcase.
Richard Henderson [Tue, 27 Jan 1998 13:33:54 +0000 (13:33 +0000)]
* 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
Doug Evans [Tue, 27 Jan 1998 05:59:50 +0000 (05:59 +0000)]
add more pke/dma/gpuif parsing support
Doug Evans [Tue, 27 Jan 1998 05:53:54 +0000 (05:53 +0000)]
add pke field bit macros
Fred Fish [Tue, 27 Jan 1998 05:19:50 +0000 (05:19 +0000)]
Fix some mswin sanitization problems.
James Lemke [Tue, 27 Jan 1998 03:34:26 +0000 (03:34 +0000)]
Fix to s_dmadata(), .EndDmaData was causing a trap.
Doug Evans [Tue, 27 Jan 1998 03:19:26 +0000 (03:19 +0000)]
add comment
Jason Molenda [Tue, 27 Jan 1998 03:10:23 +0000 (03:10 +0000)]
* config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
Add closing parenthesis. From HJ Lu.
Doug Evans [Tue, 27 Jan 1998 02:58:45 +0000 (02:58 +0000)]
(lookup_keyword_{value,name}): New functions.
(scan_symbol): New function.
(issymchar,SKIP_BLANKS): New macros.
Plus more dma/gpuif support code.
Doug Evans [Tue, 27 Jan 1998 02:57:22 +0000 (02:57 +0000)]
(enum gpuif_reg): Declare.
James Lemke [Tue, 27 Jan 1998 02:52:04 +0000 (02:52 +0000)]
*** empty log message ***
Doug Evans [Tue, 27 Jan 1998 02:36:56 +0000 (02:36 +0000)]
* tc-txvu.c (assemble_one_insn): Allow [] in suffix operand.
Doug Evans [Tue, 27 Jan 1998 02:36:28 +0000 (02:36 +0000)]
allow [] in suffix operand
Mark Alexander [Tue, 27 Jan 1998 02:04:21 +0000 (02:04 +0000)]
* dve3900-rom.c: Improve performance by using memory commands
that print less fluff. Minor cosmetic changes.
Eliminate compiler warnings.
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.
Fred Fish [Mon, 26 Jan 1998 23:04:13 +0000 (23:04 +0000)]
Fix some problems with gdbtk sanitization.
Nick Clifton [Mon, 26 Jan 1998 21:09:18 +0000 (21:09 +0000)]
Detect when explicltly parallel instructions have i/o conflicts and
generate warning messages.
Ian Lance Taylor [Mon, 26 Jan 1998 20:43:50 +0000 (20:43 +0000)]
* bfd-in2.h: Rebuild with changes to chew--tab expansion.
Nick Clifton [Mon, 26 Jan 1998 20:42:15 +0000 (20:42 +0000)]
Fixed infinite loop bug in can_make_parallel().
Added second level of sanization to remove phase 2 work.
Keith Seitz [Mon, 26 Jan 1998 19:41:39 +0000 (19:41 +0000)]
* gdbtk.c (gdb_actions_command): Make note of next action
before freeing all references to it.
Keith Seitz [Mon, 26 Jan 1998 17:38:30 +0000 (17:38 +0000)]
remove last entry regarding new install target "install-gdbtk"
Fred Fish [Mon, 26 Jan 1998 17:14:55 +0000 (17:14 +0000)]
Fix minor sanitization problems.
Doug Evans [Mon, 26 Jan 1998 06:33:18 +0000 (06:33 +0000)]
use .vu pseduo-op
Doug Evans [Mon, 26 Jan 1998 06:24:59 +0000 (06:24 +0000)]
checkpoint
Michael Meissner [Mon, 26 Jan 1998 03:23:55 +0000 (03:23 +0000)]
Exit status is in r0, not r2
Doug Evans [Sun, 25 Jan 1998 23:38:32 +0000 (23:38 +0000)]
fix ilw,ilwr,isw,iswr
Doug Evans [Sun, 25 Jan 1998 23:34:09 +0000 (23:34 +0000)]
checkpoint
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.
Michael Meissner [Sun, 25 Jan 1998 00:13:19 +0000 (00:13 +0000)]
If DEBUG has 0x20 set, turn traps into batch debugging
Jeff Law [Sat, 24 Jan 1998 08:58:46 +0000 (08:58 +0000)]
* configure (package_makefile_frag): Move inserting the
${package_makefile_frag} to where it should be according
to the comment.
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.
Doug Evans [Sat, 24 Jan 1998 02:44:02 +0000 (02:44 +0000)]
* config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
Doug Evans [Sat, 24 Jan 1998 02:41:41 +0000 (02:41 +0000)]
new txvu testcase lower-1
Doug Evans [Sat, 24 Jan 1998 02:40:00 +0000 (02:40 +0000)]
new testcase lower-1
Stan Shebs [Sat, 24 Jan 1998 01:34:00 +0000 (01:34 +0000)]
* configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
ns32k-*-mach3*): Fix file names.
(i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
recognition, no source files for these.
* configure.tgt (powerpc-*-aix4*): Remove config, now identical
to powerpc-*-aix*.
* config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
no longer needed.
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.
Doug Evans [Sat, 24 Jan 1998 00:44:53 +0000 (00:44 +0000)]
* config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
Doug Evans [Sat, 24 Jan 1998 00:44:52 +0000 (00:44 +0000)]
* config/tc-txvu.c (assemble_insn): Delete test for !isalpha
after parsing mnemonic. ASCII operand chars are case insensitive.
Doug Evans [Fri, 23 Jan 1998 23:03:29 +0000 (23:03 +0000)]
sanitize m32rx piece of _sim_cpu
Doug Evans [Fri, 23 Jan 1998 23:01:06 +0000 (23:01 +0000)]
add m32rx sanitization to tconfig.in
Doug Evans [Fri, 23 Jan 1998 22:22:23 +0000 (22:22 +0000)]
* Make-common.in (stamp-tvals): New rule.
(targ-vals.h,targ-map.c): Depend on it.
(clean): Remove stamp-tvals.
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.
Nick Clifton [Fri, 23 Jan 1998 18:32:40 +0000 (18:32 +0000)]
Updated to match latest disassembly results.
Michael Meissner [Fri, 23 Jan 1998 16:30:08 +0000 (16:30 +0000)]
First round of d10v ABI changes
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.
Fred Fish [Fri, 23 Jan 1998 15:36:12 +0000 (15:36 +0000)]
* gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
"calling function with watchpoint enabled".
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.
Doug Evans [Fri, 23 Jan 1998 10:04:16 +0000 (10:04 +0000)]
add comment.
Doug Evans [Fri, 23 Jan 1998 09:58:28 +0000 (09:58 +0000)]
new br-1 and upper-1 testcases
Doug Evans [Fri, 23 Jan 1998 09:54:38 +0000 (09:54 +0000)]
new txvu testcases
Jeff Law [Fri, 23 Jan 1998 07:29:19 +0000 (07:29 +0000)]
* config.guess: Add support for Linux/ARM.
Doug Evans [Fri, 23 Jan 1998 06:01:23 +0000 (06:01 +0000)]
* config/tc-txvu.c (assemble_insn): Commas moved to opcode table.
Doug Evans [Fri, 23 Jan 1998 05:36:20 +0000 (05:36 +0000)]
* config/tc-txvu.c (assemble_insn): Commas moved to opcode table.
Richard Henderson [Fri, 23 Jan 1998 05:27:42 +0000 (05:27 +0000)]
* bfd.c (bfd_get_error_handler): Add orthogonal function.
* bfd-in2.h: Regenerate.
Richard Henderson [Fri, 23 Jan 1998 05:14:12 +0000 (05:14 +0000)]
* tekhex.c (tekhex_write_object_contents): Check for no symbols.
PR 14422
Doug Evans [Fri, 23 Jan 1998 03:15:26 +0000 (03:15 +0000)]
update, lower insn has lower address
Fred Fish [Fri, 23 Jan 1998 02:37:34 +0000 (02:37 +0000)]
* objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
disassembly function there is a reloc on this line.
Fred Fish [Fri, 23 Jan 1998 02:36:05 +0000 (02:36 +0000)]
* d10v-dis.c (PC_MASK): Correct value.
(print_operand): If there's a reloc, don't calculate the
address because they could be in different sections.
Fred Fish [Fri, 23 Jan 1998 02:34:56 +0000 (02:34 +0000)]
* dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly
function there is a reloc on this line.
Nick Clifton [Fri, 23 Jan 1998 01:58:25 +0000 (01:58 +0000)]
Oopps - forgot to save cgen.h before commiting previous delta.
Nick Clifton [Fri, 23 Jan 1998 01:57:11 +0000 (01:57 +0000)]
Add prototypes for fixup swapping functions.
Change prototype of cgen_asm_finish_insn to return a char *
Nick Clifton [Fri, 23 Jan 1998 01:54:39 +0000 (01:54 +0000)]
Add support for swapping the fixups when insn are swapped.
Nick Clifton [Fri, 23 Jan 1998 01:45:06 +0000 (01:45 +0000)]
Added tests of automatic parallelisation.
Frank Ch. Eigler [Fri, 23 Jan 1998 00:38:10 +0000 (00:38 +0000)]
- added first batch of PKE code
- PKE memory region registration
- basic R/W operations
- combined pke[01] -> pke
Doug Evans [Fri, 23 Jan 1998 00:22:56 +0000 (00:22 +0000)]
* cgen.sh: Rewrite to be like simulator's version.
* Makefile.am (cgen): Update call to cgen.sh.
* Makefile.in: Regenerate
Mark Alexander [Fri, 23 Jan 1998 00:19:49 +0000 (00:19 +0000)]
Fix sanitization.
Richard Henderson [Fri, 23 Jan 1998 00:18:50 +0000 (00:18 +0000)]
* ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
pattern could match.
Ron Unrau [Thu, 22 Jan 1998 23:25:18 +0000 (23:25 +0000)]
Add sanitize-sky for txvu stuff.