platform/upstream/binutils.git
26 years ago * elf32-mips.c (mips_elf_relocate_section): Do not complain about
Jeff Law [Sat, 18 Apr 1998 04:30:09 +0000 (04:30 +0000)]
    * elf32-mips.c (mips_elf_relocate_section): Do not complain about
        an out of range pc-relative jump/call to an undefined weak symbol.

26 years ago * Makefile.in (ULIMIT): New variable.
Doug Evans [Fri, 17 Apr 1998 21:21:12 +0000 (21:21 +0000)]
* Makefile.in (ULIMIT): New variable.
(sce%.ok): Use it.
(.run.ok,.run.ko): Ditto.

26 years ago * Makefile.in (all-bfd): Depend upon all-libiberty.
Ian Lance Taylor [Fri, 17 Apr 1998 20:22:54 +0000 (20:22 +0000)]
* Makefile.in (all-bfd): Depend upon all-libiberty.

26 years ago * ltconfig, ltmain.sh: Bring in newer cygwin32 support.
Ian Lance Taylor [Fri, 17 Apr 1998 20:21:13 +0000 (20:21 +0000)]
* ltconfig, ltmain.sh: Bring in newer cygwin32 support.

26 years ago * Makefile.in: Add libstub.
Bob Manson [Fri, 17 Apr 1998 19:25:20 +0000 (19:25 +0000)]
* Makefile.in: Add libstub.

* configure.in: Ditto. Build libstub for targets that have cygmon
support.

26 years ago* Fixed data mangling problems in R5900 COP2 LQC2/SQC2 instructions.
Frank Ch. Eigler [Fri, 17 Apr 1998 19:04:53 +0000 (19:04 +0000)]
* Fixed data mangling problems in R5900 COP2 LQC2/SQC2 instructions.

26 years ago* New R5900 COP2 test case.
Frank Ch. Eigler [Fri, 17 Apr 1998 19:04:41 +0000 (19:04 +0000)]
* New R5900 COP2 test case.

26 years ago * archive.c (bfd_generic_archive_p): If a slurp subroutine returns
Ian Lance Taylor [Thu, 16 Apr 1998 22:37:40 +0000 (22:37 +0000)]
* archive.c (bfd_generic_archive_p): If a slurp subroutine returns
  an error other than bfd_error_system_call, set the error to
  bfd_error_wrong_format.

26 years ago * config/tc-dvp.c
Doug Evans [Thu, 16 Apr 1998 22:07:22 +0000 (22:07 +0000)]
* config/tc-dvp.c
(vif_insn_type): New function.
(md_apply_fix3): Don't validate user specified length if unpack insn
and wl > cl.

26 years ago (vif_insn_type): New function.
Doug Evans [Thu, 16 Apr 1998 22:07:02 +0000 (22:07 +0000)]
(vif_insn_type): New function.
(md_apply_fix3): Don't validate user specified length if unpack insn
and wl > cl.

26 years ago (vif_unpack_len_value): Avoid divide by zero.
Doug Evans [Thu, 16 Apr 1998 21:34:38 +0000 (21:34 +0000)]
(vif_unpack_len_value): Avoid divide by zero.

26 years ago* elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp
Richard Henderson [Thu, 16 Apr 1998 21:06:36 +0000 (21:06 +0000)]
* elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp
comparisons signed.

26 years agoThu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 16 Apr 1998 20:14:51 +0000 (20:14 +0000)]
Thu Apr 16 13:13:24 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
        error string if in an ANSI C-ish environment.

26 years ago* Adapted R5900 COP2 interface code to clarified micro-mode interlock
Frank Ch. Eigler [Thu, 16 Apr 1998 19:27:55 +0000 (19:27 +0000)]
* Adapted R5900 COP2 interface code to clarified micro-mode interlock
  behavior.

26 years agoUpdate the testcase to work with gpu2 lib.
Jillian Ye [Thu, 16 Apr 1998 19:07:57 +0000 (19:07 +0000)]
Update the testcase to work with gpu2 lib.

26 years ago * config/tc-dvp.c (unpackloc_sym): Delete. All uses deleted.
Doug Evans [Thu, 16 Apr 1998 18:51:58 +0000 (18:51 +0000)]
* config/tc-dvp.c (unpackloc_sym): Delete.  All uses deleted.

