binutils-gdb.git
26 years ago * config/mn10300-eval.exp: New file to support MN10300 eval board.
Mark Alexander [Mon, 23 Feb 1998 17:01:02 +0000 (17:01 +0000)]
* config/mn10300-eval.exp: New file to support MN10300 eval board.

26 years agosim-main.h: Re-arange r5900 registers so that they have their own
Andrew Cagney [Mon, 23 Feb 1998 16:55:38 +0000 (16:55 +0000)]
sim-main.h: Re-arange r5900 registers so that they have their own
little struct.
interp.c: Update.  Also add floating point Max/Min functions.
mips.igen: Remove r5900 tag from any floating point instructions.
r5900.igen: Rewrite.  Implement *all* floating point insns (except ld/st).
r5400.igen: Tag mdmx functions as being mdmx specific.

26 years agoAdd tracing of booleans and addresses.
Andrew Cagney [Mon, 23 Feb 1998 16:43:34 +0000 (16:43 +0000)]
Add tracing of booleans and addresses.

26 years agoSpecify correct values for REGISTER_RAW_SIZE.
Andrew Cagney [Mon, 23 Feb 1998 16:40:34 +0000 (16:40 +0000)]
Specify correct values for REGISTER_RAW_SIZE.
If a SIM/GDB register size botch, warn the user once.

26 years agoGenerate ENGINE_ISSUE hooks as part of SMP simulator.
Andrew Cagney [Mon, 23 Feb 1998 14:43:13 +0000 (14:43 +0000)]
Generate ENGINE_ISSUE hooks as part of SMP simulator.

26 years ago * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
Andrew Cagney [Mon, 23 Feb 1998 09:18:30 +0000 (09:18 +0000)]
    * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
        (sim_fpu_fpto, sim_fpu_tofp): Define.

26 years ago * ld-insn.c (parse_function_record): When -Wnodiscard, suppress
Andrew Cagney [Mon, 23 Feb 1998 08:55:41 +0000 (08:55 +0000)]
    * ld-insn.c (parse_function_record): When -Wnodiscard, suppress
        discarded function warning.
        * igen.c (main): Clarify -Wnodiscard.
        * ld-insn.c (parse_function_record): For functions, allow use of
        instruction style function model records

26 years agoremove sparclinux.h
Ian Lance Taylor [Mon, 23 Feb 1998 04:53:58 +0000 (04:53 +0000)]
remove sparclinux.h

26 years ago* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
Richard Henderson [Mon, 23 Feb 1998 04:41:18 +0000 (04:41 +0000)]
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
a plt entry when we can determine that we authoritatively define
the symbol.

26 years ago* configure.in (COREFILE selection): Remove sparc-*-linux*. They
Richard Henderson [Mon, 23 Feb 1998 04:37:04 +0000 (04:37 +0000)]
* configure.in (COREFILE selection): Remove sparc-*-linux*.  They
don't actually use trad-core, but a SunOS-style core file handled
by gdb directly.
* hosts/sparclinux.h: Remove.

26 years agoKeep include/regs.
Andrew Cagney [Mon, 23 Feb 1998 00:06:33 +0000 (00:06 +0000)]
Keep include/regs.

26 years ago * simops.c: Include sim-types.h.
Jeff Law [Sun, 22 Feb 1998 22:59:43 +0000 (22:59 +0000)]
    * simops.c: Include sim-types.h.

26 years ago* read.c (s_set): Record file and line info for symbols when -as.
Richard Henderson [Sun, 22 Feb 1998 06:36:20 +0000 (06:36 +0000)]
* read.c (s_set): Record file and line info for symbols when -as.
(pseudo_set): Don't overwrite that dummy fragment.

PR 14986

26 years ago (vu_count): New static local.
Doug Evans [Sat, 21 Feb 1998 07:44:25 +0000 (07:44 +0000)]
(vu_count): New static local.
(assemble_vif): Temporary hack to properly align mpg/direct data.
(assemble_vu): Insert mpg every 256 insns.

