binutils-gdb.git
26 years ago * sim-if.c (do_trap): Treat traps 2-15 as hardware does.
Doug Evans [Tue, 19 May 1998 23:52:23 +0000 (23:52 +0000)]
* sim-if.c (do_trap): Treat traps 2-15 as hardware does.

26 years ago * reloc.c (bfd_check_overflow): Add casts before shifts which may
Ian Lance Taylor [Tue, 19 May 1998 22:45:38 +0000 (22:45 +0000)]
* reloc.c (bfd_check_overflow): Add casts before shifts which may
  not fit in 32 bits.
(_bfd_relocate_contents): Likewise.

26 years ago * gas/mips/mips16.d: Correct to reflect bug fix to disassembler.
Ian Lance Taylor [Tue, 19 May 1998 22:17:38 +0000 (22:17 +0000)]
* gas/mips/mips16.d: Correct to reflect bug fix to disassembler.

26 years ago * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
Ian Lance Taylor [Tue, 19 May 1998 21:36:42 +0000 (21:36 +0000)]
* mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
with a shift count of 0.

26 years ago*** empty log message ***
Catherine Moore [Tue, 19 May 1998 13:20:47 +0000 (13:20 +0000)]
*** empty log message ***

26 years agoUse number_to_chars_bigendian and number_to_chars_littleendian to
Catherine Moore [Tue, 19 May 1998 13:03:09 +0000 (13:03 +0000)]
Use number_to_chars_bigendian and number_to_chars_littleendian to
write data in sparc_handle_align.

26 years agoFix PR 15948
Nick Clifton [Tue, 19 May 1998 00:12:10 +0000 (00:12 +0000)]
Fix PR 15948

26 years ago * write.c (fixup_segment): Change "segment" to "section" in
Doug Evans [Mon, 18 May 1998 23:06:10 +0000 (23:06 +0000)]
* write.c (fixup_segment): Change "segment" to "section" in
error message.

26 years agoFix nightly testing bug.
Nick Clifton [Mon, 18 May 1998 21:47:54 +0000 (21:47 +0000)]
Fix nightly testing bug.

26 years agoChange subtraction of two symbols message; At end of file flush any debug_sym links
Michael Meissner [Mon, 18 May 1998 20:56:45 +0000 (20:56 +0000)]
Change subtraction of two symbols message; At end of file flush any debug_sym links

26 years ago * dbxread.c (process_one_symbol): If block addresses are relative to
Keith Seitz [Mon, 18 May 1998 20:48:58 +0000 (20:48 +0000)]
    * dbxread.c (process_one_symbol): If block addresses are relative to
        function start addresses, reset function_start_address whenever a new
        source file is seen.

26 years ago From Jason Merrill <jason@cygnus.com>:
Ian Lance Taylor [Mon, 18 May 1998 20:21:22 +0000 (20:21 +0000)]
From Jason Merrill <jason@cygnus.com>:
* ldlang.c (wild_sort): Correct order of sort.
* scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
.dtors.
* scripttempl/elfd10v.sc: Likewise.
start-sanitize-d30v
* scripttempl/elfd30v.sc: Likewise.
end-sanitize-d30v
* scripttempl/elfppc.sc: Likewise.

26 years ago * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
Jeff Law [Mon, 18 May 1998 17:51:56 +0000 (17:51 +0000)]
    * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
        (mips_ip): Likewise.

26 years ago* Added tests for R5900 mult1 instructions.
Frank Ch. Eigler [Mon, 18 May 1998 17:48:38 +0000 (17:48 +0000)]
* Added tests for R5900 mult1 instructions.

26 years ago * vu0.s: Test vopmula/vopmsub with and without opcode
Jeff Law [Mon, 18 May 1998 17:48:37 +0000 (17:48 +0000)]
    * vu0.s: Test vopmula/vopmsub with and without opcode
        completer.
        * vu0.d: Corresponding changes.

26 years ago* Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Frank Ch. Eigler [Mon, 18 May 1998 17:46:35 +0000 (17:46 +0000)]
* Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Mon May 18 14:27:06 1998  Frank Ch. Eigler  <fche@cygnus.com>
* mips-opc.c (mult1): Add two-operand variety of mult1 for R5900.

26 years ago * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
Jeff Law [Mon, 18 May 1998 17:46:34 +0000 (17:46 +0000)]
    * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
        (_print_insn_mips): Likewise.
        * vu0.h (vopmula, vopmsub): Correctly handle opcode/operand
        completers.

26 years ago * sim/sky/sky.ld: Delete file.
Doug Evans [Mon, 18 May 1998 17:38:48 +0000 (17:38 +0000)]
* sim/sky/sky.ld: Delete file.

26 years agoChanged command line switch from --m32rx-enable-special to --hidden
Nick Clifton [Mon, 18 May 1998 17:34:24 +0000 (17:34 +0000)]
Changed command line switch from --m32rx-enable-special to --hidden
Removed documentation about the switch.

26 years ago* Monster patch - may destablize MIPS sims for a little while.
Frank Ch. Eigler [Mon, 18 May 1998 15:55:05 +0000 (15:55 +0000)]
* Monster patch - may destablize MIPS sims for a little while.
* Followup patch for SCEI PR 15853
* First check-in of TX3904 interrupt controller devices for ECC. [sanitized]
* First implementation of MIPS hardware interrupt emulation.
Mon May 18 18:22:42 1998  Frank Ch. Eigler  <fche@cygnus.com>
* configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
  modules.  Recognize TX39 target with "mips*tx39" pattern.
* configure: Rebuilt.
* sim-main.h (*): Added many macros defining bits in
  TX39 control registers.
(SignalInterrupt): Send actual PC instead of NULL.
(SignalNMIReset): New exception type.
* interp.c (board): New variable for future use to identify
a particular board being simulated.
(mips_option_handler,mips_options): Added "--board" option.
(interrupt_event): Send actual PC.
(sim_open): Make memory layout conditional on board setting.
(signal_exception): Initial implementation of hardware interrupt
  handling.  Accept another break instruction variant for simulator
  exit.
(decode_coproc): Implement RFE instruction for TX39.
(mips.igen): Decode RFE instruction as such.
start-sanitize-tx3904
* configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
* interp.c: Define "jmr3904" and "jmr3904debug" board types and
bbegin to implement memory map.
* dv-tx3904cpu.c: New file.
* dv-tx3904irc.c: New file.
end-sanitize-tx3904

26 years ago* Followup for SCEI PR 15853.
Frank Ch. Eigler [Mon, 18 May 1998 13:33:26 +0000 (13:33 +0000)]
* Followup for SCEI PR 15853.
Mon May 18 12:37:38 1998  Frank Ch. Eigler  <fche@cygnus.com>
* config/tc-mips.c (macro): For R5900, use "B" operand format for
  "break" instructions generated in macro (div etc.) instructions.

26 years agoImprove error message
Michael Meissner [Mon, 18 May 1998 13:33:25 +0000 (13:33 +0000)]
Improve error message

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.