binutils-gdb.git
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.

26 years agoPass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returned
Andrew Cagney [Tue, 17 Feb 1998 04:28:00 +0000 (04:28 +0000)]
Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register.  Verify returned
register size.

26 years agoFor sim_fetch_register / sim_store_register: Add LENGTH parameter,
Andrew Cagney [Tue, 17 Feb 1998 04:06:38 +0000 (04:06 +0000)]
For sim_fetch_register / sim_store_register: Add LENGTH parameter,
return actual size of register, 0 if not applicable, -1 of legacy
implementation.

26 years ago* Added VU0_CIA register #define.
Ian Carmichael [Mon, 16 Feb 1998 22:09:57 +0000 (22:09 +0000)]
* Added VU0_CIA register #define.

26 years ago* Add magic VU1_CIA register.
Ian Carmichael [Mon, 16 Feb 1998 22:07:11 +0000 (22:07 +0000)]
* Add magic VU1_CIA register.

26 years ago* Partially implement new VPE_STAT register.
Ian Carmichael [Mon, 16 Feb 1998 21:44:45 +0000 (21:44 +0000)]
* Partially implement new VPE_STAT register.

26 years agoOnly parallelise instructions when assembling for the m32rx, and when
Nick Clifton [Mon, 16 Feb 1998 20:30:58 +0000 (20:30 +0000)]
Only parallelise instructions when assembling for the m32rx, and when
neither instruction is relaxable.

26 years agofix 5900 in Makefile.am
Ian Lance Taylor [Mon, 16 Feb 1998 17:25:52 +0000 (17:25 +0000)]
fix 5900 in Makefile.am

26 years agoMake ``target d10v'' and ``target remote'' equivalent.
Andrew Cagney [Mon, 16 Feb 1998 09:17:07 +0000 (09:17 +0000)]
Make ``target d10v'' and ``target remote'' equivalent.
Hack remote.c so that xfer_memory calls a memory translate function.

26 years agoconfigure: rerun autoconf
Ron Unrau [Mon, 16 Feb 1998 04:33:28 +0000 (04:33 +0000)]
configure: rerun autoconf
interp.c: shield dummy vu registers with -DTARGET_SKY

26 years agoImplement "dbt" and "rtd" instructions.
Andrew Cagney [Mon, 16 Feb 1998 00:35:57 +0000 (00:35 +0000)]
Implement "dbt" and "rtd" instructions.
Import fixes to dmap_addr() from mitsu branch.

26 years agoTest the RDT and DBT instructions.
Andrew Cagney [Sun, 15 Feb 1998 23:21:19 +0000 (23:21 +0000)]
Test the RDT and DBT instructions.

26 years agoconfigure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.
Ron Unrau [Sun, 15 Feb 1998 21:33:13 +0000 (21:33 +0000)]
configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.
sim-main.h: Define regs for sky if -DTARGET_SKY
interp.c: Initial register upload/download support for sky.

26 years agoparse.c (write_dollar_variable): call new function target_map_name_to_register
Ron Unrau [Sun, 15 Feb 1998 21:30:02 +0000 (21:30 +0000)]
parse.c (write_dollar_variable): call new function target_map_name_to_register
so that targets can define their own register name aliases.
infcmd.c (registers_info): call target_map_name_to_register so that
"print $reg" and "info reg $reg" share the same register alias set.
mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers
can be printed separately.
txvu-tdep.c: print registers according to current CPU context.
tm-txvu.h: define SKY registers and conditionalize register interpretation
macros.
txvu.mt: Don't bother building remote-mips.o for sky target.

26 years ago* Vu1 state moved to struct. Host-target endian twiddling. Misc other fixes.
Ian Carmichael [Sat, 14 Feb 1998 05:34:08 +0000 (05:34 +0000)]
* Vu1 state moved to struct.  Host-target endian twiddling.  Misc other fixes.

26 years agoTIC80 uses little endian doubles, not big endian
Michael Meissner [Sat, 14 Feb 1998 00:59:44 +0000 (00:59 +0000)]
TIC80 uses little endian doubles, not big endian

