external/binutils.git
28 years ago Patches from Geoffrey Noer <noer@cygnus.com>:
Ian Lance Taylor [Tue, 8 Oct 1996 14:41:43 +0000 (14:41 +0000)]
Patches from Geoffrey Noer <noer@cygnus.com>:
* configure.in: If configuring for newlib, pass --with-newlib to
subdirectories.
* Makefile.in (CC_FOR_TARGET): If winsup/Makefile exists, pass a
-Bnewlib/ and -Lwinsup to gcc.
(CXX_FOR_TARGET): Likewise.

28 years ago * config/tc-mn10300.h (pre_defined_registers) Remove.
Jeff Law [Mon, 7 Oct 1996 22:59:04 +0000 (22:59 +0000)]
    * config/tc-mn10300.h (pre_defined_registers) Remove.
        (system_registers, cc_names): Likewise.
        (address_registers, data_registers, other_registers): New register
        arrays.
        (register_name, system_register_name, cc_name): Remove.
        (mn10300_reloc_prefix): Likewise.
        (data_register_name): New function.
        (address_register_name, other_register_name): Likewise.
        (md_assemble): Rough cut at parsing operands.  Remove lots of
        unwanted code.
        (md_apply_fix3): Disable for now.
Checkpointing today's Matsushita work.

28 years agoDummy .Sanitize files. Should also fix snapshot problems.
Jeff Law [Mon, 7 Oct 1996 22:55:13 +0000 (22:55 +0000)]
Dummy .Sanitize files.  Should also fix snapshot problems.

28 years ago * mn10300.h (mn10300_opcode): Add "format" field.
Jeff Law [Mon, 7 Oct 1996 22:53:27 +0000 (22:53 +0000)]
    * mn10300.h (mn10300_opcode): Add "format" field.
        (MN10300_OPERAND_*): Define.
Checkpointing today's Matsushita work.

28 years ago * mn10300-opc.c (FMT_XX): Renumber starting at one.
Jeff Law [Mon, 7 Oct 1996 22:52:18 +0000 (22:52 +0000)]
    * mn10300-opc.c (FMT_XX): Renumber starting at one.
        (mn10300_operands): Rough cut.  Enough to parse "mov" instructions
        at this time.
        (mn10300_opcodes): Break opcode format out into its own field.
        Update many operand fields to deal with signed vs unsigned
        issues.  Fix one or two typos in the "mov" instruction
        opcode, mask and/or operand fields.
Checkpointing today's work.  Matsushita.

28 years ago * ld.texinfo (Options): Mention .so extensions for shared
Ian Lance Taylor [Mon, 7 Oct 1996 21:30:26 +0000 (21:30 +0000)]
* ld.texinfo (Options): Mention .so extensions for shared
libraries.

28 years ago * buildsym.c (finish_block): Change innerblock_anon_complaint to
Fred Fish [Mon, 7 Oct 1996 17:58:56 +0000 (17:58 +0000)]
* buildsym.c (finish_block): Change innerblock_anon_complaint to
print the addresses as part of the complaint.  Add a complaint for
cases where the block end address is smaller than the block start
address, in case any such conditions slip through our fixup mechanism.
* symmisc.c (dump_symtab): Only print blockvector for primary
  symtabs, to avoid massive duplication of output due to secondary
  symtabs that point to same blockvector.  Also do some minor
formatting tweaks.

28 years ago Replace header_files global by per-objfile field.
Per Bothner [Mon, 7 Oct 1996 17:45:29 +0000 (17:45 +0000)]
Replace header_files global by per-objfile field.
* gdb-stabs.h (struct dbx_symfile_info):  Add fields header_files,
n_header_files, n_allocated_header_files.
* stabsread.h (header_files, n_header_files, n_allocated_header_files):
Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
N_ALLOCATED_HEADER_FILES.
* dbxread.c (dbx_symfile_finish):  Free HEADER_FILES.
(free_header_files, init_header-files):  Don't free/init headerfiles.
(various functions):  Use macros instead of header_files globals.
* stabsread.c (various functions):  Likewise.