26 years agotc-dvp.c (cur_mach): New static local.
Doug Evans [Sat, 21 Feb 1998 06:28:46 +0000 (06:28 +0000)]
tc-dvp.c (cur_mach): New static local.
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.

26 years ago (cur_mach): New static local.
Doug Evans [Sat, 21 Feb 1998 06:28:18 +0000 (06:28 +0000)]
(cur_mach): New static local.
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.

26 years ago (extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
Doug Evans [Sat, 21 Feb 1998 06:26:41 +0000 (06:26 +0000)]
(extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
(vif_insn_len): Handle `unpack'.
({insert,extract}_dma_flags): Complete.

26 years ago (asm_state_stack): Maintain stack of parsing states.
Doug Evans [Sat, 21 Feb 1998 03:26:47 +0000 (03:26 +0000)]
(asm_state_stack): Maintain stack of parsing states.
({push,pop,set}_asm_state): New functions.
(CUR_ASM_STATE): Renamed from cur_asm_state, all uses updated.

26 years ago (asm_state): New state ASM_GIF.
Doug Evans [Sat, 21 Feb 1998 02:12:15 +0000 (02:12 +0000)]
(asm_state): New state ASM_GIF.
(gif_{insn_type,data_name,insn_frag}): New static locals.
(md_assemble): Watch for .endgif if in ASM_GIF state.
(assemble_gif): Complete.
(s_endgif): Complete.

26 years ago * dvp-dis.c (print_gif): Complete.
Doug Evans [Sat, 21 Feb 1998 02:09:02 +0000 (02:09 +0000)]
* dvp-dis.c (print_gif): Complete.
* dvp-opc.c (gif_operands,gif_opcodes): Complete.
(state_gif_{nregs,regs,nloop}): New static locals.
(*_gif_*): Complete.
(dvp_opcode_init_{parse,print}): Init gif state locals.

26 years ago * dvp.h (GIF_MAX_NLOOP,GIF_PRE): New macros.
Doug Evans [Sat, 21 Feb 1998 02:03:08 +0000 (02:03 +0000)]
* dvp.h (GIF_MAX_NLOOP,GIF_PRE): New macros.
(gif_type): New type.
(gif_nloop,gif_nregs,gif_operand_nloop): Declare.

26 years ago * configure: Don't let builds be done in source tree.
Tom Tromey [Sat, 21 Feb 1998 00:05:01 +0000 (00:05 +0000)]
* configure: Don't let builds be done in source tree.

26 years ago* PKE sim unit testing continuing. The DIRECT and MPG instructions
Frank Ch. Eigler [Fri, 20 Feb 1998 23:59:10 +0000 (23:59 +0000)]
* PKE sim unit testing continuing.  The DIRECT and MPG instructions
  were hammered in today's runs.  Work is beginning in endian-proofing
  the code.

* sky-pke.c (pke1_issue): Issue on correct PKE device.
(pke_io_write_buffer, pke_code_mpg, pke_code_unpack): Perform more
  endian conversions.
(pke_code_mpg, pke_code_direct): Add operand alignment assertions.
(pke_code_mpg): Correct VU stall checks.  Correct VU opcode
  transfer ordering.
(pke_code_direct): Correct typos in DIRECT operand accessing.
(pke_code_unpack): Correct conditional sign-extension handling.

* sky-gpuif.c (gif_io_read_buffer, gif_io_write_buffer): Correct
  assertion polarity.
(gif_read_tag): Disable faulty DMA-tag testing code.

26 years agofix typo
Michael Meissner [Fri, 20 Feb 1998 21:54:06 +0000 (21:54 +0000)]
fix typo

26 years agoFixed UNLOCK test.
Nick Clifton [Fri, 20 Feb 1998 21:01:05 +0000 (21:01 +0000)]
Fixed UNLOCK test.

26 years agoFixed MVFC test.
Nick Clifton [Fri, 20 Feb 1998 20:56:35 +0000 (20:56 +0000)]
Fixed MVFC test.

26 years agoFix REMU test.
Nick Clifton [Fri, 20 Feb 1998 20:52:30 +0000 (20:52 +0000)]
Fix REMU test.

26 years ago * confirg/tc-dvp.c (md_assemble): Handle ASM_DIRECT state.
Doug Evans [Fri, 20 Feb 1998 20:48:39 +0000 (20:48 +0000)]
* confirg/tc-dvp.c (md_assemble): Handle ASM_DIRECT state.
(dvp_parse_done): Comment out contents.
(s_enddirect,s_endmpg,s_endunpack): Call demand_empty_rest_of_line.
(s_state): Handle .vu in included file.

26 years ago * config/tc-ppc.c (md_pseudo_table): Add "section".
Ian Lance Taylor [Fri, 20 Feb 1998 20:04:09 +0000 (20:04 +0000)]
* config/tc-ppc.c (md_pseudo_table): Add "section".
(ppc_named_section): New static function.

26 years agoMore instruction tests.
Nick Clifton [Fri, 20 Feb 1998 19:55:27 +0000 (19:55 +0000)]
More instruction tests.

26 years agoLast of the instruction tests.
Nick Clifton [Fri, 20 Feb 1998 19:01:58 +0000 (19:01 +0000)]
Last of the instruction tests.

26 years ago * gas/mips/r5900.s, gas/mips/r5900.d: Update for "mula.s" change.
Jeff Law [Fri, 20 Feb 1998 08:27:32 +0000 (08:27 +0000)]
    * gas/mips/r5900.s, gas/mips/r5900.d: Update for "mula.s" change.

26 years agoFix it right this time.
Jeff Law [Fri, 20 Feb 1998 08:25:59 +0000 (08:25 +0000)]
Fix it right this time.

26 years ago * mips-opc.c (mula.s): Renamed from multa.s.
Jeff Law [Fri, 20 Feb 1998 08:22:48 +0000 (08:22 +0000)]
    * mips-opc.c (mula.s): Renamed from multa.s.

26 years agoImplement sim_fpu_is() and sim_fpu_cmp(). Note problem with detecting
Andrew Cagney [Fri, 20 Feb 1998 07:20:53 +0000 (07:20 +0000)]
Implement sim_fpu_is() and sim_fpu_cmp().  Note problem with detecting
denorms.

26 years ago* tc-ppc.c (ppc_biei): Cache the last symbol we inserted
Richard Henderson [Fri, 20 Feb 1998 06:27:12 +0000 (06:27 +0000)]
* tc-ppc.c (ppc_biei): Cache the last symbol we inserted
so we don't have to scan the entire list.

26 years agoFixup my email addresses to be at cygnus.com
Fred Fish [Fri, 20 Feb 1998 05:52:58 +0000 (05:52 +0000)]
Fixup my email addresses to be at cygnus.com

26 years ago * config/tc-d30v.c (parallel_ok): For the explicitly parallel
Fred Fish [Fri, 20 Feb 1998 05:47:40 +0000 (05:47 +0000)]
* config/tc-d30v.c (parallel_ok): For the explicitly parallel
  case, allow the parallel instructions to modify the same flag
  bits.
PR 14883

26 years agoFix minor typos in comments
Fred Fish [Fri, 20 Feb 1998 05:41:08 +0000 (05:41 +0000)]
Fix minor typos in comments

26 years agoBackout of revision 1.35. Abort may be valid operation.
Andrew Cagney [Fri, 20 Feb 1998 03:20:49 +0000 (03:20 +0000)]
Backout of revision 1.35.  Abort may be valid operation.

26 years agoMore instruction tests.
Nick Clifton [Fri, 20 Feb 1998 02:04:46 +0000 (02:04 +0000)]
More instruction tests.

26 years ago* Continuing unit testing of PKE simulator. It now successfully matches
Frank Ch. Eigler [Fri, 20 Feb 1998 01:50:01 +0000 (01:50 +0000)]
* Continuing unit testing of PKE simulator.  It now successfully matches
  the SCEI PKE simulator's output on its own test sample (tsv432.in).

* sky-pke.h (PKE_MEM_READ, PKE_MEM_WRITE, PKE_REG_MASK_SET): Add
  trace file records.

* sky-pke.c: (pke_track_write): Removed function.  Replaced with
  in-line modifications to VU tracking tables.
(pke_attach): Attach VU tracking tables.  Use line buffering on
  trace files.
(pke_issue): Spit out additional trace records.
(pke_pc_operand_bits): Correct bitfield masking error.
(*): Replace sim_read/write with kludge PKE_MEM_READ/WRITE
  throughout.
(pke_code_unpack): Correct numerous small bugs in operand decoding
  etc.

26 years ago * m32r-opc.[ch]: Regenerate.
Doug Evans [Fri, 20 Feb 1998 00:57:03 +0000 (00:57 +0000)]
* m32r-opc.[ch]: Regenerate.

26 years agoremove long long printf crash
John Metzler [Fri, 20 Feb 1998 00:52:37 +0000 (00:52 +0000)]
remove long long printf crash

26 years ago * m32r.c (do_lock,do_unlock): Delete.
Doug Evans [Fri, 20 Feb 1998 00:45:47 +0000 (00:45 +0000)]
* m32r.c (do_lock,do_unlock): Delete.
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.

26 years ago (DVP_OPCODE_IGNORE_DIS): New macro.
Doug Evans [Fri, 20 Feb 1998 00:32:30 +0000 (00:32 +0000)]
(DVP_OPCODE_IGNORE_DIS): New macro.

26 years agoYet more tests of m32r instructions
Nick Clifton [Fri, 20 Feb 1998 00:30:14 +0000 (00:30 +0000)]
Yet more tests of m32r instructions

26 years ago* listing.c (list_symbol_table): Categorize symbols by
Richard Henderson [Fri, 20 Feb 1998 00:16:51 +0000 (00:16 +0000)]
* listing.c (list_symbol_table): Categorize symbols by
undefined_section rather than sy_frag->line == NULL.

PR 14986

26 years agoEven more instruction tests
Nick Clifton [Thu, 19 Feb 1998 23:56:39 +0000 (23:56 +0000)]
Even more instruction tests

26 years agoTest even more instructions.
Nick Clifton [Thu, 19 Feb 1998 23:18:45 +0000 (23:18 +0000)]
Test even more instructions.

26 years ago * config/tc-dvp.c (LOCAL_LABEL_PREFIX,END_LABEL_PREFIX): New macros.
Doug Evans [Thu, 19 Feb 1998 22:51:08 +0000 (22:51 +0000)]
* config/tc-dvp.c (LOCAL_LABEL_PREFIX,END_LABEL_PREFIX): New macros.
(inline_dmadata): Renamed from s_dmadata_implied.
(assemble_one_insn): Rewrite dma operand processing.
(md_apply_fix3): Handle DVP_OPERAND_DMA_NEXT.
(unique_name,setup_autocount): New functions.

26 years agoRewrite dma operands/opcodes tables.
Doug Evans [Thu, 19 Feb 1998 22:40:08 +0000 (22:40 +0000)]
Rewrite dma operands/opcodes tables.

26 years ago * dvp.h (DVP_OPERAND_DMA_*): Rewrite.
Doug Evans [Thu, 19 Feb 1998 22:37:34 +0000 (22:37 +0000)]
* dvp.h (DVP_OPERAND_DMA_*): Rewrite.
(DVP_OPERAND_AUTOCOUNT): New modifier.
(dma_operand_{count,addr}): Declare.

26 years agotest 32 bit BCL instruction.
Nick Clifton [Thu, 19 Feb 1998 21:52:27 +0000 (21:52 +0000)]
test 32 bit BCL instruction.

26 years agoFall back from using igen to using gencode for the mips64vr4100 because
John Metzler [Thu, 19 Feb 1998 21:28:50 +0000 (21:28 +0000)]
Fall back from using igen to using gencode for the mips64vr4100 because
igen is not ready yet.

26 years agoAdd more tests.
Nick Clifton [Thu, 19 Feb 1998 19:43:18 +0000 (19:43 +0000)]
Add more tests.

26 years agoAdded a couple of tests.
Nick Clifton [Thu, 19 Feb 1998 19:16:54 +0000 (19:16 +0000)]
Added a couple of tests.

26 years ago * configure.in: Don't build libgui for a cygwin32 target when not on
Ian Lance Taylor [Thu, 19 Feb 1998 18:43:09 +0000 (18:43 +0000)]
* configure.in: Don't build libgui for a cygwin32 target when not on
a cygwin32 host.

26 years ago * interp.c (load_memory): Add missing "break"'s.
Gavin Romig-Koch [Thu, 19 Feb 1998 15:24:10 +0000 (15:24 +0000)]
* interp.c (load_memory): Add missing "break"'s.

26 years ago * config/tc-dvp.c: Include stdarg.h/varargs.h.
Doug Evans [Thu, 19 Feb 1998 10:24:15 +0000 (10:24 +0000)]
* config/tc-dvp.c: Include stdarg.h/varargs.h.
(md_pseudo_table): Add .word.
(assemble_dma): Set alignment to 16 bytes.  Enable code that records
fixups.
(assemble_one_insn): Handle DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}.
(md_apply_fix3): Handle DVP_OPERAND_DMA_ADDR.
(parse_dma_addr_autocount): Renamed from parse_dma_ptr_autocount.
Rewrite.
(eval_expr): New function.
(create_label,create_colon_label): New function.
(s_enddmadata): Rewrite.

26 years ago * dvp.h (DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}): Split
Doug Evans [Thu, 19 Feb 1998 10:10:32 +0000 (10:10 +0000)]
* dvp.h (DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}): Split
DVP_OPERAND_DMA_PTR_AUTOCOUNT into two.
(dma_operand_{count,addr}): Declare.

26 years ago* Makefile.am (install-exec-local): Install properly when ln
Richard Henderson [Thu, 19 Feb 1998 07:44:04 +0000 (07:44 +0000)]
* Makefile.am (install-exec-local): Install properly when ln
fails or tooldir == prefix.

26 years agoSpecial case handling of updates to the condition bit to allow for the fact
Nick Clifton [Thu, 19 Feb 1998 02:13:27 +0000 (02:13 +0000)]
Special case handling of updates to the condition bit to allow for the fact
that it is shadowed by several registers.

26 years ago* tc-dvp.c: Allow FAKE arguments to have a parser handler.
Doug Evans [Thu, 19 Feb 1998 00:40:15 +0000 (00:40 +0000)]
* tc-dvp.c: Allow FAKE arguments to have a parser handler.

26 years agoAllow FAKE arguments to have a parser handler.
Doug Evans [Thu, 19 Feb 1998 00:39:38 +0000 (00:39 +0000)]
Allow FAKE arguments to have a parser handler.

26 years agofix thinko in last patch
Doug Evans [Wed, 18 Feb 1998 23:57:47 +0000 (23:57 +0000)]
fix thinko in last patch

26 years ago * config/tc-dvp.c (parse_float): New function.
Doug Evans [Wed, 18 Feb 1998 23:56:15 +0000 (23:56 +0000)]
* config/tc-dvp.c (parse_float): New function.
(assemble_vu): Handle loi insns.
(assemble_one_insn): Simplify suffix parsing.
Handle DVP_OPERAND_FLOAT.

26 years ago * dvp-dis.c (print_vu): Handle loi insns.
Doug Evans [Wed, 18 Feb 1998 23:49:27 +0000 (23:49 +0000)]
* dvp-dis.c (print_vu): Handle loi insns.
(print_insn): Likewise.
* dvp-opc.c (vu_lower_opcodes): Add "loi".

26 years agoAdded --Wp and --Wnp abbreviations for --[no-]warn-explicit-parallel-conflicts.
Nick Clifton [Wed, 18 Feb 1998 22:35:08 +0000 (22:35 +0000)]
Added --Wp and --Wnp abbreviations for --[no-]warn-explicit-parallel-conflicts.
Forced parallel constructions to use non-relaxable aliases of insns.

26 years ago* Started PKE sim unit testing. A number of minor errors were corrected.
Frank Ch. Eigler [Wed, 18 Feb 1998 21:26:38 +0000 (21:26 +0000)]
* Started PKE sim unit testing.  A number of minor errors were corrected.
  A few PKE instructions even run correctly!  Next missing function of
  interest: FIFO pruning.

* sky-pke.c (pke_issue): Take extra SIM_DESC argument.
(pke_attach): Attach correct PKE0/PKE1 device.  Open trace file if
  VIF{0,1}_TRACE_FILE env. var. is defined.
(pke_io_write_buffer): Classify words in FIFO quadword.  Use
  kludgey sim_core routines to access DMA registers.
(pke_pc_advance): Add PKEcode classification.  Correct DMA tag
  skipping.  Emit trace records.
(pke_pc_fifo): Add PKEcode operand classification.
(pke_check_stall): Perform stall checks against updated register
  scheme.
(pke_code_unpack): Correct operand-count calculation.
(pke_code_stmask): Correct instruction skipping.

* sky-pke.h (PKE_MEM_WRITE, PKE_MEM_READ): New kludge macros.
(BIT_MASK_BTW): Corrected off-by-one error.
(enum wordclass): Classify words in a FIFO quadword.

* sky-dma.c (dma_io_read_buffer): Correct address checking assertions.

* sky-engine.c (engine_run): Pass along SIM_DESC to PKE
  instruction issue code.

26 years agoDelete rac-d,rac-ds,rach-d,rach-ds, they're aliases.
Doug Evans [Wed, 18 Feb 1998 20:39:02 +0000 (20:39 +0000)]
Delete rac-d,rac-ds,rach-d,rach-ds, they're aliases.

26 years ago.Sanitize for devo/sim/testsuite/sim/m32r.
Doug Evans [Wed, 18 Feb 1998 20:37:27 +0000 (20:37 +0000)]
.Sanitize for devo/sim/testsuite/sim/m32r.

26 years ago * simops.c (multiply instructions): Cast input operands to a
Jeff Law [Wed, 18 Feb 1998 20:05:53 +0000 (20:05 +0000)]
    * simops.c (multiply instructions): Cast input operands to a
        signed64/unsigned64 type as appropriate.

26 years agoTreat a double vertical bar as a seperator between instructions.
Nick Clifton [Wed, 18 Feb 1998 19:01:59 +0000 (19:01 +0000)]
Treat a double vertical bar as a seperator between instructions.

26 years agoDMA define names changed (SRCADDR -> MADR).
James Lemke [Wed, 18 Feb 1998 16:47:03 +0000 (16:47 +0000)]
DMA define names changed (SRCADDR -> MADR).

26 years ago (CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS.
Doug Evans [Wed, 18 Feb 1998 07:57:59 +0000 (07:57 +0000)]
(CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS.

26 years ago * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
Doug Evans [Wed, 18 Feb 1998 05:46:37 +0000 (05:46 +0000)]
* cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.

26 years agoExtend sim-trace.[hc] to include a generic set of macro's for tracing
Andrew Cagney [Wed, 18 Feb 1998 04:11:09 +0000 (04:11 +0000)]
Extend sim-trace.[hc] to include a generic set of macro's for tracing
ALU/... inputs/outputs.
Base implementation on original v850 code.
Update igen to generate code interfacing with newer sim-trace.[hc].

26 years ago * config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.
Doug Evans [Wed, 18 Feb 1998 04:04:07 +0000 (04:04 +0000)]
* config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.

26 years ago * cen.c (cgen_md_apply_fix3): Delete call to validate_operand.
Doug Evans [Wed, 18 Feb 1998 02:59:52 +0000 (02:59 +0000)]
* cen.c (cgen_md_apply_fix3): Delete call to validate_operand.
Test result of insert_operand for error.

26 years ago * dvp-opc.c (parse_vfreg): Dest spec is optional.
Doug Evans [Wed, 18 Feb 1998 02:50:58 +0000 (02:50 +0000)]
* dvp-opc.c (parse_vfreg): Dest spec is optional.
(print_vfreg): Don't print dest spec.
(parse_accdest): Dest spec is optional.
(print_accdest): Don't print dest spec.

26 years ago * gas/dvp/{basic-1,lower-1,upper-1,upper-2}.d: Update to remove dest
Doug Evans [Wed, 18 Feb 1998 02:46:36 +0000 (02:46 +0000)]
* gas/dvp/{basic-1,lower-1,upper-1,upper-2}.d: Update to remove dest
spec on operands.

26 years ago * objcopy.c (compare_section_lma): Rename from _vma.
Richard Henderson [Wed, 18 Feb 1998 02:45:07 +0000 (02:45 +0000)]
*  objcopy.c (compare_section_lma): Rename from _vma.
(copy_object): Gap fill based on LMA not VMA.
* binutils.texi: Update and clarify.
* objcopy.1: Likewise.

PR 14917

26 years agoremove #ifdef HAVE_CPU_M32RX uses. tweak some comments
Doug Evans [Wed, 18 Feb 1998 02:31:57 +0000 (02:31 +0000)]
remove #ifdef HAVE_CPU_M32RX uses.  tweak some comments

26 years ago * Makefile.in (M32R_OBJS): Add cpu.o.
Doug Evans [Wed, 18 Feb 1998 02:26:47 +0000 (02:26 +0000)]
* Makefile.in (M32R_OBJS): Add cpu.o.
(cpu.o): Add rule for.
(NL_TARGET): Define.
* configure.in: Add AC_CHECK_PROG(SCHEME).
* cpu.c: New file.
* cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update call to semantic fn.
(M32RX_OBJS): Add cpux.o.
(cpux.o): Add rule for.
cpux.c: New file.
* cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
* m32rx.c (m32rx_h_accums_{get,set}): Rewrite.
(m32rx_h_cr_{get,set}): New functions.
(m32rx_h_accums_{get,set}): New functions.
* mloopx.in: Rewrite main loop.

* m32r.c (do_trap): Move from here.
* sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
(sim_create_inferior): Use h_pc_set.
(h_pc_{get,set}): New functions.
(h_gr_{get,set}): New functions.
(syscall_{read,write}_mem): New functions.
* sim-main.h (h_{gr,pc}_{get,set}): Declare.

26 years ago * Make-common.in (CGEN_MAIN_SCM): Update.
Doug Evans [Wed, 18 Feb 1998 02:05:54 +0000 (02:05 +0000)]
* Make-common.in (CGEN_MAIN_SCM): Update.
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.

26 years ago * dlltool.c (make_one_lib_file): Don't add 1 to hint.
Ian Lance Taylor [Wed, 18 Feb 1998 01:34:41 +0000 (01:34 +0000)]
* dlltool.c (make_one_lib_file): Don't add 1 to hint.

26 years ago * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
Doug Evans [Wed, 18 Feb 1998 01:30:04 +0000 (01:30 +0000)]
* cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
(SEMANTIC_FN): Rewrite declaration.
(DECODE): Update type of semantic_fast member.
({EX,SEM}_FN_NAME): Have only one version.
* cgen.sh: Support building cpu.c.
* sim-base.h (sim_state_base): Delete conditionals surrounding
member scache_size.

26 years ago * Makefile.am (CGENFILES): Update.
Doug Evans [Wed, 18 Feb 1998 01:26:15 +0000 (01:26 +0000)]
* Makefile.am (CGENFILES): Update.
* Makefile.in: Regenerate.
* cgen-asm.in (insert_normal): Result is error message now.
Validate value to be inserted.
(insert_insn_normal): Result is error message now.
(@arch@_cgen_assemble_insn): Update.
* cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max
arguments.  Don't perform validation here.
* m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.

26 years ago * cgen.h (cgen_insert_fn): Change type of result to const char *.
Doug Evans [Wed, 18 Feb 1998 00:02:27 +0000 (00:02 +0000)]
* cgen.h (cgen_insert_fn): Change type of result to const char *.
(cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.

26 years ago* XGKICK now uses memory-based GIF fifo.
Ian Carmichael [Tue, 17 Feb 1998 23:50:35 +0000 (23:50 +0000)]
* XGKICK now uses memory-based GIF fifo.

26 years ago * remote-mips.c (mips_request): Use unsigned long during parsing
Frank Ch. Eigler [Tue, 17 Feb 1998 23:14:57 +0000 (23:14 +0000)]
* remote-mips.c (mips_request): Use unsigned long during parsing
  returned value from monitor, to prevent accidental sign extension.

26 years agoTue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
Jason Molenda [Tue, 17 Feb 1998 22:42:02 +0000 (22:42 +0000)]
Tue Feb 17 14:28:33 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>

        * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
        * configure.in: Ditto.
        * configure: Regenerated.

Tue Feb 17 14:07:34 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>

        * gdbtypes.c (check_typedef): Do not try to resolve the length of
        a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
        set TYPE_FLAG_TARGET_STUB as well.

Patches from Peter.

26 years agokeep config, lib, sim.
Doug Evans [Tue, 17 Feb 1998 22:05:11 +0000 (22:05 +0000)]
keep config, lib, sim.

26 years ago * config/default.exp: New file.
Doug Evans [Tue, 17 Feb 1998 21:58:11 +0000 (21:58 +0000)]
* config/default.exp: New file.
* lib/sim-defs.exp: New file.
* sim/m32r/*: m32r dejagnu simulator testsuite.

26 years agokeep m32r
Doug Evans [Tue, 17 Feb 1998 21:54:07 +0000 (21:54 +0000)]
keep m32r

26 years agom32r simulator testsuite
Doug Evans [Tue, 17 Feb 1998 21:52:53 +0000 (21:52 +0000)]
m32r simulator testsuite

26 years ago * Makefile.in (build_alias): Define.
Doug Evans [Tue, 17 Feb 1998 20:54:50 +0000 (20:54 +0000)]
* Makefile.in (build_alias): Define.
(arch): Define.
(RUNTEST_FOR_TARGET): Delete.
(RUNTEST): Fix.
(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define.
(check): Depend on site.exp.
(site.exp): New target.
(cgen): New target.
* configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen.
(arch): Define from target_cpu.
* configure: Regenerate.

26 years agoBetter tracing for conditional branches
Michael Meissner [Tue, 17 Feb 1998 19:38:48 +0000 (19:38 +0000)]
Better tracing for conditional branches

26 years ago * libbfd.c (bfd_seek): If fseek fails, save errno around call to
Ian Lance Taylor [Tue, 17 Feb 1998 18:02:55 +0000 (18:02 +0000)]
* libbfd.c (bfd_seek): If fseek fails, save errno around call to
bfd_tell.  If errno is EINVAL, set bfd_error_file_truncated, not
bfd_error_system_call.