26 years ago * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
Stan Shebs [Sat, 14 Feb 1998 00:49:47 +0000 (00:49 +0000)]
* config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
* config/i386/xm-i386mk.h: Fix an include.
* config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.

26 years agomicro-cleanup
Stan Shebs [Sat, 14 Feb 1998 00:38:57 +0000 (00:38 +0000)]
micro-cleanup

26 years ago- PKE simulation almost finished. Needed enhancements:
Frank Ch. Eigler [Fri, 13 Feb 1998 23:29:38 +0000 (23:29 +0000)]
- PKE simulation almost finished.  Needed enhancements:
  * trace file generation
  * FIFO pruning

- PKE functions still missing due to external dependencies:
  * interrupt to 5900 (igen?)
  * VU busy checking (sky-vu / coprocessor registers)
  * PATH3 masking (sky-gpuif / covert control interface)

26 years agoFix tests to match latest version of the assembler.
Nick Clifton [Fri, 13 Feb 1998 22:46:09 +0000 (22:46 +0000)]
Fix tests to match latest version of the assembler.

26 years agoDo not bother checking the operands of instructions which have no operands!
Nick Clifton [Fri, 13 Feb 1998 22:45:14 +0000 (22:45 +0000)]
Do not bother checking the operands of instructions which have no operands!

26 years agoFix comment.
Doug Evans [Fri, 13 Feb 1998 22:36:22 +0000 (22:36 +0000)]
Fix comment.

26 years ago * cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
Doug Evans [Fri, 13 Feb 1998 22:35:43 +0000 (22:35 +0000)]
* cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
operand instance list.
* m32r-opc.c: Regenerate.

26 years agoPass floating point structure address instead of the structure itself
Michael Meissner [Fri, 13 Feb 1998 22:12:51 +0000 (22:12 +0000)]
Pass floating point structure address instead of the structure itself

26 years agoReverted writes_to_pc() back to old version of code until PC operands are
Nick Clifton [Fri, 13 Feb 1998 21:52:13 +0000 (21:52 +0000)]
Reverted writes_to_pc() back to old version of code until PC operands are
supported by cgen.

26 years ago * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
Ian Lance Taylor [Fri, 13 Feb 1998 21:48:00 +0000 (21:48 +0000)]
* Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
* doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
* doc/Makefile.in: Rebuild.

26 years ago * Makefile.am (AUTOMAKE_OPTIONS): Define.
Ian Lance Taylor [Fri, 13 Feb 1998 21:39:55 +0000 (21:39 +0000)]
* Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.

26 years ago * Makefile.am (AUTOMAKE_OPTIONS): Define.
Ian Lance Taylor [Fri, 13 Feb 1998 19:55:14 +0000 (19:55 +0000)]
* Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.

26 years agorebuild with new automake
Ian Lance Taylor [Fri, 13 Feb 1998 19:44:27 +0000 (19:44 +0000)]
rebuild with new automake

26 years agox
Ian Lance Taylor [Fri, 13 Feb 1998 18:39:49 +0000 (18:39 +0000)]
x

26 years agoOops, fix typo.
Mark Alexander [Fri, 13 Feb 1998 18:34:46 +0000 (18:34 +0000)]
Oops, fix typo.

26 years ago * mn10300-dis.c (print_insn_mn10300): Recognize break instruction.
Mark Alexander [Fri, 13 Feb 1998 18:33:34 +0000 (18:33 +0000)]
* mn10300-dis.c (print_insn_mn10300): Recognize break instruction.

26 years ago * configure.in: Get the version number from BFD.
Ian Lance Taylor [Fri, 13 Feb 1998 18:31:09 +0000 (18:31 +0000)]
* configure.in: Get the version number from BFD.
* configure: Rebuild.

26 years ago * Makefile.am (libopcodes_la_LDFLAGS): Define.
Ian Lance Taylor [Fri, 13 Feb 1998 18:13:58 +0000 (18:13 +0000)]
* Makefile.am (libopcodes_la_LDFLAGS): Define.
* Makefile.in: Rebuild.

26 years ago * Makefile.am (libbfd_la_LDFLAGS): Define.
Ian Lance Taylor [Fri, 13 Feb 1998 18:12:58 +0000 (18:12 +0000)]
* Makefile.am (libbfd_la_LDFLAGS): Define.
* Makefile.in: Rebuild.

26 years agoFirst functional drop of the gpuif code plus modifications to
Patrick Macdonald [Fri, 13 Feb 1998 18:02:24 +0000 (18:02 +0000)]
First functional drop of the gpuif code plus modifications to
non-gpuif code to allow sky sim to build with --enable-sim-warnings

26 years agoParallelisation code changed to used cgen's new ins operands feature.
Nick Clifton [Fri, 13 Feb 1998 18:01:19 +0000 (18:01 +0000)]
Parallelisation code changed to used cgen's new ins operands feature.

26 years agoRegenerated after modifying cgen/m32r.cpu to remove WRITE_LR and WRITE_SRC
Nick Clifton [Fri, 13 Feb 1998 17:51:46 +0000 (17:51 +0000)]
Regenerated after modifying cgen/m32r.cpu to remove WRITE_LR and WRITE_SRC
attributes.

26 years ago * config/tc-mips.c (macro_build): Handle operand type 'C'.
Ian Lance Taylor [Fri, 13 Feb 1998 05:49:55 +0000 (05:49 +0000)]
* config/tc-mips.c (macro_build): Handle operand type 'C'.
(macro): Fix handling of M_COP[0-3].

26 years agoImplement separate user (SPU) and interrupt (SPI) stack pointers.
Andrew Cagney [Fri, 13 Feb 1998 05:22:49 +0000 (05:22 +0000)]
Implement separate user (SPU) and interrupt (SPI) stack pointers.

26 years agoTest switching between SPI/SPU.
Andrew Cagney [Fri, 13 Feb 1998 05:19:02 +0000 (05:19 +0000)]
Test switching between SPI/SPU.

26 years agoBeginnings of m32r simulator testsuite.
Doug Evans [Fri, 13 Feb 1998 03:16:48 +0000 (03:16 +0000)]
Beginnings of m32r simulator testsuite.

26 years agoKeep m32r-elf.
Doug Evans [Fri, 13 Feb 1998 03:01:10 +0000 (03:01 +0000)]
Keep m32r-elf.

26 years ago * cgen.h (lookup_insn): New argument alias_p.
Doug Evans [Fri, 13 Feb 1998 02:33:26 +0000 (02:33 +0000)]
* cgen.h (lookup_insn): New argument alias_p.
* dvp.h (VU_FLAG_[IEMDT]): New macros.

26 years agotweak last entry
Doug Evans [Fri, 13 Feb 1998 02:31:33 +0000 (02:31 +0000)]
tweak last entry

