binutils-gdb.git
27 years ago * v850ice.c: Include <windows.h>. Support new v850 DLL interface.
Stu Grossman [Fri, 25 Jul 1997 22:41:56 +0000 (22:41 +0000)]
* v850ice.c:  Include <windows.h>.  Support new v850 DLL interface.
* Add defs for target status.

27 years ago * cisco-core.c: define signals for wingdb.
Felix Lee [Fri, 25 Jul 1997 21:58:27 +0000 (21:58 +0000)]
* cisco-core.c: define signals for wingdb.

27 years ago * ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with
Ian Lance Taylor [Fri, 25 Jul 1997 20:27:50 +0000 (20:27 +0000)]
* ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with
the same number of aux entries.
PR 12962.

27 years agogencode.c: Two arg MADD should not assign result to /bin/bash.
Gavin Romig-Koch [Fri, 25 Jul 1997 19:10:05 +0000 (19:10 +0000)]
gencode.c: Two arg MADD should not assign result to /bin/bash.

27 years ago * configure.in (sparc*-*-*): Don't build erc32.
David Edelsohn [Fri, 25 Jul 1997 18:41:12 +0000 (18:41 +0000)]
* configure.in (sparc*-*-*): Don't build erc32.
* configure: Regenerate.

27 years ago * tc-hppa.c (md_apply_fix): Improve warnings for out of range
Jeff Law [Fri, 25 Jul 1997 16:55:52 +0000 (16:55 +0000)]
    * tc-hppa.c (md_apply_fix): Improve warnings for out of range
        unconditional branches.
        (hppa_fix_adjustable): Don't adjust anything with a RR% or LR%
        field selector.
Part of the 12912 fixes

27 years ago * som.c (hppa_som_gen_reloc_type): Use R_DATA_EXPR for the
Jeff Law [Fri, 25 Jul 1997 14:20:12 +0000 (14:20 +0000)]
    * som.c (hppa_som_gen_reloc_type): Use R_DATA_EXPR for the
        difference of two symbols if the relocation size is 32 bits.
        (som_write_fixups): Handle R_DATA_EXPR.
Useful stuff from one of the aborted attempts to fix 12912.

27 years ago * tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.
David Edelsohn [Thu, 24 Jul 1997 22:22:27 +0000 (22:22 +0000)]
* tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.