28 years agoSun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Mon, 7 Oct 1996 17:18:24 +0000 (17:18 +0000)]
Sun Oct  6 22:43:06 1996  Jason Merrill  <jason@yorick.cygnus.com>

* dwarf2read.c (read_tag_reference_type): New fn.
(read_type_die): Call it.
(dwarf_attr): Also look in the DIEs referred to by specification
  or abstract_origin attributes.

28 years ago * archive.c (do_slurp_coff_armap): Only treat archive as little
Ian Lance Taylor [Mon, 7 Oct 1996 15:45:44 +0000 (15:45 +0000)]
* archive.c (do_slurp_coff_armap): Only treat archive as little
endian for i960 COFF.

28 years agoMon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 7 Oct 1996 15:41:56 +0000 (15:41 +0000)]
Mon Oct  7 11:39:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k-opc.c (plusha): Prefer encoding for m68040up, in case
m68851 wasn't reset.

28 years agoMon Oct 7 11:38:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 7 Oct 1996 15:40:59 +0000 (15:40 +0000)]
Mon Oct  7 11:38:34 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.c (select_control_regs): New function, extracted
out of m68k_init_after_args.
(m68k_init_after_args): Use it.
(mri_chip): Use it here as well to update set of allowed control
regs for movec.

28 years ago * config/obj-elf.c (elf_begin): New function.
Ian Lance Taylor [Mon, 7 Oct 1996 15:25:58 +0000 (15:25 +0000)]
* config/obj-elf.c (elf_begin): New function.
(obj_elf_section): Add the section symbol to the symbol table.
* config/obj-elf.h (obj_begin): Define.
(elf_begin): Declare.
* as.c (perform_an_assembly_pass): Call obj_begin if it is
defined.

28 years ago * Makefile.in (ETC_SUPPORT): Add configure.
Ian Lance Taylor [Mon, 7 Oct 1996 14:59:56 +0000 (14:59 +0000)]
* Makefile.in (ETC_SUPPORT): Add configure.

28 years agoSun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Mon, 7 Oct 1996 05:36:57 +0000 (05:36 +0000)]
Sun Oct  6 22:35:36 1996  Jason Merrill  <jason@yorick.cygnus.com>

        * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections.

28 years ago * rldefs.h: On Linux, include <termios.h> to fix compile error
Mark Alexander [Sat, 5 Oct 1996 18:27:39 +0000 (18:27 +0000)]
* rldefs.h: On Linux, include <termios.h> to fix compile error
in <termcap.h>.

28 years ago * coffcode.h (coff_compute_section_file_positions): Adjust sofar
Ian Lance Taylor [Fri, 4 Oct 1996 22:52:58 +0000 (22:52 +0000)]
* coffcode.h (coff_compute_section_file_positions): Adjust sofar
  by the change in size of the section when EXEC_P is not set.

28 years ago * scripttempl/m68kcoff.sc: Only set the address of .text if
Ian Lance Taylor [Fri, 4 Oct 1996 22:49:57 +0000 (22:49 +0000)]
* scripttempl/m68kcoff.sc: Only set the address of .text if
RELOCATING.

28 years ago * coff-m68k.c (coff_rtype_to_howto): Define if not defined.
Ian Lance Taylor [Fri, 4 Oct 1996 22:40:55 +0000 (22:40 +0000)]
* coff-m68k.c (coff_rtype_to_howto): Define if not defined.
(m68kcoff_rtype_to_howto): New static function.
* cf-m68klynx.c (coff_m68k_lynx_rtype_to_howto): Add the section
VMA to the addend for a PC relative reloc.

28 years ago * config/obj-coff.c (fixup_segment): Subtract the section address
Ian Lance Taylor [Fri, 4 Oct 1996 22:38:44 +0000 (22:38 +0000)]
* config/obj-coff.c (fixup_segment): Subtract the section address
from a PC relative reloc if TC_M68K.

