binutils-gdb.git
27 years ago * gas/v850/range.s: New test.
Jeff Law [Thu, 31 Jul 1997 21:18:00 +0000 (21:18 +0000)]
    * gas/v850/range.s: New test.
        * gas/v850/basic.exp: Run it.
testcase for pr12944 related stuff.

27 years ago * config/tc-v850.c (md_assemble): Sign extend constants value
Jeff Law [Thu, 31 Jul 1997 21:11:17 +0000 (21:11 +0000)]
    * config/tc-v850.c (md_assemble): Sign extend constants value
        for hi and hi0 expressions.
        (v850_insert_operand): Enable range checking for generic 16bit
        operands.
finish work for pr12944.

27 years agoThu Jul 31 12:09:20 1997 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Thu, 31 Jul 1997 16:15:02 +0000 (16:15 +0000)]
Thu Jul 31 12:09:20 1997  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_size_dynamic_sections): Don't set TEXTREL
  if there is only a relocation to a read-only but not allocatable
  section (like .stab).
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
* elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
* elf32-mips.c (mips_elf_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.

* elf32-ppc.c (ppc_elf_howto_raw): Correct various comments.
(ppc_elf_create_linker_section): These sections are not
created by the linker (that is, they are created by the user
putting data in them). In particular, they can be the source
and target of relocations.
(ppc_elf_adjust_dynamic_symbol): Check postcondition of
  bfd_elf32_link_record_dynamic_symbol.  Align 16-byte common
  objects (for instance, 'long double') to 16-byte boundaries.
(ppc_elf_size_dynamic_sections): Make the code that generates
section symbols exactly the same as for sparc, reducing the
number of section symbols output.
(ppc_elf_check_relocs): Check postcondition of
bfd_elf32_link_record_dynamic_symbol.  Make default case the
same as corresponding code for sparc, fixing bug involving
.rela.stabs.
(ppc_elf_finish_dynamic_symbol): Fix case involving GOT symbols
  forced to be local because of versioning (by replicating
  corresponding change in sparc).  Treat R_PPC_RELATIVE RELA relocs
  as usual in ELF, not as pseudo-REL relocs (as the sparc linker
  does).
(ppc_elf_relocate_section): Add handy debugging code for when
  assertion fails.  Add some more 'symbol made local because of
  versioning' cases.

* elf32-ppc.c (ppc_elf_relocate_section): Cope with addend when
processing a GOT relocation as required by ABI.

27 years ago From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
Ian Lance Taylor [Thu, 31 Jul 1997 15:53:23 +0000 (15:53 +0000)]
From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
* rcparse.y (dialog): Default menu and class to be named.
(styles): If FONT is seen, set DS_SETFONT in dialog style.
* resbin.c (res_to_bin_dialog): Correct computation of font
information length.

27 years agoWed Jul 30 21:30:35 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Thu, 31 Jul 1997 01:35:46 +0000 (01:35 +0000)]
Wed Jul 30 21:30:35 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elflink.h (NAME(bfd_elf,record_link_assignment)): Remove any
version info if this symbol came from a dynamic object.
(elf_link_add_object_symbols): Set the version info of a symbol
only if the object actually contains version definitions and
defines this symbol.

27 years ago * Oops, forgot to check this in with the rest of the files.
Rob Savoye [Wed, 30 Jul 1997 22:35:46 +0000 (22:35 +0000)]
* Oops, forgot to check this in with the rest of the files.

27 years ago From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
Ian Lance Taylor [Wed, 30 Jul 1997 15:22:07 +0000 (15:22 +0000)]
From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
* resbin.c (res_to_bin_menu): Correct computation of menu
vs. menuex length.
* resrc.c (define_stringtable): Add 1 to resource ID.

27 years ago * gas/v850/hilo2.s: New test.
Jeff Law [Tue, 29 Jul 1997 20:31:41 +0000 (20:31 +0000)]
    * gas/v850/hilo2.s: New test.
        * gas/v850/fepsw.s: New test.
        * gas/v850/basic.exp: Run them.

27 years agoForgot sanitize markers.
Jeff Law [Tue, 29 Jul 1997 20:20:12 +0000 (20:20 +0000)]
Forgot sanitize markers.

27 years ago * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
Jeff Law [Tue, 29 Jul 1997 20:19:02 +0000 (20:19 +0000)]
    * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
        LO16, HI16 and HI16_S relocs.
