binutils-gdb.git
28 years ago * elflink.h (elf_bfd_final_link): Don't output initial dummy
Ian Lance Taylor [Wed, 31 Jan 1996 21:22:02 +0000 (21:22 +0000)]
* elflink.h (elf_bfd_final_link): Don't output initial dummy
symbol or section symbols if stripping all symbols and this is not
a relocateable link.  Don't output the symbol string table if
there are no symbols.
(elf_link_flush_output_syms): Don't do anything if there are no
symbols to flush.

28 years ago * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
Fred Fish [Wed, 31 Jan 1996 20:35:51 +0000 (20:35 +0000)]
* config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
Define to what should be reasonable values.  However, apparently
a bug in linux mmap prevents mapped symbol tables from working.

28 years agoWed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 19:36:20 +0000 (19:36 +0000)]
Wed Jan 31 14:34:23 1996  Richard Henderson  <rth@tamu.edu>

* configure.tgt (m68*-apple-aux*): New target.
* emulparams/m68kaux.sh: New file.
* scripttempl/m68kaux.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add em68kaux.o.
(em68kaux.c): New target.

28 years agoWed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 19:31:29 +0000 (19:31 +0000)]
Wed Jan 31 14:03:17 1996  Richard Henderson  <rth@tamu.edu>

* config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
* doc/c-m68k.texi: Document .extend and .ldouble.

28 years agoWed Jan 31 14:17:10 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 19:18:19 +0000 (19:18 +0000)]
Wed Jan 31 14:17:10 1996  Richard Henderson  <rth@tamu.edu>

* config.guess, config.sub: Recognize A/UX.

28 years agoWed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 19:06:17 +0000 (19:06 +0000)]
Wed Jan 31 14:03:17 1996  Richard Henderson  <rth@tamu.edu>

* configure.in (m68*-apple-aux*): New target.
* config/te-aux.h: New file.
* config/obj-coff.c (compare_external_relocs): New static function
if TE_AUX.
(do_relocs_for): Sort relocs if TE_AUX.
(fixup_segment): If TE_AUX, store common symbol value in segment.
* config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.

28 years ago * config.sub: Merge with gcc/config.sub.
Ian Lance Taylor [Wed, 31 Jan 1996 18:52:30 +0000 (18:52 +0000)]
* config.sub: Merge with gcc/config.sub.

28 years agoWed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 18:24:21 +0000 (18:24 +0000)]
Wed Jan 31 13:22:03 1996  Richard Henderson  <rth@tamu.edu>

* Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.

28 years agoWed Jan 31 12:55:49 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 18:17:12 +0000 (18:17 +0000)]
Wed Jan 31 12:55:49 1996  Richard Henderson  <rth@tamu.edu>

* coff-aux.c: New file.
* hosts/m68kaux.h: New file.
* config.bfd (m68*-apple-aux*): New target.
* configure.in (m68*-apple-aux*): New native host.
(m68kaux_coff_vec): New vector.
* configure: Rebuild.
* targets.c (m68kaux_coff_vec): Declare.
* coffcode.h (bfd_coff_backend_data): Add field
_bfd_coff_link_add_one_symbol.
(bfd_coff_link_add_one_symbol): Define.
(compare_arelent_ptr): New static function if TARG_AUX.
(coff_write_relocs): If TARG_AUX, sort the relocs.
(coff_write_object_contents): Set A/UX aouthdr magic number.
(coff_link_add_one_symbol): Define if not defined.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* cofflink.c (coff_link_add_symbols): Call
bfd_coff_link_add_one_symbol rather than
_bfd_generic_link_add_one_symbol.
* coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add coff-aux.o.
(BFD32_BACKENDS_CFILES): Add coff-aux.c.

28 years agoWed Jan 31 13:11:54 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Wed, 31 Jan 1996 18:12:58 +0000 (18:12 +0000)]
Wed Jan 31 13:11:54 1996  Richard Henderson  <rth@tamu.edu>

* aux.h: New file.
* internal.h, m68k.h: Protect against multiple inclusion.

