3 * Makefile.in (install-info): Rewrite to take advantage of VPATH,
4 so FSF distributions (with info files in $(srcdir)) install
6 (DISTSTUFF): Build nlmheader.c too.
10 * ar.c (program_name): Don't define here.
11 * objdump.c: Include "bucomm.h".
12 (xmalloc): Don't declare here.
13 (program_name): Don't define here.
14 (program_version): Fixed type in declaration.
15 * size.c: Include "bucomm.h".
16 (program_name): Don't declare here.
20 * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
24 * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
25 relocs against defined symbols in the same section.
29 * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
33 * objcopy.c (simple_copy, smart_rename): New functions.
38 * Makefile.in (clean, distclean): Recurse into testsuite.
42 * objcopy.c (setup_sections, copy_sections): If stripping, don't
43 copy SEC_DEBUGGING sections.
44 * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
46 * objdump.c (usage): Mention --stabs.
48 * objcopy.c (copy_object): Copy all applicable file flags.
49 (copy_file): Don't copy EXEC_P specially here.
53 * nlmconv.c (main): Adjust data section size to correspond to bss
54 alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to
55 a different section. Use time_t for time variable.
56 (setup_sections): Only put sections with contents in output NLM.
57 (i386_mangle_relocs): No symbols are common at this point. Add
58 casts to avoid warnings.
62 * objdump.c: Made the --stabs option work for stabs-in-coff.
63 (ELF_STAB_DISPLAY): Removed.
64 (dump_elf_stabs): Renamed to dump_stabs, changed to run for
65 any object file format.
66 (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
67 generic BFD routines for non-ELF case, changed format of message
68 for no-section-found case.
69 (display_bfd): Always call dump_stabs if requested.
70 (dump_data): Call bfd_section_size to get section size.
74 * Makefile.in (install): Don't put strings in tooldir/bin.
78 * nlmconv.c (total_bss_size): Removed.
79 (main): Set the bss vma to always follow the data section. Move
80 symbols into new sections, and adjust values by output_offset.
81 (setup_sections): Don't copy all sections, but instead point all
82 text sections to .text, all data sections to .data, and all bss
84 (copy_sections): Adjust accordingly.
88 Only build nlmconv if configured for a NetWare target.
89 * configure.in: If we have some *-*-netware* target, or are using
90 all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
91 * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
96 * objdump.c (ARCH_all): Define ARCH_hppa too.
97 (dump_headers): Don't test for SEC_BALIGN if it's not defined by
102 * nlmconv.c (main): Force creation of .bss section. Set up the
103 sections before looking at the symbols. Move all common symbols
104 into .bss section. Automatically define _edata and _end. Only
105 export symbols in the export list, with multiple prefixes if
106 necessary. Warn if no version. Always create extended header.
107 Set date automatically if not already set.
108 (setup_sections): Count size of bss sections.
109 (mangle_relocs, i386_mangle_relocs): Accept section argument, and
110 take reloc_count as a changeable pointer; changed callers.
111 (i386_mangle_relocs): Remove PC relative relocs within a section,
112 as they require no adjustment.
113 * nlmheader.y: Fixed memory allocation throughout: token STRING is
114 now allocated on the heap, and freed if not needed. Null
115 terminated copyright message. Accept version with only two
117 (symbol_list_opt): New nonterminal, either symbol_list or empty.
118 (symbol_list): Use left recursion to avoid overflowing parser
120 (yylex): Rearranged beginning of line check. Accept quoted
121 strings using single quotes. End generic argument at comment
122 character or parentheses.
123 (string_list_append): Fixed.
124 (string_list_append1): New function.
126 * bucomm.h: The first argument to xrealloc is PTR, not char *.
127 * bucomm.c (xrealloc): Use PTR rather than char *.
128 * Makefile.in (objdump.o): Depend upon config.status to notice
129 --with-targets changes.
130 (nlmconv.o): Depend upon bucomm.h.
134 * configure.in: Don't pass cpu to config.bfd.
138 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
139 (demangle.o): New target.
140 (cplus-dem.o): Depend on it, to force compilation order when doing
143 * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
144 (struct output_fns print_symbol_info): Ditto.
145 (long_options, usage, main): Add -C --demangle option.
146 (print_symname): New function, demangling if requested.
147 (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
151 * Makefile.in: Put CFLAGS last in compilation rules and omit from
152 linking rules. Use ARCHDEFS to compile objdump.c.
154 * configure.in: Construct ARCHDEFS based on the BFD target makefile
156 * objdump.c: Conditionalize calls to the print_insn_ARCH functions
157 according to ARCHDEFS.
161 * ar.c: Removed obsolete and non-functional GNU960 code.
165 * size.c (berkeley_sum): New function.
166 (bsssize, datasize, textsize): New global variables.
167 (bss_section_name, data_section_name, text_section_name): Removed.
168 (print_berkeley_format): Map berkeley_sum over all the sections,
169 rather than only reporting sizes of specifically named sections.
170 * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
174 * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
175 convert object files into NetWare Loadable Modules.
176 * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
177 (PROGS): Add NLMCONV_PROG.
178 (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
183 * Makefile.in: define MAKEOVERRIDES to an empty string
187 * objcopy.c (copy_file): Make failures to process a file nonfatal.
191 * nm.c: Add -B option, like --format=bsd.
195 * objcopy.c (copy_file): If the file is neither an object nor an
196 archive, give an error rather than returning success.
200 * objdump.c (objdump_print_address): Prefer non-local symbols over
201 local ones, and especially discriminate against debugging symbols.
202 Also, for relocateable files, try to find a symbol in the current
203 section, instead of picking one from some random section with a
204 convenient value (read, section offset).
205 (disassemble_data): Cast argument to malloc to size_t first.
206 (dump_data): Likewise.
207 (dump_relocs): If a single section name is specified, show relocs
208 only for that section. Otherwise, silently omit sections without
209 relocs. Format table nicely even if values are printed using 16
214 * nm.c: Changes for final version of POSIX.2.
215 (print_symbol_filename_{bsd,sysv,posix}): New functions.
216 (formats): Add an element for a pointer to them.
217 (print_symbols): Call it.
218 (print_object_filename_posix, print_archive_member_posix): Produce
219 output according to new POSIX.2 spec.
221 * strings.c (print_strings): Handle STREAM being NULL.
222 (strings_a_section): Pass a NULL.
223 (main): Don't open /dev/null.
227 * objdump.c (disassemble_data): Handle the m88k.
228 (display_bfd): Use bfd_errmsg, rather than just claiming that the
229 bfd is not an object file.
233 * Makefile.in (TAGS): make work again by naming directories
234 explicitly rather than depending on undefined macros.
235 (INSTALL_XFORM): correct bad install target.
239 * strings.c: Doc fixes.
243 * Makefile.in: Note dependencies on bucomm.h.
244 (cplus-dem.o): Link c++filt with version.o.
246 * strings.c: Include bucomm.h and add prototypes to other decls.
249 * bucomm.h: Declare xrealloc.
251 * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
252 --help option. Put "GNU" in the version message.
253 (usage): Take stream and exit status as args.
254 (main): Pass new args to usage.
258 * strings.c, strings.1: New files.
259 * binutils.texi: Document strings.
260 * Makefile.in: Add rules for it.
264 * objdump.c: Use size-independent bfd elf section names.
268 * objdump.c (objdump_print_address): Handle wide offsets by
273 * objdump.c (syms2): Removed unused variable.
274 * objdump.c (remove_useless_symbols): New function.
275 * objdump.c (comp): Simplify.
276 * objdump.c (dis-assemble_data): Make simpler and more
277 efficient how we filter out useless symbols: Just filter
278 BEFORE the sort (using remove_useless_symbols).
279 * objdump.c (objdump_print_address): Simplify.
280 Change output syntax to match gdb.
284 * Makefile.in: canonicalize install.sh; for use within
285 this directory (and subdirs)
287 Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
289 * Makefile.in (install, install-info): remove parentdir support,
290 use INSTALL_XFORM; define INSTALL_XFORM
294 * objcopy.c (copy_object): Fix bad size passed to xmalloc().
298 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
299 * configure.in: No longer need to configure to get sysdep.h.
300 * objcopy.c (copy_object): Fix symbol table handling.
304 * objcopy.c (filter_symbols): Cannot filter the symbols
305 in place, because that confuses the relocs, so take separate
306 parameter for output array.
307 * objcopy.c (sympp): Make two variables: isympp and osympp.
308 * objcopy.c (copy_object): Allocate separate array (osympp)
309 for filtered symbols.
311 Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
313 * Makefile.in: change recursion test to presence of a configured
318 * Makefile.in (underscore.c): Hack the backquoted command so it
319 doesn't cause Solaris make to bomb.
323 * Makefile.in: added c++filt and objcopy to MANPAGES variable
324 * .Sanitize: keep c++filt.1 and objcopy.1
326 Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
328 * Makefile.in: rename LOADLIBES to EXTRALIBS
332 * c++filt.1, objcopy.1: new man pages
336 * Makefile.in (install): Also install ar and ranlib in
337 $(tooldir)/bin; needed for building libgcc.a.
338 * objdump.c (objdump_print_address): Fix the check
339 "coincidental" label matches by dis-allowing undefined
344 * biutils.texi: revised c++filt chapter
348 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
352 * objdump.c (slurp_symtab): Print warning for bad symbol table.
353 (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
354 declarations and uses.
356 * Makefile.in (DISTSTUFF): Don't build binutils.mm.
360 * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
361 Make global variables static.
362 (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
363 (set_print_radix, set_output_format,
364 print_{object_filename,archive_filename,archive_member,symbol_info}
365 {bsd,sysv,posix}): New functions.
366 (display_file, print_symbols): Call them.
368 * ar.c: Improve error messages.
370 * nm.c (main): Handle long options that just set a flag.
372 * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
373 (main): Exit after printing the version number, per the GNU coding
378 * README, Makefile.in: Minor updates for 2.2.
382 * Makefile.in (underscore.c): Automatically generate
383 (using nm) a file with the variable prepends_underscore.
384 * Makefile.in (c++filt): Link underscore.o with cplus-dem.o
385 so that initial underscores get removed iff appropriate.
386 * binutils.texi: Preliminary documentation for c++filt.
387 * Makefile.in, binutils.texi: Set to version 2.2.
389 * NEWS: Mention copy->objcopy renaming and new c++filt program.
393 * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
394 demangler via cplus-dem.o, rather than directly from the .c file.
396 * objcopy.c: Renamed from copy.c, updated comments accordingly.
397 * Makefile.in, binutils.texi: Renamed copy to objcopy.
398 * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
399 rename of copy to objcopy.
403 * binutils.texi (strip, -v option): Fix typo.
407 * Makefile.in (RUNTEST): Define.
408 (FLAGS_TO_PASS): Pass down RUNTEST.
412 * Makefile.in (DEMANGLER_PROG): Name it c++filt.
413 (PROG): Also build and install COPY_PROG.
417 * Makefile.in: Change definition of $(tooldir) to match FSF.
421 * size.c (usage): Add missing options.
422 (main): Clean up option parser.
424 * objdump.c (usage): Add missing options.
425 (display_file): Print program name before calling
428 * nm.c (usage): Add missing options.
429 (main): Clean up option parser.
430 (display_file): Print program name before calling
433 * copy.c (copy_usage, strip_usage): Add missing options.
435 * ar.c (usage): New function.
437 (open_inarch, do_quick_append): Print program name before calling
442 * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
446 * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
447 built binaries if they exist. (otherwise the path)
451 * Makefile.in: Changed check target to use DejaGnu.
455 * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
456 objdump.c: a29k and i960 are `disassemble' not `print'.
458 * objdump.c: Rename print_address to objdump_print_address
459 and change parameters.
460 (disassemble_data): Use objdump_print_address.
464 * objdump.c (disassemble_data): print_insn_sparc is now a
465 `disassemble' not a `print'.
466 Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
468 * objdump.c (disassemble_data): Use new read_memory_func stuff.
472 * objdump.c (fprintf): Declaration of variadic function had better
473 be a prototype for ANSI C systems.
475 Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
477 * Makefile.in: rename test-install to install-check
481 * objdump.c (disassemble_data): Add H8500.
485 * objdump.c (usage): Mention long options.
489 * nm.c: Modify behavior of -o flag for archives to match
490 BSD4.4 and Sunos 4: Prefix archive name before each line.
492 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
493 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
494 * Makefile.in: Adjust accordingly.
495 * objdump.c: Support new-style disassemblers (ones that use
496 the interface of ../include/dis-asm.h).
500 * Makefile.in: When making tar file, remove texinfo/*,
501 except for texinfo/texinfo.tex.
502 * ardup.c: Add extern declaration of strdup.
503 * Makefile.in (testsuite): Add 'else true' since otherwise
504 Ultrix /bin/sh complains.
508 * Makefile.in: Set VERSION to 2.1.
509 * README, NEWS: Updates.
510 * nm.c: Add -v as a synonym for -V.
514 * configure.in: added testsuite to configdirs.
515 * Makefile.in: added support for building testsuite.
519 * objdump.c (disassemble_data): Print function names when
520 given by bfd_find_nearest_line. If not - still print
525 * binutils/testsuite: made modifications to testcases, etc., to allow
526 them to work properly given the reorganization of deja-gnu and the
527 relocation of the testcases from deja-gnu to a "tool" subdirectory.
531 * objdump.c (dump_data): Free up section contents each time
536 * binutils/testsuite: Initial creation of binutils/testsuite.
537 Migrated dejagnu testcases and support files for testing nm to
538 binutils/testsuite from deja-gnu. These files were moved "as is"
539 with no modifications. This migration is part of a major overhaul
540 of dejagnu. The modifications to these testcases, etc., which
541 will allow them to work with the new version of dejagnu will be
542 made in a future update.
546 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
547 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
548 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
550 * Makefile.in (PROGS): Add DEMANGLER_PROG.
554 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
555 macro rather than checking for equality to bfd_com_section.
559 * objdump.c (disassemble_data): Fix code to find first useless
564 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
565 Don't core dump if bfd_find_nearest_line returns false.
569 * objdump.c (disassemble_data): know how to disassemble z8000s
574 * arsup.h (interactive), bucomm.h (program_name): Prefix
575 with 'extern', to avoid warnings from some compilers.
579 * arparse.y: fix unnecessary shift/reduce
583 * Makefile.in: Make check depend on all.
584 * Makefile.in (distclean): Remove sysdep.h.
585 * size.c: Use %u format where appropriate.
586 * objdump.c: Standardize: L_SET -> SEEK_SET.
587 * objdump.c: Use new macro bfd_asymbol_bfd.
588 * configure.in: Allow std-host as the default ${mys_host}.
590 Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
592 * Makefile.in: added dvi target, define and use TEXI2DVI
596 * Makefile.in (dist): Fix permissions before release.
597 * size.c: Use bfd_size_type (and long) where appropriate.
598 * ar.c: Make writing a map the default, to be compatible
599 with SYSV and Posix.2. Remove some bogus kludges that
600 handled __.SYMDEF directly.
603 Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
605 * Makefile.in: flex no longer needs the -S flag
607 Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
609 * ar.c (extract_file): utime needs a pointer to a utimbuf
611 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
612 the list (since some of the bfd/hosts/*.h files include other
613 files from that directory)
617 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
621 Clean up some old BFD ansification macros.
623 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
624 It still remains as a local macro in gmalloc.c, which is derived
625 from some other copy of GNU Malloc somewhere (FIXME).
627 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
629 * arsup.h: Declare extract_files.
633 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
634 use utime and utimbuf structure, otherwise if USE_UTIME use utime
635 and array of two longs, otherwise use utimes.
639 * binutils.tex: Document yesterday's changes to strip and copy.
643 * copy.c: Re-do command-line parsing to use getopt_long().
644 Add long option names. Re-think option letters to be more
646 * copy.c: New function filter_symbols() for stripping only
647 debug-symbols and/or local symbols. Use these to support
648 the previously-missing options of the old FSF strip.
652 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
653 than repeating a copy of it here.
657 * copy.c (main): Even if is_strip, accept -d argument indicating
658 alternate output format. Needed by gdb for Nindy.
660 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
664 * binutils.texi: added documentation for "copy"
666 Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
668 * Makefile.in (*clean rules): Some cleaning up.
669 * Makefile.in (dist): Make diststuff in gprof for a dist.
671 * ar.c (do_show_version): New function.
672 * ar.c (main): Fix so "ar -V" works.
674 Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
676 * configure.in: now uses the cpu-vendor-os triple instead of
681 * i960-pinsn.c: Change bzero to memset.
682 * sparc-pinsn.c: Change index to strchr.
686 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
687 operands to memory management instructions, from WRS.
691 * Makefile.in (install): if $(tooldir) exists, install nm and
692 strip in $(tooldir)/bin.
696 * Makefile.in: Let's call it version 2.0.
700 * Makefile.in: Bump to version 0.98.
701 * TODO, README: Minor updates.
703 * Makefile.in: Added mostlyclean, distclean rules,
704 and cleaned up clean, realclean.
708 * Makefile.in: map program names through program_transform_name
713 * Makefile.in: Bump to versions 1.97.90.
714 * cplus-dem.c: Removed. Was nowhere used - and if some
715 programs are changed to to demangling should now use the
716 versions in libiberty.
720 * configure.in: add we32k
724 * ar.c (map_over_members): if the element of the archive has a
725 null name, fill it in.
727 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
728 will be symbols and there aren't any.
732 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
736 * nm.c objdump.c: Added support for a +version (-V)
737 to print the version number.
739 * ar.c, copy.c: Added support for a -V option to print
744 * config/mh-apollo68v: removed -g from CC definition.
746 * Makefile.in: always create installation directories.
750 * m68k-pinsn.c: Minor fix in style of output (don't use
751 range to indicate floating point control registers).
755 * ar.c (main): Don't *always* set the verbose flag!
759 * copy.c: When is_strip (because it is invoked as the strip
760 program), follow traditional argv processing:
761 'strip file1 file2' now strips file1 and file2, rather
762 than stripping file1 (as input), leaving output in file2.
766 * objdump.c (display_info, display_info_table): Call
767 bfd_set_format() on dummy bfd before using it (twice).
768 * ar.c: Make sure archive is created on command 'r'
769 even when no elements are inserted. (Clean up and
770 simplify some non-working related code.)
774 * configure.in: hppa support doesn't assume hp OS (from sef).
776 Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
778 * configure.in: recognize hppa hosts (bsd & hpux), error messages
779 to stderr, not stdout
783 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
784 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
788 * Makefile.dos: removed rcsid.
792 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
796 * Makefile.in: Add program_suffix (parallel to program_prefix)
798 Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
800 * nm.c (sorters): Lint. Remove excess whitespace.
804 * nm.c (valueof macro): Add missing parentheses.
805 (Their lack screwed up numeric_forward().)
807 Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
809 * objdump.c (dump_elf_stabs): Also dump .stab.index and
811 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
812 * objdump.1, binutils.texi: Document new sections dumped.
814 Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
816 * size.c, objdump.c, bucomm.c: Lint.
818 Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
820 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
821 .stab section from an ELF file. Installed under #ifdef
822 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
823 bfd-internals header files and such.
824 * objdump.1, binutils.texi: Update for --stabs. Also fix
825 objdump's doc to use -- rather than + for long options.
826 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
830 * objdump.c(display_info), patches from
836 * objdump.c: Add another enum->int cast, for the sake of
837 old compilers (such as PCC).
841 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
842 Add declaration of strdup().
846 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
847 rules, since these are used when building a distribution.
848 * Makefile.in (arlex.c): Don't re-direct output, since that
849 leaves a bogus output files if it fails.
851 * arlex.l: Make work with lex, for what it's worth.
852 * Makefile.in: Better lex support.
853 * Makefile.in (dist): Generate flex and bison outputs
858 * Makefile.in: get BISON definition right.
862 * sanity.sh: default TMPDIR to ".".
866 * binutils.texi: add doc for ar command language.
870 * arparse.y: make END call ar_end
871 * arsup.c (ar_end): added, deletes temp file if archive session
877 * Makefile.in: use bison & flex from ../ if they exist. Also,
880 * sanity.sh: remove temporary directory when finished.
884 * Makefile.in: Bump to version 1.97.
885 * ar.c: Declare errno for machines that need it.
889 * objdump.c (display_info): Handle error cases without coredump.
890 Close the dummy temporary file we open in the loop.
891 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
895 * Makefile.in: added test-install target.
897 * sanity.sh: new file.
899 * Makefile.in: use sanity test on make check.
903 * Makefile.in: rework CFLAGS so that they can be passed on the
904 command line to make. Remove MINUS_G. Default CFLAGS to -g.
908 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
913 * Makefile.in: added check target.
917 * Makefile.in: added clean-info target.
921 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
922 installed. added tooldir and program_prefix.
926 * Makefile.in, configure.in: removed traces of namesubdir,
927 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
928 copyrights to '92, changed some from Cygnus to FSF.
930 Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
932 * Makefile.in: Bump version to 1.96, and remove -beta
933 suffix from distribution name.
934 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
935 the signed value of a character (even if chars are unsigned).
936 * sparc-pinsn.c: Add new operand types.
938 Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
940 * objdump.c (disassemble_data): don't print a section's contents
941 if it's not loadable (eg bss)
943 Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
945 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
946 displacements don't get printed as large +ve ones.
948 Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
950 * copy.c, nm.c, objdump.c, size.c : changed to use the
954 Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
956 * bucomm.c (print_arelt_descr): Tweek the output format
957 so that 'ar tv' output follows Posix 1003.2/D11.
958 Output is now also identical to Sun's (except __.SYMDEF).
960 Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
962 * Makefile.in: Make `make' output more readable.
964 Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
966 * Makefile.in: Bump to version 1.94.
968 Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
970 * ar.c: added "b" to fopens for dos
971 * configdj.bat, makefile.dos new files from DJ
973 Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
975 * Makefile.in: infodir belongs in datadir.
977 Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
979 * bucomm.h: created to hold prototypes of bucomm.c
980 * objdump.h: created to hold prototyes of objdump.c
981 * am29k-pinsn.c: include objdump.h
982 * ar.c: include bucomm.h, get ar.h from the right place and
984 * bucomm.c: defunize bfd_fatal
985 * copy.c: include bucomm.h, lint.
986 * i960-pinsn.h: include bucomm.h
988 * nm.c: include bucomm.h, lint
990 * sparc-pinsn.c: include objdump.h
994 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
996 * Makefile.in: added standards.text support. install using
997 INSTALL_PROGRAM and INSTALL_DATA.
999 * configure.in: configure now does all of it's work from objdir so
1000 make file existence tests against ${srcdir}.
1002 Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1004 * Makefile.in: idestdir and ddestdir go away. Added copyrights
1005 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
1006 and mandir now keyed off datadir by default.
1008 Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
1010 * Makefile.in: Bump to version 1.93.
1011 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
1012 for make versions that provide half-baked VPATH-support (e.g. Sun's).
1013 * size.c: Improvements suggested by
1015 - Don't emit (Berkeley) headers if no files were found.
1016 - Return a non-zero return code on failure.
1018 Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1020 Changes due to include file renaming:
1021 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
1022 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
1023 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
1024 * nm.c: stab.gnu.h -> aout/stab_gnu.h
1026 Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
1028 * README: Mention MINIMIZE flag for bfd's make.
1030 Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
1032 * README: Various improvements.
1034 Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
1036 * Makefile.in: Bump to version 1.92.
1037 * version.c, Makefile.in: Get version string from Makefile.
1038 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
1039 Make the same change that we earlier did for ar/ranlib:
1040 Generate two different binaries for strip and copy and use
1041 a global variable with different values to distinguish
1042 ostrip from copy. (-1 means to use argv[0] to decide,
1043 so you can get the old behavior, but it is no longer the default).
1044 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
1045 * copy.c (main): If is_strip==-1, compare last 5 chars
1046 of argv[0], not the whole path.
1047 * copy.c (main): Return 0, not 1.
1048 * copy.c (setup_sections): Fix due to change in bfd_make_section
1049 now failing if asked for a duplicate section.
1050 * strip.c, ostrip.c: Removed obsolete files.
1051 * ar.c, not-ranlib.c, maybe-ranlib.c:
1052 Change encoding of is_ranlib variable to be consistent
1053 with is_strip for strip.copy (i.e -1 to means use argv[0]).
1055 Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
1057 * version.c (program_version): Update to version 1.92.
1059 Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
1061 * ar.c (get_pos_bfd): Previous fix was missing a "break".
1063 Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
1065 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
1066 encodings. (Thaks to David Wood)
1068 Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
1070 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
1071 * ar.c (get_pos_bfd): Fix to handling of before/after
1072 positioning options.
1073 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
1074 since libiberty contains vfprintf etc if otherwise missing.
1075 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
1076 type operands, as used by branch instructions.
1077 * nm.c: Delegate printing of symbols to BFD,
1078 by using bfd_print_symbol to do the formatting.
1080 Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
1082 * ar.c (write_archive.c): added unlink before rename since some
1083 systems can't rename onto an existant file.
1085 Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
1087 * nm.c: now doesn't crash if a symbol with no section and no
1090 Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
1092 * Makefile.in, version.c: Bump to version 1.91.
1094 Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
1096 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
1097 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
1098 * strip.c: Add or update Copyright notice.
1099 * TODO: Add note on 'nm -a'.
1100 * version.c: Update version number to 1.90.
1101 * Makefile.in: Fix making of documentation for dist.
1103 Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
1106 * Makefile.in: New kludgy rules for making a tarfile.
1107 * Makefile.in: Fix bindir path.
1109 Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
1111 * Makefile.in: add targets binutils.mm, binutils.me
1113 Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
1115 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
1117 Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
1119 * Makefile.in: add target "binutils.ms"
1121 * binutils.texinfo: minor restructuring for texi2roff comfort.
1123 Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
1125 Restructure configuration scheme for bfd, binutils, ld.
1127 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
1128 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
1129 Change some config names to match other dirs.
1130 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
1132 * Makefile.in: Use -I. to get sysdep.h.
1134 Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
1136 * nm.c (print_symbols): Handle NULL name field of symbol.
1137 * Makefile.in: Removed spurious comment.
1139 Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
1141 * binutils.texinfo: minor typos, phrasing, formatting fixes.
1143 Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
1145 * configure.in: Get host file from ../bfd/config, not config.
1146 * config/*: Remove config directory and its files.
1148 Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
1150 * Makefile.in: new targets binutils.dvi, binutils.info
1152 * binutils.texinfo: remove most remaining FIXME's, delete
1153 references to __.SYMDEF by name
1156 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
1158 * objdump.c (print_address) Print addresses nicely.
1160 Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
1162 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
1163 Make two different binaries for ar and ranlib, instead of
1164 distinguishing them at run time using argv[0].
1165 (Old behavior is still available if you "make ar_with_ranlib",
1166 but it is not the default.)
1167 * ranlib.sh (new): An alternative one-line
1168 shell implementation of ranlib.
1170 Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
1172 * objdump.c: Cope with renames of a few BFD types & enums.
1174 Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
1176 * binutils.texinfo: add new file (rudimentary docn)
1178 Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
1180 * config/hmake-news: Add new file (for Sony NEWSOS3).
1181 * bucomm.c (fatal): Conditionally compile fatal() depending on
1182 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
1183 * objdump.c (dump_headers): Trivial output format change.
1184 * objdump.c (display_info): Loop over integers, not enums,
1185 to appease old compilers.
1187 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1189 *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
1191 Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1193 * objdump.c (print_address): Make disasembled output more
1194 consistent with gdb and as: Add 0x when printing hex.
1195 Don't print extra leading zeros.
1196 Attempt to not print "filename.o".
1197 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
1200 Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
1202 * copy.c: Change =& constructs to = &, since they confuse older