28 years ago * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
Jeff Law [Fri, 4 Oct 1996 22:02:43 +0000 (22:02 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
        all opcodes.  Very rough cut at operands for all opcodes.
Matsushita.

28 years ago * dep-in.sed: Rework backslash loop a bit to avoid bug in sed on
Ian Lance Taylor [Fri, 4 Oct 1996 20:24:34 +0000 (20:24 +0000)]
* dep-in.sed: Rework backslash loop a bit to avoid bug in sed on
HP/UX 10.20.
* Makefile.in: Rebuild dependencies.

28 years agouse config/mh-dgux386 for i[345]86-dg-dgux host configuration file
Angela Marie Thomas [Fri, 4 Oct 1996 19:25:09 +0000 (19:25 +0000)]
use config/mh-dgux386 for i[345]86-dg-dgux host configuration file

28 years ago * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
Jeff Law [Fri, 4 Oct 1996 19:20:19 +0000 (19:20 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
        opcode table.
Checkpointint 10300 work.

28 years ago * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define.
David Edelsohn [Fri, 4 Oct 1996 18:01:41 +0000 (18:01 +0000)]
* emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define.
* scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default.
(OUTPUT_FORMAT): Support bi-endian targets.

28 years ago * dep-in.sed: Remove ../bfd/sysdep.h, since it will appear when
Ian Lance Taylor [Fri, 4 Oct 1996 17:50:47 +0000 (17:50 +0000)]
* dep-in.sed: Remove ../bfd/sysdep.h, since it will appear when
som.h is included.

28 years ago * Makefile.in: Remove explicit dependencies for mn10200 and
Jeff Law [Fri, 4 Oct 1996 17:44:55 +0000 (17:44 +0000)]
    * Makefile.in: Remove explicit dependencies for mn10200 and
        mn10300 files.
        (ALL_MACHINE_CFILES): Add cpu-mn10200.c and cpu-mn10300.c.
        (BFD32_BACKENDS_CFILES): Add elf32-mn10200.c and elf32-mn10300.c
        (dependencies): Rebuilt.

28 years ago * cofflink.c (coff_link_add_symbols): Set obj_coff_keep_syms
Ian Lance Taylor [Thu, 3 Oct 1996 23:17:36 +0000 (23:17 +0000)]
* cofflink.c (coff_link_add_symbols): Set obj_coff_keep_syms
during this function.

28 years ago * elflink.c (_bfd_elf_create_linker_section): Only use an existing
Ian Lance Taylor [Thu, 3 Oct 1996 22:48:20 +0000 (22:48 +0000)]
* elflink.c (_bfd_elf_create_linker_section): Only use an existing
section if the flags are compatible.

28 years ago * binutils.texi (Target Selection): Document that you can now
Ian Lance Taylor [Thu, 3 Oct 1996 21:43:00 +0000 (21:43 +0000)]
* binutils.texi (Target Selection): Document that you can now
specify targets using configuration triplets.

28 years ago * configure.in: Add havevecs, and put it in tdefaults.
Ian Lance Taylor [Thu, 3 Oct 1996 21:36:08 +0000 (21:36 +0000)]
* 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.

28 years ago * Makefile.in (ALL_MACHINES): Add mn10200-dis.o, mn10200-opc.o,
Ian Lance Taylor [Thu, 3 Oct 1996 21:17:46 +0000 (21:17 +0000)]
* 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.

28 years ago * config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
Ian Lance Taylor [Thu, 3 Oct 1996 19:16:36 +0000 (19:16 +0000)]
* 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.

28 years ago * fnmatch.h, fnmatch.c: Remove (now in libiberty).
Ian Lance Taylor [Thu, 3 Oct 1996 17:53:25 +0000 (17:53 +0000)]
* fnmatch.h, fnmatch.c: Remove (now in libiberty).
* Makefile.in: Rebuild dependencies.
(CFILES): Remove fnmatch.c.
(HFILES): Remove fnmatch.h.
(OFILES): Remove fnmatch.o.

28 years ago * fnmatch.h: New file.
Ian Lance Taylor [Thu, 3 Oct 1996 17:45:45 +0000 (17:45 +0000)]
* fnmatch.h: New file.

28 years ago * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
Fred Fish [Thu, 3 Oct 1996 17:05:00 +0000 (17:05 +0000)]
* 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.

28 years agoGrrr. The mn10200 and mn10300 are _not_ similar enough to easily support
Jeff Law [Thu, 3 Oct 1996 16:42:22 +0000 (16:42 +0000)]
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.

28 years ago * Makefile.in (mostlyclean): Move config.log to distclean.
Jason Molenda [Thu, 3 Oct 1996 07:16:56 +0000 (07:16 +0000)]
    * Makefile.in (mostlyclean): Move config.log to distclean.

28 years ago * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
Jason Molenda [Thu, 3 Oct 1996 06:58:15 +0000 (06:58 +0000)]
    * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.

28 years agoWed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 3 Oct 1996 06:55:39 +0000 (06:55 +0000)]
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)

28 years ago * Makefile.in (mostlyclean): Move config.log to distclean.
Jason Molenda [Thu, 3 Oct 1996 06:40:32 +0000 (06:40 +0000)]
    * Makefile.in (mostlyclean): Move config.log to distclean.

28 years ago * Makefile.in (clean): Remove config.log.
Jason Molenda [Thu, 3 Oct 1996 06:38:49 +0000 (06:38 +0000)]
    * Makefile.in (clean): Remove config.log.

28 years ago * Makefile.in (do_clean): Move config.log to do_distclean.
Jason Molenda [Thu, 3 Oct 1996 06:37:32 +0000 (06:37 +0000)]
    * Makefile.in (do_clean): Move config.log to do_distclean.

28 years ago * config/tc-mn10x00.c, config/tc-mn10x00.h: New files
Jeff Law [Thu, 3 Oct 1996 06:19:06 +0000 (06:19 +0000)]
    * config/tc-mn10x00.c, config/tc-mn10x00.h: New files
        for Matsushita MN10x00 support.
        * configure.in: Recognize mn10x00-*-*
        * configure: Rebuilt.
More Matsushita stuff.

28 years ago * gas/mn10x00: New directory for Matsushita 10x00 tests.
Jeff Law [Thu, 3 Oct 1996 06:16:13 +0000 (06:16 +0000)]
    * gas/mn10x00: New directory for Matsushita 10x00 tests.
Keep stubbing out Matsushita stuff.

28 years ago * configure.in: Add lots of stuff to noconfigdirs for
Jeff Law [Thu, 3 Oct 1996 05:56:42 +0000 (05:56 +0000)]
    * configure.in: Add lots of stuff to noconfigdirs for
        the mn10x00 targets.

28 years ago * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
Jeff Law [Thu, 3 Oct 1996 05:31:01 +0000 (05:31 +0000)]
    * 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.

28 years agoAdd missing copyright.
Jeff Law [Thu, 3 Oct 1996 04:48:16 +0000 (04:48 +0000)]
Add missing copyright.

28 years ago * config.sub, configure.in: Add mn10x00 support.
Jeff Law [Thu, 3 Oct 1996 04:31:40 +0000 (04:31 +0000)]
    * config.sub, configure.in: Add mn10x00 support.
More Matsushita work.

28 years ago * cpu-mn10x00.c, elf32-mn10x00.c: New files.
Jeff Law [Thu, 3 Oct 1996 03:56:20 +0000 (03:56 +0000)]
    * 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.

28 years ago * mn10x00.h: New file.
Jeff Law [Thu, 3 Oct 1996 03:32:51 +0000 (03:32 +0000)]
    * mn10x00.h: New file.
Matsushita.

28 years ago * common.h (EM_CYGNUS_MN10x00): Define.
Jeff Law [Thu, 3 Oct 1996 03:27:52 +0000 (03:27 +0000)]
    * common.h (EM_CYGNUS_MN10x00): Define.
Matsushita.

28 years ago * dis-asm.h (print_insn_mn10x00): Declare.
Jeff Law [Thu, 3 Oct 1996 03:27:10 +0000 (03:27 +0000)]
    * dis-asm.h (print_insn_mn10x00): Declare.
Getting started on Matsushita.

28 years ago * freebsd.h (N_GET_MAGIC_NET): Don't use ntohl.
Ian Lance Taylor [Wed, 2 Oct 1996 20:41:36 +0000 (20:41 +0000)]
* 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.

28 years agoWed Oct 2 15:54:03 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Wed, 2 Oct 1996 19:55:33 +0000 (19:55 +0000)]
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

28 years agoWed Oct 2 15:52:36 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Wed, 2 Oct 1996 19:53:12 +0000 (19:53 +0000)]
Wed Oct  2 15:52:36 1996  Klaus Kaempf  <kkaempf@progis.de>