28 years ago * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
Ian Lance Taylor [Wed, 31 Jan 1996 17:28:44 +0000 (17:28 +0000)]
* config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
BSF_FUNCTION.
(s_cpload): Set BSF_OBJECT for _gp_disp symbol.
* read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
symbol.
* ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
(ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
an undefined symbol and the size of a function symbol.
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
for all common symbols.

28 years agoWed Jan 31 11:37:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 31 Jan 1996 16:38:20 +0000 (16:38 +0000)]
Wed Jan 31 11:37:46 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c (elf_m68k_relocate_section): Fix R_68K_GOT*
relocation; ignore addend with R_68K_{GOT,PLT}*O relocation.

28 years ago * interp.c (LoadMemory): Enclose text following #endif in /* */.
Fred Fish [Wed, 31 Jan 1996 02:36:07 +0000 (02:36 +0000)]
* interp.c (LoadMemory): Enclose text following #endif in /* */.
* support.h: Remove superfluous "1" from #if.
* support.h (CHECKSIM): Remove stray 'a' at end of line.

28 years ago * defs.h (errno.h>: Move #include closer to head of file to solve
Fred Fish [Wed, 31 Jan 1996 02:31:02 +0000 (02:31 +0000)]
* defs.h (errno.h>:  Move #include closer to head of file to solve
obscure problem with systems that declare perror with const arg, in
  both errno.h and stdio.h, and const is defined away by intervening
  local include.

28 years ago From Jon Reeves <reeves@zk3.dec.com>:
Fred Fish [Tue, 30 Jan 1996 22:47:23 +0000 (22:47 +0000)]
From Jon Reeves <reeves@zk3.dec.com>:
* i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
(mem_fault_routine): Fix misplaced volatile type qualifier in decl.

28 years ago * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
Ian Lance Taylor [Tue, 30 Jan 1996 19:09:20 +0000 (19:09 +0000)]
* dis-buf.c: Include "sysdep.h" before "dis-asm.h".

28 years ago * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,
Ian Lance Taylor [Tue, 30 Jan 1996 18:49:10 +0000 (18:49 +0000)]
* Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,
$(srcdir)/libbfd.h and $(srcdir)/libcoff.h.
(maintainer-clean): Warn about deleting special files.
(bfd-in2.h, libbfd.h, libcoff.h): New targets.

28 years ago * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore
Ian Lance Taylor [Tue, 30 Jan 1996 18:19:28 +0000 (18:19 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore
-bnoentry, since the right thing tends to happen anyhow.

28 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and
Ian Lance Taylor [Tue, 30 Jan 1996 18:18:17 +0000 (18:18 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and
warning symbols correctly.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

28 years ago* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit scaling of
Ken Raeburn [Tue, 30 Jan 1996 18:12:41 +0000 (18:12 +0000)]
* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit scaling of
index.

* expr.c (operand): Accept 0x hex constants in MRI mode if not on m68k.

(PR 8836)

28 years ago * syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoid
Ian Lance Taylor [Tue, 30 Jan 1996 17:09:29 +0000 (17:09 +0000)]
* syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoid
warnings.

28 years agoEnclose gdbtk stuff inside gdb sanitization lines. Regenerate configure.
Fred Fish [Tue, 30 Jan 1996 03:10:17 +0000 (03:10 +0000)]
Enclose gdbtk stuff inside gdb sanitization lines.  Regenerate configure.

28 years ago * Makefile.in (diststuff): Make all-doc; diststuff target does not
Fred Fish [Tue, 30 Jan 1996 03:08:52 +0000 (03:08 +0000)]
* Makefile.in (diststuff): Make all-doc; diststuff target does not
exist in doc/Makefile.in.

28 years ago * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
Stan Shebs [Tue, 30 Jan 1996 02:51:56 +0000 (02:51 +0000)]
* config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.

28 years ago From Basim Kadhim <kadhim@spock.cs.colorado.edu>:
Ian Lance Taylor [Tue, 30 Jan 1996 00:01:44 +0000 (00:01 +0000)]
From Basim Kadhim <kadhim@spock.cs.colorado.edu>:
* ecoff.c (struct extsym_info): Define.
(_bfd_ecoff_bfd_final_link): Pass a pointer to struct extsym_info
to ecoff_link_write_external.
(ecoff_link_write_external): Accept a struct extsym_info pointer.
Strip symbols when appropriate.

28 years ago Based on patches from H J Lu <hjl@zoom.com>:
Ian Lance Taylor [Mon, 29 Jan 1996 22:39:21 +0000 (22:39 +0000)]
Based on patches from H J Lu <hjl@zoom.com>:
* objcopy.c (remove_leading_char): New static variable.
(OPTION_REMOVE_LEADING_CHAR): Define.
(copy_usage): Mention --remove-leading-char.
(filter_symbols): If remove_leading_char, and the first character
of a global symbol matches the symbol leading char of the BFD,
remove the first character.
(copy_object): Filter the symbols if remove_leading_char is set.
(copy_main): Handle --remove-leading-char.
* binutils.texi, objcopy.1: Document --remove-leading-char.

28 years ago * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
Ian Lance Taylor [Mon, 29 Jan 1996 22:11:12 +0000 (22:11 +0000)]
* config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
of object.  From Ronald F. Guilmette <rfg@monkeys.com>.

28 years agoupdate copyright
Ian Lance Taylor [Mon, 29 Jan 1996 22:09:49 +0000 (22:09 +0000)]
update copyright

28 years ago Based on patches from Ronald F. Guilmette <rfg@monkeys.com>:
Ian Lance Taylor [Mon, 29 Jan 1996 22:04:32 +0000 (22:04 +0000)]
Based on patches from Ronald F. Guilmette <rfg@monkeys.com>:
* syms.c (BSF_OBJECT): Define.
(bfd_print_symbol_vandf): Print 'O' for BSF_OBJECT.
* bfd-in2.h: Rebuild.
* elfcode.h (elf_slurp_symbol_table): Set BSF_OBJECT for an
STT_OBJECT symbol.
* elf.c (swap_out_syms): Only set type to STT_OBJECT if BSF_OBJECT
is set.

28 years ago * elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, when
Ian Lance Taylor [Mon, 29 Jan 1996 20:01:29 +0000 (20:01 +0000)]
* elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, when
copying relocs into a shared object, treat a defined global symbol
as a local symbol.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.

28 years agoFixed exported names, removed a bad define
Kim Knuttila [Mon, 29 Jan 1996 19:31:34 +0000 (19:31 +0000)]
Fixed exported names, removed a bad define

28 years agomh-i386win32 is gone
Ken Raeburn [Mon, 29 Jan 1996 19:30:16 +0000 (19:30 +0000)]
mh-i386win32 is gone

28 years ago * elflink.h (elf_link_add_object_symbols): Only set weakdef to a
Ian Lance Taylor [Mon, 29 Jan 1996 18:09:20 +0000 (18:09 +0000)]
* elflink.h (elf_link_add_object_symbols): Only set weakdef to a
real defined symbol, not to a weak defined symbol.

28 years ago* i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, and fclex.
Ken Raeburn [Mon, 29 Jan 1996 17:45:18 +0000 (17:45 +0000)]
* i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, and fclex.

28 years agoRemoved a ppc hack from cofflink, promoted some types to libcoff-in.h
Kim Knuttila [Mon, 29 Jan 1996 17:44:41 +0000 (17:44 +0000)]
Removed a ppc hack from cofflink, promoted some types to libcoff-in.h

28 years ago * ld.texinfo, ld.1: Document -export-dynamic.
Ian Lance Taylor [Mon, 29 Jan 1996 17:29:51 +0000 (17:29 +0000)]
* ld.texinfo, ld.1: Document -export-dynamic.

28 years ago * ecoff.c (localsym_t): Add addend field.
Ian Lance Taylor [Mon, 29 Jan 1996 17:25:26 +0000 (17:25 +0000)]
* ecoff.c (localsym_t): Add addend field.
(add_ecoff_symbol): Add addend argument.  Change all callers.
(coff_sym_value): Make static.
(coff_sym_addend): New static variable.
(ecoff_directive_def): Initialize coff_sym_addend.
(ecoff_directive_val): Accept symbol + constant.
(ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
(ecoff_build_symbols): Include the addend in the symbol value.

28 years ago * ch-valprint.c (calculate_array_length): New function to determine
Wilfried Moser [Mon, 29 Jan 1996 08:17:22 +0000 (08:17 +0000)]
    * ch-valprint.c (calculate_array_length): New function to determine
        the length of an array type (see comment).
        (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
        array type is zero, call calculate_array_length.

        * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): They values
        may not be sorted. Scan all entries and set the real lower and

28 years ago * builtins.ch, builtins.exp: Enhance test case.
Wilfried Moser [Mon, 29 Jan 1996 08:09:04 +0000 (08:09 +0000)]
    * builtins.ch, builtins.exp: Enhance test case.

        * extstruct.ch, extstruct-grt.ch, extstruct.exp: New test case.

28 years ago * config/xm-linux.h: Move include of solib.h and #define of
Fred Fish [Sun, 28 Jan 1996 22:52:53 +0000 (22:52 +0000)]
* config/xm-linux.h: Move include of solib.h and #define of
SVR4_SHARED_LIBS from here ...
* config/nm-linux.h: ...to here.

28 years ago * gas/arc/warn.exp: Delete libs arg in call to dg-runtest.
David Edelsohn [Sat, 27 Jan 1996 21:30:10 +0000 (21:30 +0000)]
* gas/arc/warn.exp: Delete libs arg in call to dg-runtest.

28 years agoFix up warning on SunOS
Michael Meissner [Sat, 27 Jan 1996 20:44:54 +0000 (20:44 +0000)]
Fix up warning on SunOS

28 years ago * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
Fred Fish [Sat, 27 Jan 1996 18:51:09 +0000 (18:51 +0000)]
* configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
Also check for gregset_t and fpregset_t types.
* configure: Regenerate.
* core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
  is defined.
(fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
  and HAVE_FPREGSET_T are defined.  These changes allow systems
  like linux that are migrating to /proc support to use a single
  configuration for both new and old versions.

* config/i386/linux.mt: Note that this is now for both a.out and
ELF systems.
* config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
i386v4-nat.o
* config/i386/tm-linux.h (tm-sysv4.h): Include.
* config/i386/xm-linux.h (solib.h): Include
(SVR4_SHARED_LIBS): Define.
* i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
(supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
(supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T defined.

28 years agoIgnore overflow on toc relocs
Kim Knuttila [Sat, 27 Jan 1996 00:31:16 +0000 (00:31 +0000)]
Ignore overflow on toc relocs

28 years ago * ld-undefined/undefined.exp: ELF targets should now pass the
Ian Lance Taylor [Fri, 26 Jan 1996 23:43:29 +0000 (23:43 +0000)]
* ld-undefined/undefined.exp: ELF targets should now pass the
undefined line test.

28 years ago * syms.c: Include "bfdlink.h".
Ian Lance Taylor [Fri, 26 Jan 1996 23:42:58 +0000 (23:42 +0000)]
* syms.c: Include "bfdlink.h".
(struct stab_find_info): Define.
(_bfd_stab_section_find_nearest_line): New function.
* libbfd-in.h (_bfd_stab_section_find_nearest_line): Declare.
* libbfd.h: Rebuild.
* elf-bfd.h (struct elf_obj_tdata): Add line_info field.
* elf.c (_bfd_elf_find_nearest_line): Try calling
_bfd_stab_section_find_nearest_line before searching the ELF
symbol table.  Find the closest STT_FUNC symbol, not the last one.
* libcoff-in.h (coff_data_type): Add line_info field.
* libcoff.h: Rebuild.
* coffgen.c (coff_find_nearest_line): Try calling
_bfd_stab_section_find_nearest_line before searching the COFF
symbol table.
* Makefile.in: Rebuild dependencies.

28 years ago * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
Stan Shebs [Fri, 26 Jan 1996 21:53:03 +0000 (21:53 +0000)]
* config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
* config/i386/xm-sun386.h: Ditto.
* config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.

28 years ago * gas/hppa/unsorted/unsorted.exp: Update for objdump changes.
Jeff Law [Fri, 26 Jan 1996 21:26:28 +0000 (21:26 +0000)]
    * gas/hppa/unsorted/unsorted.exp: Update for objdump changes.

28 years agotipo
Ian Lance Taylor [Fri, 26 Jan 1996 20:43:50 +0000 (20:43 +0000)]
tipo

28 years ago * binutils.texi (nm): Improve documentation on symbol types.
Ian Lance Taylor [Fri, 26 Jan 1996 16:54:35 +0000 (16:54 +0000)]
* binutils.texi (nm): Improve documentation on symbol types.
(objdump): Reference the stabs manual from the discussion of the
--stabs option.

28 years ago * config/tc-sparc.c (default_compatible): New static local.
David Edelsohn [Fri, 26 Jan 1996 04:37:04 +0000 (04:37 +0000)]
* config/tc-sparc.c (default_compatible): New static local.
(md_begin): Initialize it.  Rewrite warn_on_bump handling.
(sparc_ip): If no architecture or -bump specified, don't mark as
mismatched those in default_compatible.

28 years ago * libcoff-in.h (struct xcoff_tdata): Remove toc_section and
Ian Lance Taylor [Thu, 25 Jan 1996 22:51:06 +0000 (22:51 +0000)]
* libcoff-in.h (struct xcoff_tdata): Remove toc_section and
entry_section fields.  Add sntoc and snentry fields.
* libcoff.h: Rebuild.
* coffcode.h (coff_mkobject_hook): Initialize sntoc and snentry,
not toc_section and entry_section (the COFF file does not have any
sections at this point).
(coff_write_object_contents): Set o_snentry and o_sntoc from
snentry and sntoc rather than entry_section and toc_section.
* coff-rs6000.c (xcoff_copy_private_bfd_data): Copy sntoc and
snentry, not toc_section and entry_section.
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't set
entry_section from hentry.
(xcoff_link_input_bfd): If a defined symbol has XCOFF_ENTRY set,
set snentyr.
(xcoff_link_input_bfd): Set sntoc, not toc_section.
(xcoff_write_global_symbol): Get toc_section from sntoc, rather
than using toc_section directly.

28 years agoMake eabi error messages include symbol name if it is an external symbol
Michael Meissner [Thu, 25 Jan 1996 22:35:51 +0000 (22:35 +0000)]
Make eabi error messages include symbol name if it is an external symbol

28 years ago * mh-ncrsvr43 (CFLAGS): Remove -Hnocopyr.
Ian Lance Taylor [Thu, 25 Jan 1996 21:05:56 +0000 (21:05 +0000)]
* mh-ncrsvr43 (CFLAGS): Remove -Hnocopyr.

28 years agoThu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 25 Jan 1996 21:01:17 +0000 (21:01 +0000)]
Thu Jan 25 09:22:15 1996  Steve Chamberlain  <sac@slash.cygnus.com>

From Greg McGary  <gkm@gnu.ai.mit.edu>:
* dcache.c (dcache_peek, dcache_poke): Advance addr for
multi-byte I/O.

28 years ago * ld-empic/empic.exp: Update for change to MIPS disassembler.
Ian Lance Taylor [Thu, 25 Jan 1996 20:38:08 +0000 (20:38 +0000)]
* ld-empic/empic.exp: Update for change to MIPS disassembler.

28 years ago * infrun.c (normal_stop): Fix test for shared library event.
Jeff Law [Thu, 25 Jan 1996 20:10:42 +0000 (20:10 +0000)]
    * infrun.c (normal_stop): Fix test for shared library event.
From dje.  Fixes minor testsuite problems.

28 years ago * archures.c: Add missing `.' in enum bfd_architecture.
Ian Lance Taylor [Thu, 25 Jan 1996 20:05:29 +0000 (20:05 +0000)]
* archures.c: Add missing `.' in enum bfd_architecture.
* bfd-in2.h: Rebuild.

28 years ago * mpw-make.sed: Add a "stamps" target.
Raymond Jou [Thu, 25 Jan 1996 19:38:14 +0000 (19:38 +0000)]
* mpw-make.sed: Add a "stamps" target.

28 years agoshorten copyright line
Ian Lance Taylor [Thu, 25 Jan 1996 18:55:00 +0000 (18:55 +0000)]
shorten copyright line

28 years ago * objdump.c (dump_headers, dump_section_header): Change objdump -h
Ian Lance Taylor [Thu, 25 Jan 1996 18:52:59 +0000 (18:52 +0000)]
* objdump.c (dump_headers, dump_section_header): Change objdump -h
output to be simpler and to include section file offsets.

28 years ago SCO ELF support from Robert Lipe <robertl@arnet.com>:
Ian Lance Taylor [Thu, 25 Jan 1996 17:25:25 +0000 (17:25 +0000)]
SCO ELF support from Robert Lipe <robertl@arnet.com>:
* configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
* configure: Rebuild.
* config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
* config/tc-i386.c (sco_id): New function, if SCO_ELF.
* config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
(sco_id): Declare if SCO_ELF.

28 years ago * config.bfd (i[345]86-*-sco*elf*): Use bfd_elf32_i386_vec. From
Ian Lance Taylor [Thu, 25 Jan 1996 17:18:42 +0000 (17:18 +0000)]
* config.bfd (i[345]86-*-sco*elf*): Use bfd_elf32_i386_vec.  From
Robert Lipe <robertl@arnet.com>.

28 years agoAdd more eabi relocations
Michael Meissner [Thu, 25 Jan 1996 17:15:24 +0000 (17:15 +0000)]
Add more eabi relocations

28 years agoThu Jan 25 17:05:26 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 25 Jan 1996 17:08:24 +0000 (17:08 +0000)]
Thu Jan 25 17:05:26 1996  James G. Smith  <jsmith@cygnus.co.uk>

* config.sub: Add recognition for mips64vr4100*-* targets.

28 years ago * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
Ian Lance Taylor [Thu, 25 Jan 1996 16:57:52 +0000 (16:57 +0000)]
* i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
when necessary.  From Ulrich Drepper
<drepper@myware.rz.uni-karlsruhe.de>.

28 years agoThu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 25 Jan 1996 16:51:47 +0000 (16:51 +0000)]
Thu Jan 25 16:46:58 1996  James G. Smith  <jsmith@cygnus.co.uk>

* emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed
  TEXT_START_ADDR to allow use on IDT and PMON systems.

28 years ago * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
David Edelsohn [Thu, 25 Jan 1996 11:42:18 +0000 (11:42 +0000)]
* sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
sparc_num_opcodes.  Update architecture enum values.
* sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
(sparc_opcode_lookup_arch): New function.
(sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
(sparc_opcodes): Add v9a shutdown insn.

28 years ago * configure: Regenerated.
David Edelsohn [Thu, 25 Jan 1996 11:35:32 +0000 (11:35 +0000)]
* configure: Regenerated.
Forgot this.

28 years ago* sp64sol2.mt: New file.
David Edelsohn [Thu, 25 Jan 1996 11:34:26 +0000 (11:34 +0000)]
* sp64sol2.mt: New file.

28 years ago * configure.in (sparc64-*-*): Add default host configuration.
David Edelsohn [Thu, 25 Jan 1996 11:33:27 +0000 (11:33 +0000)]
* configure.in (sparc64-*-*): Add default host configuration.
start-sanitize-gdbtk
(sparc64-*-solaris2* host): Link statically if GCC used.
end-sanitize-gdbtk
(sparc64-*-solaris2*): Add target configuration.
* configure: Regenerated.
* sparc/sp64sol2.mt: New file.

28 years ago * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
David Edelsohn [Thu, 25 Jan 1996 11:20:06 +0000 (11:20 +0000)]
* config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
({max,warn_after}_architecture): New static locals.
(md_begin): Replace NUMOPCODES with sparc_num_opcodes.
If both architecture and -bump requested, set max_architecture to max.
(sparc_md_end): Simplify.
(sparc_ip): Replace references to can_bump_v9_p with max_architecture.
Rewrite code to bump architecture and check for conflicts.
(md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
with Solaris assembler.
(md_parse_option): Likewise.  Call sparc_opcode_lookup_arch.
(md_show_usage): Update.

28 years ago * sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture.
David Edelsohn [Thu, 25 Jan 1996 11:09:06 +0000 (11:09 +0000)]
* sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture.
(SPARC_OPCODE_CONFLICT_P): Renamed from ARCHITECTURES_CONFLICT_P.
(bfd_* defines): Delete.
(sparc_opcode_archs): Replaces architecture_pname.
(sparc_opcode_lookup_arch): Declare.
(NUMOPCODES): Delete.

28 years ago * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
David Edelsohn [Thu, 25 Jan 1996 07:44:10 +0000 (07:44 +0000)]
* gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.

28 years ago * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
David Edelsohn [Thu, 25 Jan 1996 06:33:59 +0000 (06:33 +0000)]
* Makefile.in (RUNTEST): srcdir renamed to rootsrc.

28 years ago * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
David Edelsohn [Thu, 25 Jan 1996 06:11:23 +0000 (06:11 +0000)]
* Makefile.in (RUNTEST): Fix reference to $${srcdir}.

28 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
Steve Chamberlain [Thu, 25 Jan 1996 05:02:49 +0000 (05:02 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
correct spelling.

28 years agoFix typo in eabl relocations
Michael Meissner [Thu, 25 Jan 1996 01:46:57 +0000 (01:46 +0000)]
Fix typo in eabl relocations

28 years ago * configure.tgt (sparc64-*-solaris2*): New configuration.
David Edelsohn [Thu, 25 Jan 1996 01:03:13 +0000 (01:03 +0000)]
* configure.tgt (sparc64-*-solaris2*): New configuration.
(sparc64-*-aout*): Renamed from sparc64*.

28 years ago * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
Ian Lance Taylor [Thu, 25 Jan 1996 00:26:19 +0000 (00:26 +0000)]
* ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4.
(struct ieee_write_type): Add name field.
(struct ieee_type_class): Remove name field.  Change all uses to
use new name field in type instead.
(struct ieee_name_type): Likewise.
(ieee_start_struct_type): Initialize name field of type.
(ieee_start_class_type): Don't initialize classdef entry of tag.
(ieee_class_method_var): Don't adjust voffset.
(ieee_end_class_type): Likewise.
(ieee_tag_type): Initialize new name field of type.
(ieee_typdef): Set name after copying in type information.

28 years agoLook for -ldl or -ldld where needed by Tcl 7.5.
Tom Tromey [Wed, 24 Jan 1996 23:39:34 +0000 (23:39 +0000)]
Look for -ldl or -ldld where needed by Tcl 7.5.
Updated copyrights.
Close backquote in 'lint' target.

28 years ago * ieee.c (struct ieee_modified_type): Define.
Ian Lance Taylor [Wed, 24 Jan 1996 22:51:32 +0000 (22:51 +0000)]
* ieee.c (struct ieee_modified_type): Define.
(struct ieee_handle): Add modified and modified_alloc fields.
(ieee_get_modified_info): New static function.
(ieee_pointer_type): Cache type index.
(ieee_const_type): Likewise.
(ieee_volatile_type): Likewise.

28 years agoAdd gdbreplay.c
Fred Fish [Wed, 24 Jan 1996 22:44:22 +0000 (22:44 +0000)]
Add gdbreplay.c

28 years agoremove incorrect BFD_ASSERT from last patch
Ian Lance Taylor [Wed, 24 Jan 1996 22:01:29 +0000 (22:01 +0000)]
remove incorrect BFD_ASSERT from last patch

28 years ago * NEWS: Make note of new record and replay feature for
Fred Fish [Wed, 24 Jan 1996 21:30:37 +0000 (21:30 +0000)]
* NEWS: Make note of new record and replay feature for
remote debug sessions.
* serial.c (gdbcmd.h): Include.
(serial_logfile, serial_logfp, serial_reading, serial_writing):
  Define here, for remote debug session logging.
(serial_log_command, serial_logchar, serial_write, serial_readchar):
New functions for remote debug session logging.
(serial_open): Open remote debug session log file when needed.
(serial_close): Close remote debug session log file when needed.
(_initialize_serial): Add set/show commands for name of remote
debug session log file.
* serial.h (serial_readchar): Declare
(SERIAL_READCHAR): Call serial_readchar().
(SERIAL_WRITE): Call serial_write().
(serial_close): Declare as extern.
(serial_logfile, serial_logfp): Declare.
* top.c (execute_command): Declare serial_logfp.  Log user command
in remote debug session log if log file is open.
* remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
(array_read_inferior_memory): Rewrite to fix memory overwrite bug.
* remote-array.c (SREC_SIZE): Remove, duplicates define in
monitor.h.
* remote-array.c (hexchars, hex2mem):  Remove, unused.
* gdbserver/low-linux.c (store_inferior_registers): Remove
unnecessary extern declaration of registers[].
* gdbserver/Makefile.in (all): Add gdbreplay.
* gdbserver/gdbreplay.c: New file.
* gdbserver/README: Give example of recording a remote
debug session with gdb and then replaying it with gdbreplay.

28 years ago * ieee.c (ieee_define_named_type): When creating a tag for an
Ian Lance Taylor [Wed, 24 Jan 1996 21:10:55 +0000 (21:10 +0000)]
* ieee.c (ieee_define_named_type): When creating a tag for an
anonymous struct, copy the name into memory.
(ieee_tag_type): Likewise.
* debug.c (debug_write_type): Only check and set id field for an
unnamed object.
(debug_write_class_type): Likewise.

28 years ago * test-build.mk: Add checking of `hpux9' rather than just `hpux'.
Brendan Kehoe [Wed, 24 Jan 1996 20:48:09 +0000 (20:48 +0000)]
* test-build.mk: Add checking of `hpux9' rather than just `hpux'.
Add creation of gconfigargs with `--enable-shared' turned on.
($(host)-stamp-stage2-configured): Pass $(gconfigargs).
($(host)-stamp-stage3-configured): Likewise.
(HOLES): Add chatr and ldd.
(i386-ncr-sysv4.3*): Add use of /usr/ccs/bin in the PATH and HOLE_DIRS.

28 years ago * configure: Pass --nfp to recursive configures.
Per Bothner [Wed, 24 Jan 1996 20:30:07 +0000 (20:30 +0000)]
* configure: Pass --nfp to recursive configures.

28 years ago * ieee.c: Various changes to write out types for functions and
Ian Lance Taylor [Wed, 24 Jan 1996 19:40:21 +0000 (19:40 +0000)]
* ieee.c: Various changes to write out types for functions and
references, and to not write out unnecessary function types.

28 years agocomment change
Ian Lance Taylor [Wed, 24 Jan 1996 19:38:16 +0000 (19:38 +0000)]
comment change

28 years ago * config.bfd (sparc64-*-{sysv4*,solaris2*}): Comment out
David Edelsohn [Wed, 24 Jan 1996 19:19:22 +0000 (19:19 +0000)]
* config.bfd (sparc64-*-{sysv4*,solaris2*}): Comment out
bfd_elf64_sparc_vec support.

28 years ago * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checking
David Edelsohn [Wed, 24 Jan 1996 18:45:50 +0000 (18:45 +0000)]
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checking
of flags, only flags used are controlled by mach number.  Bump up
output file mach number to highest of input file mach numbers.
(elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1.
(elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa.
Also, delete v8plus sanitization.

28 years ago * ieee.c (struct ieee_var): Remove variable field. Add kind
Ian Lance Taylor [Wed, 24 Jan 1996 17:08:25 +0000 (17:08 +0000)]
* ieee.c (struct ieee_var): Remove variable field.  Add kind
field, and define some enum constants for it.
(parse_ieee_ty): Set kind field of variable for 'x' and 'X' types.
(parse_ieee_atn): Make an indirect slot for an external variable,
although we otherwise don't record it.  Set kind field rather than
variable field of pvar.
(ieee_read_cxx_class): Try to get the type of a static member.
(ieee_read_reference): Check kind field rather than variable
field.

28 years agoDelete v8plus sanitization.
David Edelsohn [Wed, 24 Jan 1996 16:46:45 +0000 (16:46 +0000)]
Delete v8plus sanitization.

28 years agoNote gdb.c++/classes.exp update.
Per Bothner [Wed, 24 Jan 1996 07:07:13 +0000 (07:07 +0000)]
Note gdb.c++/classes.exp update.

28 years ago * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
Per Bothner [Wed, 24 Jan 1996 07:02:57 +0000 (07:02 +0000)]
* stabsread.c (rs6000_builtin_type):  Make bool type unsigned.
(read_one_struct_field):  Support boolean bitfields.
* c-valprint.c (c_val_print): Print booleans properly.

28 years agoUpdated for Tcl 7.5a2 and Tk 4.1a2
Tom Tromey [Wed, 24 Jan 1996 06:27:59 +0000 (06:27 +0000)]
Updated for Tcl 7.5a2 and Tk 4.1a2

28 years ago * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
Stan Shebs [Wed, 24 Jan 1996 02:59:06 +0000 (02:59 +0000)]
* remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
Remove, never used.
* config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
Make Sparc VxWorks GDB compile

28 years agofix ChangeLog entry
Ian Lance Taylor [Wed, 24 Jan 1996 01:27:44 +0000 (01:27 +0000)]
fix ChangeLog entry

28 years ago * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
Ian Lance Taylor [Wed, 24 Jan 1996 01:26:49 +0000 (01:26 +0000)]
* debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL.
(enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL.
* debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION.