platform/upstream/binutils.git
27 years agor5900 sanitization fixes.
Jeff Law [Wed, 24 Sep 1997 07:27:43 +0000 (07:27 +0000)]
r5900 sanitization fixes.

27 years ago * elf.c (map_sections_to_segments): Even if we are not demand
Ian Lance Taylor [Tue, 23 Sep 1997 23:04:37 +0000 (23:04 +0000)]
* elf.c (map_sections_to_segments): Even if we are not demand
paged, don't put a loadable section after a nonloadable section.
(assign_file_positions_for_segments): Increment the file offset
for a section with contents, even if it is not loadable.
PR 13139.

27 years ago * app.c (do_scrub_chars): Clear mri_state at end of .mri
Ian Lance Taylor [Tue, 23 Sep 1997 22:10:55 +0000 (22:10 +0000)]
* app.c (do_scrub_chars): Clear mri_state at end of .mri
pseudo-op.

27 years ago * config/tc-mips.c (hilo_interlocks): Change from a static
Ian Lance Taylor [Tue, 23 Sep 1997 21:49:22 +0000 (21:49 +0000)]
* config/tc-mips.c (hilo_interlocks): Change from a static
variable to a macro, so that it varies with the variables upon
which it depends.
(gpr_interlocks, cop_interlocks): Likewise.
(md_begin): Don't initialize them.

27 years agomips64vr5900el-elf -> mips64r5900-elf.
Jeff Law [Tue, 23 Sep 1997 21:45:43 +0000 (21:45 +0000)]
mips64vr5900el-elf -> mips64r5900-elf.

27 years ago * Makefile.in (ALLCONFIG): Remove, inaccurate and never used.
Stan Shebs [Tue, 23 Sep 1997 18:25:55 +0000 (18:25 +0000)]
* Makefile.in (ALLCONFIG): Remove, inaccurate and never used.

27 years ago * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once
Felix Lee [Tue, 23 Sep 1997 18:08:09 +0000 (18:08 +0000)]
    * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once
        an hour.
        * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on
        if (0) { 1 % 0; }
        * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1.
        (SIGBUS) define for Windows.
        * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC.
        * sim-resume.c: define SIGTRAP for windows.
        * sim-xcat.h: use token pasting if ALMOST_STDC.

27 years agovr5900 -> r5900
Jeff Law [Tue, 23 Sep 1997 16:42:24 +0000 (16:42 +0000)]
vr5900 -> r5900
Accept r5900el too

27 years agovr5900 -> r5900
Jeff Law [Tue, 23 Sep 1997 16:36:19 +0000 (16:36 +0000)]
vr5900 -> r5900

27 years agovr5900 -> r5900
Jeff Law [Tue, 23 Sep 1997 16:33:28 +0000 (16:33 +0000)]
vr5900 -> r5900
Accept r5900el too.

27 years agovr5900 -> r5900
Jeff Law [Tue, 23 Sep 1997 16:31:33 +0000 (16:31 +0000)]
vr5900 -> r5900
r5900 is always little endian.

27 years agovr5900-r5900.
Jeff Law [Tue, 23 Sep 1997 16:21:23 +0000 (16:21 +0000)]
vr5900-r5900.

27 years agoCheck v850eq popm[hl] instructions.
Andrew Cagney [Tue, 23 Sep 1997 08:40:55 +0000 (08:40 +0000)]
Check v850eq popm[hl] instructions.
Check v850 NMI/RETI.

27 years ago * mips-tdep.c (mips_push_arguments): Tweak alignment of register
Peter Schauer [Tue, 23 Sep 1997 07:10:51 +0000 (07:10 +0000)]
* mips-tdep.c (mips_push_arguments):  Tweak alignment of register
value if the remaining length of a non-integral argument is smaller
than the register size for big-endian non-EABI mode.

* rs6000-tdep.c (branch_dest):  Handle return from signal
handler function via sigreturn kernel call.

