Commit Graph

19710 Commits

Author SHA1 Message Date
Andrew Cagney 9204a35e78 Handle overflow from signed divide by -1. 1997-07-28 13:46:53 +00:00
Andrew Cagney 6546a590b4 Fix MTSA opcode encoding. 1997-07-28 13:45:45 +00:00
Andrew Cagney 64f0e81628 More checks for pdivuw 1997-07-28 10:52:39 +00:00
Peter Schauer 4e9e52ab08 * xcoffread.c (coff_getfilename): Do not strip directory component
of filename.
1997-07-28 09:56:24 +00:00
Peter Schauer f366291b4f * rs6000-core.c (rs6000coff_core_p): If CORE_TRUNC is set, print
a warning rather than returning an error.
1997-07-28 09:52:23 +00:00
Jeff Law 5959df8e16 * 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.
1997-07-25 22:47:17 +00:00
Stu Grossman 264b9de03a * v850ice.c: Include <windows.h>. Support new v850 DLL interface.
* Add defs for target status.
1997-07-25 22:41:56 +00:00
Felix Lee 3e94ea70e6 * cisco-core.c: define signals for wingdb. 1997-07-25 21:58:27 +00:00
Ian Lance Taylor fbd550db30 * ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with
the same number of aux entries.
PR 12962.
1997-07-25 20:27:50 +00:00
Gavin Romig-Koch c12e2e4c48 gencode.c: Two arg MADD should not assign result to /bin/bash. 1997-07-25 19:10:05 +00:00
David Edelsohn 63f6871728 * configure.in (sparc*-*-*): Don't build erc32.
* configure: Regenerate.
1997-07-25 18:41:12 +00:00
Jeff Law e0362be2fc * 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
1997-07-25 16:55:52 +00:00
Jeff Law 491501de77 * 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.
1997-07-25 14:20:12 +00:00
David Edelsohn 09e1d69565 * tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert. 1997-07-24 22:22:27 +00:00
David Edelsohn 8deb997b30 * 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.
1997-07-24 22:21:05 +00:00
Ian Lance Taylor 280cdd548e * macro.c (define_macro): Make sure the index is in range before
checking for '('.
1997-07-24 21:51:57 +00:00
Fred Fish e6e676a501 * 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
1997-07-24 20:34:02 +00:00
David Edelsohn 3f9382002f * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns. 1997-07-24 20:05:46 +00:00
Ian Lance Taylor 9239dc2640 * Makefile.in: Treat tix like tk, putting it in X11_MODULES. Add
check-tk to CHECK_X11_MODULES.
1997-07-24 16:58:49 +00:00
Ian Lance Taylor a12aceb1de * config.sub: Merge with FSF. 1997-07-23 21:04:46 +00:00
Ian Lance Taylor 1868acf81d * coff-i386.c (coff_i386_reloc): Don't offset a common symbol by
its value if COFF_WITH_PE is defined.
1997-07-23 20:08:37 +00:00
Ian Lance Taylor 6cd41c5e70 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.
1997-07-23 16:33:04 +00:00
Martin Hunt 6bc5b2fa96 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.
1997-07-23 02:45:59 +00:00
Ian Lance Taylor 2b40778139 * config.guess: Merge with FSF. 1997-07-22 23:09:21 +00:00
Ian Lance Taylor e087efc10c 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.
1997-07-22 23:00:15 +00:00
Ian Lance Taylor 92d902a8e9 Tue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* configure: Treat msdosdjgpp like go32.
1997-07-22 22:56:36 +00:00
Ian Lance Taylor beb76c0ade 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.
1997-07-22 22:52:15 +00:00
Ian Lance Taylor ea1c39ced2 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.
1997-07-22 22:45:29 +00:00
Ian Lance Taylor 6829927931 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.
1997-07-22 22:41:04 +00:00
Ian Lance Taylor 88a25e44d3 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*.
1997-07-22 22:33:02 +00:00
Ian Lance Taylor 179ce6e10b 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.
1997-07-22 22:29:11 +00:00
Ian Lance Taylor 35743787d5 Tue Jul 22 18:18:58 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* go32exe.h: New file.
1997-07-22 22:19:32 +00:00
Martin Hunt 5452eb0b95 Add tix to gdbtk 1997-07-22 22:03:59 +00:00
Ian Lance Taylor ad94646bd6 * nlmconv.c (link_inputs): Call libiberty pexecute function.
(pexecute) [multiple versions]: Remove.
1997-07-22 22:01:58 +00:00
Ian Lance Taylor 1ca82cc0dc * libiberty.h (PEXECUTE_*): Define.
(pexecute, pwait): Declare.
1997-07-22 22:00:09 +00:00
Ian Lance Taylor e8640d5e09 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.
1997-07-22 21:20:46 +00:00
Michael Snyder 6886574678 Pulling changes over from tx39 branch 1997-07-22 21:00:21 +00:00
Michael Snyder 9ffd1eabd3 Cleaning up mips tx39 sanitization. 1997-07-22 20:58:56 +00:00
Ian Lance Taylor fa0cd59bc6 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.
1997-07-22 20:22:05 +00:00
David Edelsohn 9f6da65302 * 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.
1997-07-22 19:52:22 +00:00
David Edelsohn bd3a1ebae6 * 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.
1997-07-22 19:43:16 +00:00
Michael Snyder 7631a23e41 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.
1997-07-22 19:14:46 +00:00
Ian Lance Taylor 60f1ad85ac * configure.in: Check for fdopen.
* configure, config.in: Rebuild.
	* opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or
	__GO32__.  Reindent a bit.
1997-07-22 19:11:04 +00:00
David Edelsohn 5697f15271 Keep sim-watch.[ch]. 1997-07-22 19:05:13 +00:00
David Edelsohn 556d1f8c7f Don't always keep igen, it's currently only kept if d30v or tic80. 1997-07-22 19:03:25 +00:00
Ian Lance Taylor e59df24357 Tue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* configure: Change Makefile.tem2 to Makefile.tm2.
1997-07-22 18:51:59 +00:00
Ian Lance Taylor 25496d0ca1 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.
1997-07-22 18:47:27 +00:00
David Edelsohn e6609d8f2a * sim-n-core.h (sim_core_write_unaligned_N): Add missing break
to FORCED_ALIGNMENT case.
1997-07-22 17:36:23 +00:00
Ian Lance Taylor 1d3036537f * config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
code if BFD_ASSEMBLER.
PR 12926.
1997-07-22 17:26:52 +00:00
Martin Hunt 111bc9a751 Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
* configure: Rebuilt.
1997-07-22 05:26:21 +00:00