* make-all.com: Call conf-a-gas, not config-a-gas.

28 years agoWed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Wed, 2 Oct 1996 19:50:19 +0000 (19:50 +0000)]
Wed Oct  2 15:49:16 1996  Klaus Kaempf  <kkaempf@progis.de>

* makefile.vms: Bump version date.

28 years agoWed Oct 2 15:46:45 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Wed, 2 Oct 1996 19:49:01 +0000 (19:49 +0000)]
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.

28 years ago * sparc.c (find_call): Align p_lowpc to avoid bus error.
Ian Lance Taylor [Wed, 2 Oct 1996 19:23:38 +0000 (19:23 +0000)]
* sparc.c (find_call): Align p_lowpc to avoid bus error.

28 years ago * lexsup.c (ld_options): Fix typo in --rpath-link description.
Ian Lance Taylor [Wed, 2 Oct 1996 18:50:32 +0000 (18:50 +0000)]
* 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.

28 years ago * cofflink.c (_bfd_coff_link_input_bfd): Don't crash if there is
Ian Lance Taylor [Wed, 2 Oct 1996 16:02:56 +0000 (16:02 +0000)]
* cofflink.c (_bfd_coff_link_input_bfd): Don't crash if there is
no hash table entry for a global symbol.

28 years ago * Makefile.in (clean): Remove config.log.
Jason Molenda [Wed, 2 Oct 1996 07:57:18 +0000 (07:57 +0000)]
    * Makefile.in (clean): Remove config.log.

