* Makefile.in (check): Add a dummy else clause to the if
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 90c330809c81ad2acb9274d3b7d7b9489ec26f36..774dbb83cc8a529dbbc8fccfd676061900a16cdf 100644 (file)
@@ -1,5 +1,855 @@
+Wed Oct 19 14:09:16 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * Makefile.in (check): Add a dummy else clause to the if
+       statement.
+
+       * objcopy.c (copy_object): Revert yesterday's change.
+       * binutils.texi, objcopy.1: Remove special mention of --set-start
+       and `binary' output format.
+
+Tue Oct 18 11:12:01 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * objcopy.c (copy_object): If the output file format is `binary',
+       and the start address was not set using --set-start, default the
+       start address to zero.  This hack is because the `binary' output
+       file format uses the start address to set the virtual address of
+       the first byte in the file.
+       * binutils.texi, objcopy.1: Add some notes on generating S-records
+       and binary files.
+
+       * nm.c (print_symdef_entry): Call print_symname to print the
+       symbol name, so that --demangle works.
+
+       * Makefile.in (mostlyclean): Remove tmpdir.
+
+       * objcopy.c (struct section_list): Add fields used, adjust, val.
+       (adjust_start, set_start_set, set_start): New static variables.
+       (adjust_section_vma, adjust_sections): New static variables.
+       (copy_options): Add --adjust-start, --adjust-vma,
+       --adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
+       --set-start.
+       (parse_vma): New static function.
+       (copy_usage): Mention new options.
+       (copy_object): Handle --set-start and --adjust-start.
+       (setup_section): Correct type of last argument to PTR.  Set used
+       field if section is removed.  Handle --adjust-vma and
+       --adjust-section-vma.
+       (copy_section): Correct type of last argument to PTR.
+       (mark_symbols_used_in_relocations): Likewise.
+       (strip_main): Clear used field when handling -R.
+       (copy_main): Handle new options.
+       * binutils.texi (objcopy): Document new options.
+       * objcopy.1: Document new options.
+
+Fri Oct 14 14:38:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * configure.in (configdirs): Remove definition--testsuite is no
+       longer configured.
+       * Makefile.in (testsuite): Remove target.
+       (site.exp): New target.
+       (check): Rewrite.
+       (clean, distclean): Don't recur into testsuite directory.
+
+Thu Oct 13 19:24:09 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * Makefile.in (VERSION): Updated to 2.5.
+       * Version 2.5 released.
+
+Tue Oct 11 15:26:42 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * Makefile.in (sysdump.o): Depends upon sysroff.c.
+
+Mon Oct 10 13:50:30 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
+         ctor/dtor tables needed by C++ programs are built.
+
+Sun Oct  9 18:04:00 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
+
+       * Makefile.in (srconv.o): Add dependence on sysroff.c.
+
+Tue Oct  4 12:19:51 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * configure.in: Use ${config_shell} when running config.bfd.
+
+       * Makefile.in (sysroff.h): Split target away from sysroff.c.
+       (srconv.o, sysdump.o): New targets.
+       (srconv, sysdump): Don't depend upon sysroff.c.
+
+Wed Sep 28 13:04:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * Makefile.in (arparse.c): Don't ignore errors from mv.
+       (sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
+       parallel make from trying to build both arparse.c and sysinfo.c
+       simultaneously.
+       (nlmheader.c): Similar change.
+       (arparse.h): Separate target from arparse.c, so that a parallel
+       make does not try to build both at once.  Depend upon arparse.c.
+       (sysinfo.h): Similar change.
+
+       * objdump.c (disassemble_data): Pass the reloc buffer to free, not
+       the pointer used to loop over the relocs.
+
+Sat Sep 24 16:16:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * objdump.c (disassemble_data): Cast result of xmalloc.
+
+Wed Sep 21 19:30:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objdump.c (sorted_syms, sorted_symcount): New global variables.
+       (objdump_print_address): Use sorted_syms and sorted_symcount
+       instead of syms and symcount.
+       (disassemble_data): Don't bother to get the relocs before looping
+       over the sections.  Before filtering and sorting the symbol table,
+       copy it into sorted_syms.
+
+Fri Sep 16 11:27:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objdump.c (struct objdump_disasm_info): Add field require_sec.
+       (objdump_print_address): If aux->require_sec, require that the
+       symbol be in aux->sec even if HAS_RELOC is not set.  If we can't
+       find a smaller symbol in the right section, look for a larger one.
+       (disassemble_data): Set aux.require_sec around the
+       objdump_print_address call for the instruction address.
+
+Thu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ar.c: Call xexit rather than exit.
+       (output_filename, output_file, output_bfd): New static variables.
+       (remove_output): New static function.
+       (main): Call xatexit (remove_output).  Call xexit rather than
+       returning.
+       (extract_file): Set output_filename and output_file while output
+       file is open.
+       (write_archive): Likewise, but use output_bfd, not output_file.
+       * arsup.c: Include libiberty.h.  Call xexit rather than exit.
+       * bucomm.c: Likewise.
+
+       * objdump.c (disassemble_all): New global variable.
+       (usage): Document --disassemble-all.
+       (long_options): Add disassemble-all as a synonym for -D.
+       (compare_symbols): Make pointers const.
+       (compare_relocs): New static function.
+       (disassemble_data): Rename disassemble to disassemble_fn to avoid
+       shadowing.  If dump_reloc_info, print relocs along with
+       disassembly.  Skip sections which are not SEC_CODE unless
+       disassemble_all or only is set.
+       (display_bfd): Don't call dump_relocs if disassemble is set.
+       (main): Accept and handle -D.
+       * binutils.texi: Document -D/--disassemble-all.
+       * objdump.1: Likewise.
+
+Wed Sep 14 12:19:07 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objdump.c (disassemble_data): Initialize prevline to 0.  Make
+       prev_function non const.  Copy functionname into an malloc buffer
+       when setting prev_function, instead of assuming that the string
+       will last forever.
+
+       * nm.c: Include libiberty.h.
+       (sort_by_size): New static variable.
+       (long_options): Add --size-sort.
+       (usage): Mention --size-sort.
+       (numeric_forward): Make static.  Change from void * to PTR.
+       (numeric_reverse): Likewise.
+       (non_numeric_forward, non_numeric_reverse): Likewise.
+       (sorters): Change declaration from void * to PTR.
+       (size_forward, sort_symbol_by_size): New static functions.
+       (display_rel_file): Handle sort_by_size.
+       (filter_symbols): If sort_by_size, discard absolute and undefined
+       symbols.
+       * binutils.texi (nm): Document --size-sort.
+       * nm.1: Document --size-sort.
+
+Tue Sep 13 21:06:06 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * objcopy.c (copy_main): Initialize input_filename and
+       output_filename to NULL.
+
+Tue Sep 13 14:17:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * Makefile.in (version.o): Depend upon Makefile, so that version.o
+       gets rebuilt when make variable VERSION is changed.
+
+       * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
+
+Wed Aug 24 12:40:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * configure.in: Change i[34]86 to i[345]86.
+
+Tue Aug 23 11:00:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ar.c (ranlib_touch): Don't update the archive map if there isn't
+       one.
+
+Mon Aug 22 16:02:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ar.c: Include libiberty.h.
+       (inarch): Remove variable.
+       (map_over_members): Make static.  Add arch argument, and use it
+       instead of inarch.  Change all callers.
+       (main): Treat --version as -v.  Accept -t argument.  Accept any
+       number of archive arguments.  Catch and use open_inarch return
+       value, rather than using inarch.
+       (open_inarch): Return newly opened BFD, rather than using inarch.
+       (do_quick_append): Make archive_filename const.
+       (write_archive): Add iarch argument, and use it instead of inarch.
+       Change all callers.
+       (delete_members, move_members, replace_members): Likewise.
+       (ranlib_only): Don't exit on success.  Catch and use open_inarch
+       return value.
+       (ranlib_touch): New function.
+       * arsup.h (map_over_members): Don't declare.
+       (ar_end, ar_extract): Declare.
+       (open_inarch): Change return value in declaration to bfd *.
+       * arsup.c (map_over_list): Make static. Always pass two arguments
+       to function.  Add arch argument, and use it instead of inarch.
+       Change all callers.
+       (ar_directory_doer): Make static.  Add ignored second argument.
+       Change all callers.
+       (ar_directory): Use open_inarch return value rather than inarch.
+       (ar_addlib_doer): Make static.
+       (ar_addlib): Use open_inarch return value rather than inarch.
+       (ar_extract): Remove unused local variable abfd.
+
+Thu Aug 11 14:55:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       Add support for removing named sections to objcopy and strip.
+       * objcopy.c (struct section_list): Define.
+       (remove_sections): New static variable.
+       (strip_options, copy_options): Add remove-section.
+       (copy_usage, strip_usage): Mention -R and --remove-section.
+       (setup_section): If section is in remove_sections list, ignore it.
+       (copy_section): Likewise.
+       (strip_main, copy_main): Handle -R.
+       * binutils.texi, objcopy.1, strip.1: Document new options.
+
+Wed Aug 10 10:19:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
+       so as not to conflict with the symvalue typedef in bfd.h.
+
+Mon Aug  1 13:19:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * nlmheader.y: Per current NetWare docs, accept a revision number
+       of 0 and treat a revision number greater than 26 as 0.
+
+Mon Jul 25 12:58:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objdump.c (objdump_print_address): Correct handling of end of
+       symbols when looking for next symbol with a different value.
+
+Fri Jul 22 16:48:34 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * nm.c (numeric_forward): Treat undefined symbols as "less than"
+       defined symbols with zero values.  If numeric values are equal, or
+       both symbols are undefined, sort alphabetically.  Don't assume
+       that the difference of two bfd_vma values will truncate to "int"
+       and still have the same sign.
+       (numeric_reverse): Call numeric_forward and negate the result.
+       (print_symbol_info_bsd): For undefined symbols, print leading
+       spaces equivalent to the width of a printed bfd_vma, rather than
+       assuming that 8 will look right.
+
+Fri Jul 22 10:36:50 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * coffgrok.c (doit):  Zero all fields of new structure. 
+       * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg. 
+       * sysinfo.y: Generate sysroff_swap_*_out without requiring extra
+       arg.
+
+Fri Jul 22 10:09:53 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
+         rather than the parser.
+
+Thu Jul 21 10:25:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
+       Remove; obsolete.
+
+Sat Jul 16 22:34:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
+       even if the bfd is not marked DYNAMIC.  ELF executables are not
+       marked DYNAMIC, but do have dynamic symbols.
+
+Fri Jul 15 01:41:35 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * coffgrok.c (do_where): Make data with no type 'int'.
+       (do_define):  Keep info on source file of a symbol.
+       * coffgrok.h (coff_symbol): New field.
+       * srconv.c (PROGRAM_VERSION): Now 1.3
+       (wr_rl): Use external ref number for symbol.
+       (wr_dus): Only keep one source file per debug unit.
+       (wr_dln): Always emit line numbers for first source file,
+       (wr_globals):  Emit globals in the du of their owning source file.
+
+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
+       if a symbol represents a compiler-generated local label.
+       (copy_object): Give the BFD backends a chance to copy any private
+       bfd data from the input BFD to the output BFD.
+       (setup_section): Give the BFD backends a chance to copy any private
+       section data from the input section to the output section.
+
+Mon Mar 14 11:15:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * objcopy.c (mangle_section): Delete unused function.
+       (setup_section): Set osection here instead of calling
+       mangle section to do it.
+
+Mon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ar.c (write_archive): Close inarch before unlinking it.
+
+Fri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
+       powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
+       the start and end symbols are not in the text section.
+       (struct powerpc_stub): New struct definition.
+       (powerpc_stubs, powerpc_stub_insns): New static variables.
+       (powerpc_initial_got_size): New static variable.
+       (powerpc_build_stubs): New function.
+       (powerpc_resolve_stubs): New function.
+       (powerpc_mangle_relocs): Clear extraneous data in .got section.
+       Rearrange reloc handling to handle ELF relocs that are not
+       partial_inplace.  Resolve PC relative relocs.
+
+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
+       don't delete all archive members following the insert point.
+
+Tue Mar  8 13:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * coffgrok.[ch]: New files, understand coff objects.
+       * coffdump.c: Uses coffgrok to dump out the debug info of a coff
+       file.
+       * sysroff.info: Description of a SYSROFF object file.
+       * sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
+       header files and a printer.
+       * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
+       file to a SYSROFF file.
+
+Sat Feb 26 13:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * ar.c (do_quick_append): Pad with a genuine character 10,
+       rather than whatever '\n' might happen to be.
+
+Tue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
+
+       * nlmconv.c (main): Ignore debugging symbols when looking for
+       special symbols by name.
+
+Sun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
+
+       * nlmconv.c: Include libiberty.h.
+
+       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.
+
+Thu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c, 
+       size.c: Use bfd_get_error and bfd_set_error and new error names.
+
+Fri Feb 11 15:54:51 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
+
+Mon Feb  7 19:45:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objdump.c (disassemble_data): Handle bfd_arch_powerpc.
+
+Sun Feb  6 22:08:20 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
+       Call xmalloc_set_program_name.
+
+Fri Feb  4 10:46:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
+       can do arithmetic on it.
+
+Thu Feb  3 14:06:41 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * objdump.c (dump_section_stabs, read_section_stabs,
+       print_section_stabs): Functions broken out of dump_stabs_1.
+       Free the stabs and strings when done with them.
+
+Wed Feb  2 13:42:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
+       * ar.c (print_contents, extract_file), size.c
+       (print_berkeley_format, print_sysv_format): Use bfd_get_filename and 
+       bfd_my_archive instead of dereferencing the structs directly.
+
+       * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
+       Indent.  Remove DEFUNs.
+
+       * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
+       if ambiguous match.
+       * nm.c (display_file, display_archive), size.c (display_bfd):
+       Eliminate gotos.
+       Print matching formats if there is an ambiguous match.  Use
+       bfd_nonfatal instead of hardcoded error message if nothing matches.
+
+       * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
+       abfd->filename. 
+
+       * nm.c (display_archive): New function, from code in display_file.
+       (display_rel_file): Renamed from do_one_rel_file.
+
+       * size.c: Indent.
+       (display_archive): New function from code in display_file.
+       (display_file): Check bfd_close error return.
+
+       * strings.c (strings_object_file): Check bfd_check_format
+       error return.
+
+       * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
+
+       * bucomm.c: Delete references to exit_handler.  It wasn't set
+       anywhere, and now that we're using the libiberty xmalloc, it
+       wouldn't always get called before exiting.
+       (list_matching_formats): Function moved from objdump.c.
+       * bucomm.h: Declare it.
+
+       * objdump.c (disassemble_data): Move some variable decls closer to
+       their use.  Add some comments.  Replace a nested block with a
+       return. 
+
+Mon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * objdump.c (display_target_list, display_info_table): Check that
+       the bfd of the dummy output file is not null.
+
+Wed Jan 26 13:13:18 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * objcopy.c (filter_bytes): New function.
+       (copy_section): Call it.
+       (copy_options, copy_usage, copy_main): Add --byte option to
+       activate it.  Appropriate the -b option (which was an undocumented
+       synonym for -F) for it, also.  Add --interleave, -i option for
+       additional control.
+       (setup_section, copy_section, mangle_section): Renamed with no `s'
+       on the end.
+       * objcopy.1, binutils.texi: Document the new options.
+
+       * objdump.c (display_target_tables, display_target_list):
+       New functions broken out of display_info.
+       Eliminate some magic constants.  Use more meaningful variable names.
+       (dump_bfd_header): New function broken out of display_bfd.
+       (dump_section_header): New function broken out of dump_headers.
+       (remove_useless_symbols): Don't shadow global variable name with
+       parameter. 
+       (objdump_print_address): Fix backward test.
+
+Tue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
+       * objdump.h: Removed.
+
 Mon Jan 24 13:29:02 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
 
+       * objdump.c (display_file): Remove call to list_matching_formats.
+       It would never be called.
+       (list_matching_formats): Take an arg giving the list of matching
+       formats.
+       (display_bfd): Pass the arg, and get it filled in by calling
+       bfd_check_format_matches instead of bfd_check_format.
+       (display_info, display_info_table): target_vector was renamed to
+       bfd_target_vector. 
+
        * binutils.texi (objdump): Note some limitations of -h section
        address printing.
 
@@ -1478,4 +2328,10 @@ Fri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
        * copy.c:  Change =& constructs to = &, since they confuse older
        C compilers.
 
-
+\f
+Local Variables:
+mode: indented-text
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
This page took 0.030084 seconds and 4 git commands to generate.