27 years ago * sparc-opc.c (sparc_opcodes): Make array const.
David Edelsohn [Thu, 24 Jul 1997 22:21:05 +0000 (22:21 +0000)]
* sparc-opc.c (sparc_opcodes): Make array const.
* sparc-dis.c (sorted_opcodes): New static local.
(struct opcode_hash): `opcode' is pointer to const element.
(build_hash): First arg is now table of sorted pointers.
(print_insn_sparc): Sort opcodes by sorting table of pointers.
(compare_opcodes): Update.

27 years ago * macro.c (define_macro): Make sure the index is in range before
Ian Lance Taylor [Thu, 24 Jul 1997 21:51:57 +0000 (21:51 +0000)]
* macro.c (define_macro): Make sure the index is in range before
checking for '('.

27 years ago * config/tc-tic80.c (build_insn): Remove "extended" and replace with
Fred Fish [Thu, 24 Jul 1997 20:34:02 +0000 (20:34 +0000)]
* config/tc-tic80.c (build_insn): Remove "extended" and replace with
  "fx" and "fxfrag".  Add "ffrag".  Change code to initialize and use
the right f/ffrag and fx/fxfrag pairs since instruction may be split
  across frags.
PR 12899

27 years ago * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
David Edelsohn [Thu, 24 Jul 1997 20:05:46 +0000 (20:05 +0000)]
* sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.

27 years ago * Makefile.in: Treat tix like tk, putting it in X11_MODULES. Add
Ian Lance Taylor [Thu, 24 Jul 1997 16:58:49 +0000 (16:58 +0000)]
* Makefile.in: Treat tix like tk, putting it in X11_MODULES.  Add
check-tk to CHECK_X11_MODULES.

27 years ago * config.sub: Merge with FSF.
Ian Lance Taylor [Wed, 23 Jul 1997 21:04:46 +0000 (21:04 +0000)]
* config.sub: Merge with FSF.

27 years ago * coff-i386.c (coff_i386_reloc): Don't offset a common symbol by
Ian Lance Taylor [Wed, 23 Jul 1997 20:08:37 +0000 (20:08 +0000)]
* coff-i386.c (coff_i386_reloc): Don't offset a common symbol by
its value if COFF_WITH_PE is defined.

27 years agoWed Jul 23 12:32:18 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Wed, 23 Jul 1997 16:33:04 +0000 (16:33 +0000)]
Wed Jul 23 12:32:18 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* mh-go32 (CFLAGS): Don't set -fno-omit-frame-pointer.

Also Sanitize out MAKEINFOFLAGS and INSTALL_DOSREL unless keep-cygnus.

27 years agoTue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Wed, 23 Jul 1997 02:45:59 +0000 (02:45 +0000)]
Tue Jul 22 19:45:37 1997  Martin M. Hunt  <hunt@cygnus.com>

* configure.in, aclocal.m4: Another fix to find the
correct Tix library name.

* configure: Rebuilt.

27 years ago * config.guess: Merge with FSF.
Ian Lance Taylor [Tue, 22 Jul 1997 23:09:21 +0000 (23:09 +0000)]
* config.guess: Merge with FSF.

27 years agoTue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 23:00:15 +0000 (23:00 +0000)]
Tue Jul 22 14:50:42 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* configure.in: Treat msdosdjgpp like go32.  Don't remove
gprof for go32.

27 years agoTue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:56:36 +0000 (22:56 +0000)]
Tue Jul 22 14:50:42 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* configure: Treat msdosdjgpp like go32.

27 years agoTue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:52:15 +0000 (22:52 +0000)]
Tue Jul 22 18:50:38 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32".
(SEGMENT_SIZE): Set to 0x200.
* scripttempl/i386go32.sc: Rewrite.
* configure.tgt (i[3456]86-*-msdosdjgpp*): New target.

27 years agoTue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:45:29 +0000 (22:45 +0000)]
Tue Jul 22 18:38:56 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* configure.in (i386-*-msdosdjgpp*): New target.
(i386-*-go32*): Set em to go32 and targ to coffgo32.
* configure: Rebuild.

27 years agoTue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:41:04 +0000 (22:41 +0000)]
Tue Jul 22 18:38:56 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* config/te-go32.h (USE_ALIGN_PTWO): Define.
* config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is
defined, use s_align_ptwo for .align.

27 years agoTue Jul 22 17:19:45 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:33:02 +0000 (22:33 +0000)]
Tue Jul 22 17:19:45 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* config.bfd (i[3456]86-*-msdosdjgpp*): New target.
(i[3456]86-*-go32*): Change to be like new msdosdjgpp*.

27 years agoTue Jul 22 17:19:45 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:29:11 +0000 (22:29 +0000)]
Tue Jul 22 17:19:45 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* coff-stubgo32.c: New file.
* go32stub.h: New file.
* coff-i386.c: If COFF_GO32_EXE, include coff/go32exe.h.
* targets.c (go32stubbedcoff_vec): Declare.
(bfd_target_vector): Add go32stubbedcoff_vec.
* configure.in (go32coff_vec): New target vector.
(go32stubbedcoff_vec): Likewise.
* Makefile.in: Rebuild dependencies.
  (BFD32_BACKENDS): Add coff-stubgo32.o.
(BFD32_BACKENDS_CFILES): Add coff-stubgo32.c.
(HFILES): Add go32stub.h.

27 years agoTue Jul 22 18:18:58 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 22:19:32 +0000 (22:19 +0000)]
Tue Jul 22 18:18:58 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* go32exe.h: New file.

27 years agoAdd tix to gdbtk
Martin Hunt [Tue, 22 Jul 1997 22:03:59 +0000 (22:03 +0000)]
Add tix to gdbtk

27 years ago * nlmconv.c (link_inputs): Call libiberty pexecute function.
Ian Lance Taylor [Tue, 22 Jul 1997 22:01:58 +0000 (22:01 +0000)]
* nlmconv.c (link_inputs): Call libiberty pexecute function.
(pexecute) [multiple versions]: Remove.

27 years ago * libiberty.h (PEXECUTE_*): Define.
Ian Lance Taylor [Tue, 22 Jul 1997 22:00:09 +0000 (22:00 +0000)]
* libiberty.h (PEXECUTE_*): Define.
(pexecute, pwait): Declare.

27 years agoTue Jul 22 17:19:45 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 21:20:46 +0000 (21:20 +0000)]
Tue Jul 22 17:19:45 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* coffswap.h (coff_swap_filehdr_in): Invoke
COFF_ADJUST_FILEHDR_IN_PRE and COFF_ADJUST_FILEHDR_IN_POST if they
are defined.
(coff_swap_filehdr_out): Invoke COFF_ADJUST_FILEHDR_OUT_PRE and
COFF_ADJUST_FILEHDR_OUT_POST if they are defined.
(coff_swap_aux_in): Invoke COFF_ADJUST_AUX_IN_PRE and
COFF_ADJUST_AUX_IN_POST if they are defined.
(coff_swap_aux_out): Invoke COFF_ADJUST_AUX_OUT_PRE and
COFF_ADJUST_AUX_OUT_POST if they are defined.
(coff_swap_scnhdr_in): Invoke COFF_ADJUST_SCNHDR_IN_PRE and
COFF_ADJUST_SCNHDR_IN_POST if they are defined.
(coff_swap_scnhdr_out): Invoke COFF_ADJUST_SCNHDR_OUT_PRE and
COFF_ADJUST_SCNHDR_OUT_POST if they are defined.

27 years agoPulling changes over from tx39 branch
Michael Snyder [Tue, 22 Jul 1997 21:00:21 +0000 (21:00 +0000)]
Pulling changes over from tx39 branch

27 years agoCleaning up mips tx39 sanitization.
Michael Snyder [Tue, 22 Jul 1997 20:58:56 +0000 (20:58 +0000)]
Cleaning up mips tx39 sanitization.

27 years agoTue Jul 22 16:19:34 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 20:22:05 +0000 (20:22 +0000)]
Tue Jul 22 16:19:34 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* bucomm.c (make_tempname): If we might be using a DOS filesystem,
check for a backslash as well as a slash.

27 years ago * config/tc-sparc.c (last_opcode): New static local.
David Edelsohn [Tue, 22 Jul 1997 19:52:22 +0000 (19:52 +0000)]
* config/tc-sparc.c (last_opcode): New static local.
(md_assemble): Don't issue "FP branch in delay slot" warning if
the delay slot has been annulled.

27 years ago * config/tc-sparc.c (last_opcode): New static local.
David Edelsohn [Tue, 22 Jul 1997 19:43:16 +0000 (19:43 +0000)]
* config/tc-sparc.c (last_opcode): New static local.
(md_assemble): Don't issue "FP branch in delay slot" warning if
the delay slot has been annulled.

27 years agoTue Jul 22 12:11:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Tue, 22 Jul 1997 19:14:46 +0000 (19:14 +0000)]
Tue Jul 22 12:11:48 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * config/mips/tm-mips64.h: longs, long longs, and pointers
        are all 64 bits on EABI mips targets.

27 years ago * configure.in: Check for fdopen.
Ian Lance Taylor [Tue, 22 Jul 1997 19:11:04 +0000 (19:11 +0000)]
* configure.in: Check for fdopen.
* configure, config.in: Rebuild.
* opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or
__GO32__.  Reindent a bit.

27 years agoKeep sim-watch.[ch].
David Edelsohn [Tue, 22 Jul 1997 19:05:13 +0000 (19:05 +0000)]
Keep sim-watch.[ch].

27 years agoDon't always keep igen, it's currently only kept if d30v or tic80.
David Edelsohn [Tue, 22 Jul 1997 19:03:25 +0000 (19:03 +0000)]
Don't always keep igen, it's currently only kept if d30v or tic80.

27 years agoTue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 18:51:59 +0000 (18:51 +0000)]
Tue Jul 22 14:50:42 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* configure: Change Makefile.tem2 to Makefile.tm2.

27 years agoTue Jul 22 14:44:00 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
Ian Lance Taylor [Tue, 22 Jul 1997 18:47:27 +0000 (18:47 +0000)]
Tue Jul 22 14:44:00 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* Makefile.in: Change stamp-* files to s-* files.  Use bfdt.texi
rather than bfd.texi.
  (DOCFILES): Change bfd.texi to bfdt.texi.
* bfd.texinfo: Include bfdt.texi, not bfd.texi.

27 years ago * sim-n-core.h (sim_core_write_unaligned_N): Add missing break
David Edelsohn [Tue, 22 Jul 1997 17:36:23 +0000 (17:36 +0000)]
* sim-n-core.h (sim_core_write_unaligned_N): Add missing break
to FORCED_ALIGNMENT case.

27 years ago * config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
Ian Lance Taylor [Tue, 22 Jul 1997 17:26:52 +0000 (17:26 +0000)]
* config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
code if BFD_ASSEMBLER.
PR 12926.

27 years agoMon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Tue, 22 Jul 1997 05:26:21 +0000 (05:26 +0000)]
Mon Jul 21 22:24:07 1997  Martin M. Hunt  <hunt@cygnus.com>

* configure: Rebuilt.

27 years agoMon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Tue, 22 Jul 1997 05:24:01 +0000 (05:24 +0000)]
Mon Jul 21 22:24:07 1997  Martin M. Hunt  <hunt@cygnus.com>

* aclocal.m4: Search for the correct tix library.

27 years agoDon't ignore grep when compiling on alpha-dec-osf.
Stephen Peters [Mon, 21 Jul 1997 17:38:57 +0000 (17:38 +0000)]
Don't ignore grep when compiling on alpha-dec-osf.

27 years ago * config/tc-v850.c (system_registers): Fix ordering of registers.
Jeff Law [Mon, 21 Jul 1997 14:54:49 +0000 (14:54 +0000)]
    * config/tc-v850.c (system_registers): Fix ordering of registers.
pr12913 (c/h from nec).

27 years ago * sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED
Ian Lance Taylor [Mon, 21 Jul 1997 03:06:42 +0000 (03:06 +0000)]
* sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED
flag for newly created sections.
(sunos_add_dynamic_symbols): Don't discard newly created sections
if shared library is dynobj.

27 years agoThu Jul 17 11:38:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Thu, 17 Jul 1997 18:45:11 +0000 (18:45 +0000)]
Thu Jul 17 11:38:46 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * partial-stab.h (case N_BINCL): detect missing partial symtab.
        * dbxread.c: Add a complaint for N_BINCL without a corresponding
        partial symtab.  Remove earlier change of 5/27/97.

27 years agoWed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Wed, 16 Jul 1997 20:42:28 +0000 (20:42 +0000)]
Wed Jul 16 10:38:03 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * sol-thread.c (sol_thread_[store, fetch]_registers): if
        inferior_pid is an LWP rather than a Solaris thread, let
        procfs handle the request.
        (rw_common, sol_thread_xfer_memory): procfs_xfer_memory will
        only work if inferior_pid points to an LWP (rather than a
        Solaris thread).  Use procfs_first_available to find a good LWP.
        (info_solthreads): added a maintenance command to list all
        known Solaris threads and their attributes.
        * mips-tdep.c (mips_do_registers_info): Completely changed the
        output format to be neat and columnar.  Added the helper funcs
        do_fp_register_row and do_gp_register_row.  Also small mods to
        mips_print_register, which is still used to print a single reg.

27 years agoWed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Wed, 16 Jul 1997 19:16:07 +0000 (19:16 +0000)]
Wed Jul 16 10:38:03 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * sol-thread.c (sol_thread_[store, fetch]_registers): if
        inferior_pid is an LWP rather than a Solaris thread, let
        procfs handle the request.
        (rw_common, sol_thread_xfer_memory): procfs_xfer_memory will
        only work if inferior_pid points to an LWP (rather than a
        Solaris thread).  Use procfs_first_available to find a good LWP.
        (info_solthreads): added a maintenance command to list all
        known Solaris threads and their attributes.

27 years ago * config/tc-tic80.c (build_insn): Initialize extended word to zero
Fred Fish [Wed, 16 Jul 1997 05:19:20 +0000 (05:19 +0000)]
  * config/tc-tic80.c (build_insn): Initialize extended word to zero
      when it will be filled in later by relocation information.
PR 12796

27 years ago * install-sh (chmodcmd): Set to null if the DST directory already
Brendan Kehoe [Tue, 15 Jul 1997 21:33:49 +0000 (21:33 +0000)]
    * install-sh (chmodcmd): Set to null if the DST directory already
        exists.  Same as Nov 11th change.

27 years agoConfigure r5900 testsuite sub-directory.
Andrew Cagney [Tue, 15 Jul 1997 20:46:15 +0000 (20:46 +0000)]
Configure r5900 testsuite sub-directory.

27 years agoSimilistic configure/build scripts for tx59 simulator tests.
Andrew Cagney [Tue, 15 Jul 1997 20:35:26 +0000 (20:35 +0000)]
Similistic configure/build scripts for tx59 simulator tests.

27 years agoGeneric tests for 5900.
Andrew Cagney [Tue, 15 Jul 1997 20:25:09 +0000 (20:25 +0000)]
Generic tests for 5900.

27 years ago * gas/m32r/uppercase.[sd]: New testcase.
David Edelsohn [Tue, 15 Jul 1997 20:04:40 +0000 (20:04 +0000)]
* gas/m32r/uppercase.[sd]: New testcase.
* gas/m32r/m32r.exp: New file.

27 years ago * cgen-opc.c: #include <ctype.h>.
David Edelsohn [Tue, 15 Jul 1997 20:02:47 +0000 (20:02 +0000)]
* cgen-opc.c: #include <ctype.h>.
(hash_keyword_name): New arg `case_sensitive_p'.  Callers updated.
Handle case insensitive hashing.
(hash_keyword_value): Change type of `value' to unsigned int.

27 years ago * config/tc-mips.c (macro_build): Restore check of fmt argument.
Ian Lance Taylor [Tue, 15 Jul 1997 17:03:15 +0000 (17:03 +0000)]
* config/tc-mips.c (macro_build): Restore check of fmt argument.
(mips_ip): Fix ISA checks.

27 years ago * configure.tgt: Default the r5900 to little endian.
Jeff Law [Tue, 15 Jul 1997 16:15:40 +0000 (16:15 +0000)]
    * configure.tgt: Default the r5900 to little endian.

27 years ago * configure.in: Default the r5900 to little endian.
Jeff Law [Tue, 15 Jul 1997 16:13:18 +0000 (16:13 +0000)]
    * configure.in: Default the r5900 to little endian.
        * configure: Rebuilt.

27 years ago * config/tc-tic80.c (build_insn): Fix endianness problem with
Fred Fish [Tue, 15 Jul 1997 02:53:47 +0000 (02:53 +0000)]
* config/tc-tic80.c (build_insn): Fix endianness problem with
O_big operands.
PR 12765

27 years agoMon Jul 14 18:02:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Tue, 15 Jul 1997 01:05:10 +0000 (01:05 +0000)]
Mon Jul 14 18:02:53 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * procfs.c (wait_fd): Handle an fd that has "hung up" or
        otherwise terminated (Solaris threads).

27 years ago * elf.c (map_sections_to_segments): When checking whether
Ian Lance Taylor [Mon, 14 Jul 1997 22:35:27 +0000 (22:35 +0000)]
* elf.c (map_sections_to_segments): When checking whether
including a section in a segment would force us to skip a page,
align the address of the next segment to avoid wraparound
problems.
PR 12828.

27 years agoMon Jul 14 11:01:15 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 14 Jul 1997 20:18:16 +0000 (20:18 +0000)]
Mon Jul 14 11:01:15 1997  Martin M. Hunt  <hunt@cygnus.com>

* configure (GDB_TK): Needs itcl and tix.

27 years agoStandard simulator tests.
Andrew Cagney [Mon, 14 Jul 1997 16:53:04 +0000 (16:53 +0000)]
Standard simulator tests.

27 years ago * config.guess: Update from FSF.
Jason Merrill [Mon, 14 Jul 1997 07:32:55 +0000 (07:32 +0000)]
* config.guess: Update from FSF.

For pc-linux-gnulibc1

27 years ago * config/tc-mips.c (check_absolute_expr): Change warning to
Ian Lance Taylor [Mon, 14 Jul 1997 03:45:16 +0000 (03:45 +0000)]
* config/tc-mips.c (check_absolute_expr): Change warning to
error.
PR 12849.

27 years agoTests for mips r5900 instructions
Andrew Cagney [Fri, 11 Jul 1997 21:36:11 +0000 (21:36 +0000)]
Tests for mips r5900 instructions

27 years agoFri Jul 11 11:57:11 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 11 Jul 1997 18:58:56 +0000 (18:58 +0000)]
Fri Jul 11 11:57:11 1997  Martin M. Hunt  <hunt@cygnus.com>

* Makefile.in (GDB_TK): Depend on itcl and tix.

27 years ago * config/tc-mips.c (macro_build): Refine code to check if an
Jeff Law [Fri, 11 Jul 1997 16:40:14 +0000 (16:40 +0000)]
    * config/tc-mips.c (macro_build): Refine code to check if an
        instruction is available on a particular cpu variant.
        (mips_ip): Likewise.
toshiba 5900 stuff

27 years ago * mips-opc.c (mips_builtin_opcodes): If an insn uses single
Jeff Law [Fri, 11 Jul 1997 16:13:42 +0000 (16:13 +0000)]
    * mips-opc.c (mips_builtin_opcodes): If an insn uses single
        precision FP, mark it as such.  Likewise for double precision
        FP.  Mark ISA1 insns.  Consolidate duplicate opcodes where
        possible.
        (mips_builtin_opcodes): Remove non-existant r5900 instructions
toshiba_5900 stuff

27 years ago * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn
Jeff Law [Fri, 11 Jul 1997 16:12:56 +0000 (16:12 +0000)]
    * mips.h (FP_S, FP_D): Define.  Bitmasks indicating if an insn
        uses single or double precision floating point resources.
        (INSN_NO_ISA, INSN_ISA1): Define.
        (cpu specific INSN macros): Tweak into bitmasks outside the range
        of INSN_ISA field.
toshiba_5900 stuff

27 years agoFix a number of problems in the r5900 specific p* (parallel) instructions.
Andrew Cagney [Fri, 11 Jul 1997 03:07:29 +0000 (03:07 +0000)]
Fix a number of problems in the r5900 specific p* (parallel) instructions.
In particular a host endian dependency one fixed resolved most problems.

27 years agoThu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 10 Jul 1997 07:15:26 +0000 (07:15 +0000)]
Thu Jul 10 00:02:41 1997  Martin M. Hunt  <hunt@cygnus.com>

* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
IDE configuration information.

* gdbtk.c (breakpoint_notify): Send address, linenumber and
filename when a breakpoint is set.  Avoids call to bp_info.
  (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
Itcl, Tix and IDE initialization.

* defs.h (init_ui_hook): Change prototype to accept one arg.

* main.c (gdb_init): Change prototype to accept one arg.

* top.c (gdb_init): Accepts one argument which it uses to
call (*init_ui_hook), which will be gdbtk_init(). This is
  used for calling Tcl_FindExecutable().

* gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to
accept variable number of args for compatibility with
cchanges in gdbtk.c.

* configure: Regenerated.

* gdbtcl/tclIndex: Regenerated.

27 years agoAdd coffswap.h to file list for TIc80 sanitization.
Fred Fish [Wed, 9 Jul 1997 00:34:22 +0000 (00:34 +0000)]
Add coffswap.h to file list for TIc80 sanitization.

27 years ago * coffcode.h (coff_write_object_contents): Initialize
Fred Fish [Wed, 9 Jul 1997 00:19:41 +0000 (00:19 +0000)]
  * coffcode.h (coff_write_object_contents): Initialize
      target id field to TIC80_TARGET_ID.
      * coffswap.h (coff_swap_filehdr_out): Swap out target id field
      if used.
      (coff_swap_filehdr_in): Swap in target id field if used.

27 years ago> * tic80.h (TIC80_TARGET_ID): Add define.
Fred Fish [Tue, 8 Jul 1997 23:43:17 +0000 (23:43 +0000)]
>       * tic80.h (TIC80_TARGET_ID): Add define.
>       * internal.h (struct internal_filehdr): Add f_target_id field.

27 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
Ian Lance Taylor [Tue, 8 Jul 1997 02:57:50 +0000 (02:57 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
OBJ_AOUT to ifdef OBJ_ELF.
(md_apply_fix3): When mangling 32 bit PC relative reloc for
BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
case.
* write.c (fixup_segment): Change special case for i386-coff to
  not apply for i386-pe.
* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
which were not done.
(coff_frob_file_after_relocs): Rename from coff_frob_file.
(coff_format_ops): Initialize frob_file_after_relocs field rather
than frob_file field.
* config/obj-coff.h (coff_frob_file): Don't declare.
(coff_frob_file_after_relocs): Declare.
(obj_frob_file): Don't define.
(obj_frob_file_after_relocs): Define.
* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
* configure: Rebuild.

27 years ago * coff-i386.c (coff_i386_is_local_label_name): New static function
Ian Lance Taylor [Mon, 7 Jul 1997 20:42:48 +0000 (20:42 +0000)]
* coff-i386.c (coff_i386_is_local_label_name): New static function
if TARGET_UNDERSCORE.
(coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE.
(i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags.

27 years ago From Manfred Hollstein <manfred@s-direktnet.de>:
Ian Lance Taylor [Mon, 7 Jul 1997 16:41:04 +0000 (16:41 +0000)]
From Manfred Hollstein <manfred@s-direktnet.de>:
* configure.host (i[3456]86-*-linux*libc1*): Renamed from
i[3456]86-*-linux*.
(i[3456]86-*-linux*): New host.

27 years ago * source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon
Ian Lance Taylor [Fri, 4 Jul 1997 18:54:57 +0000 (18:54 +0000)]
* source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon
whether CRLF_SOURCE_FILES is defined.
(open_source_file): Use OPEN_MODE with open and openp.
(print_source_lines): Use FDOPEN_MODE with fdopen.  If
CRLF_SOURCE_FILES is defined, ignore \r characters.
(forward_search_command): Use FDOPEN_MODE with fdopen.
(reverse_search_command): Likewise.
* config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define.
(LSEEK_NOT_LINEAR): Don't define.

27 years ago * gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES.
Ian Lance Taylor [Fri, 4 Jul 1997 18:53:24 +0000 (18:53 +0000)]
* gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES.
Document LSEEK_NOT_LINEAR.

27 years ago * Makefile.in (INSTALL_PROGRAM_ARGS): New variable.
Ian Lance Taylor [Fri, 4 Jul 1997 17:27:30 +0000 (17:27 +0000)]
* Makefile.in (INSTALL_PROGRAM_ARGS): New variable.
(INSTALL_PROGRAM): Use $(INSTALL_PROGRAM_ARGS).
(INSTALL_SCRIPT): New variable.
(BASE_FLAGS_TO_PASS): Pass down INSTALL_SCRIPT.
* configure.in: If host is *-*-cygwin32*, set INSTALL_PROGRAM_ARGS
to -x.
* install-sh: Add support for -x option.

27 years ago * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
Bob Manson [Fri, 4 Jul 1997 01:04:45 +0000 (01:04 +0000)]
* lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
  if we can't get a debug format from GDB (we may be testing an
  older GDB). Use a 10 second timeout when checking for the format.

* gdb.stabs/weird.exp: Fix quoting.

27 years agoThu Jul 3 17:41:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Fri, 4 Jul 1997 00:44:01 +0000 (00:44 +0000)]
Thu Jul  3 17:41:46 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * mips-tdep.c (mips_extract_return_value): align 4-byte float
        return values within the 8-byte FP register.

27 years ago * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
Bob Manson [Thu, 3 Jul 1997 22:38:51 +0000 (22:38 +0000)]
* config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.

27 years agoThu Jul 3 13:48:11 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Thu, 3 Jul 1997 20:50:11 +0000 (20:50 +0000)]
Thu Jul  3 13:48:11 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * mips-tdep.c (mips_push_arguments): don't left-adjust 32-bit
        integers in 64-bit register parameters before function calls.

27 years agoSync powerpc simulator with public version. Enable FPSCR and string
Andrew Cagney [Thu, 3 Jul 1997 07:44:38 +0000 (07:44 +0000)]
Sync powerpc simulator with public version.  Enable FPSCR and string
instructions.

27 years ago * gencode.c (build_instruction): Handle "pext5" according to
Jeff Law [Wed, 2 Jul 1997 18:41:22 +0000 (18:41 +0000)]
    * gencode.c (build_instruction): Handle "pext5" according to
        version 1.95 of the r5900 ISA.
Fixes pr12413 (c/h from toshiba).

27 years ago * gencode.c (build_instruction): Handle "ppac5" according to
Jeff Law [Wed, 2 Jul 1997 18:29:16 +0000 (18:29 +0000)]
    * gencode.c (build_instruction): Handle "ppac5" according to
        version 1.95 of the r5900 ISA.
fixes pr12407 (c/h from toshiba).

27 years ago * interp.c (sim_engine_run): Reset the ZERO register to zero
Jeff Law [Wed, 2 Jul 1997 18:13:00 +0000 (18:13 +0000)]
    * interp.c (sim_engine_run): Reset the ZERO register to zero
        regardless of FEATURE_WARN_ZERO.

27 years ago * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
Jeff Law [Wed, 2 Jul 1997 17:57:56 +0000 (17:57 +0000)]
    * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
Fix for pr12402 (c/h from toshiba).

27 years ago * config/obj-coff.c (fixup_segment): Never subtract section
Ian Lance Taylor [Wed, 2 Jul 1997 16:05:55 +0000 (16:05 +0000)]
* config/obj-coff.c (fixup_segment): Never subtract section
address from PC relative reloc which will be fully resolved.

27 years ago * ecoff.c (page_type): Renamed from page_t to avoid conflict
Jeff Law [Tue, 1 Jul 1997 21:22:38 +0000 (21:22 +0000)]
    * ecoff.c (page_type): Renamed from page_t to avoid conflict
        with hpux10 header files.

27 years ago * config/arm-ice.exp: New file.
Bob Manson [Tue, 1 Jul 1997 01:33:58 +0000 (01:33 +0000)]
* config/arm-ice.exp: New file.

27 years agoMon Jun 30 17:54:51 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Tue, 1 Jul 1997 00:57:19 +0000 (00:57 +0000)]
Mon Jun 30 17:54:51 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * mips-tdep.c (mips_push_arguments): special-case handling for
        odd-sized struct parameters passed in registers / on stack.

27 years agoMon Jun 30 15:30:38 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Mon, 30 Jun 1997 22:32:20 +0000 (22:32 +0000)]
Mon Jun 30 15:30:38 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * mips-tdep.c (mips_push_arguments): tweak alignment of small
        structs passed in registers for little-endian non-EABI mode.

27 years agoMon Jun 30 13:05:39 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Mon, 30 Jun 1997 20:08:11 +0000 (20:08 +0000)]
Mon Jun 30 13:05:39 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * breakpoint.c (frame_in_dummy): use generic dummy if available.
          (check_duplicates, clear_command): compare sections only if
          doing overlay debugging.

27 years ago * configure.in, Makefile.in: Treat tix like itcl.
Ian Lance Taylor [Mon, 30 Jun 1997 19:52:58 +0000 (19:52 +0000)]
* configure.in, Makefile.in: Treat tix like itcl.