platform/upstream/binutils.git
26 years agoHumoring RMS by saying "GNU/Linux" instead of just "Linux"
Stan Shebs [Wed, 22 Apr 1998 01:44:38 +0000 (01:44 +0000)]
Humoring RMS by saying "GNU/Linux" instead of just "Linux"

26 years ago * gdb.texinfo (EDITION, DATE): Update and change to use ordinals
Stan Shebs [Wed, 22 Apr 1998 01:14:08 +0000 (01:14 +0000)]
* gdb.texinfo (EDITION, DATE): Update and change to use ordinals
for the edition instead of confusing GDB-version-like numbers.

26 years agoFixing typos.
Jillian Ye [Tue, 21 Apr 1998 22:16:12 +0000 (22:16 +0000)]
Fixing typos.

26 years agoMakefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files.
Jillian Ye [Tue, 21 Apr 1998 21:53:05 +0000 (21:53 +0000)]
Makefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files.

26 years agor5900.igen, sim-main.h, sky-libvpe.c: Add run-time option --float-type
James Lemke [Tue, 21 Apr 1998 21:33:44 +0000 (21:33 +0000)]
r5900.igen, sim-main.h, sky-libvpe.c: Add run-time option --float-type

26 years agoconfigure.in, interp.c: Add configure option --with-sim-funit.
James Lemke [Tue, 21 Apr 1998 21:24:24 +0000 (21:24 +0000)]
configure.in, interp.c: Add configure option --with-sim-funit.

26 years agosim-base.h: Add configure option --with-sim-funit.
James Lemke [Tue, 21 Apr 1998 21:19:45 +0000 (21:19 +0000)]
sim-base.h: Add configure option --with-sim-funit.

26 years agoAdd configure option --with-sim-funit for sim & gdb.
James Lemke [Tue, 21 Apr 1998 21:14:09 +0000 (21:14 +0000)]
Add configure option --with-sim-funit for sim & gdb.

26 years agoTue Apr 21 17:11:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 21 Apr 1998 21:12:49 +0000 (21:12 +0000)]
Tue Apr 21 17:11:32 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (i386_optab): Change iclrKludge and imulKludge to
regKludge.  Add operands types for string instructions.

26 years agoTue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 21 Apr 1998 21:08:39 +0000 (21:08 +0000)]
Tue Apr 21 17:01:22 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (check_prefix): New static function, split out
from md_assemble.
(struct _i386_insn): Add wait_prefix field.
(md_assemble): Remove wait_prefix local variable.  Use
check_prefix when adding a prefix.

* config/tc-i386.c (current_templates): New static variable.
(md_assemble): Remove current_templates local variable.
(md_assemble, i386_operand): Improve error and warning messages in
many places.  Add RESTORE_END_STRING in many places before error
return.  Clarify some comments.

* config/tc-i386.c (struct _i386_insn): Change seg field to a two
element array.
(md_assemble): Parse string instruction operands, looking for
segment override prefixes.  Check for invalid segment prefixes on
string instruction.
(i386_operand): i.seg[] and max mem_operand changes for string
insns.
* config/tc-i386.h (EsSeg): Define.

* config/tc-i386.h (regKludge): Define.
(iclrKludge, imulKludge): Don't define.
* config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
code.  Move ReverseRegRegmem fudges into Modrm case.  Reorder
opcode_modifier checks to look for more common cases first.  Add
default_seg for IsString case.

26 years ago * elfcore.h (bfd_prstatus): Copy core_prstatus from the first
Peter Schauer [Tue, 21 Apr 1998 20:39:52 +0000 (20:39 +0000)]
* elfcore.h (bfd_prstatus):  Copy core_prstatus from the first
NT_PRSTATUS note section encountered, it contains the status of
the currently executing thread when the core file was written.

26 years ago * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
Ian Lance Taylor [Tue, 21 Apr 1998 20:27:16 +0000 (20:27 +0000)]
* configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
AC_DECL_YYTEXT.
* configure: Rebuild with new automake and libtool.
* aclocal.m4, Makefile.in: Likewise.