26 years ago * cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Doug Evans [Fri, 13 Feb 1998 02:31:10 +0000 (02:31 +0000)]
* cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Ignore ALIAS insns if asked to.
(@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
* m32r-opc.c: Regenerate.

26 years ago (vu_operands): New element UFLAGS.
Doug Evans [Fri, 13 Feb 1998 01:48:16 +0000 (01:48 +0000)]
(vu_operands): New element UFLAGS.
(parse_uflags,print_uflags): New functions.
(vu_upper_opcodes): Add UFLAGS to all insns.

26 years ago * gas/dvp/upper-2.[sd]: New testcase.
Doug Evans [Fri, 13 Feb 1998 01:44:29 +0000 (01:44 +0000)]
* gas/dvp/upper-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.

26 years agoRegenerate with less verbose operand instance tables.
Doug Evans [Fri, 13 Feb 1998 01:18:09 +0000 (01:18 +0000)]
Regenerate with less verbose operand instance tables.

26 years ago * gasp/macro.out: Adjust to reflect the fact that keyword
Ian Lance Taylor [Fri, 13 Feb 1998 01:13:15 +0000 (01:13 +0000)]
* gasp/macro.out: Adjust to reflect the fact that keyword
arguments are now permitted after positional arguments.

26 years ago Based on patches from Ross Harvey <ross@teraflop.com>:
Ian Lance Taylor [Fri, 13 Feb 1998 01:09:32 +0000 (01:09 +0000)]
Based on patches from Ross Harvey <ross@teraflop.com>:
* macro.c (ISSEP): Only treat '<' and '>' as separator characters
if macro_alternate or macro_mri.
(getstring): Remove support for byte constants between < and >.
(get_any_string): '<' only starts a string if macro_alternate or
macro_mri.
(macro_expand_body): Permit keyword parameters following
positional parameters.

26 years ago NetBSD patches from Gordon W. Ross <gwr@mc.com>:
Ian Lance Taylor [Fri, 13 Feb 1998 00:11:41 +0000 (00:11 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* netbsd.h (MACHTYPE_OK): Define.
(MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when
calling N_SET_MACHTYPE, rather than having a switch.
* libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD,
and M_ALPHA_NETBSD.
* i386netbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68k4knetbsd.c (SEGMENT_SIZE): Don't define.
(MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68knetbsd.c: (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* ns32knetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* sparcnetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.

26 years ago * scripttempl/elf.sc: Align the _end symbol according to the ELF
Ian Lance Taylor [Fri, 13 Feb 1998 00:00:55 +0000 (00:00 +0000)]
* scripttempl/elf.sc: Align the _end symbol according to the ELF
  format size.  From Gordon W. Ross <gwr@mc.com>.

26 years ago NetBSD patches from Gordon W. Ross <gwr@mc.com>:
Ian Lance Taylor [Thu, 12 Feb 1998 23:14:33 +0000 (23:14 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.host (alpha*-*-netbsd*): New host.
* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
targets.

26 years ago NetBSD patches from Gordon W. Ross <gwr@mc.com>:
Ian Lance Taylor [Thu, 12 Feb 1998 23:12:45 +0000 (23:12 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.in (alpha*-*-netbsd*): New target.
* config/te-nbsd.h (LOCAL_LABELS_FB): Define.
* configure: Rebuild.

26 years ago NetBSD patches from Gordon W. Ross <gwr@mc.com>:
Ian Lance Taylor [Thu, 12 Feb 1998 23:03:13 +0000 (23:03 +0000)]
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* vaxnetbsd.c: New file.
* netbsd-core.c: Clean up.  Remove unused macros.  Use netbsd
rather than netbsd_core.
* targets.c (vaxnetbsd_vec): Declare.
(bfd_target_vector): Add vaxnetbsd_vec.  If NETBSD_CORE is
defined, add netbsd_core_vec.
* configure.in: Set COREFILE for alpha*-*-netbsd* and
powerpc-*-netbsd* to netbsd-core.lo.  If COREFILE is
netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
* config.bfd (alpha*-*-netbsd*): New target.
* Makefile.am: Rebuild dependencies.
  (BFD32_BACKENDS): Add vaxnetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
* configure, Makefile.in: Rebuild.

26 years ago * as.h (flag_warn_suppress_instructionswap): Move from here...
Ian Lance Taylor [Thu, 12 Feb 1998 21:46:32 +0000 (21:46 +0000)]
* as.h (flag_warn_suppress_instructionswap): Move from here...
* config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
here, and make static.

26 years ago * getopt.h: Update to latest FSF version.
Ian Lance Taylor [Thu, 12 Feb 1998 21:29:17 +0000 (21:29 +0000)]
* getopt.h: Update to latest FSF version.

26 years ago* Changed MIPS monitor interface code to be tolerant of slightly
Frank Ch. Eigler [Thu, 12 Feb 1998 21:28:52 +0000 (21:28 +0000)]
* Changed MIPS monitor interface code to be tolerant of slightly
  different IDT/sim 6.0 behavior.  Extra time and laxness is alloted
  for monitor entry and exit.

26 years ago * ehopt.c (eh_frame_code_alignment): Only use seg_info if
Ian Lance Taylor [Thu, 12 Feb 1998 21:22:04 +0000 (21:22 +0000)]
* ehopt.c (eh_frame_code_alignment): Only use seg_info if
BFD_ASSEMBLER or MANY_SEGMENTS.

26 years ago * deflex.l: Accept '?' in symbol names, for VC++ mangled names.
Ian Lance Taylor [Thu, 12 Feb 1998 20:53:49 +0000 (20:53 +0000)]
* deflex.l: Accept '?' in symbol names, for VC++ mangled names.
From Mikey <jeffdb@netzone.com>.

26 years agoThu Feb 12 15:03:08 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Thu, 12 Feb 1998 20:05:58 +0000 (20:05 +0000)]
Thu Feb 12 15:03:08 1998  H.J. Lu  <hjl@gnu.org>

* ltmain.sh (mkdir): Check that the directory doesn't exist
before we exit with error, so that we don't get races during
parallel builds.

26 years ago * gprof.c (usage): Update bug-gnu-utils address.
Ian Lance Taylor [Thu, 12 Feb 1998 19:36:41 +0000 (19:36 +0000)]
* gprof.c (usage): Update bug-gnu-utils address.

26 years ago * addr2line.c (usage): Update bug-gnu-utils address.
Ian Lance Taylor [Thu, 12 Feb 1998 19:19:33 +0000 (19:19 +0000)]
* addr2line.c (usage): Update bug-gnu-utils address.
* ar.c (usage): Likewise.
* nlmconv.c (show_usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage): Likewise.
(strip_usage): Likewise.
* objdump.c (usage): Likewise.
* size.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
* binutils.texi (Bug Reporting): Likewise.

26 years ago * lexsup.c (help): Update bug-gnu-utils address.
Ian Lance Taylor [Thu, 12 Feb 1998 19:12:02 +0000 (19:12 +0000)]
* lexsup.c (help): Update bug-gnu-utils address.
* ld.texinfo (Bug Reporting): Likewise.

26 years ago * as.c (show_usage): Update bug-gnu-utils address.
Ian Lance Taylor [Thu, 12 Feb 1998 19:09:49 +0000 (19:09 +0000)]
* as.c (show_usage): Update bug-gnu-utils address.
* gasp.c (show_usage): Likewise.
* doc/as.texinfo (Bug Reporting): Likewise.

26 years ago * dvp.opc.c: Nicely format opcode tables.
Doug Evans [Thu, 12 Feb 1998 19:04:15 +0000 (19:04 +0000)]
* dvp.opc.c: Nicely format opcode tables.

26 years agoupdate bug-gnu-utils address
Ian Lance Taylor [Thu, 12 Feb 1998 18:35:59 +0000 (18:35 +0000)]
update bug-gnu-utils address

26 years agoImprove my ChangeLog etiquette.
James Lemke [Thu, 12 Feb 1998 15:08:57 +0000 (15:08 +0000)]
Improve my ChangeLog etiquette.

26 years ago * config/tc-mips.c (load_address): Don't use mips III or mips IV
Jeff Law [Thu, 12 Feb 1998 09:45:13 +0000 (09:45 +0000)]
    * config/tc-mips.c (load_address): Don't use mips III or mips IV
        insns regardless of the size of a pointer if we're in mips I or
        MIPS II mode.
        (macro, macro2, s_cprestore, s_cpadd): Likewise.
Fix problems in recent code to handle address sizes more sanely.

26 years ago* d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
Andrew Cagney [Thu, 12 Feb 1998 07:32:58 +0000 (07:32 +0000)]
* d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
accumulators.

26 years agoFor d10v, do not sign-extend pointers.
Andrew Cagney [Thu, 12 Feb 1998 06:21:12 +0000 (06:21 +0000)]
For d10v, do not sign-extend pointers.

26 years agoAdd a new target specific protocol `target d10v' implemented in
Andrew Cagney [Thu, 12 Feb 1998 05:48:23 +0000 (05:48 +0000)]
Add a new target specific protocol `target d10v' implemented in
remote-d10v.c.  It has an xfer_mem function that can translate a d10v
GDB address into a d10v monitor address.

26 years ago * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
Andrew Cagney [Thu, 12 Feb 1998 05:09:25 +0000 (05:09 +0000)]
    * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
        on-chip insn memory and IMAP1 to upper 128k.
        (D10VCopy): Handle memory regions crossing 16k boundaries.
        (D10VCopy): Transfer data in 32 bit chunks.

26 years agoRemote protocol for d10v. Mainly responsible for translating GDB d10v
Andrew Cagney [Thu, 12 Feb 1998 04:20:07 +0000 (04:20 +0000)]
Remote protocol for d10v.  Mainly responsible for translating GDB d10v
addresses into those expected by the remote d10v monitor.

26 years agoopcodes:
Joern Rennecke [Thu, 12 Feb 1998 03:56:57 +0000 (03:56 +0000)]
opcodes:
* d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes):
Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
Introduce OPERAND_GPR.
* d10v-dis.c (print_operand): Likewise.
include/opcode:
* d10v.h (OPERAND_ACC): Split into:
(OPERAND_ACC0, OPERAND_ACC1) .
(OPERAND_GPR): Define.
gas/config:
* tc-d10v.c (parallel_ok, find_opcode):
Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
Introduce OPERAND_GPR.

26 years ago * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now.
Doug Evans [Thu, 12 Feb 1998 03:55:30 +0000 (03:55 +0000)]
* sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now.

26 years agoRegenerated to use correct symbol concat macro.
Doug Evans [Thu, 12 Feb 1998 03:28:18 +0000 (03:28 +0000)]
Regenerated to use correct symbol concat macro.

26 years ago * cgen-opc.in: New file.
Doug Evans [Thu, 12 Feb 1998 03:13:21 +0000 (03:13 +0000)]
* cgen-opc.in: New file.
* cgen.sh: Translate @ARCH@.  Cat cgen-opc.in into @arch@-opc.c.
* Makefile.am (CGENFILES): Add cgen-opc.in.
* Makefile.in: Regenerate.

* cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain.
(cgen_hw_lookup): Make result const.

* cgen-dis.in (*): Use PTR instead of void *.
(print_insn): Delete unused vars `i', `syntax'.

* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.

26 years ago * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.
Doug Evans [Thu, 12 Feb 1998 02:54:20 +0000 (02:54 +0000)]
* decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.
* cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.

26 years ago * cgen.h (CGEN_FIELDS): Define here.
Doug Evans [Thu, 12 Feb 1998 01:42:43 +0000 (01:42 +0000)]
* cgen.h (CGEN_FIELDS): Define here.
(CGEN_HW_ENTRY): New member `type'.
(hw_list): Delete decl.
(enum cgen_mode): Declare.
(CGEN_OPERAND): New member `hw'.
(enum cgen_operand_instance_type): Declare.
(CGEN_OPERAND_INSTANCE): New type.
(CGEN_INSN): New member `operands'.
(CGEN_OPCODE_DATA): Make hw_list const.
(get_insn_operands,lookup_insn): Add prototypes for.

26 years ago(check_parallel_io_clash): Add #if 0'd out code that uses new operand
Doug Evans [Thu, 12 Feb 1998 01:21:31 +0000 (01:21 +0000)]
(check_parallel_io_clash): Add #if 0'd out code that uses new operand
usage facility.

26 years ago* tekhex.c (tekhex_write_object_contents): Call tekhex_init.
Richard Henderson [Thu, 12 Feb 1998 01:12:14 +0000 (01:12 +0000)]
* tekhex.c (tekhex_write_object_contents): Call tekhex_init.

PR 14804

26 years ago * gas/dvp/{*}: .text renamed to .vutext.
Doug Evans [Thu, 12 Feb 1998 01:10:22 +0000 (01:10 +0000)]
* gas/dvp/{*}: .text renamed to .vutext.
* gas/dvp/vif-1.[sd]: Renamed from pke-1.[sd].

26 years ago * symcat.h: New file.
Doug Evans [Thu, 12 Feb 1998 00:58:27 +0000 (00:58 +0000)]
* symcat.h: New file.