Commit Graph

25377 Commits

Author SHA1 Message Date
Ian Lance Taylor dc8bc5a62a 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (i[3456]-*-mingw32*): Don't put gprof in
	noconfigdirs.
	(*-*-cygwin*): Likewise.
1999-08-08 23:32:46 +00:00
Ian Lance Taylor 81afc8460e 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
	(EXTRA_SCRIPTS): Define to keep automake happy.
1999-08-08 23:31:18 +00:00
Ian Lance Taylor 9d51cc66fb From Eli Zaretskii <eliz@gnu.org>:
* binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
1999-08-08 18:18:11 +00:00
Ian Lance Taylor 8a9659466d * configure.in: Define and substitute DEMANGLER_NAME.
* Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
	(man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
	(bin_PROGRAMS): Remove $(DEMANGLER_PROG).
	(noinst_PROGRAMS): Add $(DEMANGLER_PROG).
	(cxxfilt_SOURCES): Rename from c__filt_SOURCES.
	(cxxfilt_LDADD): Rename from c__filt_LDADD.
	($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1.  Use
	DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
	(MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
	DEMANGLER_PROG.
	(install-exec-local): When installing noinst_PROGRAMS, change
	cxxfilt to $(DEMANGLER_NAME).
	* configure, Makefile.in: Rebuild.
1999-08-08 18:09:48 +00:00
Ian Lance Taylor 04ad15439a * Makefile.am: Rename .dep* files to DEP*.
(MKDEP): Rename from DEP.  Change all uses.  Use $${srcdir} rather
	than $(srcdir).  Rename TCDEP targets to DEPTC.  Rename OBJDEP
	targets to DEPOBJ.
	* Makefile.in: Rebuild.
1999-08-08 17:48:38 +00:00
Ian Lance Taylor 71141bb60f * mkdep: New file.
* Makefile.in (GAS_SUPPORT_DIRS): Add mkdep.
	(BINUTILS_SUPPORT_DIRS): Add mkdep.
1999-08-08 17:46:02 +00:00
Ian Lance Taylor f4162f5cef * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.  Rebuild dependencies.
	* Makefile.in: Rebuild.
1999-08-08 17:37:50 +00:00
Ian Lance Taylor c278c1507b * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.
	* Makefile.in: Rebuild.
1999-08-08 17:34:16 +00:00
Ian Lance Taylor 73c418f421 * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.  Rebuild dependencies.
	* Makefile.in: Rebuild.
1999-08-08 17:31:00 +00:00
Richard Henderson 1eb7027ca2 * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg. 1999-08-08 17:27:23 +00:00
Ian Lance Taylor 74eeebeafb * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.
	* Makefile.in: Rebuild.
1999-08-08 17:26:50 +00:00
Ian Lance Taylor 46eec08e57 * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
avoid problems on DOS filesystems.
	* Makefile.in: Rebuild.
1999-08-08 17:08:00 +00:00
Ian Lance Taylor 2dcc60be2b * doc/as.texinfo (Section): Document 's' flag for COFF version.
1999-08-08  Mumit Khan  <khan@xraylith.wisc.edu>

	* config/obj-coff.c (obj_coff_section): Handle 's' (shared)
	section flag.
1999-08-08 16:53:30 +00:00
Ian Lance Taylor bd826630b1 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
* section.c (SEC_SHARED): Define.
	* coffcode.h (sec_to_styp_flags): Handle SEC_SHARED.
	(styp_to_sec_flags): Likewise.
	* peicode.h (coff_swap_scnhdr_out): Likewise.
	* bfd-in2.h: Rebuild.

1999-08-08  Ian Lance Taylor  <ian@zembu.com>

	* coffcode.h (coff_classify_symbol): Comment out part of
	1999-08-05 change which breaks cygwin DLLs.
1999-08-08 16:50:27 +00:00
Ian Lance Taylor 153b546a7a comment additions 1999-08-08 16:04:36 +00:00
Ian Lance Taylor 855b0be7f7 * acinclude.m4 (BFD_BINARY_FOPEN): Change -windows to -windows*.
* aclocal.m4, configure: Rebuild.
1999-08-08 16:01:13 +00:00
Ian Lance Taylor 76a279225c * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
line to crate ${GDBINIT} rather than .gdbinit.
	* configure, Makefile.in, doc/Makefile.in: Rebuild.
1999-08-08 15:56:55 +00:00
Ian Lance Taylor 6ca3858e7c From Eli Zaretskii <eliz@is.elta.co.il>:
* configure (tmpfile): Change cONf$$ to cNf$$ to avoid an overly
	long file name when using DJGPP on MS-DOS.
1999-08-08 15:36:13 +00:00
Ian Lance Taylor ae97059cc1 1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
* configure.host (sparc-*-linux-gnu*): New host.
	(sparc64-*-linux-gnu*): New host.
1999-08-08 15:30:08 +00:00
Ian Lance Taylor 3d9f627799 * lexsup.c (is_num): Reindent.
(parse_args): Mention program name in error message.
1999-08-06 23:33:33 +00:00
Ian Lance Taylor 22bc497dda * section.c (global_syms): Only initialize union field if
__STDC__.
1999-08-06 23:31:14 +00:00
Ian Lance Taylor 597e25914e * emultempl/ostring.sed: Rename from stringify.sed.
* emultempl/astring.sed: New file.
	* Makefile.am (stringify.sed): New target.
	(GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
	stringify.sed.
	* configure.in: Define and substitute STRINGIFY.
	* emultempl/*.em: Use stringify.sed from build directory rather
	than source directory.
	* emultempl/elf32.em: Use stringify.sed rather than inline sed
	script.
	* emultempl/gld960.em, emultempl/gld960c.em: Likewise.
	* emultempl/hppaelf.em, emultempl/linux.em: Likewise.
	* emultempl/lnk960.em, emultempl/sunos.em: Likewise.
	* configure, Makefile.in: Rebuild.
1999-08-06 22:46:03 +00:00
Ian Lance Taylor 4a607dcc2c From Brad Lucier <lucier@math.purdue.edu>:
* corefile.c (core_create_line_syms): Add cast for printf.
1999-08-06 18:57:53 +00:00
Jeff Law 0741736bf6 * config/tc-hppa.c (pa_ip, case '?'): Add missing break. 1999-08-06 18:13:31 +00:00
Jeff Law 5696871a98 * hppa.h (pa_opcodes): Add 64 bit versions of or, xor, and,
and andcm.  Add 32 and 64 bit version of cmpclr, cmpiclr.
1999-08-06 16:03:53 +00:00
Jeff Law b333b6c6d3 * hppa-dis.c (compare_cond_64_names, cmpib_cond_64_names,
add_cond_64_names, wide_add_cond_names, logical_cond_64_names,
        unit_cond_64_names, shift_cond_64_names, bb_cond_64_names): New.
        (print_insn_hppa): Add 64 bit condition completers.
1999-08-06 15:50:21 +00:00
Jeff Law 7d62725820 * hppa.h: Document 64 bit condition completers. 1999-08-06 15:49:29 +00:00
Jeff Law 9a913dfbfb * config/tc-hppa.c (pa_ip): Add 64 bit condition completers. 1999-08-06 15:48:42 +00:00
Ian Lance Taylor a1f2d7424f 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
* config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
	non-adjustable symbols.
1999-08-06 14:02:34 +00:00
Mark Mitchell 4f2860cafc * elf32-mips.c (mips_elf_got16_entry): Don't multiply GOT index by
the size of a GOT entry here.
	(mips_elf_calculate_relocation): Don't create a local GOT entry
	for the symbol in a GOT16 relocation; just for it's high-order bit
	(_bfd_mips_elf_relocate_section): Fix thinko.
1999-08-06 02:44:41 +00:00
Jeff Law feb129926a * hppa-dis.c (print_insn_hppa): Change condition args to use
'?' prefix.
1999-08-05 23:02:01 +00:00
Jeff Law c5e5291642 * hppa.h (pa_opcodes): Change condition args to use '?' prefix. 1999-08-05 22:58:08 +00:00
Jeff Law 55a914bc48 * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix. 1999-08-05 22:56:06 +00:00
Joern Rennecke 336f7c7060 Fix year. 1999-08-05 22:19:17 +00:00
Joern Rennecke 5fc44b2d43 * config/tc-sh.c (md_assemble): Call as_bad when there are excess
operands.
1999-08-05 22:09:04 +00:00
Ian Lance Taylor c1687039eb Revert last patch to xmalloc.c, and instead bring over this patch from
egcs:
Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* configure.in (checkfuncs): Check for sbrk.
	* config.in: Rebuilt.
	* configure: Likewise.
	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1999-08-05 21:15:29 +00:00
Ian Lance Taylor 5d54c62870 Based on patches from Donn Terry <donn@interix.com>:
* coffcode.h (enum coff_symbol_classification): Define.
	(bfd_coff_backend_data): Rename _bfd_coff_sym_is_global to
	_bfd_coff_classify_symbol.  Change return type.
	(bfd_coff_classify_symbol): Rename from bfd_coff_sym_is_global.
	(coff_slurp_symbol_table): Use coff_classify_symbol.
	(coff_classify_symbol): New static function.
	(coff_sym_is_global): Never define.
	(bfd_coff_std_swap_table): Initialize with coff_classify_symbol.
	* cofflink.c (coff_link_check_ar_symbols): Use
	bfd_coff_classify_symbol rather than bfd_coff_sym_is_global.
	(coff_link_add_symbols): Likewise.
	(_bfd_coff_link_input_bfd): Likewise.
	* coff-sh.c (bfd_coff_small_swap_table): Initialize with
	coff_classify_symbol.
	* libcoff.h: Rebuild.
1999-08-05 21:01:37 +00:00
Ian Lance Taylor 1198f921ae * xmalloc.c: Control all uses of SBRK with a single define,
USE_SBRK.  Don't define it if __INTERIX.
1999-08-05 16:22:42 +00:00
Ian Lance Taylor a7e78dae79 1999-08-05 Donn Terry <donn@interix.com>
* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
	INITIAL_SYMBOL_CHAQR.
	* emulparams/i386pe_posix.sh: New file.
	* Makefile.am (YACC): If bison is not in the source tree, use
	@YACC@ rather than bison -y.
	(LEX): If flex is not in the source tree, use @LEX@ rather than
	flex.
	(ALL_EMULATIONS): Add ei386pe_posix.o.
	(ei386pe_posix.c): New target.
	* configure.tgt (i[3456]86-*-interix*): New target.
	* configure.host (i[3456]86-pc-interix*): New host.
	* Makefile.in: Rebuild.
1999-08-05 16:03:56 +00:00
Ian Lance Taylor 9750fcc502 1999-08-05 Donn Terry <donn@interix.com>
* config/te-interix.h: New file.
	* configure.in (i386-*-interix*): New target.
	* configure: Rebuild.
1999-08-05 15:41:31 +00:00
Ian Lance Taylor 7a7b06ef3d 1999-08-05 Donn Terry <donn@interix.com>
* Makefile.am (YACC): If bison is not in the source tree, use
	@YACC@ rather than bison -y.
	(LEX): If flex is not in the source tree, use @LEX@ rather than
	flex.
	* configure.in: Build dlltool for i[3-6]86-*-interix.
	* Makefile.in, configure: Rebuild.
1999-08-05 15:35:10 +00:00
Jeff Law 1560fbe45e * libhppa.h (R_HPPA_LTPSEL, R_HPPA_RTPSEL): New field selectors
(e_ltpsel, e_rtpsel): Similarly.
1999-08-05 03:50:28 +00:00
Jeff Law 3686090072 * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel
and 14bit ertpsel.  Handle 64bit psel.
1999-08-05 00:12:22 +00:00
Jeff Law 39ba556164 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
selectors for ELF too.
        (selector_table): Add "ltp" and "rtp" selectors.
1999-08-05 00:09:42 +00:00
Mark Mitchell e7c4421855 * elf32-mips.c (_bfd_mips_elf_relocate_section): Tweak HI16/LO16
handling for REL relocations.  And only left-shift R_MIPS26
	relocation addends where necessary.
1999-08-04 16:32:34 +00:00
Alan Modra eecb386cd7 Support for gcc to generate 16-bit i386 code. (.code16gcc) 1999-08-04 10:07:41 +00:00
Mark Mitchell 23b255aadd * elf32-mips.c (mips_elf_next_lo16_addend): Rename to ...
(mips_elf_next_lo16_relocation): Don't compute the addend here.
	Just return the relocation found.
	(mips_elf_relocate_section): Pull the LO16 addend out of the
	section itself when using REL relocations.
1999-08-04 03:52:59 +00:00
Mark Mitchell 3811169e5f * elf32-mips.c (mips_elf_calculate_relocation): Restore
_DYNAMIC_LINK handling and handling of undefined symbols in shared
	libraries.
1999-08-03 16:58:26 +00:00
Ian Lance Taylor 18069efc88 * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
* emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
1999-08-03 16:47:16 +00:00
Ian Lance Taylor 2d14625061 * elf32-ppc.c (ppc_elf_relocate_section): Don't use the relocation
value of a symbol in a SEC_DEBUGGING section.  Warn when doing a
	relocation against a symbol in an input section with no output
	section.  From Daniel Jacobowitz <drow@false.org>.
1999-08-03 16:40:25 +00:00