26 years ago * dvp-opc.c (parse_vif_unpackloc,insert_vif_unpackloc): Delete.
Doug Evans [Thu, 16 Apr 1998 18:49:18 +0000 (18:49 +0000)]
* dvp-opc.c (parse_vif_unpackloc,insert_vif_unpackloc): Delete.
(vif_operands): Update.
(vif_get_unpackloc): Delete.
(state_vif_unpackloc{,_star_p}): Delete.
(dvp_opcode_init_parse): Update.

26 years ago * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add
Ian Lance Taylor [Thu, 16 Apr 1998 18:47:13 +0000 (18:47 +0000)]
* targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add
bfd_elf32_powerpcle_vec.

26 years ago * gas/testsuite/dvp/{vif-1.[sd],vif-3.s}: Update, '*' no longer
Doug Evans [Thu, 16 Apr 1998 18:27:15 +0000 (18:27 +0000)]
* gas/testsuite/dvp/{vif-1.[sd],vif-3.s}: Update, '*' no longer
supported as unpack address.

26 years agoThu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Thu, 16 Apr 1998 17:56:11 +0000 (17:56 +0000)]
Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>

* gdb.base/branches.c: Code with lots of loops and
  subroutines. Used to test gdbs ability to single step through PC
  changes, especially to test mips-tdep.c:mips_next_pc

26 years ago * elf.c (copy_private_bfd_data): If all the p_paddr fields in the
Ian Lance Taylor [Thu, 16 Apr 1998 15:45:18 +0000 (15:45 +0000)]
* elf.c (copy_private_bfd_data): If all the p_paddr fields in the
program segments are zero, don't set p_paddr_valid.

26 years agoo CVT.S.W and CVT.W.S were reversed
Andrew Cagney [Thu, 16 Apr 1998 07:49:58 +0000 (07:49 +0000)]
o CVT.S.W and CVT.W.S were reversed
o When unpacking an r5900 FP value,
  was not treating IEEE-NaN's as very
  large values.
o When packing an r5900 FP result from an infinite
  precision intermediate value was saturating
  to IEEE-MAX instead of r5900-MAX
o The least significant bit of the FP status
  register did not stick to one.

26 years ago * elf64-alpha.c: Initial implementation of relaxation --
Richard Henderson [Thu, 16 Apr 1998 05:29:30 +0000 (05:29 +0000)]
    * elf64-alpha.c: Initial implementation of relaxation --
        (struct alpha_elf_link_hash_entry): Add use_count member.
        (elf64_alpha_check_relocs): Initialize and increment it.
        (elf64_alpha_can_merge_gots): Check it when considering merging.
        (elf64_alpha_merge_gots): Drop entries with zero use.
        (elf64_alpha_calc_got_offsets_for_symbol): Likewise.
        (elf64_alpha_always_size_sections): Split out got sizing ...
        (elf64_alpha_size_got_sections): ... here.  New function.
        (elf64_alpha_relax_find_reloc_ofs): New function.
        (elf64_alpha_relax_with_lituse): Likewise.
        (elf64_alpha_relax_without_lituse): Likewise.
        (elf64_alpha_relax_opt_call): Likewise.
        (elf64_alpha_relax_section): Likewise.
        (elf64_alpha_add_symbol_hook): Likewise.
        (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16.
        (elf64_alpha_relocate_section): Likewise.
        (bfd_elf64_bfd_relax_section): Define.
        (elf_backend_add_symbol_hook): Likewise.

26 years ago * sparc-tdep.c (SPARC_HAS_FPU): Define.
Mark Alexander [Thu, 16 Apr 1998 02:10:26 +0000 (02:10 +0000)]
* sparc-tdep.c (SPARC_HAS_FPU): Define.
(sparc_extract_return_value): New function, required to handle
machines without floating point.
(sparc_store_return_value): Ditto.
* config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call
sparc_extract_return_value instead of using inline code.
(sparc_extract_return_value): Declare.
(STORE_RETURN_VALUE): Call sparc_store_return_value instead
of using inline code.
(sparc_store_return_value): Declare.

26 years agoTX19 uses igen by default.
Andrew Cagney [Wed, 15 Apr 1998 23:17:16 +0000 (23:17 +0000)]
TX19 uses igen by default.

26 years ago * elf.c (prep_headers): Use new EM_SPARCV9 symbol.
Richard Henderson [Wed, 15 Apr 1998 23:09:52 +0000 (23:09 +0000)]
    * elf.c (prep_headers): Use new EM_SPARCV9 symbol.
        * elf64-sparc.c (ELF_MACHINE_CODE): Likewise.
        (ELF_MACHINE_ALT1): New.  Set to EM_OLD_SPARC64.

26 years ago * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
Richard Henderson [Wed, 15 Apr 1998 22:34:05 +0000 (22:34 +0000)]
* symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
back into the expression to handle add/sub simplification correctly.

PR 15634

26 years agoWed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Wed, 15 Apr 1998 19:18:41 +0000 (19:18 +0000)]
Wed Apr 15 12:19:42 1998  Martin M. Hunt  <hunt@cygnus.com>

