Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 816a3aa5c7e80bc10d4ea99d868c59c249b29c6f..9dddcba35e16da8e5e53ff47689f56f2e85fbd9b 100644 (file)
@@ -1,3 +1,385 @@
+Mon Jul 11 15:59:03 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * nlmheader.y: Null terminate var_hdr->threadName.
+
+Fri Jul  8 17:33:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
+       in $(srcdir), as they will be for FSF releases.
+
+Wed Jul  6 01:13:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (setup_sections): Preserve existing section flags when
+       copying in flags from a new section.
+
+Tue Jul  5 15:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objcopy.c: Include libiberty.h.
+       (copy_file): If output_target is NULL, set it to the target of the
+       input file.
+
+Wed Jun 29 17:17:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * nlmconv.c (link_inputs): Fixed memory allocation bug.
+
+Thu Jun 23 12:52:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * configure.in: Change --with-targets to --enable-targets.
+
+Tue Jun 21 12:53:21 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
+
+       * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
+       NetWare custom header; no longer needed.
+       (powerpc_mangle_relocs): Convert relocs against the uninitialized
+       data section into relocs against the data section.
+
+       * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
+       netware targets.  Write it into Makefile as NLMCONV_DEFS.
+       * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
+       * nlmconv.c: Only compile code for specific CPU types if
+       NLMCONV_cputype is defined.
+
+       * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
+       bfd_abs_section_ptr or bfd_is_abs_section, etc.
+       (i386_mangle_relocs, alpha_mangle_relocs): Likewise.
+       (powerpc_build_stubs): Likewise.
+       * nm.c (filter_symbols, print_symbols): Likewise.
+       * objcopy.c (filter_symbols): Likewise.
+       (mark_symbols_used_in_relocations): Likewise.
+       * objdump.c (remove_useless_symbols, dump_relocs): Likewise.
+       * size.c (sysv_internal_printer): Likewise.
+
+Mon Jun 20 16:43:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
+       (install): Install it explicitly, from build dir, not srcdir.
+
+Mon Jun 20 16:29:54 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objdump.c: Don't include elf/internal.h.
+       (bfd_elf_find_section): Don't declare.
+       (read_section_stabs): No special handling for ELF.  Always read
+       using BFD sections.
+
+Thu Jun 16 17:25:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * configure.in: Set UNDERSCORE in Makefile based on result of
+       invoking config.bfd with a second argument of ``_''.
+       * Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
+       run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
+       file.
+       (demangle.o): Remove target.
+       ($(NM_PROG)): Don't depend upon demangle.o, and don't link against
+       demangle.o.  It's in libiberty anyhow.
+       (cplus-dem.o): Don't depend upon demangle.o.
+       * binutils.texi: Mention -n and --no-strip-underscores arguments
+       to c++filt.
+
+Wed Jun 15 12:10:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nm.c (long_options): Add --no-demangle to turn off --demangle,
+       and --no-cplus for Linux compatibility.
+       (usage): Mention --no-demangle.
+       * binutils.texi: Document --no-demangle.
+
+Fri Jun 10 15:41:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
+
+       * objcopy.c (copy_archive): Make the temporary directory in the
+       same directory as the output BFD, since we may not have write
+       permission on the current directory.  Set the permissions of the
+       new directory to 0700, not 0777.
+
+Mon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
+
+       * configure.in: if this is an rs6000 (and we're not building for
+       any other bfd targets) then build only nm (collect needs it on
+       rs6000-lynx).
+
+       * Makefile.in: define TOOL_PROGS which the list of programes to
+       install in $tooldir -- replaces a hard-coded list.
+
+Fri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objdump.c (display_target_list): Remove unused local ok.
+
+Thu May 26 18:05:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
+       they're not compatible under native cc.  Use -O1 instead.
+
+       * Makefile.in (VERSION): Updated to cygnus-2.4.1.
+
+       Changes from binutils-2.4 net release:
+
+       * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
+       ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
+       * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
+       magic token to be replaced by sed.
+
+       Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
+
+       * configure.bat: update for latest makefile.in
+
+Fri May 13 23:25:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
+
+Tue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)
+
+       * objcopy.c (copy_section): Set section size correctly if using
+       interleave.
+
+Sat May  7 16:49:36 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * Makefile.in: Add rule for sysinfo.h
+
+Fri May  6 12:18:33 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * Makefile.in (SRCONV_PROG): Define.
+       (PROGS): Use $(SRCONV_PROG) too.
+
+Thu May  5 19:41:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
+       someone configures with `targets=all'.
+       (distclean): Remove y.*.
+       (syslex.o): Depend on sysinfo.h.
+       (sysinfo.c): Rename y.tab.h to sysinfo.h.
+       (install-info): Don't try to install into $(infodir)/$(srcdir).
+       * syslex.l: Include sysinfo.h, not y.tab.h.
+
+Thu May  5 11:50:55 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * syslex.l (yywrap): Define as function if not defined as a macro.
+
+       * Makefile.in (objdump.o): Deleted special rule.
+       * configure.in: Don't bother building ARCHDEFS variable for
+       Makefile.
+       * objdump.c (ARCH_*): Deleted handling.
+       (disassemble_data): Call `disassembler' from opcodes library.
+
+Thu May  5 13:28:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Makefile.in (install): Correct handling of $(tooldir) and
+       $(bindir) being on different devices.
+
+Fri Apr 29 09:50:38 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * sysdump.c (h8300, sh): Add declarations.
+
+Wed Apr 27 11:25:18 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
+       * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
+       sysroff.info: Major changes.
+
+Tue Apr 26 18:18:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * objdump.c (print_section_stabs): Indicate the stab header symbol
+       more clearly, print numbers of unrecognized stab n_type values.
+
+Tue Apr 26 16:22:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
+
+Mon Apr 25 16:14:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Makefile.in (distclean): Remove $(PROGS) and underscore.c.
+
+Fri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (setup_sections): Remove special handling of .reginfo
+       section.
+       (copy_sections): Likewise.
+       (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
+       special ECOFF .reginfo section.
+
+       * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
+       copying everything else, to let it fiddle with the file in its
+       final state.
+
+       * objdump.c: Include libiberty.h.
+       (display_target_list): If a format fails, just go on to the next
+       one.  Check return value of bfd_set_format.
+       (display_info_table): Likewise.  Don't increment loop variable in
+       for loop test, since that skips the first element.
+       (display_target_tables): Rewrite loop for clarity.  Ensure that it
+       always prints at least one element.
+
+       * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
+       sections header.  Rename from cygnus_sections to cygnus_ext.
+
+Thu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objdump.c (_DUMMY_NAME_): Don't define.
+       (display_target_list): Use tmpnam to get a file name rather than
+       using _DUMMY_NAME_.  Unlink it when done.
+       (display_info_table): Likewise.
+
+       * nlmconv.c (secsec): New static variable.
+       (main): Create .nlmsections section in output BFD.  Store
+       information about it in sections header.
+       (setup_sections): Allocate space in sections header.
+       (copy_sections): Copy zero sized sections.  Put information about
+       each section in the sections header.
+
+Wed Apr 20 14:34:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
+       Change caller.  Create custom header for new PowerPC NetWare
+       format.
+
+       * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
+       * nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
+       * nlmheader.y: Include bfd.h with "", not <>.
+
+Wed Apr 13 10:52:50 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objdump.c: Do an ifdef on __GO32__, not unix.
+
+Wed Apr  6 21:54:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
+       (--dynamic-reloc) arguments to objdump.
+       * nm.c (dynamic): New static variable.
+       (long_options): Added "dynamic".
+       (usage): Mention -D and --dynamic.
+       (main): Add D to getopt string.  Handle -D by setting dynamic.
+       (display_rel_file): If dynamic is non-zero, read dynamic symbols
+       rather than normal symbols.
+       * nm.1: Updated for -D (--dynamic) option.
+       * objdump.c (dump_dynamic_symtab): New global variable.
+       (dump_dynamic_reloc_info): New global variable.
+       (dynsyms, dynsymcount): New global variables.
+       (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
+       (long_options): Added "dynamic-reloc" and "dynamic-syms".
+       (slurp_symtab): If no symbols, return rather than exit.
+       (slurp_dynamic_symtab): New function.
+       (display_bfd): Handle dump_dynamic_symtab and
+       dump_dynamic_reloc_info.
+       (dump_symbols): Take new dynamic argument, indicating whether to
+       display dynamic symbols.
+       (dump_relocs): Move most printing into dump_reloc_set.
+       (dump_dynamic_relocs): New function.
+       (dump_reloc_set): New function, extracted from dump_relocs.
+       (main): Add R and T to getopt string.  Handle -T by setting
+       dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
+       * objdump.1: Updated for -R (--dynamic-reloc) and -T
+       (--dynamic-syms) options.
+       * binutils.texi: Updated for new nm and objdump options.
+
+Wed Mar 30 15:52:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Update for recent BFD changes to symbol and reloc reading.  Rename
+       all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
+       Also:
+       * coffgrok.c (symcount): Change to long.
+       (do_sections_p1): Check for error return from
+       bfd_get_reloc_upper_bound.  Change relcount to long, and check for
+       error from bfd_canonicalize_reloc.
+       (coff_grok): Change storage to long.  Check for error from
+       bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
+       * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
+       i to long.  Check for error from bfd_get_symtab_upper_bound and
+       bfd_canonicalize_symtab.
+       (copy_sections): Change reloc_size and reloc_count to long.  Check
+       for error from bfd_get_reloc_upper_bound and
+       bfd_canonicalize_reloc.
+       (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
+       reloc_count_ptr argument to long *.  Make corresponding changes to
+       variables loaded from *reloc_count_ptr.
+       * nm.c (display_rel_file): Change storage and symcount to long.
+       Check for errors from bfd_get_symtab_upper_bound and
+       bfd_canonicalize_symtab.
+       * objcopy.c (filter_symbols): Change symcount, src_count and
+       dst_count to long.
+       (copy_object): Change symcount to long.  Pass another argument to
+       fprintf.  Check for errors from bfd_get_symtab_upper_bound and
+       bfd_canonicalize_symtab.
+       (copy_section): Change relcount to long.  Check for errors from
+       bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
+       (mark_symbols_used_in_relocations): Change relcount and i to long.
+       Check for errors form bfd_get_reloc_upper_bound and
+       bfd_canonicalize_reloc.
+       * objdump.c (storage): Remove global variable.
+       (symcount): Changed to long.
+       (slurp_symtab): New local variable storage.  Check for errors from
+       bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
+       (remove_useless_symbols): Change return value and count to long.
+       (objdump_print_address): Change min, max, thisplace and i to long.
+       (disassemble_data): Change i to long.
+       (dump_symbols): Change count to long.
+       (dump_relocs): Change relcount to long.  Check for errors from
+       bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
+       (display_info_table): Add casts when passing LONGEST_ARCH for
+       printf %* argument.
+
+Tue Mar 29 14:59:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nm.c (display_archive): Close each archive element after it has
+       been displayed.
+       * objdump.c (display_file): Likewise.
+
+Mon Mar 28 13:04:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * configure.in: Change error message to refer to bfd/config.bfd
+       rather than bfd/configure.in.
+
+Sun Mar 27 16:23:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * More fixes for object formats which allow multiple sections
+       with the same name:
+       * objcopy.c (setup_section): Make a new output section even if
+       one already exists with the given name.
+       (copy_section): Use isection->output_section rather than trying
+       to look the output section up by its (possibly non-unique) name.
+
+       * Makefile.in (install-info): Look for binutils.info in the
+       current directory, then in $(srcdir).  Don't use $<.
+
+Mon Mar 21 12:55:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objdump.c (objdump_print_address): Make static.  Declare with
+       prototype.  Change vardiff from int to bfd_signed_vma.  Correct
+       binary search termination condition.  When looking for same
+       section symbol in relocatable file, handle final symbol correctly.
+
+Sun Mar 20 11:26:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * Makefile.in: Avoid bug in hpux sed.
+
+       * objcopy.c: Changes to keep it from stripping symbols used
+       in output relocations.
+       (mark_symbols_used_in_relocations): New function.  Mark symbols
+       used in output relocations with BSF_KEEP.
+       (filter_symbols): Do not strip symbols marked with BSF_KEEP.
+       (copy_object): Reorder actions.  First setup sections, then
+       build the output symbol table, then copy the section contents.
+
+Fri Mar 18 10:53:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ar.c (write_archive): Allocate space for the null byte.  From
+       Robert Lipe <robertl@arnet.com>.
+
+Thu Mar 17 16:20:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Makefile.in: Built nm.new and strip.new to avoid problems with
+       collect when . is in PATH.
+       (STRIP_PROG): Change from strip to strip.new.
+       (NM_PROG): Change from nm to nm.new.
+       (install): Remove the .new when installing.
+
+Wed Mar 16 16:27:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
+       symbol for which we build a stub.
+       (powerpc_mangle_relocs): Only reset TOC pointer for a call to a
+       symbol with BSF_DYNAMIC flag set.
+
 Tue Mar 15 23:04:13 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
@@ -17,7 +399,6 @@ Mon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * ar.c (write_archive): Close inarch before unlinking it.
 
-start-sanitize-powerpc-netware
 Fri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
@@ -32,7 +413,6 @@ Fri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
        Rearrange reloc handling to handle ELF relocs that are not
        partial_inplace.  Resolve PC relative relocs.
 
-end-sanitize-powerpc-netware
 Wed Mar  9 13:48:11 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
 
        * ar.c (move_members): Fix it so that the abi positional modifiers
@@ -62,14 +442,13 @@ Tue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
 Sun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
 
        * nlmconv.c: Include libiberty.h.
-start-sanitize-powerpc-netware
+
        Support for PowerPC NetWare.
        * nlmconv.c (main): For PowerPC NetWare, automatically define the
        special symbols __toc_start.
        (select_output_format): Handle bfd_arch_powerpc.
        (mangle_relocs): Likewise.
        (powerpc_mangle_relocs): New function.
-end-sanitize-powerpc-netware
 
 Thu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
 
@@ -1664,5 +2043,8 @@ Fri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
 
 \f
 Local Variables:
+mode: indented-text
+left-margin: 8
+fill-column: 74
 version-control: never
 End:
This page took 0.027031 seconds and 4 git commands to generate.