28 years ago * ld.texinfo (Options): Give more detail on -l option.
Ian Lance Taylor [Tue, 1 Oct 1996 22:53:38 +0000 (22:53 +0000)]
* ld.texinfo (Options): Give more detail on -l option.
PR 10418.

28 years ago * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that
Ian Lance Taylor [Tue, 1 Oct 1996 22:31:27 +0000 (22:31 +0000)]
* scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that
elf.sc does, so that glibc works better.

28 years ago * cofflink.c (coff_link_add_symbols): Don't override a meaningful
Ian Lance Taylor [Tue, 1 Oct 1996 21:57:47 +0000 (21:57 +0000)]
* 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>.

28 years ago * read.c (s_macro): Warn if a macro has the same name as a
Ian Lance Taylor [Tue, 1 Oct 1996 21:51:15 +0000 (21:51 +0000)]
* 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.

28 years agoTue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Tue, 1 Oct 1996 20:19:05 +0000 (20:19 +0000)]
Tue Oct  1 16:17:33 1996  Joel Sherrill  <joel@oarcorp.com>

* configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*.

28 years agoTue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Tue, 1 Oct 1996 20:17:23 +0000 (20:17 +0000)]
Tue Oct  1 16:16:01 1996  Joel Sherrill  <joel@oarcorp.com>

* configure.in (mips-*-rtems*): New target, like mips-*-elf*.
* configure: Rebuild.

28 years agoTue Oct 1 16:14:22 1996 Joel Sherrill <joel@oarcorp.com>
Ian Lance Taylor [Tue, 1 Oct 1996 20:15:48 +0000 (20:15 +0000)]
Tue Oct  1 16:14:22 1996  Joel Sherrill  <joel@oarcorp.com>

* config.bfd (mips*-*-rtems*): New target, like mips*-*-elf*.

28 years ago * gprof.c (usage): Print bug report address.
Ian Lance Taylor [Tue, 1 Oct 1996 19:58:36 +0000 (19:58 +0000)]
* gprof.c (usage): Print bug report address.
(main): Change version printing to match current GNU standards.

28 years agoupdate copyright
Ian Lance Taylor [Tue, 1 Oct 1996 19:55:02 +0000 (19:55 +0000)]
update copyright