* solib.c (enable_break): Only call warning once
instead of three times.

26 years agoReflect departures of old gdbtk versions
Stan Shebs [Wed, 15 Apr 1998 19:15:57 +0000 (19:15 +0000)]
Reflect departures of old gdbtk versions

26 years agoEnd of another (shorter :-) ) era. Now only gdbtcl2 has a gdbtk interface.
Stan Shebs [Wed, 15 Apr 1998 19:14:15 +0000 (19:14 +0000)]
End of another (shorter :-) ) era.  Now only gdbtcl2 has a gdbtk interface.

26 years ago* Changes to make interp.c compile under mips64r5900-sky-elf target.
Frank Ch. Eigler [Wed, 15 Apr 1998 19:02:04 +0000 (19:02 +0000)]
* Changes to make interp.c compile under mips64r5900-sky-elf target.

Wed Apr 15 12:41:18 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (decode_coproc): Make COP2 branch code compile after
  igen signature changes.

26 years ago* Customer specs changed one R5900 COP2 instruction bit-pattern.
Frank Ch. Eigler [Wed, 15 Apr 1998 17:37:50 +0000 (17:37 +0000)]
* Customer specs changed one R5900 COP2 instruction bit-pattern.

[ChangeLog]

Wed Apr 15 10:35:59 1998  Frank Ch. Eigler <fche@cygnus.com>

        * config/tc-mips.c (mips_ip): Specs changed for
VCALLMSR instruction.

[testsuite/ChangeLog]

Wed Apr 15 13:08:30 1998  Frank Ch. Eigler <fche.cygnus.com>

        * gas/mips/vu0.s: Updated test case for changed specs of
VCALLMSR instruction.
        * gas/mips/vu0.d: Corresponding change.

26 years ago* Customer specs changed one R5900 COP2 instruction bit-pattern.
Frank Ch. Eigler [Wed, 15 Apr 1998 17:36:43 +0000 (17:36 +0000)]
* Customer specs changed one R5900 COP2 instruction bit-pattern.

Wed Apr 15 10:30:07 1998   Frank Ch. Eigler  <fche@cygnus.com>

* vu0.h: Specs changed for VCALLMSR bit pattern.
* mips-dis.c: (print_insn_arg) Matching change.

26 years ago * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32.
Ian Lance Taylor [Wed, 15 Apr 1998 15:35:05 +0000 (15:35 +0000)]
* configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32.
* configure: Rebuild.

26 years agoRemove 4300 and 5400 from hilo_interlocks definition.
Catherine Moore [Wed, 15 Apr 1998 14:11:33 +0000 (14:11 +0000)]
Remove 4300 and 5400 from hilo_interlocks definition.

26 years agoRe-fix 32 bit DSRAV instruction.
Andrew Cagney [Wed, 15 Apr 1998 14:04:01 +0000 (14:04 +0000)]
Re-fix 32 bit DSRAV instruction.
Fix mips16 BRANCH, unsigned ADD/SUB and SRAV instructions.

26 years agoAdd EXTEND11().
Andrew Cagney [Wed, 15 Apr 1998 13:50:50 +0000 (13:50 +0000)]
Add EXTEND11().

26 years agoDebug tx19 built from igen sources.
Andrew Cagney [Wed, 15 Apr 1998 07:23:28 +0000 (07:23 +0000)]
Debug tx19 built from igen sources.
Rework ifetch{16,32} to match the more recent do_load function.

26 years agoDefine EXTEND15().
Andrew Cagney [Wed, 15 Apr 1998 06:45:19 +0000 (06:45 +0000)]
Define EXTEND15().

26 years ago * sparc-tdep.c (sparc_extract_struct_value_address): Make it
Mark Alexander [Wed, 15 Apr 1998 00:25:58 +0000 (00:25 +0000)]
* sparc-tdep.c (sparc_extract_struct_value_address): Make it
work correctly on little-endian hosts.
(sparc_push_arguments): New function.
(gdb_print_insn_sparc): New function.
(_initialize_sparc_tdep): Make gdb_print_insn_sparc the default
disassembler, so that SPARClite-specific instructions will
be recognized.
* sparcl-tdep.c (readchar): Print debugging information.
(debug_serial_write): New function, a replacement for SERIAL_WRITE
that prints debugging information.
* config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define.
(sparc_push_arguments): Declare.

