* nlmconv.c (main): Force moduleName field to upper case.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index fc10c45d40bbaffe2e5810c658a6bf780b93eb82..2b207fcb0d5daa6813eae37d7f8a0e86f5de8e5b 100644 (file)
@@ -1,3 +1,523 @@
+Wed Oct 27 12:03:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (main): Force moduleName field to upper case.
+
+Mon Oct 25 16:45:42 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objcopy.c (main): Give a usage message if there are too many
+       arguments.
+
+Mon Oct 25 10:37:08 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
+
+       * Makefile.in (install-info): Rewrite to take advantage of VPATH,
+       so FSF distributions (with info files in $(srcdir)) install
+       properly.
+       (DISTSTUFF): Build nlmheader.c too.
+
+Fri Oct 22 11:43:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
+
+       * ar.c (program_name): Don't define here.
+       * objdump.c: Include "bucomm.h".
+       (xmalloc): Don't declare here.
+       (program_name): Don't define here.
+       (program_version): Fixed type in declaration.
+       * size.c: Include "bucomm.h".
+       (program_name): Don't declare here.
+
+Fri Oct 22 14:10:41 1993  Mark Eichin  (eichin@cygnus.com)
+
+       * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
+
+Fri Oct  1 12:43:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
+       relocs against defined symbols in the same section.
+
+Thu Sep 30 16:46:26 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
+
+       * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
+
+Sat Sep 25 18:09:29 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * objcopy.c (simple_copy, smart_rename): New functions.
+       (main): Use them.
+
+Fri Sep 24 15:38:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Makefile.in (clean, distclean): Recurse into testsuite.
+
+Thu Sep 23 01:05:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objcopy.c (setup_sections, copy_sections): If stripping, don't
+       copy SEC_DEBUGGING sections.
+       * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
+
+       * objdump.c (usage): Mention --stabs.
+
+       * objcopy.c (copy_object): Copy all applicable file flags.
+       (copy_file): Don't copy EXEC_P specially here.
+
+Mon Sep 20 19:28:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (main): Adjust data section size to correspond to bss
+       alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
+       a different section.  Use time_t for time variable.
+       (setup_sections): Only put sections with contents in output NLM.
+       (i386_mangle_relocs): No symbols are common at this point.  Add
+       casts to avoid warnings.        
+
+Fri Sep 10 11:00:40 1993  Stan Shebs  (shebs@rtl.cygnus.com)
+
+       * objdump.c: Made the --stabs option work for stabs-in-coff.
+       (ELF_STAB_DISPLAY): Removed.
+       (dump_elf_stabs): Renamed to dump_stabs, changed to run for
+       any object file format.
+       (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
+       generic BFD routines for non-ELF case, changed format of message
+       for no-section-found case.
+       (display_bfd): Always call dump_stabs if requested.
+       (dump_data): Call bfd_section_size to get section size.
+
+Fri Sep 10 08:12:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * Makefile.in (install): Don't put strings in tooldir/bin.
+
+Mon Sep  6 15:39:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (total_bss_size): Removed.
+       (main): Set the bss vma to always follow the data section.  Move
+       symbols into new sections, and adjust values by output_offset.
+       (setup_sections): Don't copy all sections, but instead point all
+       text sections to .text, all data sections to .data, and all bss
+       sections to .bss.
+       (copy_sections): Adjust accordingly.
+
+Thu Sep  2 12:34:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Only build nlmconv if configured for a NetWare target.
+       * configure.in: If we have some *-*-netware* target, or are using
+       all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
+       * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
+       $(NLMCONV_PROG).
+
+Tue Aug 31 14:13:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * objdump.c (ARCH_all): Define ARCH_hppa too.
+       (dump_headers): Don't test for SEC_BALIGN if it's not defined by
+       bfd.h.
+
+Tue Aug 31 13:29:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (main): Force creation of .bss section.  Set up the
+       sections before looking at the symbols.  Move all common symbols
+       into .bss section.  Automatically define _edata and _end.  Only
+       export symbols in the export list, with multiple prefixes if
+       necessary.  Warn if no version.  Always create extended header.
+       Set date automatically if not already set.
+       (setup_sections): Count size of bss sections.
+       (mangle_relocs, i386_mangle_relocs): Accept section argument, and
+       take reloc_count as a changeable pointer; changed callers.
+       (i386_mangle_relocs): Remove PC relative relocs within a section,
+       as they require no adjustment.
+       * nlmheader.y: Fixed memory allocation throughout: token STRING is
+       now allocated on the heap, and freed if not needed.  Null
+       terminated copyright message.  Accept version with only two
+       strings.
+       (symbol_list_opt): New nonterminal, either symbol_list or empty.
+       (symbol_list): Use left recursion to avoid overflowing parser
+       stack.
+       (yylex): Rearranged beginning of line check.  Accept quoted
+       strings using single quotes.  End generic argument at comment
+       character or parentheses.
+       (string_list_append): Fixed.
+       (string_list_append1): New function.
+
+       * bucomm.h: The first argument to xrealloc is PTR, not char *.
+       * bucomm.c (xrealloc): Use PTR rather than char *.
+       * Makefile.in (objdump.o): Depend upon config.status to notice
+       --with-targets changes.
+       (nlmconv.o): Depend upon bucomm.h.
+
+Tue Aug 17 09:46:01 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * configure.in: Don't pass cpu to config.bfd.
+
+Thu Aug 12 16:43:04 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * Makefile.in ($(NM_PROG)): Depend on demangle.o.
+       (demangle.o): New target.
+       (cplus-dem.o): Depend on it, to force compilation order when doing
+       parallel compiles.
+
+       * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
+       (struct output_fns print_symbol_info): Ditto.
+       (long_options, usage, main): Add -C --demangle option.
+       (print_symname): New function, demangling if requested.
+       (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
+
+Wed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * Makefile.in: Put CFLAGS last in compilation rules and omit from
+       linking rules.  Use ARCHDEFS to compile objdump.c.
+       Update dependencies.
+       * configure.in: Construct ARCHDEFS based on the BFD target makefile
+       fragments.
+       * objdump.c: Conditionalize calls to the print_insn_ARCH functions
+       according to ARCHDEFS.
+
+Thu Aug 12 08:06:15 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * ar.c: Removed obsolete and non-functional GNU960 code.
+
+Wed Aug 11 13:08:26 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * size.c (berkeley_sum): New function.
+       (bsssize, datasize, textsize): New global variables.
+       (bss_section_name, data_section_name, text_section_name): Removed.
+       (print_berkeley_format): Map berkeley_sum over all the sections,
+       rather than only reporting sizes of specifically named sections.
+       * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
+
+Tue Aug 10 10:46:01 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
+       convert object files into NetWare Loadable Modules.
+       * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
+       (PROGS): Add NLMCONV_PROG.
+       (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
+       targets.
+
+Thu Aug  5 15:48:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * Makefile.in: define MAKEOVERRIDES to an empty string
+
+Wed Aug  4 17:08:08 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * objcopy.c (copy_file): Make failures to process a file nonfatal.
+
+Mon Aug  2 11:28:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * nm.c: Add -B option, like --format=bsd.
+
+Tue Jul 27 16:29:54 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objcopy.c (copy_file): If the file is neither an object nor an
+       archive, give an error rather than returning success.
+
+Mon Jul 19 16:13:40 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
+
+       * objdump.c (objdump_print_address): Prefer non-local symbols over
+       local ones, and especially discriminate against debugging symbols.
+       Also, for relocateable files, try to find a symbol in the current
+       section, instead of picking one from some random section with a
+       convenient value (read, section offset).
+       (disassemble_data): Cast argument to malloc to size_t first.
+       (dump_data): Likewise.
+       (dump_relocs): If a single section name is specified, show relocs
+       only for that section.  Otherwise, silently omit sections without
+       relocs.  Format table nicely even if values are printed using 16
+       digits instead of 8.
+
+Fri Jul 16 15:19:59 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * nm.c: Changes for final version of POSIX.2.
+       (print_symbol_filename_{bsd,sysv,posix}): New functions.
+       (formats): Add an element for a pointer to them.
+       (print_symbols): Call it.
+       (print_object_filename_posix, print_archive_member_posix): Produce
+       output according to new POSIX.2 spec.
+
+       * strings.c (print_strings): Handle STREAM being NULL.
+       (strings_a_section): Pass a NULL.
+       (main): Don't open /dev/null.
+
+Thu Jul 15 12:44:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * objdump.c (disassemble_data): Handle the m88k.
+       (display_bfd): Use bfd_errmsg, rather than just claiming that the
+       bfd is not an object file.
+
+Mon Jul 12 17:55:34 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * Makefile.in (TAGS): make work again by naming directories
+         explicitly rather than depending on undefined macros.
+         (INSTALL_XFORM): correct bad install target.
+
+Fri Jul  2 16:58:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * strings.c: Doc fixes.
+
+Sun Jun 27 13:35:24 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * Makefile.in: Note dependencies on bucomm.h.
+       (cplus-dem.o): Link c++filt with version.o.
+
+       * strings.c: Include bucomm.h and add prototypes to other decls.
+       Remove -h option.
+
+       * bucomm.h: Declare xrealloc.
+
+       * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
+       --help option.  Put "GNU" in the version message.
+       (usage): Take stream and exit status as args.
+       (main): Pass new args to usage.
+
+Fri Jun 25 23:12:12 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * strings.c, strings.1: New files.
+       * binutils.texi: Document strings.
+       * Makefile.in: Add rules for it.
+
+Fri Jun 25 20:44:43 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * objdump.c: Use size-independent bfd elf section names.
+
+Sun Jun 20 23:09:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * objdump.c (objdump_print_address): Handle wide offsets by
+       calling sprintf_vma.
+
+Fri Jun 18 14:29:12 1993  Per Bothner  (bothner@deneb.cygnus.com)
+
+       * objdump.c (syms2):  Removed unused variable.
+       * objdump.c (remove_useless_symbols):  New function.
+       * objdump.c (comp):  Simplify.
+       * objdump.c (dis-assemble_data):  Make simpler and more
+       efficient how we filter out useless symbols:  Just filter
+       BEFORE the sort (using remove_useless_symbols).
+       * objdump.c (objdump_print_address):  Simplify.
+       Change output syntax to match gdb.
+
+Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
+       
+       * Makefile.in: canonicalize install.sh; for use within
+       this directory (and subdirs)
+
+Mon Jun 14 12:13:22 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
+
+       * Makefile.in (install, install-info): remove parentdir support,
+       use INSTALL_XFORM; define INSTALL_XFORM
+
+Thu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
+
+       * objcopy.c (copy_object):  Fix bad size passed to xmalloc().
+
+Mon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
+       * configure.in:  No longer need to configure to get sysdep.h.
+       * objcopy.c (copy_object):  Fix symbol table handling.
+
+Fri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
+
+       * objcopy.c (filter_symbols):  Cannot filter the symbols
+       in place, because that confuses the relocs, so take separate
+       parameter for output array.
+       * objcopy.c (sympp):  Make two variables: isympp and osympp.
+       * objcopy.c (copy_object):  Allocate separate array (osympp)
+       for filtered symbols.
+
+Fri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * Makefile.in: change recursion test to presence of a configured
+       testsuite directory
+
+Thu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * Makefile.in (underscore.c): Hack the backquoted command so it
+       doesn't cause Solaris make to bomb.
+
+Thu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
+
+       * Makefile.in:  added c++filt and objcopy to MANPAGES variable
+       * .Sanitize:  keep c++filt.1 and objcopy.1
+
+Thu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * Makefile.in: rename LOADLIBES to EXTRALIBS
+
+Wed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
+
+       * c++filt.1, objcopy.1:  new man pages
+
+Fri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * Makefile.in (install):  Also install ar and ranlib in
+       $(tooldir)/bin;  needed for building libgcc.a.
+       * objdump.c (objdump_print_address):  Fix the check
+       "coincidental" label matches by dis-allowing undefined
+       or com symbols.
+
+Thu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
+
+        * biutils.texi:  revised c++filt chapter
+
+Wed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
+
+Tue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       * objdump.c (slurp_symtab): Print warning for bad symbol table.
+       (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
+       declarations and uses.
+
+       * Makefile.in (DISTSTUFF): Don't build binutils.mm.
+
+Fri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
+       Make global variables static.
+       (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
+       (set_print_radix, set_output_format,
+       print_{object_filename,archive_filename,archive_member,symbol_info}
+       {bsd,sysv,posix}): New functions.
+       (display_file, print_symbols): Call them.
+
+       * ar.c: Improve error messages.
+
+       * nm.c (main): Handle long options that just set a flag.
+
+       * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
+       (main): Exit after printing the version number, per the GNU coding
+       standards.
+
+Mon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
+
+       * README, Makefile.in:  Minor updates for 2.2.
+
+Fri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
+
+       * Makefile.in (underscore.c):  Automatically generate
+       (using nm) a file with the variable prepends_underscore.
+       * Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
+       so that initial underscores get removed iff appropriate.
+       * binutils.texi:  Preliminary documentation for c++filt.
+       * Makefile.in, binutils.texi:  Set to version 2.2.
+
+       * NEWS:  Mention copy->objcopy renaming and new c++filt program.
+
+Wed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
+       demangler via cplus-dem.o, rather than directly from the .c file.
+
+       * objcopy.c: Renamed from copy.c, updated comments accordingly.
+       * Makefile.in, binutils.texi: Renamed copy to objcopy.
+       * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
+       rename of copy to objcopy.
+
+Mon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
+
+       * binutils.texi (strip, -v option):  Fix typo.
+
+Fri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (RUNTEST): Define.
+       (FLAGS_TO_PASS): Pass down RUNTEST.
+
+Tue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (DEMANGLER_PROG): Name it c++filt.
+       (PROG): Also build and install COPY_PROG.
+
+Mon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
+
+       * Makefile.in:  Change definition of $(tooldir) to match FSF.
+
+Wed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * size.c (usage): Add missing options.
+       (main): Clean up option parser.
+
+       * objdump.c (usage): Add missing options.
+       (display_file): Print program name before calling
+       bdf_perror. 
+
+       * nm.c (usage): Add missing options.
+       (main): Clean up option parser.
+       (display_file): Print program name before calling
+       bdf_perror. 
+
+       * copy.c (copy_usage, strip_usage): Add missing options.
+
+       * ar.c (usage): New function.
+       (main): Call it.
+       (open_inarch, do_quick_append): Print program name before calling
+       bdf_perror. 
+
+Thu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
+
+Mon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
+
+       * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
+       built binaries if they exist. (otherwise the path)
+
+Wed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
+
+       * Makefile.in: Changed check target to use DejaGnu.
+
+Thu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
+       objdump.c: a29k and i960 are `disassemble' not `print'.
+
+       * objdump.c: Rename print_address to objdump_print_address
+       and change parameters.
+       (disassemble_data): Use objdump_print_address.
+
+Wed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * objdump.c (disassemble_data): print_insn_sparc is now a
+       `disassemble' not a `print'.
+       Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
+
+       * objdump.c (disassemble_data): Use new read_memory_func stuff.
+
+Thu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * objdump.c (fprintf): Declaration of variadic function had better
+       be a prototype for ANSI C systems.
+
+Mon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * Makefile.in: rename test-install to install-check
+
+Fri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * objdump.c (disassemble_data): Add H8500.
+
+Fri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * objdump.c (usage): Mention long options.
+
+Thu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * nm.c:  Modify behavior of -o flag for archives to match
+       BSD4.4 and Sunos 4:  Prefix archive name before each line.
+
+       * m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
+       * i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
+       * Makefile.in:  Adjust accordingly.
+       * objdump.c:  Support new-style disassemblers (ones that use
+       the interface of ../include/dis-asm.h).
+
+Thu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * Makefile.in:  When making tar file, remove texinfo/*,
+       except for texinfo/texinfo.tex.
+       * ardup.c:  Add extern declaration of strdup.
+       * Makefile.in (testsuite):  Add 'else true' since otherwise
+       Ultrix /bin/sh complains.
+
+Wed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * Makefile.in:  Set VERSION to 2.1.
+       * README, NEWS: Updates.
+       * nm.c:  Add -v as a synonym for -V.
+
 Tue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
 
        * configure.in: added testsuite to configdirs.
This page took 0.027211 seconds and 4 git commands to generate.