28 years ago * lib/ld.exp (default_ld_version): Fix for current version
Ian Lance Taylor [Tue, 1 Oct 1996 19:53:02 +0000 (19:53 +0000)]
* lib/ld.exp (default_ld_version): Fix for current version
printing.

28 years ago * ldver.c (ld_program_version): New variable.
Ian Lance Taylor [Tue, 1 Oct 1996 19:53:01 +0000 (19:53 +0000)]
* 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.

28 years ago * lib/gas-defs.exp (gas_version): Fix for current version
Ian Lance Taylor [Tue, 1 Oct 1996 19:39:21 +0000 (19:39 +0000)]
* lib/gas-defs.exp (gas_version): Fix for current version
printing.

28 years ago * as.c (show_usage): Print bug report address.
Ian Lance Taylor [Tue, 1 Oct 1996 19:31:06 +0000 (19:31 +0000)]
* 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.

28 years ago * lib/utils-lib.exp (binutil_version): Fix for current version
Ian Lance Taylor [Tue, 1 Oct 1996 19:11:13 +0000 (19:11 +0000)]
* lib/utils-lib.exp (binutil_version): Fix for current version
printing.

28 years ago * version.c (print_version): New function.
Ian Lance Taylor [Tue, 1 Oct 1996 19:10:40 +0000 (19:10 +0000)]
* 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.

28 years ago * config/tc-m68k.c (init_table): Correct access control unit
Ian Lance Taylor [Tue, 1 Oct 1996 17:59:56 +0000 (17:59 +0000)]
* config/tc-m68k.c (init_table): Correct access control unit
register numbers.  From Ken Rose <rose@netcom.com>.

28 years ago * config/tc-alpha.c: Add some static function prototypes.
Ian Lance Taylor [Tue, 1 Oct 1996 16:41:19 +0000 (16:41 +0000)]
* config/tc-alpha.c: Add some static function prototypes.
  (alpha_macros): Move to top of file.  Make static.
(alpha_num_macros): Move to top of file.

28 years ago * tc-v850.h: Define LOCAL_LABEL to recognise _.L_* symbols
Stu Grossman [Tue, 1 Oct 1996 16:38:44 +0000 (16:38 +0000)]
* tc-v850.h:  Define LOCAL_LABEL to recognise _.L_* symbols
generated by DWARF.

28 years ago * elflink.h (elf_link_add_object_symbols): Only put a symbol from
Ian Lance Taylor [Tue, 1 Oct 1996 16:33:01 +0000 (16:33 +0000)]
* elflink.h (elf_link_add_object_symbols): Only put a symbol from
a dynamic object in the dynamic symbol table if it is referenced
or defined by a regular object.
PR 10711.

28 years ago * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
Ian Lance Taylor [Tue, 1 Oct 1996 14:50:19 +0000 (14:50 +0000)]
* i386-dis.c (op_rtn): Change to be a pointer.  Adjust uses
accordingly.  Don't declare functions using op_rtn.
Remove ANSI C constructs.

28 years agoFix a stutter
Stan Shebs [Tue, 1 Oct 1996 05:15:10 +0000 (05:15 +0000)]
Fix a stutter
Fix a stutter

28 years ago * mpw-mh-mpw (EXTRALIBS_PPC_XCOFF): New, was EXTRALIBS_PPC.
Stan Shebs [Tue, 1 Oct 1996 05:09:00 +0000 (05:09 +0000)]
* mpw-mh-mpw (EXTRALIBS_PPC_XCOFF): New, was EXTRALIBS_PPC.
(EXTRALIBS_PPC): Use shared libraries instead of xcoff.

28 years ago * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
Fred Fish [Tue, 1 Oct 1996 03:29:45 +0000 (03:29 +0000)]
* gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
"p func1 ()" and note that rests of tests are skipped.
* gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
  setup_xfails for "print func2::coremaker_local".
Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
* gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
affected by the previous run test.
* gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
"print array () ubyte (foo)" and "print/x array () byte (\$i)"
* gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
"pass int powerset tuple" and "pass modeless int powerset tuple".
* gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
"real write 4" and "real write 8".
* gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
  setup_xfails for "print vs1 after tuple assign 2",