26 years agoDefine EXTEND4() and EXTEND5().
Andrew Cagney [Wed, 15 Apr 1998 00:06:50 +0000 (00:06 +0000)]
Define EXTEND4() and EXTEND5().

26 years agoTue Apr 14 16:31:35 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Tue, 14 Apr 1998 23:36:19 +0000 (23:36 +0000)]
Tue Apr 14 16:31:35 1998  John Metzler  <jmetzler@cygnus.com>

* sim-memopt.c (parse_addr): Sunos 4.5 does not hane strtol
  declared so we need this cast to prevent long long addresses
from being misconfigures. Results in access to unmapped memory.

26 years ago * gdbcfgxref (xref_menu): Call new regex and wild card searches
John Metzler [Tue, 14 Apr 1998 23:16:48 +0000 (23:16 +0000)]
* gdbcfgxref (xref_menu): Call new regex and wild card searches
Now you can type in a specific triple like mips64-vr4320-elf or
somthing like mips*.h
(triple_search) wildcardsearch): The new functions

26 years agoTue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Tue, 14 Apr 1998 23:09:06 +0000 (23:09 +0000)]
Tue Apr 14 15:43:49 1998  John Metzler  <jmetzler@cygnus.com>

* configure.tgt: Switch over to use tm-4320.h. Since I switched to
  MIPS EABI the fixes are no longer backward compatible with 4300.
* tm-vr4320.h: Added
* vr4320.mt:   Added

26 years ago * configure.in: Don't set PICFLAG on ix86-cygwin32.
Ian Lance Taylor [Tue, 14 Apr 1998 22:03:31 +0000 (22:03 +0000)]
* configure.in: Don't set PICFLAG on ix86-cygwin32.

26 years ago * sim/m32r/maclh1.cgs: Fix testcase.
Doug Evans [Tue, 14 Apr 1998 21:09:35 +0000 (21:09 +0000)]
* sim/m32r/maclh1.cgs: Fix testcase.
* sim/m32r/maclh1-2.cgs: New testcase.

26 years ago * semx.c: Regenerate.
Doug Evans [Tue, 14 Apr 1998 21:07:45 +0000 (21:07 +0000)]
* semx.c: Regenerate.
PR 15693.

26 years ago * Make-common.in (RUNTESTFLAGS): Define.
Doug Evans [Tue, 14 Apr 1998 20:22:07 +0000 (20:22 +0000)]
* Make-common.in (RUNTESTFLAGS): Define.
(check): Pass RUNTESTFLAGS to recursive make.

26 years ago* Added interactive debugging for vector units, and a bunch of minor
Ian Carmichael [Tue, 14 Apr 1998 19:58:36 +0000 (19:58 +0000)]
* Added interactive debugging for vector units, and a bunch of minor
* things.  See ChangeLog.sky for details.
*
* Modified Files:
*    .Sanitize ChangeLog.sky Makefile.in sky-libvpe.c sky-vu.c
*    sky-vu.h sky-vudis.c sky-vudis.h
* Added Files:
*    sky-indebug.c sky-indebug.h sky-interact.c sky-interact.h
*    sky-console.c sky-console.h

26 years agoTue Apr 14 12:24:45 1998 J. Kean Johnston <jkj@sco.com>
Jason Molenda [Tue, 14 Apr 1998 19:28:22 +0000 (19:28 +0000)]
Tue Apr 14 12:24:45 1998  J. Kean Johnston  <jkj@sco.com>

        * configure.in: Recognise i[3456]96-*-sysv5* as a valid host, and
        use mh-sysv5 if specified.  Support gprof on SCO Open Server.

26 years agoSat Apr 11 22:43:17 1998 J. Kean Johnston <jkj@sco.com>
Jason Molenda [Tue, 14 Apr 1998 19:14:45 +0000 (19:14 +0000)]
Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>

        * mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.

26 years agoc_gen.pl: Change to use data type "int" instead of "long int" in
Jillian Ye [Tue, 14 Apr 1998 16:25:44 +0000 (16:25 +0000)]
c_gen.pl:  Change to use data type "int" instead of "long int" in
           function perform_test_read_only.

26 years agoImplement 32 bit MIPS16 instructions listed in m16.igen.
Andrew Cagney [Tue, 14 Apr 1998 14:34:48 +0000 (14:34 +0000)]
Implement 32 bit MIPS16 instructions listed in m16.igen.