* doc/Makefile.am (as.dvi): New target.
* doc/Makefile.in: Rebuild.

26 years agoTue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
Ian Lance Taylor [Tue, 21 Apr 1998 20:08:36 +0000 (20:08 +0000)]
Tue Apr 21 16:07:18 1998  Stanislav Brabec  <utx@k332.feld.cvut.cz>

* objcopy.c (preserve_dates): New file static variable.
(smart_rename): If preserve_dates, call set_times when copying.
(strip_main): Remove preserve_dates local variable.
(copy_main): Likewise.

26 years ago * cgen-ops.h (ADDCFSI): Fix.
Doug Evans [Tue, 21 Apr 1998 19:52:02 +0000 (19:52 +0000)]
* cgen-ops.h (ADDCFSI): Fix.
(SUBCFSI): Tweak.
PR 15741.

26 years ago * cgen-types.h (GETHIDI,MAKEDI): Tweak.
Doug Evans [Tue, 21 Apr 1998 19:49:42 +0000 (19:49 +0000)]
* cgen-types.h (GETHIDI,MAKEDI): Tweak.

26 years agoAdd a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt are
Jason Molenda [Tue, 21 Apr 1998 19:23:31 +0000 (19:23 +0000)]
Add a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt are
removed by default.

26 years ago * Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
Tom Tromey [Tue, 21 Apr 1998 17:55:37 +0000 (17:55 +0000)]
* Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
(CONFIGURE_TARGET_MODULES): Likewise.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(all-target-libjava): New target.
(all-target-boehm-gc): Likewise.
* configure.in (target_libs): Added libjava, boehm-gc.

26 years agoFix sanitize tag. The proper keyword is "start-sanitize-*", not
Jason Molenda [Tue, 21 Apr 1998 17:55:06 +0000 (17:55 +0000)]
Fix sanitize tag.  The proper keyword is "start-sanitize-*", not
"begin-sanitize-*".

26 years ago * sim/m32r/addx.cgs: Test (-1)+(-1)+1.
Doug Evans [Tue, 21 Apr 1998 17:54:03 +0000 (17:54 +0000)]
* sim/m32r/addx.cgs: Test (-1)+(-1)+1.

26 years ago * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
Doug Evans [Tue, 21 Apr 1998 17:52:16 +0000 (17:52 +0000)]
* lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
try all machs.

26 years agoAdd sim-main.c to things to keep.
Jason Molenda [Tue, 21 Apr 1998 17:45:28 +0000 (17:45 +0000)]
Add sim-main.c to things to keep.

26 years agoAdd ns32knbsd-nat.c to things-to-keep.
Jason Molenda [Tue, 21 Apr 1998 17:08:22 +0000 (17:08 +0000)]
Add ns32knbsd-nat.c to things-to-keep.

26 years agoArm specific code changed to conform to BFD coding conventions.
Nick Clifton [Tue, 21 Apr 1998 17:07:25 +0000 (17:07 +0000)]
Arm specific code changed to conform to BFD coding conventions.

26 years agoChanges to conform to BFD coding conventions.
Nick Clifton [Tue, 21 Apr 1998 16:59:22 +0000 (16:59 +0000)]
Changes to conform to BFD coding conventions.

26 years agoAdd branches.c.
Jason Molenda [Tue, 21 Apr 1998 16:52:56 +0000 (16:52 +0000)]
Add branches.c.

26 years agoKeep cygmon.exp.
Jason Molenda [Tue, 21 Apr 1998 16:52:05 +0000 (16:52 +0000)]
Keep cygmon.exp.

26 years agoadd i386sco5.mt, nm-i386sol2.h, tm-i386sco5.h, tm-i386sol2.h
Jason Molenda [Tue, 21 Apr 1998 16:51:20 +0000 (16:51 +0000)]
add i386sco5.mt, nm-i386sol2.h, tm-i386sco5.h, tm-i386sol2.h