"print \$i after tuple assign 2", and
"print vs2 after tuple assign 2".
* lib/gdb.exp (gdb_test): When a gdb aborts, print a more
meaningful error message and return -1 so the caller can
suppress further tests and avoid a cascade of errors.

28 years ago * defs.h: Remove define of PRIVATE_XMALLOC.
Fred Fish [Tue, 1 Oct 1996 03:04:13 +0000 (03:04 +0000)]
* defs.h: Remove define of PRIVATE_XMALLOC.

28 years ago * libiberty.h: Remove #ifndef PRIVATE_XMALLOC.
Fred Fish [Tue, 1 Oct 1996 03:01:33 +0000 (03:01 +0000)]
* libiberty.h: Remove #ifndef PRIVATE_XMALLOC.

28 years agoTue Oct 1 01:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Tue, 1 Oct 1996 00:33:00 +0000 (00:33 +0000)]
Tue Oct  1 01:28:41 1996  James G. Smith  <jsmith@cygnus.co.uk>

* configure.in (noconfigdirs): Don't build libgloss for arm-coff
  targets.

28 years ago * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
Stu Grossman [Mon, 30 Sep 1996 22:42:23 +0000 (22:42 +0000)]
* config/v850/tm-v850.h:  Use distinct register for PC, not EIPC.

28 years agoAdd mpw-install to keep_these_too
Stan Shebs [Mon, 30 Sep 1996 21:41:07 +0000 (21:41 +0000)]
Add mpw-install to keep_these_too

28 years agom32r [work in progress]
David Edelsohn [Mon, 30 Sep 1996 21:10:54 +0000 (21:10 +0000)]
m32r [work in progress]

28 years agom32r support
David Edelsohn [Mon, 30 Sep 1996 19:18:04 +0000 (19:18 +0000)]
m32r support

28 years ago * Makefile.in (em32relf.c): Add rule for.
David Edelsohn [Mon, 30 Sep 1996 19:16:26 +0000 (19:16 +0000)]
* Makefile.in (em32relf.c): Add rule for.
* configure.tgt (m32r-*-*): Recognize.
* emulparams/m32relf.sh: New file.

28 years ago * top.c (execute_control_command): Free values from while_control
Jeff Law [Mon, 30 Sep 1996 17:16:35 +0000 (17:16 +0000)]
    * top.c (execute_control_command):  Free values from while_control
        and if_control conditions after evaluation to avoid storage leaks.
        From Peter Schauer.
Fixes 10442.

28 years ago * gas/sparc/splet.d: Fix typo in cpusha result.
David Edelsohn [Sun, 29 Sep 1996 14:57:04 +0000 (14:57 +0000)]
* gas/sparc/splet.d: Fix typo in cpusha result.

28 years agoMake sanitize-v850 lines into comments and rebuild configure
Fred Fish [Sat, 28 Sep 1996 15:22:09 +0000 (15:22 +0000)]
Make sanitize-v850 lines into comments and rebuild configure

28 years agoRemade configure, which appears to have gotten out of sync
Fred Fish [Sat, 28 Sep 1996 15:14:27 +0000 (15:14 +0000)]
Remade configure, which appears to have gotten out of sync
with the current files it is built from.

28 years ago * gencode.c (write_opcodes): Output hex values for opcode mask
Stu Grossman [Sat, 28 Sep 1996 01:38:45 +0000 (01:38 +0000)]
* gencode.c (write_opcodes):  Output hex values for opcode mask
and patterns.
* interp.c (sim_resume):  Save and restore PC from the appropriate
register.
* (sim_fetch_register sim_store_register):  Fix byte-order problem
with reading and writing registers.
* simops.c (OP_FFFF):  Implement pseudo-breakpoint insn.

28 years agoSanitize for v850.
Stu Grossman [Sat, 28 Sep 1996 01:23:45 +0000 (01:23 +0000)]
Sanitize for v850.

28 years agoSanitize v850 shit.
Stu Grossman [Sat, 28 Sep 1996 01:16:06 +0000 (01:16 +0000)]
Sanitize v850 shit.