26 years ago* sim-info.c (sim_info): Be verbose when either VERBOSE or STATE_VERBOSE_P.
Andrew Cagney [Tue, 14 Apr 1998 05:16:31 +0000 (05:16 +0000)]
* sim-info.c (sim_info): Be verbose when either VERBOSE or STATE_VERBOSE_P.

26 years ago* mn10300_sim.h: Declare all functions in op_utils.c using INLINE_SIM_MAIN.
Andrew Cagney [Tue, 14 Apr 1998 04:26:04 +0000 (04:26 +0000)]
* mn10300_sim.h: Declare all functions in op_utils.c using INLINE_SIM_MAIN.
* op_utils.c: Ditto.
* sim-main.c: New file.  Include op_utils.c.

26 years agoBroke parsing of !<val>!<val> when adding support for =<field>. Fix.
Andrew Cagney [Tue, 14 Apr 1998 04:24:47 +0000 (04:24 +0000)]
Broke parsing of !<val>!<val> when adding support for =<field>.  Fix.
Add support for the -S<suffix> option.

26 years ago* Changed one line in one C++ test case to hopefully
Frank Ch. Eigler [Tue, 14 Apr 1998 02:39:44 +0000 (02:39 +0000)]
* Changed one line in one C++ test case to hopefully
  zap one group of persistent gdb testomat failures.

Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>

* gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
more rigorous EGCS C++ error checking.

26 years agoo Use new `!<field>' and `=<field>' operators in spec of
Andrew Cagney [Tue, 14 Apr 1998 00:59:30 +0000 (00:59 +0000)]
o Use new `!<field>' and `=<field>' operators in spec of
MOV and CMP instructions.
o Enable basic inlining.  Diable use of SIM_MAIN_INLINE.

26 years agoAdd "_all" extension to 'C' operator.
Nick Clifton [Tue, 14 Apr 1998 00:01:20 +0000 (00:01 +0000)]
Add "_all" extension to 'C' operator.

26 years agoAdd support for instruction word conditionals of the form `XXX!YYY'
Andrew Cagney [Tue, 14 Apr 1998 00:00:15 +0000 (00:00 +0000)]
Add support for instruction word conditionals of the form `XXX!YYY'
and XXX=YYY'.  See mn10300 for examples.

26 years agoAdded support for undocumented variant of 'msr <psrf>, #<n>' instruction.
Nick Clifton [Mon, 13 Apr 1998 23:55:09 +0000 (23:55 +0000)]
Added support for undocumented variant of 'msr <psrf>, #<n>' instruction.

26 years agoMon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 13 Apr 1998 23:18:21 +0000 (23:18 +0000)]
Mon Apr 13 16:17:52 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdb_loadfile): Change fstat() call to stat().
Needed because you can't convert a FILE* to an fd.

26 years agoMon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 13 Apr 1998 21:54:22 +0000 (21:54 +0000)]
Mon Apr 13 16:28:07 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * utils.c: (warning) added call to warning_hook

        * source.c: (find_source_lines) modified to call warning in case
        of source vs. executable time stamp mismatch. Simplified object
        file check. Initialized mtime to 0.

        * defs.h: added warning_hook prototype

        * top.c: added warning_hook prototype.

        * gdbtk.c: (perror_with_name_wrapper) new function to call
        perror_with_name safely.
        (gdb_loadfile) added source vs. executable time stamp check.
        (gdbtk_warning) new function to pass a warning message to the gui.
        (gdbtk_ignorable_warning) new function to pass a warning
        to the gui. Used only for the src. vs. exec check.
        (gdbtk_init) added warning_hook
        added include <sys/stat.h>

26 years ago> * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data".
Fred Fish [Mon, 13 Apr 1998 21:47:38 +0000 (21:47 +0000)]
>       * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data".

26 years ago* COP2 testing changes.
Frank Ch. Eigler [Mon, 13 Apr 1998 20:55:26 +0000 (20:55 +0000)]
* COP2 testing changes.

[ChangeLog]

Mon Apr 13 16:51:00 1998  Frank Ch. Eigler  <fche@cygnus.com>

* Makefile.in (*): Added .vuout/.vuexpect/.vuok test targets
for confirming VU instruction trace.
(t-cop2): Test COP2 sim using above facility.

* t-cop2.vuexpect: New file.