26 years ago* MIPS CPU-specific dissasembly extensions. Now TM_PRINT_INSN_MACH from tm.h
Frank Ch. Eigler [Tue, 21 Apr 1998 15:38:13 +0000 (15:38 +0000)]
* MIPS CPU-specific dissasembly extensions.  Now TM_PRINT_INSN_MACH from tm.h
  sets a default mach for disassembly, just like sparc port.  c.f. PR 15371.

Tue Apr 21 11:20:54 1998  Frank Ch. Eigler  <fche@cygnus.com>

* mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
  with subtarget-specific `mach', rather than fixed default.
* config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default
disassembly `mach'.
start-sanitize-r5900
* config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override.
end-sanitize-r5900
start-sanitize-sky
* config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override.
end-sanitize-sky

26 years ago* Bit mask pattern fix for R5900 madd.s instruction; PR 15371.
Frank Ch. Eigler [Tue, 21 Apr 1998 14:32:53 +0000 (14:32 +0000)]
* Bit mask pattern fix for R5900 madd.s instruction; PR 15371.

26 years ago* elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from
Richard Henderson [Tue, 21 Apr 1998 07:15:57 +0000 (07:15 +0000)]
* elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from
elf64_alpha_relax_find_reloc_ofs.  Changed all callers.
(elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss.
(elf64_alpha_size_got_sections): Don't merge .got sections twice.

26 years ago* archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test.
Richard Henderson [Tue, 21 Apr 1998 07:15:33 +0000 (07:15 +0000)]
* archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test.

26 years agoEntry about changing sim_open missing from changelog.
Andrew Cagney [Tue, 21 Apr 1998 05:25:56 +0000 (05:25 +0000)]
Entry about changing sim_open missing from changelog.

26 years agoImplement ERET instruction.
Andrew Cagney [Tue, 21 Apr 1998 04:30:27 +0000 (04:30 +0000)]
Implement ERET instruction.
Add {signed,unsigned}_address type.

26 years agoFor new IGEN simulators, rewrite checks validating correct use of the
Andrew Cagney [Tue, 21 Apr 1998 01:17:58 +0000 (01:17 +0000)]
For new IGEN simulators, rewrite checks validating correct use of the
HI/LO registers.  For old gencode simulator, delete all checks.

26 years ago* gen-icache.c (print_icache_extraction): When generating #define
Andrew Cagney [Tue, 21 Apr 1998 00:11:40 +0000 (00:11 +0000)]
* gen-icache.c (print_icache_extraction): When generating #define
force the expression to the correct type.

26 years ago * cpu.c,sem.c,sem-switch.c: Regenerate. From
Doug Evans [Mon, 20 Apr 1998 23:20:22 +0000 (23:20 +0000)]
* cpu.c,sem.c,sem-switch.c: Regenerate.  From
- cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS.
* m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
#include cgen-ops.h.
* cpux.c,readx.c,semx.c: Regenerate.
* m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
#include cgen-ops.h.  Delete inclusion of several unnecessary headers.
(m32r_h_accums_get): Sign extend top 8 bits.

26 years ago* Added one new R5900 COP2 test.
Frank Ch. Eigler [Mon, 20 Apr 1998 22:59:16 +0000 (22:59 +0000)]
* Added one new R5900 COP2 test.

Mon Apr 20 18:36:50 1998  Frank Ch. Eigler  <fche@cygnus.com>

* t-cop2b.c (test01): Additional COP2 tests (QMFC2/QMTC2/LQ/SQ).
Don't use $1 ($at) register in inline assembly.

26 years agoMon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Mon, 20 Apr 1998 22:36:00 +0000 (22:36 +0000)]
Mon Apr 20 15:35:03 1998  Philippe De Muyter  <phdm@macqel.be>

        * coffread.c (decode_base_type): Treat a long field with size greater
        than TARGET_LONG_BIT as long long.
        * values.c (value_from_longest): Print code value in error message.

26 years agoMon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
Jason Molenda [Mon, 20 Apr 1998 22:33:52 +0000 (22:33 +0000)]
Mon Apr 20 15:32:21 1998   Mark Kettenis  <kettenis@phys.uva.nl>

        * gdb/gdb_string.h (strdup): Declare only if not defined as a
        macro.