27 years ago* Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign configured values.
Andrew Cagney [Tue, 23 Sep 1997 04:05:50 +0000 (04:05 +0000)]
* Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign configured values.
(CONFIG_CFLAGS): Add same.

27 years ago * sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32.
Felix Lee [Tue, 23 Sep 1997 03:51:33 +0000 (03:51 +0000)]
* sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32.
(SIGNED32): use ##i32.

27 years ago * configure.in: i386-windows is a cross, so don't expect
Felix Lee [Tue, 23 Sep 1997 03:48:59 +0000 (03:48 +0000)]
* configure.in: i386-windows is a cross, so don't expect
  libiberty to be there.
* configure: updated.

27 years agoRemove need to update <targ>/Makefile.in when adding optional options
Andrew Cagney [Tue, 23 Sep 1997 01:25:26 +0000 (01:25 +0000)]
Remove need to update <targ>/Makefile.in when adding optional options
to <targ>/configure.in.
Simplify logic used to select target [default] endianness.

27 years ago * stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c:
Dawn Perchik [Mon, 22 Sep 1997 22:52:23 +0000 (22:52 +0000)]
    * stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c:
        Fix prototypes.  Remove function scoped function declarations.

27 years ago * ldlang.c (wild_doit): Revert patch of September 3.
Ian Lance Taylor [Mon, 22 Sep 1997 22:33:48 +0000 (22:33 +0000)]
* ldlang.c (wild_doit): Revert patch of September 3.
It doesn't work with linker scripts that use NOLOAD for debugging
sections.

27 years agoRemoved v850eq sanitization.
Nick Clifton [Mon, 22 Sep 1997 19:28:04 +0000 (19:28 +0000)]
Removed v850eq sanitization.

27 years agoremove v850 sanitization
Ian Lance Taylor [Mon, 22 Sep 1997 16:07:31 +0000 (16:07 +0000)]
remove v850 sanitization

27 years agoonly remove more.parse if it exists
Ian Lance Taylor [Mon, 22 Sep 1997 15:29:33 +0000 (15:29 +0000)]
only remove more.parse if it exists

27 years agoAdd memory alignment config option.
Andrew Cagney [Mon, 22 Sep 1997 09:40:57 +0000 (09:40 +0000)]
Add memory alignment config option.

27 years agoEnable --alignment option, stop sim-options.c hardwiring the alignment.
Andrew Cagney [Mon, 22 Sep 1997 09:34:28 +0000 (09:34 +0000)]
Enable --alignment option, stop sim-options.c hardwiring the alignment.

