binutils-gdb.git
26 years ago* Various MIPS test case tweaks.
Frank Ch. Eigler [Mon, 18 May 1998 10:15:38 +0000 (10:15 +0000)]
* Various MIPS test case tweaks.
Mon May 18 13:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>
* gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match
  disassembler.
start-sanitize-r5900
* gas/mips/break5900.[sd]: Test that break instructions generated
  in div/etc. macro instructions are of 20-bit variety for R5900.
end-sanitize-r5900

26 years ago* Fix sanitization
Frank Ch. Eigler [Mon, 18 May 1998 09:31:10 +0000 (09:31 +0000)]
* Fix sanitization

26 years ago * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
Richard Henderson [Mon, 18 May 1998 07:14:11 +0000 (07:14 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots,
        elf64_alpha_size_got_sections): Rewrite, handling multiple got
        subsections during relaxation more correctly.

26 years ago * gdb.base/reread.exp: New file.
Mark Alexander [Sun, 17 May 1998 06:49:55 +0000 (06:49 +0000)]
* gdb.base/reread.exp: New file.
* gdb.base/reread1.c: New file.
* gdb.base/reread2.c: New file.

26 years ago * config/sim.exp: Use 'target sim -sparclite' when running
Mark Alexander [Sun, 17 May 1998 06:25:03 +0000 (06:25 +0000)]
* config/sim.exp: Use 'target sim -sparclite' when running
SPARClite programs.

26 years agoKeep structs2.{c,exp} for now.
Doug Evans [Sun, 17 May 1998 01:50:07 +0000 (01:50 +0000)]
Keep structs2.{c,exp} for now.

26 years ago * gdb.base/structs2.exp: New file.
Doug Evans [Sun, 17 May 1998 01:50:06 +0000 (01:50 +0000)]
* gdb.base/structs2.exp: New file.
* gdb.base/structs2.c: New file.

26 years ago * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
Doug Evans [Sun, 17 May 1998 00:50:07 +0000 (00:50 +0000)]
* cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
* genmloop.sh: Use them rather than static locals.

26 years ago * erc32.c (close_port): Don't close stdin; it kills GDB.
Doug Evans [Sat, 16 May 1998 23:07:01 +0000 (23:07 +0000)]
* erc32.c (close_port): Don't close stdin; it kills GDB.
(byte_swap_words): New function.
* sis.h: (byte_swap_words): Declare.
* interf.c (run_sim): Always fetch instructions as big-endian.
* sis.c (run_sim): Ditto.
Move this c/l entry from ../ChangeLog.

26 years ago* Bringing over patches for PR 15870, 15653 from chill/d30v branches.
Frank Ch. Eigler [Sat, 16 May 1998 20:34:43 +0000 (20:34 +0000)]
* Bringing over patches for PR 15870, 15653 from chill/d30v branches.
  Also, fixed a small third-party sanitize typo in ChangeLog.

26 years ago * sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
Doug Evans [Sat, 16 May 1998 20:11:41 +0000 (20:11 +0000)]
* sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
(sim_sync_stop): New function.

26 years ago * sim-engine.c (sim_engine_set_run_state): New function.
Doug Evans [Sat, 16 May 1998 19:51:12 +0000 (19:51 +0000)]
* sim-engine.c (sim_engine_set_run_state): New function.
* sim-engine.h (sim_engine_set_run_state): Declare.
* genmloop.sh (pending_reason,pending_sigrc): New static locals.
(@cpu@_engine_stop): New args reason,sigrc.  All callers updated.
(engine_resume): Reorganize.  Allow synchronous exit from main loop.

26 years ago * sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
Doug Evans [Sat, 16 May 1998 00:32:09 +0000 (00:32 +0000)]
* sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
* sim/m32r/misc.exp: Ditto.

26 years ago * Makefile.in (devices.o): Add dependencies.
Doug Evans [Fri, 15 May 1998 23:46:24 +0000 (23:46 +0000)]
* Makefile.in (devices.o): Add dependencies.

* arch.h,cpu.c,cpu.h,cpuall.h: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
* cpux.c,cpux.h,modelx.c,semx.c: Regenerate.
* m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions.
* mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.

26 years ago * cgen-trace.c (trace_insn_init): New arg first_p.
Doug Evans [Fri, 15 May 1998 23:31:22 +0000 (23:31 +0000)]
* cgen-trace.c (trace_insn_init): New arg first_p.
All callers updated.
(trace_insn_fini): New arg last_p.  All callers updated.
* cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
(TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
* genmloop.sh (engine_resume): Update.

26 years ago(cgen_hw_lookup_by_num): better name
Doug Evans [Fri, 15 May 1998 23:01:06 +0000 (23:01 +0000)]
(cgen_hw_lookup_by_num): better name

26 years ago * cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
Doug Evans [Fri, 15 May 1998 21:59:35 +0000 (21:59 +0000)]
* cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
(cgen_hw_lookup_by_enum): New function.

* m32r-opc.c, m32r-opc.h: Regenerate, delete h-abort.

26 years agoRun ranlib on installed copy of libsim.a.
Joyce Janczyn [Fri, 15 May 1998 20:06:08 +0000 (20:06 +0000)]
Run ranlib on installed copy of libsim.a.

26 years agoJava sanitization.
Stu Grossman [Fri, 15 May 1998 19:51:35 +0000 (19:51 +0000)]
Java sanitization.

26 years agoSanitize Java.
Stu Grossman [Fri, 15 May 1998 19:47:04 +0000 (19:47 +0000)]
Sanitize Java.

26 years agoadd ld-ilocks-addr32.d
Gavin Romig-Koch [Fri, 15 May 1998 19:39:54 +0000 (19:39 +0000)]
add ld-ilocks-addr32.d

26 years agoInstall libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.
Joyce Janczyn [Fri, 15 May 1998 19:05:28 +0000 (19:05 +0000)]
Install libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.

26 years ago * gas/mips/mips.exp: Distinguish chains with 32-bit addresses.
Gavin Romig-Koch [Fri, 15 May 1998 18:53:56 +0000 (18:53 +0000)]
* gas/mips/mips.exp: Distinguish chains with 32-bit addresses.
* gas/mips/ld-ilocks-addr32.d : New.

26 years ago * ldlex.l: Recognize keyword SORT.
Ian Lance Taylor [Fri, 15 May 1998 07:29:35 +0000 (07:29 +0000)]
* ldlex.l: Recognize keyword SORT.
* ldgram.y (current_file): Change to struct wildcard_spec.
(%union): Add new fields cname and wildcard.
(wildcard_name, wildcard_spec): New nonterminals.
(file_NAME_list): Use wildcard_spec.
(input_section_spec): Change current_file usage.
* ld.h (struct wildcard_spec): Define.
* ldlang.h (lang_wild_statement_struct): Add new fields
sections_sorted and filenames_sorted.
(lang_add_wild): Update declaration.
* ldlang.c (wild_sort): New static function.
(wild_section): Use wild_sort.
(print_wild_statement): Print sorting information.
(lang_add_wild): Add new parameters sections_sorted and
filenames_sorted.  Change all callers.
* mri.c (mri_draw_tree): Update calls to lang_add_wild.
* scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfppc.sc: Likewise.

26 years ago * sis.h (uint64, int64): Define.
Mark Alexander [Fri, 15 May 1998 06:23:04 +0000 (06:23 +0000)]
* sis.h (uint64, int64): Define.
* exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
* (mul64): Simplify calculation of negative result.
* (div64): New helper function for 64-bit division.
* (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
and UDIVCC.

26 years ago* emulparams/m32relf.sh (TEMPLATE_NAME): Define.
Richard Henderson [Fri, 15 May 1998 01:43:31 +0000 (01:43 +0000)]
* emulparams/m32relf.sh (TEMPLATE_NAME): Define.

26 years agoTweak last entry.
Doug Evans [Fri, 15 May 1998 00:49:37 +0000 (00:49 +0000)]
Tweak last entry.

26 years ago * config/default.exp (CC,SIM): Delete.
Doug Evans [Fri, 15 May 1998 00:49:24 +0000 (00:49 +0000)]
* config/default.exp (CC,SIM): Delete.
* sky-defs.tcl (LDSCRIPT,SIM): Delete.
(run_trc_test): Use sim_compile, sim_run.  Only delete temp files
if testcase passed.
(run_brn_test): Ditto.

26 years agoAdded support for display emulation specific command line options.
Nick Clifton [Thu, 14 May 1998 22:07:30 +0000 (22:07 +0000)]
Added support for display emulation specific command line options.
Added internationalisation to emulation templates.
Added --support-old-code command line option to armcoff and pe emulations.

26 years agoAdd support for interwotking between Thumb code and non-interworking aware ARM code.
Nick Clifton [Thu, 14 May 1998 21:29:28 +0000 (21:29 +0000)]
Add support for interwotking between Thumb code and non-interworking aware ARM code.

26 years agoAdd support for interworking in DLLs.
Nick Clifton [Thu, 14 May 1998 21:11:16 +0000 (21:11 +0000)]
Add support for interworking in DLLs.
Document dlltool.

26 years agoInclude 1998 in copyright strings.
Nick Clifton [Thu, 14 May 1998 21:05:14 +0000 (21:05 +0000)]
Include 1998 in copyright strings.

26 years agoSupport Win32 style directory separators.
Nick Clifton [Thu, 14 May 1998 21:03:51 +0000 (21:03 +0000)]
Support Win32 style directory separators.

26 years agoChange command line switch fron --enable-special to --m32rx-enable-special
Nick Clifton [Thu, 14 May 1998 20:54:47 +0000 (20:54 +0000)]
Change command line switch fron --enable-special to --m32rx-enable-special

26 years ago * sim/sky/sky.exp: Add runtest_file_p support. Don't print
Doug Evans [Thu, 14 May 1998 20:20:59 +0000 (20:20 +0000)]
* sim/sky/sky.exp: Add runtest_file_p support.  Don't print
unsupported message if not sky.
* sim/sky/sky_sce.exp: Likewise.

26 years ago * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
Doug Evans [Thu, 14 May 1998 18:50:37 +0000 (18:50 +0000)]
* lib/sim-defs.exp (sim_run): Fix handling of output redirection.
New arg prog_opts.  All callers updated.

26 years agoMore test cases.
Andrew Cagney [Thu, 14 May 1998 08:15:05 +0000 (08:15 +0000)]
More test cases.

26 years agoFix for PR 13484:
Mark Alexander [Thu, 14 May 1998 04:01:13 +0000 (04:01 +0000)]
Fix for PR 13484:
* corefile.c (reopen_exec_file): Reopen the exec file if
it has changed.

26 years agospelling and cosmetic tweaks
Stan Shebs [Thu, 14 May 1998 01:23:59 +0000 (01:23 +0000)]
spelling and cosmetic tweaks

26 years ago * m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA).
Doug Evans [Thu, 14 May 1998 00:05:34 +0000 (00:05 +0000)]
* m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA).

26 years ago * gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA.
Doug Evans [Thu, 14 May 1998 00:02:36 +0000 (00:02 +0000)]
* gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA.

26 years ago * sparc-tdep.c (fetch_instruction): New function.
Mark Alexander [Wed, 13 May 1998 22:48:03 +0000 (22:48 +0000)]
* sparc-tdep.c (fetch_instruction): New function.
(single_step, sparc_init_extra_frame_info, examine_prologue):
Use fetch_instruction instead of read_memory_integer
to ensure that instructions are always read as big-endian.

26 years ago * configure.in: Add AC_FUNC_ALLOCA.
Ian Lance Taylor [Wed, 13 May 1998 22:38:55 +0000 (22:38 +0000)]
* configure.in: Add AC_FUNC_ALLOCA.
* defs.h: Check HAVE_ALLOCA_H rather than sparc.  Add _AIX pragma
alloca.
* configure: Rebuild.

26 years ago * config/tc-m32r.c (warn_unmatched_high): New static local.
Doug Evans [Wed, 13 May 1998 22:10:12 +0000 (22:10 +0000)]
* config/tc-m32r.c (warn_unmatched_high): New static local.
(OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
(OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
(md_longopts): Recognize --{no-,}warn-unmatched-high.
(md_parse_option): Likewise.
(md_show_usage): Likewise.
(m32r_frob_file): Likewise.

26 years ago * gas/m32r/m32rx.d: Pass --enable-special to gas.
Doug Evans [Wed, 13 May 1998 22:07:23 +0000 (22:07 +0000)]
* gas/m32r/m32rx.d: Pass --enable-special to gas.

26 years ago * sparc-dis.c (print_insn_sparc): Always fetch instructions
Mark Alexander [Wed, 13 May 1998 21:39:16 +0000 (21:39 +0000)]
* sparc-dis.c (print_insn_sparc): Always fetch instructions
as big-endian on SPARClite.

26 years ago * gdb.asm/common.inc: New file.
Doug Evans [Wed, 13 May 1998 20:38:50 +0000 (20:38 +0000)]
* gdb.asm/common.inc: New file.
* gdb.asm/d10v.inc: New file.
* asm-source.exp: Pass -I's to gas to find .inc files.
Update line numbers in expected output.
* asmsrc1.s: Rewrite.
* asmsrc2.s: Rewrite.
* configure.in: Create arch.inc symlink.
* configure: Regenerate.
* Makefile.in (distclean): Delete arch.inc.

26 years ago * r5900.igen: Replace the calls and the definition of the
Gavin Romig-Koch [Wed, 13 May 1998 18:30:15 +0000 (18:30 +0000)]
* r5900.igen: Replace the calls and the definition of the
function check_op_hilo_hi1lo1 with the pair
check_mult_hilo_hi1lo1 and check_mult_hilo_hi1lo1.

26 years agoWed May 13 11:12:58 1998 James Ingham <jingham@leda.cygnus.com>
Jim Ingham [Wed, 13 May 1998 18:23:59 +0000 (18:23 +0000)]
Wed May 13 11:12:58 1998  James Ingham  <jingham@leda.cygnus.com>

* gdbtk.c: Fixed a goof in the definition of the gdb_get_args &
gdb_get_locals Tcl commands.  Moved the previous ChangeLog entry
from ChangeLog to ChangeLog-gdbtk...

26 years ago * tx.igen (madd,maddu): Replace calls to check_op_hilo
Gavin Romig-Koch [Wed, 13 May 1998 18:14:09 +0000 (18:14 +0000)]
* tx.igen (madd,maddu):  Replace calls to check_op_hilo
with calls to check_div_hilo.

26 years ago * sysdep-6irix.h: New file.
Ian Lance Taylor [Wed, 13 May 1998 17:43:33 +0000 (17:43 +0000)]
* sysdep-6irix.h: New file.
* configure.in (*-*-irix6*): New host; use sysdep-6irix.h.

26 years ago * read.c (generate_file_debug,generate_lineno_debug): New functions.
Doug Evans [Wed, 13 May 1998 17:19:22 +0000 (17:19 +0000)]
* read.c (generate_file_debug,generate_lineno_debug): New functions.
(read_a_source_file): Call them.
* read.h (stabs_generate_asm_file): Declare.
* stabs.c (stabs_generate_asm_file): New function.
(generate_asm_file): New function.
(stabs_generate_asm_lineno): Move file name handling into
generate_asm_file.

26 years ago * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):
Gavin Romig-Koch [Wed, 13 May 1998 14:00:56 +0000 (14:00 +0000)]
* mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):
Replace check_op_hilo with check_mult_hilo and check_div_hilo.
Add special r3900 version of do_mult_hilo.
(do_dmultx,do_mult,do_multu): Replace calls to check_op_hilo
with calls to check_mult_hilo.
(do_ddiv,do_ddivu,do_div,do_divu): Replace calls to check_op_hilo
with calls to check_div_hilo.

26 years agofix thinko that broke sanitized vr4100 build
Angela Marie Thomas [Wed, 13 May 1998 01:20:22 +0000 (01:20 +0000)]
fix thinko that broke sanitized vr4100 build

26 years agoTue May 12 13:29:20 1998 Jeff Holcomb <jeffh@cygnus.com>
Jeff Holcomb [Tue, 12 May 1998 20:53:08 +0000 (20:53 +0000)]
Tue May 12 13:29:20 1998  Jeff Holcomb  <jeffh@cygnus.com>

* Makefile.in (install-only): Add images/icons.txt and
images2/icons.txt to files that need to be installed.

26 years agoAdd --enable-special command line switch.
Nick Clifton [Tue, 12 May 1998 20:38:36 +0000 (20:38 +0000)]
Add --enable-special command line switch.

26 years agoPR 15889 was also in the previous tc-d30v.c commit, but
Richard Henderson [Tue, 12 May 1998 19:06:14 +0000 (19:06 +0000)]
PR 15889 was also in the previous tc-d30v.c commit, but
missed bringing over the log message from the branch.

26 years ago * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
Richard Henderson [Tue, 12 May 1998 19:04:29 +0000 (19:04 +0000)]
    * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
        (d30v_current_align, d30v_current_align_seg): New variables.
        (d30v_last_label): New variable.
        (d30v_align, s_d30v_align, s_d30v_text): New functions.
        (s_d30v_data, s_d30v_section): Likewise.
        (md_pseudo_table): Call them.
        (md_begin): Initialize d30v_current_align_seg.
        (md_assemble): Call d30v_align when needed by known current alignment.
        (d30v_frob_label, d30v_cons_align): New functions.
        * config/tc-d30v.h (md_do_align): Remove.
        (tc_frob_label): Call d30v_frob_label.
        (md_cons_align): New.

PR 15642

26 years agoTue May 12 12:03:16 1998 James Ingham <jingham@leda.cygnus.com>
Jim Ingham [Tue, 12 May 1998 19:03:56 +0000 (19:03 +0000)]
Tue May 12 12:03:16 1998  James Ingham  <jingham@leda.cygnus.com>

* gdbtk.c: Add an object call wrapper for the new Tcl_Obj based
commands.  This way the obj commands will also go through
catch_errors.  This is just a bandaid while I rewrite the
string-based commands to use the object format.

26 years ago * d30v-opc.c (pre_defined_register): Remove alias for r0.
Richard Henderson [Tue, 12 May 1998 18:46:34 +0000 (18:46 +0000)]
* d30v-opc.c (pre_defined_register): Remove alias for r0.

PR 15669

26 years ago* configure.in (SUBTARGET_R3900): Define for mipstx39 target.
Andrew Cagney [Tue, 12 May 1998 05:36:47 +0000 (05:36 +0000)]
* configure.in (SUBTARGET_R3900): Define for mipstx39 target.
Document a replacement.

26 years ago * config-ml.in: After building symlink tree call make distclean
Jeff Law [Tue, 12 May 1998 05:33:32 +0000 (05:33 +0000)]
    * config-ml.in: After building symlink tree call make distclean
        if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
        to be the case for libiberty.
Bring over from egcs.

26 years ago * mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
Jeff Law [Tue, 12 May 1998 05:30:11 +0000 (05:30 +0000)]
    * mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
Bring over from egcs.

26 years ago * COPYING.LIB: Update FSF address.
Jeff Law [Tue, 12 May 1998 05:10:18 +0000 (05:10 +0000)]
    * COPYING.LIB: Update FSF address.

26 years ago * config/tc-dvp.c (md_begin): Set type of output file to mips:r5900.
Doug Evans [Mon, 11 May 1998 19:49:29 +0000 (19:49 +0000)]
* config/tc-dvp.c (md_begin): Set type of output file to mips:r5900.

26 years ago* New test cases for MIPS R5900-specific 20-bit break, at customer request.
Frank Ch. Eigler [Mon, 11 May 1998 17:11:54 +0000 (17:11 +0000)]
* New test cases for MIPS R5900-specific 20-bit break, at customer request.

26 years ago* Fixing typo that caused infinite loop upon PKE MPG.
Frank Ch. Eigler [Mon, 11 May 1998 16:15:22 +0000 (16:15 +0000)]
* Fixing typo that caused infinite loop upon PKE MPG.

26 years ago * po/Make-in (install-info): New target.
Jeff Law [Mon, 11 May 1998 04:36:09 +0000 (04:36 +0000)]
    * po/Make-in (install-info): New target.

26 years ago * Makefile.in (install-info): New target.
Jeff Law [Mon, 11 May 1998 04:34:46 +0000 (04:34 +0000)]
    * Makefile.in (install-info): New target.

26 years ago * lib/sim-defs.exp (sim_version): Simplify.
Doug Evans [Fri, 8 May 1998 21:42:49 +0000 (21:42 +0000)]
* lib/sim-defs.exp (sim_version): Simplify.
(sim_run): Implement.
(run_sim_test): Use sim_run.
(sim_compile): New proc.

26 years agoExtended help information provided about command line options.
Nick Clifton [Fri, 8 May 1998 17:36:22 +0000 (17:36 +0000)]
Extended help information provided about command line options.

26 years ago * Makefile.in (GASB_SUPPORT_DIRS): Remove intl; already included via
Ian Lance Taylor [Fri, 8 May 1998 05:31:07 +0000 (05:31 +0000)]
* Makefile.in (GASB_SUPPORT_DIRS): Remove intl; already included via
GAS_SUPPORT_DIRS.

26 years ago * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve
Bob Manson [Fri, 8 May 1998 05:30:24 +0000 (05:30 +0000)]
* config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve
%o0-%o5 as 64-bit values; compensate for stack bias.
(USE_STRUCT_CONVENTION): We only pass pointers to structs
if they're larger than 32 bytes.
(REG_STRUCT_HAS_ADDR): Ditto.

* sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp()
  instead of read_register. If the target is a sparc64 and the frame
  pointer is odd, compensate for the stack bias.
(get_saved_register): Use read_sp().
(DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES.
(sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64,
  save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers.
(sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC,
  CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a
  dummy frame.
(sparc_pop_frame): Use write_sp(). If the target is a sparc64 and
  the FP is odd, compensate for stack bias.
(sparc_store_return_value): Right-justify the return value before
  writing it to %o0.
(sparc_fix_call_dummy): Don't NOP out part of the call dummy on
  sparc64.
(sparc64_read_sp, sparc64_read_fp, sparc64_write_sp,
  sparc64_write_fp, sp64_push_arguments,
  sparc64_extract_return_value): New functions to support the
  sparc64 ABI.

* dwarfread.c (handle_producer): Set processing_gcc_compilation to
  the right version number.

* dwarf2read.c (read_file_scope): Assume we're processing
GCC2 output.

26 years ago * Makefile.am: Update with `make dep-am'.
Doug Evans [Thu, 7 May 1998 23:40:41 +0000 (23:40 +0000)]
* Makefile.am: Update with `make dep-am'.
(HFILES): Add cgen.h.
(cgen.o): Depend on cgen.h.
* Makefile.in: Regenerate.

26 years ago If sysdep.h includes a header file, don't include it again:
Ian Lance Taylor [Thu, 7 May 1998 22:05:46 +0000 (22:05 +0000)]
If sysdep.h includes a header file, don't include it again:
* aix386-core.c: Don't include <stdio.h>, <stddef.h>, or
<errno.h>.
* aoutx.h: Don't include <string.h>.  Use "sysdep.h" rather than
<sysdep.h>.
* archive.c: Don't include <string.h> or <errno.h>.
* evax-alpha.c; Don't include <stdio.h>.
* evax-egsd.c: Likewise.
* evax-etir.c: Likewise.
* evax-misc.c: Likewise.
* evax-emh.c: Likewise.  Also, don't include <sys/types.h>.
* hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or
<errno.h>.
* hpux-core.c: Likewise.
* netbsd-core.c: Likewise.
* som.c: Likewise.
* libbfd.c: Don't include <sys/types.h>.
* nlmcode.h: Don't include <string.h>.
* osf-core.c: Don't include <string.h> or <stdio.h>.
* ptrace-core.c: Don't include <stdio.h>, <sys/types.h>,
<errno.h>, or <unistd.h>.
* trad-core.c: Don't include <stdio.h> or <sys/types.h>.

26 years ago * filemode.c: Remove; not used.
Ian Lance Taylor [Thu, 7 May 1998 22:05:13 +0000 (22:05 +0000)]
* filemode.c: Remove; not used.

26 years ago * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
Jeff Law [Thu, 7 May 1998 21:50:14 +0000 (21:50 +0000)]
    * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
        instructions.
        * config/tc-mn10300.c (md_assemble): Likewise.

26 years ago * ltconfig, ltmain.sh: Avoid producing a version number if
Ian Lance Taylor [Thu, 7 May 1998 21:28:06 +0000 (21:28 +0000)]
* ltconfig, ltmain.sh: Avoid producing a version number if
-version-info was not used.

26 years ago * configure.in (WIN32LIBADD): Add -lintl on cygwin32.
Ian Lance Taylor [Thu, 7 May 1998 21:16:31 +0000 (21:16 +0000)]
* configure.in (WIN32LIBADD): Add -lintl on cygwin32.
* configure: Rebuild.

26 years ago * Roll Alpha modifications into devo for sky-gpuif*/ sky-gs*/ interp.c
Patrick Macdonald [Thu, 7 May 1998 19:14:28 +0000 (19:14 +0000)]
* Roll Alpha modifications into devo for sky-gpuif*/ sky-gs*/ interp.c
* Complete and informative details can be found in ChangeLog.sky

26 years ago * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
Doug Evans [Thu, 7 May 1998 18:47:57 +0000 (18:47 +0000)]
* cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.

26 years ago* Keep new test cases ({trap,break}20.[sd]).
Frank Ch. Eigler [Thu, 7 May 1998 17:51:51 +0000 (17:51 +0000)]
* Keep new test cases ({trap,break}20.[sd]).

26 years ago* Changes to sky PKE sim to calculate word-precision source-addresses
Frank Ch. Eigler [Thu, 7 May 1998 17:50:18 +0000 (17:50 +0000)]
* Changes to sky PKE sim to calculate word-precision source-addresses
  for VU memory tracking tables.

Thu May  7 12:15:41 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-pke.c (pke_pcrel_operand_bits): Compute word-resolution
source address for UNPACK into VU MEM.
(pke_code_mpg): Ditto for MPG into VU uMEM.

26 years ago* Converted conditional-trap MIPS opcodes to extra-operand variety also.
Frank Ch. Eigler [Thu, 7 May 1998 17:45:24 +0000 (17:45 +0000)]
* Converted conditional-trap MIPS opcodes to extra-operand variety also.
* Bonus test cases to confirm behavior.

[ChangeLog]
Thu May  7 12:50:33 1998  Frank Ch. Eigler  <fche@cygnus.com>

* config/tc-mips.c (validate_mips_insn): Removed hack
for previously inaccessible bitfields in some INSN_TRAP
instructions.

[testsuite/ChangeLog]

Thu May  7 13:05:25 1998  Frank Ch. Eigler  <fche@cygnus.com>

* gas/mips/break20.[sd]: New tests for 20-bit operand break and
  sddbp instructions.
* gas/mips/trap20.[sd]: New tests for 20-bit operand trap
  instructions.
* gas/mips/mips.exp: Run them.

26 years ago* Converted conditional-trap MIPS opcodes to extra-operand variety also.
Frank Ch. Eigler [Thu, 7 May 1998 17:43:38 +0000 (17:43 +0000)]
* Converted conditional-trap MIPS opcodes to extra-operand variety also.

Thu May  7 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>

* mips-opc.c (teq,tge,tgeu,tlt,tltu,tne): Added three-operand
  variety of ISA2 instructions to set bottom ten bits of trap code.

26 years agoThu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
Ian Lance Taylor [Thu, 7 May 1998 17:22:30 +0000 (17:22 +0000)]
Thu May  7 13:20:56 1998  Anders Blomdell  <anders.blomdell@control.lth.se>

* gasp.c (grab_label): Permit a label to be a preprocessor
variable by permitting a label to start with a backslash.

26 years agoThu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Thu, 7 May 1998 17:13:37 +0000 (17:13 +0000)]
Thu May  7 13:12:50 1998  Klaus Kaempf  <kkaempf@progis.de>

* configure.com: If the version number can not be found in
configure.in, set it to "unknown" rather than "2.8.1".

26 years agoremove \f from internationalized string
Ian Lance Taylor [Thu, 7 May 1998 16:51:16 +0000 (16:51 +0000)]
remove \f from internationalized string

26 years agosanitize java mentions from ChangeLog
Ian Lance Taylor [Thu, 7 May 1998 16:46:30 +0000 (16:46 +0000)]
sanitize java mentions from ChangeLog

26 years agofix sanitization of mips.h changes
Ian Lance Taylor [Thu, 7 May 1998 16:19:40 +0000 (16:19 +0000)]
fix sanitization of mips.h changes

26 years agofix sanitization of elf32-mips.c
Ian Lance Taylor [Thu, 7 May 1998 16:13:49 +0000 (16:13 +0000)]
fix sanitization of elf32-mips.c

26 years ago * Makefile.am (config.status): Add explicit target so that
Ian Lance Taylor [Thu, 7 May 1998 15:56:07 +0000 (15:56 +0000)]
* Makefile.am (config.status): Add explicit target so that
config.status depends upon bfd/configure.in.
* Makefile.in: Rebuild.

26 years ago* First batch of fixes for sky PR 15853 (20-bit break/sdbbp)
Frank Ch. Eigler [Thu, 7 May 1998 15:34:13 +0000 (15:34 +0000)]
* First batch of fixes for sky PR 15853 (20-bit break/sdbbp)

26 years ago* Fixes for d30v PR 15627.
Frank Ch. Eigler [Thu, 7 May 1998 15:27:13 +0000 (15:27 +0000)]
* Fixes for d30v PR 15627.
* First batch of fixes for sky PR 15853 (20-bit break/sdbbp)
* Fixes for d30v test suite.

26 years ago* Finish dropping sim/txvu directory.
Frank Ch. Eigler [Thu, 7 May 1998 14:39:08 +0000 (14:39 +0000)]
* Finish dropping sim/txvu directory.

26 years agoInitial Breakpoint support:
Ron Unrau [Thu, 7 May 1998 14:36:42 +0000 (14:36 +0000)]
Initial Breakpoint support:

        * sim-main.h: (struct _sim_cpu): add cur_device field.
          Define cur_device values, breakpoint value, and SIM_ENGINE_HALT_HOOK
        * interp.c (sim_open): initialize cur_device
        * sky-engine.c (engine_run): use cur_device to set current_cpu
        * sky-libvpe.c (vpecallms_cycle): add check for breakpoint
        * sky-hardware.h: delete NUMBER_CPUS
        * sky-hardware.c (attach_devices): create a memory mapped comm
          area for GDB/SIM interactions

misc:
        * sky-vu.c ({read,write}_vu_misc_reg): do default behavior for
          unknown regs instead of sim_io_error. MP reg is float (was missing
          cast).

26 years agoFix typo
Michael Meissner [Thu, 7 May 1998 11:48:27 +0000 (11:48 +0000)]
Fix typo

26 years ago * cgen.h: New file.
Doug Evans [Thu, 7 May 1998 09:31:42 +0000 (09:31 +0000)]
* cgen.h: New file.
* cgen.c: Include it.
(MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
(cgen_asm_finish_insn): Result is now void.  New arg `result'.
All callers updated.
* config/tc-m32r.c: Include cgen.h.
(m23r_insn): New members num_fixups,fixups.
(assemble_parallel_insn): Initialize debug_sym_link for each insn.
(md_assemble): Simplify code to pack two insns in parallel.
When swapping two insns, update their fixups.

26 years ago * cgen.h (cgen_asm_init_parse): Delete.
Doug Evans [Thu, 7 May 1998 09:16:35 +0000 (09:16 +0000)]
* cgen.h (cgen_asm_init_parse): Delete.
(cgen_save_fixups,cgen_restore_fixups,cgen_swap_fixups): Delete.
(cgen_asm_record_register,cgen_asm_finish_insn): Delete.

26 years ago * sim-main.h (INSN_NAME): New arg `cpu'.
Doug Evans [Thu, 7 May 1998 02:45:07 +0000 (02:45 +0000)]
* sim-main.h (INSN_NAME): New arg `cpu'.