Mark glibc development versions are defining strdup as a macro and the
prototype hosees it.  Either way, this patch shouldn't cause problems.

26 years agot-pke2.trc t-pke2.vif1expect: Update the testcase to use the
Jillian Ye [Mon, 20 Apr 1998 21:56:01 +0000 (21:56 +0000)]
t-pke2.trc t-pke2.vif1expect: Update the testcase to use the
      correct registers permitted by gpus.

26 years agoMon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
Jason Molenda [Mon, 20 Apr 1998 21:25:40 +0000 (21:25 +0000)]
Mon Apr 20 14:18:45 1998  J. Kean Johnston  <jkj@sco.com>

        * procfs.c: Added replacement macros for LWP stuff.  Fixed support
        for UnixWare / SVR4.2MP targets and any targets which use
        multi-file /proc entries.  Fixed support for hardware watchpoints.
        * solib.c: SCO needs some of the same code as SunOS. Change
        preprocessor conditionals.

        * config/i386/i386sco5.mt: New file.
        * config/i386/tm-i386sco5.h: New file.
        * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o.
        * config/i386/nm-i386v42mp.h
        (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
        Add other macros for hardware assisted watchpoints.
        * config/i386/nm-i386sco5.h: Correct attributions.
        (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
        * config/i386/nm-linux.h (target_remote_watchpoint): Pass
        'type' through to i386_insert_watchpoint.

Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)

        * infrun.c (wait_for_inferior): Don't add signalled processes
        as new threads.
        * procfs.c (wait_fd): Note if LWP has exited.
        (procfs_wait): use GETPID to get process ID.

NOTE:  I didn't commit Kean's changes to configure.host/configure.tgt
yet because they are kind of bogus and I'm punting back to him to let
him figure out what he's trying to do.  So configuring for UnixWare
may not work just yet.

26 years ago * aclocal.m4, configure: Rebuilt.
Tom Tromey [Mon, 20 Apr 1998 01:30:46 +0000 (01:30 +0000)]
* aclocal.m4, configure: Rebuilt.
* configure.in: Call AC_LINK_FILES so that <libintl.h> will
always exist.

26 years ago * configure.in (host_tools): Fix typo, lbtool -> libtool.
Brendan Kehoe [Sun, 19 Apr 1998 20:01:35 +0000 (20:01 +0000)]
* configure.in (host_tools): Fix typo, lbtool -> libtool.

26 years ago * i386.h (Z_): Renamed from `_' to avoid clash with common alias
Tom Tromey [Sun, 19 Apr 1998 19:59:21 +0000 (19:59 +0000)]
* i386.h (Z_): Renamed from `_' to avoid clash with common alias
for `gettext'.

26 years ago * ldlang.c (lang_one_common): Manipulate the section's cooked size
Richard Henderson [Sun, 19 Apr 1998 01:41:34 +0000 (01:41 +0000)]
* ldlang.c (lang_one_common): Manipulate the section's cooked size
        rather than its raw size.

pr 15650

26 years agoAdded sparc86x support.
Stan Cox [Sat, 18 Apr 1998 22:45:37 +0000 (22:45 +0000)]
Added sparc86x support.

26 years agoAdded sparc86x support.
Stan Cox [Sat, 18 Apr 1998 18:12:20 +0000 (18:12 +0000)]
Added sparc86x support.

26 years ago * config/tc-mips.c (mips_ip): Note when we use get match on
Jeff Law [Sat, 18 Apr 1998 07:20:01 +0000 (07:20 +0000)]
    * config/tc-mips.c (mips_ip): Note when we use get match on
        the full instruction name.
        (mips_ip): For '&' DEST completer handling, if we got a full match
        then the DEST completer is implicitly .wxyz.

26 years ago * vu0.h (vlqd, vlqi): Update per revised specs.
Jeff Law [Sat, 18 Apr 1998 06:30:57 +0000 (06:30 +0000)]
    * vu0.h (vlqd, vlqi): Update per revised specs.

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.