26 years ago * Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@.
Ian Lance Taylor [Mon, 13 Apr 1998 20:52:01 +0000 (20:52 +0000)]
* Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@.
(libopcodes_la_LDFLAGS): Add @WIN32LDFLAGS@.
* configure.in: Define and substitute WIN32LDFLAGS and
WIN32LIBADD.
* aclocal.m4: Rebuild with new libtool.
* configure, Makefile.in: Rebuild.

26 years ago * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@.
Ian Lance Taylor [Mon, 13 Apr 1998 20:49:22 +0000 (20:49 +0000)]
* Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@.
(libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@.
* configure.in: Define and substitute WIN32LDFLAGS and
WIN32LIBADD.
* aclocal.m4: Rebuild with new libtool.
* configure, Makefile.in: Rebuild.

26 years ago * ltconfig: Add cygwin32 support.
Ian Lance Taylor [Mon, 13 Apr 1998 20:45:43 +0000 (20:45 +0000)]
* ltconfig: Add cygwin32 support.

26 years ago* Fixed a one-character typo in COP2 instruction synthesis.
Frank Ch. Eigler [Mon, 13 Apr 1998 20:31:29 +0000 (20:31 +0000)]
* Fixed a one-character typo in COP2 instruction synthesis.

[ChangeLog]
Mon Apr 13 16:28:52 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (decode_coproc): Add proper 1000000 bit-string at top
of VU lower instruction.

26 years ago* Corrected a one-character typo. All instructions tested in gas/.../vu0.s
Frank Ch. Eigler [Mon, 13 Apr 1998 20:25:24 +0000 (20:25 +0000)]
* Corrected a one-character typo.  All instructions tested in gas/.../vu0.s
  now correctly disassemble during runs under the sky VU0 simulator.

[ChangeLog]

Mon Apr 13 16:02:02 1998  Frank Ch. Eigler  <fche@cygnus.com>

* vu0.h: Corrected bit pattern for VMAXI opcode.

26 years ago * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
Keith Seitz [Mon, 13 Apr 1998 20:05:15 +0000 (20:05 +0000)]
    * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
        timer interval a little.
        (gdbtk_stop_timer): Include on all platforms.
        (gdbtk_wait): No more signals! Use a timer on all platforms to keep the
        GUI alive.
        (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers
        on all platforms.

26 years ago * Makefile.in, configure.in: Add libtool as a native only directory
Ian Lance Taylor [Mon, 13 Apr 1998 19:38:02 +0000 (19:38 +0000)]
* Makefile.in, configure.in: Add libtool as a native only directory
  to configure and build.

26 years ago * config/tc-dvp.c (md_apply_fix3): Mark fixup for mpg loaded vu
Doug Evans [Mon, 13 Apr 1998 19:22:26 +0000 (19:22 +0000)]
* config/tc-dvp.c (md_apply_fix3): Mark fixup for mpg loaded vu
branch error as being done so we don't try to emit a reloc.

26 years ago * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
Keith Seitz [Mon, 13 Apr 1998 16:55:05 +0000 (16:55 +0000)]
    * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
        definition.

26 years agoFri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Sat, 11 Apr 1998 05:43:33 +0000 (05:43 +0000)]
Fri Apr 10 22:36:28 1998  Peter Schauer (pes@regent.e-technik.tu-muenchen.de)

        Update support for x86 Solaris 2.
        * config/i386/tm-i386sol2.h, nm-i386sol2.h:  New configuration
        files for x86 Solaris 2.
        * config/i386/i386sol2.mt, i386sol2.mh:  Use them.
        * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY):  New macro, extract
        carry flag from a given regset.
        (IS_STATIC_TRANSFORM_NAME):  New macro, check if a symbol name
        is a SunPro transformed name.
        * i386-tdep.c (sunpro_static_transform_name):  New function to
        extract the source name from a SunPro transformed name.
        * inferior.h (procfs_first_available, procfs_get_pid_fd):
        Add prototypes.
        * infrun.c (wait_for_inferior):  Handle breakpoint hit in
        signal handler without intervening stop in sigtramp.
        * procfs.c (procfs_lwp_creation_handler):  Use PROCFS_GET_CARRY
        instead of direct access to the status register.
        (procfs_get_pid_fd):  New function, returns procfs fd for a given pid.
        * sol-thread.c (ps_lgetLDT):  New function, returns LDT for a given
        lwpid.
        (sol_find_new_threads):  Handle failed libthread_db initialization
        gracefully.
        * stabsread.c (define_symbol):  Use IS_STATIC_TRANSFORM_NAME
        to check for a SunPro transformed symbol name.