pr12979

27 years ago * Makefile.in (init.c): except some mswin files do need to be
Felix Lee [Tue, 29 Jul 1997 17:17:08 +0000 (17:17 +0000)]
* Makefile.in (init.c): except some mswin files do need to be
  scanned.  oh well.

27 years ago * resbin.c (bin_to_res_string): Correct adjustment of data and
Ian Lance Taylor [Tue, 29 Jul 1997 15:06:48 +0000 (15:06 +0000)]
* resbin.c (bin_to_res_string): Correct adjustment of data and
length.  From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.

27 years ago * mips-opc.c: Fix typo/thinko in "eret" instruction.
Jeff Law [Tue, 29 Jul 1997 03:48:51 +0000 (03:48 +0000)]
    * mips-opc.c: Fix typo/thinko in "eret" instruction.

27 years ago * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
Rob Savoye [Tue, 29 Jul 1997 02:46:52 +0000 (02:46 +0000)]
    * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
        win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to all executables.

27 years ago * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
Rob Savoye [Tue, 29 Jul 1997 01:34:09 +0000 (01:34 +0000)]
    * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
        win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to executable.

27 years agoAdd test for "mtsa"
Andrew Cagney [Tue, 29 Jul 1997 00:57:39 +0000 (00:57 +0000)]
Add test for "mtsa"

27 years ago * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
Rob Savoye [Tue, 29 Jul 1997 00:54:28 +0000 (00:54 +0000)]
    * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
        win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to all executables.

27 years ago * aclocal.m4: Add CYGWIN and EXEEXT autoconf macros.
Rob Savoye [Tue, 29 Jul 1997 00:37:04 +0000 (00:37 +0000)]
* aclocal.m4: Add CYGWIN and EXEEXT autoconf macros.
        * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
        win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * doc/Makefile.in: Add $(EXEEXT) to chew executable.

27 years ago * Makefile.in (init.c): don't try to scan mswin for _initialize
Felix Lee [Mon, 28 Jul 1997 22:34:36 +0000 (22:34 +0000)]
* Makefile.in (init.c): don't try to scan mswin for _initialize
  funcs.  (generates misleading error message because files have
  .cpp suffix, not .c suffix)

* ser-e7kpc.c: <w32sut.h> -> "mswin/w32sut.h"

* mon960-rom.c: removed unused #includes; no ioctl.h in Windows.
* nindy-share/ttyflush.c: find sleep() for _MSC_VER.
* remote-array.c: #include <ctype.h> for isascii().
* utils.c (notice_quit,pollquit): cleanup.  _WIN32 -> _MSC_VER.

27 years ago * coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy.
Felix Lee [Mon, 28 Jul 1997 21:59:14 +0000 (21:59 +0000)]
* coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy.

27 years agoHandle overflow from signed divide by -1.
Andrew Cagney [Mon, 28 Jul 1997 13:46:53 +0000 (13:46 +0000)]
Handle overflow from signed divide by -1.

27 years agoFix MTSA opcode encoding.
Andrew Cagney [Mon, 28 Jul 1997 13:45:45 +0000 (13:45 +0000)]
Fix MTSA opcode encoding.

27 years agoMore checks for pdivuw
Andrew Cagney [Mon, 28 Jul 1997 10:52:39 +0000 (10:52 +0000)]
More checks for pdivuw

27 years ago * xcoffread.c (coff_getfilename): Do not strip directory component
Peter Schauer [Mon, 28 Jul 1997 09:56:24 +0000 (09:56 +0000)]
* xcoffread.c (coff_getfilename):  Do not strip directory component
of filename.

27 years ago * rs6000-core.c (rs6000coff_core_p): If CORE_TRUNC is set, print
Peter Schauer [Mon, 28 Jul 1997 09:52:23 +0000 (09:52 +0000)]
* rs6000-core.c (rs6000coff_core_p):  If CORE_TRUNC is set, print
a warning rather than returning an error.

27 years ago * top.c (execute_command): Force cleanup of alloca areas.
Jeff Law [Fri, 25 Jul 1997 22:47:17 +0000 (22:47 +0000)]
    * top.c (execute_command): Force cleanup of alloca areas.
        * findvar.c (registers_changed): Likewise.
Fixes memory "leak" reported by HP.  Call from execute_command is for general
alloca cleanup; call from registers_changed is to fix hp's specific problem.

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.