27 years agoFix disabling of model code when simulator does not support modeling.
Andrew Cagney [Mon, 22 Sep 1997 09:16:14 +0000 (09:16 +0000)]
Fix disabling of model code when simulator does not support modeling.
Stops `-p' crashing simulators.

27 years agoSimplify logic behind the generic configuration option --enable-sim-alignment.
Andrew Cagney [Mon, 22 Sep 1997 02:49:57 +0000 (02:49 +0000)]
Simplify logic behind the generic configuration option --enable-sim-alignment.

27 years agodon't sanitize out empty directories if they're not here (e.g., 'cvs co -P')
Ken Raeburn [Mon, 22 Sep 1997 01:06:25 +0000 (01:06 +0000)]
don't sanitize out empty directories if they're not here (e.g., 'cvs co -P')

27 years agoLose the empty directories only if they exist; otherwise Sanitize complains.
Ken Raeburn [Mon, 22 Sep 1997 00:27:36 +0000 (00:27 +0000)]
Lose the empty directories only if they exist; otherwise Sanitize complains.

27 years agoAdd support for --enable-sim-alignment to simulator common aclocal.m4
Andrew Cagney [Mon, 22 Sep 1997 00:24:46 +0000 (00:24 +0000)]
Add support for --enable-sim-alignment to simulator common aclocal.m4
Add support for --alignment={strict,nonstrict,forced} to simulator common
run-time options.
For v850 use, make the default NONSTRICT_ALIGNMENT.

27 years agoFixed v850eq sanitization
Nick Clifton [Sun, 21 Sep 1997 19:36:06 +0000 (19:36 +0000)]
Fixed v850eq sanitization

27 years agoFixed sanitization for v850eq
Nick Clifton [Sun, 21 Sep 1997 19:09:09 +0000 (19:09 +0000)]
Fixed sanitization for v850eq

27 years agoFixed sanitization bugs.
Nick Clifton [Sun, 21 Sep 1997 17:44:16 +0000 (17:44 +0000)]
Fixed sanitization bugs.

27 years agoRemoved v850eq sanitization.
Nick Clifton [Sun, 21 Sep 1997 01:19:51 +0000 (01:19 +0000)]
Removed v850eq sanitization.

27 years agoRemoved v850eq sanitization.
Nick Clifton [Sun, 21 Sep 1997 00:19:41 +0000 (00:19 +0000)]
Removed v850eq sanitization.
Added Things-to-loose entries for unspecifed/empty directories.

27 years agoRemoved v850eq sanitization.
Nick Clifton [Sat, 20 Sep 1997 23:59:31 +0000 (23:59 +0000)]
Removed v850eq sanitization.
Changed mismatch architecture message to a warning.

27 years agoRemoved the v850eq sanitization
Nick Clifton [Sat, 20 Sep 1997 23:40:50 +0000 (23:40 +0000)]
Removed the v850eq sanitization

27 years agoRemoved v850eq sanitization.
Nick Clifton [Sat, 20 Sep 1997 23:13:05 +0000 (23:13 +0000)]
Removed v850eq sanitization.

27 years agoRemoved v850eq sanitization.
Nick Clifton [Sat, 20 Sep 1997 23:07:04 +0000 (23:07 +0000)]
Removed v850eq sanitization.

27 years agoRemove use of sanitization to select target CPU. This is now done based
Nick Clifton [Sat, 20 Sep 1997 22:46:30 +0000 (22:46 +0000)]
Remove use of sanitization to select target CPU.  This is now done based
on the contents of the configuration string TARGET_CPU.

27 years agoAdd handling for 3900's SDBBP, DERET, and RFE insns.
Gavin Romig-Koch [Sat, 20 Sep 1997 18:22:22 +0000 (18:22 +0000)]
Add handling for 3900's SDBBP, DERET, and RFE insns.

* gencode.c (SDBBP,DERET): Added (3900) insns.
(RFE): Turn on for 3900.
* interp.c (DebugBreakPoint,DEPC,Debug,Debug_*): Added.
(dsstate): Made global.
(SUBTARGET_R3900): Added.
(CANCELDELAYSLOT): New.
(SignalException): Ignore SystemCall rather than ignore and
terminate.  Add DebugBreakPoint handling.
(decode_coproc): New insns RFE, DERET; and new registers Debug
and DEPC protected by SUBTARGET_R3900.
(sim_engine_run): Use CANCELDELAYSLOT rather than clearing
bits explicitly.
* Makefile.in,configure.in: Add mips subtarget option.
* configure: Update.

27 years ago * config/i386/windows.mh (XDEPFILES): need to list some files
Felix Lee [Sat, 20 Sep 1997 01:53:41 +0000 (01:53 +0000)]
* config/i386/windows.mh (XDEPFILES): need to list some files
  explicitly, for odd reasons.

27 years ago * config/tc-mn10300.c (md_assemble): Use strcasecomp instead
Jeff Law [Fri, 19 Sep 1997 23:09:08 +0000 (23:09 +0000)]
    * config/tc-mn10300.c (md_assemble): Use strcasecomp instead
        of strcmp where appropriate.

Fixes problem in one of mec's prs.

27 years ago * gencode.c: Add r3900 (tx39).
Gavin Romig-Koch [Fri, 19 Sep 1997 13:39:55 +0000 (13:39 +0000)]
* gencode.c: Add r3900 (tx39).
* gencode.c: Fix some configuration problems by improving
the relationship between tx19 and tx39.

27 years agoAdd alignment option.
Andrew Cagney [Fri, 19 Sep 1997 08:11:40 +0000 (08:11 +0000)]
Add alignment option.
Add support for hardwired and default alignment to configuration.

27 years agoMore tests.
Andrew Cagney [Fri, 19 Sep 1997 06:40:11 +0000 (06:40 +0000)]
More tests.
Have sld check verify that the processor is a v850eq.

27 years agoClean up tracing for Bcond & jmp insns.
Andrew Cagney [Fri, 19 Sep 1997 06:39:21 +0000 (06:39 +0000)]
Clean up tracing for Bcond & jmp insns.
Fix computation of disp16 and disp22.
Clean up tracing of sld* insns.

27 years agoCorrectly locate `_' in generated names.
Andrew Cagney [Fri, 19 Sep 1997 04:41:01 +0000 (04:41 +0000)]
Correctly locate `_' in generated names.

27 years agoFix cmov immed.
Andrew Cagney [Fri, 19 Sep 1997 02:20:02 +0000 (02:20 +0000)]
Fix cmov immed.

27 years agoCorrect ordering of args for cmov insn.
Andrew Cagney [Fri, 19 Sep 1997 02:16:41 +0000 (02:16 +0000)]
Correct ordering of args for cmov insn.

27 years agoUpdate sparc -A/-xarch docs.
David Edelsohn [Fri, 19 Sep 1997 01:06:57 +0000 (01:06 +0000)]
Update sparc -A/-xarch docs.

27 years ago * config/tc-sparc.c: (lookup_arch,init_default_arch): New functions.
David Edelsohn [Fri, 19 Sep 1997 00:57:16 +0000 (00:57 +0000)]
* config/tc-sparc.c: (lookup_arch,init_default_arch): New functions.
(default_arch,default_init_p,sparc_arch_table): New static locals.
(sparc_arch_size): New static local.
(max_architecture): Initialize in init_default_arch.
(md_parse_options): Call init_default_arch if necessary.
Rewrite -xarch/-A processing.
(md_show_usage): Print -A values from sparc_arch_table.
(md_begin): Call init_default_arch if necessary.
(sparc_md_end): Handle both 32 and 64 bit environments.
* config/tc-sparc.h (TARGET_FORMAT): Likewise.
* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
(DEFAULT_ARCH): Add.
* config.in: Regenerate.
* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
(SPARC_V9,SPARC_ARCH64): Delete.
* configure: Regenerate.
* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.

27 years agoChange semantic function name to semantic_<INSN>_<FMT> instead of
Andrew Cagney [Fri, 19 Sep 1997 00:50:24 +0000 (00:50 +0000)]
Change semantic function name to semantic_<INSN>_<FMT> instead of
semantic_<FMT>_<INSN>.

27 years agoFix cmov insn.
Andrew Cagney [Fri, 19 Sep 1997 00:50:19 +0000 (00:50 +0000)]
Fix cmov insn.

27 years agoReset processor mask if specified by command line switch
Nick Clifton [Fri, 19 Sep 1997 00:43:54 +0000 (00:43 +0000)]
Reset processor mask if specified by command line switch

27 years ago * gas/sparc/splet.d: Update to new objdump output format.
David Edelsohn [Thu, 18 Sep 1997 23:45:12 +0000 (23:45 +0000)]
* gas/sparc/splet.d: Update to new objdump output format.
* gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Likewise.
* gas/sparc/set64.[ds]: New testcase.
* gas/sparc/splet-2.[ds]: New testcase.
* gas/sparc/sparc.exp: Run them.

27 years ago * gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Update to new
David Edelsohn [Thu, 18 Sep 1997 23:44:43 +0000 (23:44 +0000)]
* gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Update to new
objdump output format.
* gas/sparc/set64.[ds]: New testcase.
* gas/sparc/splet-2.[ds]: New testcase.
* gas/sparc/sparc.exp: Run them.

27 years agoOops - fixed typos in previous delta.
Nick Clifton [Thu, 18 Sep 1997 23:15:05 +0000 (23:15 +0000)]
Oops - fixed typos in previous delta.

27 years agoAllow tk, tcl, itcl et.al. to be built with a canadian cross.
Andrew Cagney [Thu, 18 Sep 1997 22:50:58 +0000 (22:50 +0000)]
Allow tk, tcl, itcl et.al. to be built with a canadian cross.

27 years agoProced error messages when special data are relocations are used on
Nick Clifton [Thu, 18 Sep 1997 22:16:18 +0000 (22:16 +0000)]
Proced error messages when special data are relocations are used on
instructions which do not support them.

27 years agoImproved error message to include symbol's name.
Nick Clifton [Thu, 18 Sep 1997 22:02:06 +0000 (22:02 +0000)]
Improved error message to include symbol's name.

27 years ago * config/tc-sparc.c: Reorganize file.
David Edelsohn [Thu, 18 Sep 1997 21:12:06 +0000 (21:12 +0000)]
* config/tc-sparc.c: Reorganize file.
(SPECIAL_CASE_NONE): New macro.
(md_assemble): Use it.

27 years agoAdded code to cope with a constant offset to a ZDA relocation.
Nick Clifton [Thu, 18 Sep 1997 21:09:14 +0000 (21:09 +0000)]
Added code to cope with a constant offset to a ZDA relocation.

27 years ago * config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
David Edelsohn [Thu, 18 Sep 1997 18:25:50 +0000 (18:25 +0000)]
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.

27 years ago * sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr.
David Edelsohn [Thu, 18 Sep 1997 18:23:30 +0000 (18:23 +0000)]
* sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr.

27 years ago * gas/sparc/splet.d: Update to new objdump output format.
David Edelsohn [Thu, 18 Sep 1997 18:18:22 +0000 (18:18 +0000)]
* gas/sparc/splet.d: Update to new objdump output format.

27 years agoRemove arc sanization.
David Edelsohn [Thu, 18 Sep 1997 18:17:07 +0000 (18:17 +0000)]
Remove arc sanization.

27 years agoRemove arc sanitization.
David Edelsohn [Thu, 18 Sep 1997 18:15:14 +0000 (18:15 +0000)]
Remove arc sanitization.

27 years agosanitization fixes. typoes, missing fences, "start" instead of "end", etc.
Felix Lee [Thu, 18 Sep 1997 06:03:52 +0000 (06:03 +0000)]
sanitization fixes.  typoes, missing fences, "start" instead of "end", etc.

27 years agoadd missing files.
Felix Lee [Thu, 18 Sep 1997 04:56:22 +0000 (04:56 +0000)]
add missing files.

27 years agov850 files that weren't being removed if !keep-v850
Felix Lee [Thu, 18 Sep 1997 01:33:24 +0000 (01:33 +0000)]
v850 files that weren't being removed if !keep-v850

27 years agoCorrected spelling mistake!
Nick Clifton [Thu, 18 Sep 1997 00:43:19 +0000 (00:43 +0000)]
Corrected spelling mistake!

27 years agoAdded support for ctoff() reloc prefix.
Nick Clifton [Wed, 17 Sep 1997 23:55:26 +0000 (23:55 +0000)]
Added support for ctoff() reloc prefix.

27 years agoAdded support for the call table relocations.
Nick Clifton [Wed, 17 Sep 1997 23:50:21 +0000 (23:50 +0000)]
Added support for the call table relocations.

27 years ago * sim-main.h (kill): macro was missing args.
Felix Lee [Wed, 17 Sep 1997 23:46:49 +0000 (23:46 +0000)]
* sim-main.h (kill): macro was missing args.
(SIGTRAP): define for MSVC.

27 years agoAdded support for the call table data area.
Nick Clifton [Wed, 17 Sep 1997 23:45:41 +0000 (23:45 +0000)]
Added support for the call table data area.

27 years agoAdded new relocations to handle the call table.
Nick Clifton [Wed, 17 Sep 1997 23:39:04 +0000 (23:39 +0000)]
Added new relocations to handle the call table.

27 years agoFix tx19 sanitization.
Mark Alexander [Wed, 17 Sep 1997 20:59:27 +0000 (20:59 +0000)]
Fix tx19 sanitization.

27 years agoCatch relocations against non-existant symbols.
Nick Clifton [Wed, 17 Sep 1997 16:52:23 +0000 (16:52 +0000)]
Catch relocations against non-existant symbols.

27 years agoTest US bit of v850eq.
Andrew Cagney [Wed, 17 Sep 1997 13:46:29 +0000 (13:46 +0000)]
Test US bit of v850eq.
Loop program for testing interrupt delivery.

27 years agoClean up more tracing.
Andrew Cagney [Wed, 17 Sep 1997 08:14:23 +0000 (08:14 +0000)]
Clean up more tracing.
FIX interrupt delivery - was zapping PSW before it had been saved.
FIX interrupt return, was one instruction out.

27 years ago* sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
Andrew Cagney [Wed, 17 Sep 1997 08:13:07 +0000 (08:13 +0000)]
* sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
trace output.
* sim-core.c (sim_core_signal): When bad access halt simulator
SIGSEGV / SIGBUS instead of aborting.
(signal.h): Include.
* sim-watch.c (sim_watchpoint_install): Handler for watchpoint
options was missing.

27 years agoFix tracing for: "ctret", "bsw", "hsw"
Andrew Cagney [Wed, 17 Sep 1997 05:31:00 +0000 (05:31 +0000)]
Fix tracing for: "ctret", "bsw", "hsw"
Fix bugs in: "bsh", "callt", "stsr".

27 years agoDefine MOVED macro, move sub-bitfield from XXX to YYY.
Andrew Cagney [Wed, 17 Sep 1997 05:28:32 +0000 (05:28 +0000)]
Define MOVED macro, move sub-bitfield from XXX to YYY.

27 years agoMore v850 simulator tests.
Andrew Cagney [Wed, 17 Sep 1997 05:27:56 +0000 (05:27 +0000)]
More v850 simulator tests.

27 years ago * gdb.base/callfuncs.exp: Fix indentation.
Bob Manson [Wed, 17 Sep 1997 05:24:14 +0000 (05:24 +0000)]
* gdb.base/callfuncs.exp: Fix indentation.

* lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
suppress_flag has been set.
(gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
target feature.

27 years ago * valops.c (search_struct_field): Search basesclasses in
Per Bothner [Wed, 17 Sep 1997 04:28:14 +0000 (04:28 +0000)]
* valops.c (search_struct_field):  Search basesclasses in
ascending, not descending order.  Hack to avoid virtual baseclass
botch for Java interfaces.

27 years ago * jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.
Per Bothner [Wed, 17 Sep 1997 03:38:30 +0000 (03:38 +0000)]
* jv-exp.y (push_fieldnames):  New, to handle EXP.FIELD1....FIELDN.
(push_expression_name):  New, to handle expression names.
(push_qualified_expression_name):  New, for qualified expression names.
(parse_number):  Fix bugs in parsing of non-decimal integers.
* jv-lang.h, jv-lang.c (java_demangle_type_signature):  New.
* jv-lang.c (type_from_class):  Just use name with java_lookup_class.
(java_link_class_type):  Add dummy "class" field.
(java_lookup_type):  New.
(evaluate_subexp_java case STRUCTOP_STRUCT):  Force to address.
* jv-typeprint.c (java_type_print_base):  Don't print "class" field.
Use java_demangle_type_signature to print array class types.
* jv-valprint.c (java_value_print):  Preliminary array support.
Print pointer as TYPE@HEXADDR, instead of (TYPE)0xHEXADDR.
(java_val_print):  Move check for object type to java_value_print.
Check for null.  Print pointer as @HEXADDR, not 0xHEXADDR.

27 years agoMore v850 simulator tests.
Andrew Cagney [Wed, 17 Sep 1997 03:31:09 +0000 (03:31 +0000)]
More v850 simulator tests.

27 years agoAdd/test 8bit bit manipuation macros.
Andrew Cagney [Wed, 17 Sep 1997 03:25:54 +0000 (03:25 +0000)]
Add/test 8bit bit manipuation macros.
Test LS and MS versions of SEXT macro.
Simplify/test macro returning a single bit.

27 years ago * util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups):
Per Bothner [Wed, 17 Sep 1997 02:57:39 +0000 (02:57 +0000)]
* util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups):
New cleanup clean for cleanups to be run when at each 'run' command.
* infcmd.c (run_command):  Call do_run_cleanups.
* solib.c (find_solib):  Register cleanup to call clear_solib
on a new 'run' command.
(symbol_add_stub):  First look for existing objfile with same name.

27 years ago * monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags.
Stan Shebs [Tue, 16 Sep 1997 23:58:01 +0000 (23:58 +0000)]
* monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags.
* monitor.c (monitor_wait_srec_ack): Add DINK32-specific ack code.
* dsrec.c (load_srec): Always write a header S-record.
* dink32-rom.c (dink32_regnames): Fix the names of float registers.
(dink32_cmds): Set to use S-record downloading with acks.
* remote-est.c (est_cmds): Add MO_SREC_ACK_PLUS flag.

27 years agoGeneric rules for building simple simulator test programs.
Andrew Cagney [Tue, 16 Sep 1997 23:57:57 +0000 (23:57 +0000)]
Generic rules for building simple simulator test programs.

27 years ago * remote-sds.c (sds_load): New function.
Stan Shebs [Tue, 16 Sep 1997 23:01:29 +0000 (23:01 +0000)]
* remote-sds.c (sds_load): New function.
(sds_ops): Use it.
(sds_open): Don't set inferior_pid yet.
(sds_kill): Remove contents.
(sds_create_inferior): Rewrite to work more like monitor
  interfaces.
(sds_restart): Remove, no longer used.

27 years agoFurther rearrangements of the opcodes.
Nick Clifton [Tue, 16 Sep 1997 22:15:48 +0000 (22:15 +0000)]
Further rearrangements of the opcodes.

27 years ago* d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change. (PR 13051)
Ken Raeburn [Tue, 16 Sep 1997 21:31:03 +0000 (21:31 +0000)]
* d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change. (PR 13051)

27 years agoAdd support for a 16 bit reloc against the TDA pointer!
Nick Clifton [Tue, 16 Sep 1997 21:21:30 +0000 (21:21 +0000)]
Add support for a 16 bit reloc against the TDA pointer!

27 years agoAdd support for a 16 bit relocation against the TDA register!
Nick Clifton [Tue, 16 Sep 1997 21:16:15 +0000 (21:16 +0000)]
Add support for a 16 bit relocation against the TDA register!

27 years agoAdd new reloc, R_V850_TDA_16_16_OFFSET.
Nick Clifton [Tue, 16 Sep 1997 21:13:48 +0000 (21:13 +0000)]
Add new reloc, R_V850_TDA_16_16_OFFSET.

27 years ago * sim/mips/gencode.c (build_instruction): Don't need to subtract 4 for
Gavin Romig-Koch [Tue, 16 Sep 1997 20:01:00 +0000 (20:01 +0000)]
* sim/mips/gencode.c (build_instruction): Don't need to subtract 4 for
JALR, just 2.