26 years agoFri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Sat, 11 Apr 1998 05:42:30 +0000 (05:42 +0000)]
Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * gdb.base/help.exp:  Clean up `help set args' and `help show args'
        tests.
        * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
        function when asleep.
        * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
        for i*86 Linux and SVR4 signal handling problems.
        Remove linux xfail for `next to handler in signals_tests_1', fixed
        by recent infrun.c change.
        Limit backtrace to 10 frames to avoid timeout problems with infinite
        stack backtraces.
        Adjust expect pattern in `handle all print' test to match Apr 28 1997
        target.[ch] change.

26 years ago * cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
Doug Evans [Sat, 11 Apr 1998 01:26:47 +0000 (01:26 +0000)]
* cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
* cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate.
Main change is to remove ordinal from format names.

26 years ago * m32r-opc.c: Regenerate.
Doug Evans [Sat, 11 Apr 1998 01:18:23 +0000 (01:18 +0000)]
* m32r-opc.c: Regenerate.

26 years agoFri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Fri, 10 Apr 1998 22:49:13 +0000 (22:49 +0000)]
Fri Apr 10 15:48:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.

Harumph, my change got lost in the foundry->devo merge.

26 years agotweak comment regarding state transitions
Doug Evans [Fri, 10 Apr 1998 18:34:49 +0000 (18:34 +0000)]
tweak comment regarding state transitions

26 years ago * utils.c (fmthex): A formatting function for hexdumps
John Metzler [Fri, 10 Apr 1998 17:59:12 +0000 (17:59 +0000)]
* utils.c (fmthex): A formatting function for hexdumps

26 years ago * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
Ian Lance Taylor [Fri, 10 Apr 1998 17:45:18 +0000 (17:45 +0000)]
* coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
before any other symbols in the same section.
Required by Visual C++ linker, and specified in PE documentation.

26 years agoFri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Fri, 10 Apr 1998 17:42:12 +0000 (17:42 +0000)]
Fri Apr 10 10:35:35 1998  John Metzler  <jmetzler@cygnus.com>

*  mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of
  bit pattern interpretations. mips_fetch_instruction does not work
  for 16 bit instructions. Some confusion remains about sign
  extension in backward branches.
(mips32_relative_offset): Sign extension
(mips32_next_pc): Major debugging, bit pattern interpretation
(print_unpack): debugging printf
(fetch_mips_16): new funtion, key on PC low bit, not symbol table
(mips16_next_16): Initial major debugging of this function. Lots
  of bit pattern mistakes.
(mips_next_pc): key on low bit of PC, not symbol table.
* symfile.c(generic_load) : Added a download verification which
  reads back the loade code. Download chunk size is now a defined
  macro. Fixed a bug in which downloading slips into loading one
  byte at a time. Lower level functions in monitor.c can load long
  sequences of bytes and make use of these fixups.  Referencing
  bfd-start_address directly was incorrectly getting zero for start.

26 years ago * config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
Doug Evans [Fri, 10 Apr 1998 01:37:00 +0000 (01:37 +0000)]
* config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
(compute_mpgloc): New function.
(eval_expr): New arg `cpu'.  All callers updated.
(non_vu_insn_seen_p): New static global.
(RELAX_{MPG,DIRECT,VU,ENCODE,GROWTH,DONE_}): New macros.
(struct dvp_fixup): New member `cpu'.
(assemble_one_insn): New args init_fixup_count, fixup_offset.
All callers updated.
(md_assemble): Set non_vu_insn_seen_p as appropriate.
(assemble_vif): Set `cpu' field of fixup.
Clean up calls to frag_var.  Recorded mpgloc is now in bytes.
(assemble_vu_insn): Delete, contents moved into ...
(assemble_vu): ... here.  Don't record fixups until after parsing
both upper and lower insns.  If branch insn inside mpg, properly
compute target address.
(dvp_frob_label): Create copies of vu labels inside mpg's.
(dvp_relax_frag): Clean up.
(md_convert_frag): Ditto.
(md_apply_fix3): Signal error if mpg embedded vu code has branch
to undefined label (not currently supported).
(eval_expr): New arg `cpu'.  All callers updated.
(insert_operand_final): Convert mpgloc from bytes to dwords.
(s_endmpg): Use compute_mpgloc to update $.mpgloc.
(s_state): If switching to vu state, initialize $.mpgloc.

26 years ago * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
Ian Lance Taylor [Thu, 9 Apr 1998 23:21:14 +0000 (23:21 +0000)]
* mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
with dynamic size.

