Commit Graph

17208 Commits

Author SHA1 Message Date
Ian Lance Taylor 6b5af55cea * elflink.c (_bfd_elf_create_linker_section): Only use an existing
section if the flags are compatible.
1996-10-03 22:48:20 +00:00
Ian Lance Taylor 55311d1cf1 * binutils.texi (Target Selection): Document that you can now
specify targets using configuration triplets.
1996-10-03 21:43:00 +00:00
Ian Lance Taylor dee9979493 * configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
	* configure: Rebuild.
	* targmatch.sed: New file; a sed script to build targmatch.h from
	config.bfd.
	* config.bfd: Add #if, #endif, and comments for targmatch.h.
	* targets.c: Include "fnmatch.h".
	(struct targmatch): Define.
	(bfd_target_match): Define by including targmatch.h.
	(bfd_find_target): If the target is not found by name, search for
	it as a configuration triplet.
	* Makefile.in: Rebuild dependencies.
 	(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
	i386dynix.o, m68k4knetbsd.o, and riscix.o.
	(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
	hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
	(HFILES): Add targmatch.h.  Also, alphabetize and reindent.
	(CFILES): Remove i386dynix.c and hp300bsd.c.
	(targmatch.h): New target.
	(do_clean): Remove targmatch.h.

	* configure.in: Add BFD_NEED_DECLARATION(getenv).
	* acconfig.h: Add NEED_DECLARATION_GETENV.
	* configure, config.in: Rebuild.
	* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
	* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
Ian Lance Taylor 6c9370db2a * Makefile.in (ALL_MACHINES): Add mn10200-dis.o, mn10200-opc.o,
mn10300-dis.o, and mn10300-opc.o.
Also add d10v and v850 files, with appropriate sanitization.
1996-10-03 21:17:46 +00:00
Ian Lance Taylor 76f841e600 * config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
.uaxword available even if not OBJ_ELF.
	(md_atof): Remove unused local variable wordP.
1996-10-03 19:16:36 +00:00
Ian Lance Taylor 3fac4887a0 * fnmatch.h, fnmatch.c: Remove (now in libiberty).
* Makefile.in: Rebuild dependencies.
	(CFILES): Remove fnmatch.c.
	(HFILES): Remove fnmatch.h.
	(OFILES): Remove fnmatch.o.
1996-10-03 17:53:25 +00:00
Ian Lance Taylor fa8e5931d8 * fnmatch.h: New file. 1996-10-03 17:45:45 +00:00
Fred Fish 5bb23a95f4 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
SIGTRAMP_END.
	* config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
	Define with dummy pc arg.
	* config/m68k/tm-nbsd.h: Ditto.
	* doc/gdbint.texinfo: Document that SIGTRAMP_START and
	SIGTRAMP_END are macros that take an single argument.
1996-10-03 17:05:00 +00:00
Jeff Law ae1b99e42d Grrr. The mn10200 and mn10300 are _not_ similar enough to easily support
with a single generic configuration.  So break them up into two different
configurations.  See the individual ChangeLogs for additional detail.
1996-10-03 16:42:22 +00:00
Jason Molenda feede9b699 * Makefile.in (mostlyclean): Move config.log to distclean. 1996-10-03 07:16:56 +00:00
Jason Molenda 42b4add910 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean. 1996-10-03 06:58:15 +00:00
Geoffrey Noer 417fe276e3 Wed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com>
* emultmpl/pe.em: increase size of stack reserve to 0x2000000
        (necessary in order to compile parse.c in gcc sources under NT)
1996-10-03 06:55:39 +00:00
Jason Molenda bdec6bdb4b * Makefile.in (mostlyclean): Move config.log to distclean. 1996-10-03 06:40:32 +00:00
Jason Molenda 42ad648437 * Makefile.in (clean): Remove config.log. 1996-10-03 06:38:49 +00:00
Jason Molenda 4c7f3fdef5 * Makefile.in (do_clean): Move config.log to do_distclean. 1996-10-03 06:37:32 +00:00
Jeff Law 0f91d7632c * config/tc-mn10x00.c, config/tc-mn10x00.h: New files
for Matsushita MN10x00 support.
        * configure.in: Recognize mn10x00-*-*
        * configure: Rebuilt.
More Matsushita stuff.
1996-10-03 06:19:06 +00:00
Jeff Law b5bfedbe6c * gas/mn10x00: New directory for Matsushita 10x00 tests.
Keep stubbing out Matsushita stuff.
1996-10-03 06:16:13 +00:00
Jeff Law 0cfa6de41c * configure.in: Add lots of stuff to noconfigdirs for
the mn10x00 targets.
1996-10-03 05:56:42 +00:00
Jeff Law e7c50ceffd * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
MN10x00 processors.
        * disassemble (ARCH_mn10x00): Define.
        (disassembler): Handle bfd_arch_mn10x00.
        * configure.in: Recognize bfd_mn10x00_arch.
        * configure: Rebuilt.
Continue stubbing out for Matsushita work.
1996-10-03 05:31:01 +00:00
Jeff Law 072b27ea5e Add missing copyright. 1996-10-03 04:48:16 +00:00
Jeff Law be9b9d693a * config.sub, configure.in: Add mn10x00 support.
More Matsushita work.
1996-10-03 04:31:40 +00:00
Jeff Law efc2b06463 * cpu-mn10x00.c, elf32-mn10x00.c: New files.
* Makefile.in (ALL_MACHINES): Add cpu-mn10x00.o.
        (BFD32_BACKENDS): Similarly for elf32-mn10x00.o.
        (elf32-mn10x00.o): Add dependencies.
        * archures.c (enum bfd_architecture): Add bfd_arch_mn10x00.
        (bfd_mn10x00_arch): Declare.
        (bfd_archures_list): Add bfd_mn10x00_arch.
        * config.bfd: Add mn10x00-*-*.
        * configure.in: Add bfd_elf32_mn10x00_vec.
        * elf.c (prep_headers): Handle bfd_arch_mn10x00.
        * targets.c (bfd_elf32_mn10x00_vec): Declare.
        (bfd_target_vector): Add bfd_elf32_mn10x00_vec.
        * bfd-in2.h, configure: Rebuilt.
Stubbing out Matsushita support.
1996-10-03 03:56:20 +00:00
Jeff Law 3072af43b0 * mn10x00.h: New file.
Matsushita.
1996-10-03 03:32:51 +00:00
Jeff Law 4b7cbcf90d * common.h (EM_CYGNUS_MN10x00): Define.
Matsushita.
1996-10-03 03:27:52 +00:00
Jeff Law cad8350fd3 * dis-asm.h (print_insn_mn10x00): Declare.
Getting started on Matsushita.
1996-10-03 03:27:10 +00:00
Ian Lance Taylor a0fe6c2dc6 * freebsd.h (N_GET_MAGIC_NET): Don't use ntohl.
(N_GETMID_NET, N_GETFLAG_NET): Likewise.
	(NO_SWAP_MAGIC): Don't define.
	(SWAP_MAGIC): Define.
1996-10-02 20:41:36 +00:00
Ian Lance Taylor 7c328bc7ff Wed Oct 2 15:54:03 1996 Klaus Kaempf <kkaempf@progis.de>
* obj-evax.h: move openvms definitions from here to tc-alpha.c.
	* tc-alpha.c: add support for vms_case_hack like in vax/vms.
	(load_expression): track clobbering of base reg before jmp/jsr.
	(s_alpha_file): pass case_hack flags and source filename via
	symbol table to bfd.
	* tc-alpha.h (TC_CONS_FIX_NEW): define
1996-10-02 19:55:33 +00:00
Ian Lance Taylor 6ffb8ab788 Wed Oct 2 15:52:36 1996 Klaus Kaempf <kkaempf@progis.de>
* make-all.com: Call conf-a-gas, not config-a-gas.
1996-10-02 19:53:12 +00:00
Ian Lance Taylor f57e938fd5 Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Bump version date.
1996-10-02 19:50:19 +00:00
Ian Lance Taylor bf53bd9faa Wed Oct 2 15:46:45 1996 Klaus Kaempf <kkaempf@progis.de>
openVMS/Alpha: Provide filename and case_hack flags via
	symbol table from gas.
	Add case_hack code for symbol output from vax/vms.
	* evax-alpha.c (evax_initialize): Remove filename handling,
	filename is provided via symbol table.
	(evax_get_symtab): Use local symbol count when setting up table.
	* evax-egsd.c (_bfd_evax_slurp_egsd): Print correct name when
	debugging.
	(_bfd_evax_write_egsd): Skip file name symbol.
	* evax-emh.c (get_vms_time_string): Local function now.
	(_bfd_evax_write_emh): Extract source filename and case_hack flags
	from symbol table.
	* evax_write_etir (_bfd_evax_write_etir): Pass all symbol names
	through _bfd_evax_case_hack_symbol.
	* evax-misc.c (hash_string, _bfd_evax_case_hack_symbol): New
	functions.
	(_bfd_evax_basename): Removed.
	(_bfd_get_vms_time_string): Moved to evax-emh.c.
	* evax.h (evax_private_data_struct): Remove filename.
	(flag_hash_long_names, flag_show_after_trunc,
	flag_no_hash_mixed_case, vms_name_mapping): New flags for
	vms_case_hack.
1996-10-02 19:49:01 +00:00
Ian Lance Taylor 1259da3e77 * sparc.c (find_call): Align p_lowpc to avoid bus error. 1996-10-02 19:23:38 +00:00
Ian Lance Taylor 30e23a1c92 * lexsup.c (ld_options): Fix typo in --rpath-link description.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest
	--rpath if a needed library is not found.
1996-10-02 18:50:32 +00:00
Ian Lance Taylor 263d4a626b * cofflink.c (_bfd_coff_link_input_bfd): Don't crash if there is
no hash table entry for a global symbol.
1996-10-02 16:02:56 +00:00
Jason Molenda 38e4433bfb * Makefile.in (clean): Remove config.log. 1996-10-02 07:57:18 +00:00
Ian Lance Taylor b61364cc71 * ld.texinfo (Options): Give more detail on -l option.
PR 10418.
1996-10-01 22:53:38 +00:00
Ian Lance Taylor 4fc7ca82bf * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that
elf.sc does, so that glibc works better.
1996-10-01 22:31:27 +00:00
Ian Lance Taylor 8dd53b5cc8 * cofflink.c (coff_link_add_symbols): Don't override a meaningful
symbol type with T_NULL.  Warn if symbol type changes.  Based on
	patch from Philippe De Muyter <phdm@labauto1.ulb.ac.be>.
1996-10-01 21:57:47 +00:00
Ian Lance Taylor a69e5977e2 * read.c (s_macro): Warn if a macro has the same name as a
pseudo-op.
	(s_space): In m68k MRI mode, align to a word boundary.
	* macro.c (define_macro): Add namep parameter.  Change all
	callers.
	* macro.h (define_macro): Update declaration.
1996-10-01 21:51:15 +00:00
Ian Lance Taylor 6e9efeaf72 Tue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com>
* configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*.
1996-10-01 20:19:05 +00:00
Ian Lance Taylor fed13a5ec9 Tue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com>
* configure.in (mips-*-rtems*): New target, like mips-*-elf*.
	* configure: Rebuild.
1996-10-01 20:17:23 +00:00
Ian Lance Taylor 161ac690ee Tue Oct 1 16:14:22 1996 Joel Sherrill <joel@oarcorp.com>
* config.bfd (mips*-*-rtems*): New target, like mips*-*-elf*.
1996-10-01 20:15:48 +00:00
Ian Lance Taylor 50622dea73 * gprof.c (usage): Print bug report address.
(main): Change version printing to match current GNU standards.
1996-10-01 19:58:36 +00:00
Ian Lance Taylor 673cb062e9 update copyright 1996-10-01 19:55:02 +00:00
Ian Lance Taylor 3b1e54df46 * lib/ld.exp (default_ld_version): Fix for current version
printing.
1996-10-01 19:53:02 +00:00
Ian Lance Taylor 9cfdc91a9a * ldver.c (ld_program_version): New variable.
(ldversion): Use it.
	* ldver.h (ld_program_version): Declare.
	* lexsup.c (ld_options): Handle --dll-verbose like --verbose, not
	--version.  Change --version handling to match current GNU
	standards.
	(help): Print bug report address.
1996-10-01 19:53:01 +00:00
Ian Lance Taylor 819a5edafd * lib/gas-defs.exp (gas_version): Fix for current version
printing.
1996-10-01 19:39:21 +00:00
Ian Lance Taylor bfc94743ea * as.c (show_usage): Print bug report address.
(parse_args): Change version printing to match current GNU
	standards.
	* gasp.c (show_usage): Print bug report address.
	(main): Change version printing to match current GNU standards.
1996-10-01 19:31:06 +00:00
Ian Lance Taylor 01b1f5eb29 * lib/utils-lib.exp (binutil_version): Fix for current version
printing.
1996-10-01 19:11:13 +00:00
Ian Lance Taylor 7f924d5516 * version.c (print_version): New function.
* bucomm.h (print_version): Declare.
	* ar.c (program_version): Don't declare.
	(do_show_version): Remove.
	(usage): Add help parameter.  Print bug report address.
	(main): Set is_ranlib at start.  Check for --help and --version.
	Call print_version, not do_show_version.
	* nlmconv.c (program_version): Don't declare.
	(main): Call print_version.
	(show_usage): Print bug report address.
	* nm.c (program_version, print_version): Don't declare.
	(usage): Print bug report address.
	(main): Call print_version.
	* objcopy.c (program_version): Don't declare.
	(copy_usage): Print bug report address.
	(strip_usage): Likewise.
	(strip_main): Call print_version.
	(copy_main): Likewise.
	* objdump.c (program_version): Don't declare.
	(usage): Print bug report address.
	(main): Call print_version.
	* size.c (program_version): Don't declare.
	(usage): Print bug report address.
	(main): Call print_version.
	* strings.c (program_version): Don't declare.
	(main): Call print_version.
	(usage): Print bug report address.
	* Makefile.in: Update dependencies.
1996-10-01 19:10:40 +00:00
Ian Lance Taylor 0b810a6ee0 * config/tc-m68k.c (init_table): Correct access control unit
register numbers.  From Ken Rose <rose@netcom.com>.
1996-10-01 17:59:56 +00:00