26 years agoThu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 9 Apr 1998 22:03:19 +0000 (22:03 +0000)]
Thu Apr  9 14:20:59 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_init): Remove redundant variable "IDE".

26 years ago* Backed out week-old attempt at enabling quadword memory access on
Frank Ch. Eigler [Thu, 9 Apr 1998 20:56:00 +0000 (20:56 +0000)]
* Backed out week-old attempt at enabling quadword memory access on
  MIPS sim; added PKE sim code fixes.  No COP2 testing progress today.

[ChangeLog]

Thu Apr  9 16:38:23 1998  Frank Ch. Eigler  <fche@cygnus.com>

* r5900.igen (LQC,SQC): Adapted code to DOUBLEWORD accesses
instead of QUADWORD.

* sim-main.h: Removed attempt at allowing 128-bit access.

[ChangeLog.sky]

Thu Apr  9 16:42:54 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-pke.c (read_pke_pc): Corrected PKE PC calculation
to word granularity.

26 years ago* Added one PKE test after finding unexpected #### for a block of
Frank Ch. Eigler [Thu, 9 Apr 1998 20:31:18 +0000 (20:31 +0000)]
* Added one PKE test after finding unexpected #### for a block of
  code in gcov output.

26 years agoThu Apr 9 11:59:38 1998 Ian Dall (<Ian.Dall@dsto.defence.gov.au>
Jason Molenda [Thu, 9 Apr 1998 19:01:30 +0000 (19:01 +0000)]
Thu Apr  9 11:59:38 1998  Ian Dall (<Ian.Dall@dsto.defence.gov.au>

        * configure.in (host==netbsd): Include config/mh-bsd44.
        * config/mh-bsd44: New file.

26 years ago * expr.h (expr_build_dot): Declare.
Doug Evans [Thu, 9 Apr 1998 17:43:37 +0000 (17:43 +0000)]
* expr.h (expr_build_dot): Declare.
* expr.c (expr_build_dot): New function.

26 years ago * symbols.c (max_indent_level): New global.
Doug Evans [Thu, 9 Apr 1998 17:32:27 +0000 (17:32 +0000)]
* symbols.c (max_indent_level): New global.
(print_symbol_value_1): Use it.

26 years agoc_gen.pl : Added handling for data from GIF path1/2/3 FIFO.
Jillian Ye [Thu, 9 Apr 1998 17:06:19 +0000 (17:06 +0000)]
c_gen.pl : Added handling for data from GIF path1/2/3 FIFO.

26 years ago* Fixed testcase. 1,$ s/ITOP 412/ITOP 421/
Ian Carmichael [Thu, 9 Apr 1998 03:57:20 +0000 (03:57 +0000)]
* Fixed testcase.  1,$ s/ITOP 412/ITOP 421/

26 years ago* Fixed up blank lines in file.
Ian Carmichael [Thu, 9 Apr 1998 03:24:13 +0000 (03:24 +0000)]
* Fixed up blank lines in file.

26 years ago* Temporarily change LOADDRMASK in sky build.
Ian Carmichael [Thu, 9 Apr 1998 03:17:43 +0000 (03:17 +0000)]
* Temporarily change LOADDRMASK in sky build.

26 years ago * erc32.c (sim_stop): Handle SIGINT gracefully.
Mark Alexander [Thu, 9 Apr 1998 02:40:31 +0000 (02:40 +0000)]
* erc32.c (sim_stop): Handle SIGINT gracefully.
* interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.

26 years agoWed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 9 Apr 1998 02:22:27 +0000 (02:22 +0000)]
Wed Apr  8 19:21:42 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * top.c (print_gdb_version): Print 1998 now.

26 years agoWed Apr 8 19:14:11 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Thu, 9 Apr 1998 02:15:55 +0000 (02:15 +0000)]
Wed Apr  8 19:14:11 1998  John Metzler  <jmetzler@cygnus.com>

* .Sanitize (Things-to-lose): gdbcfgxref
* gdbcfgxref: Corelates target triples, mk, mt files, target dependent headers
and sources.

26 years ago * exec.c (dispatch_instruction): Change how carry out is calculated
Mark Alexander [Thu, 9 Apr 1998 01:42:44 +0000 (01:42 +0000)]
* exec.c (dispatch_instruction): Change how carry out is calculated
in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.

26 years ago * gas/testsuite/all/gas.exp: No longer expect failures for
Jeff Law [Thu, 9 Apr 1998 00:46:37 +0000 (00:46 +0000)]
    * gas/testsuite/all/gas.exp: No longer expect failures for
        difference of undefined symbols on mn10x00 targets.