3 * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
8 * nlmconv.c (main): Change various types from bfd_size_type to
9 size_t, since they have to be arguments to fread and fwrite.
10 Change set from char * to unsigned char *.
11 (select_output_format): Make mach argument unsigned. Handle
13 (setup_sections): Don't copy the .reginfo section of an ECOFF
14 file. Call bfd_set_reloc to initialize the relocation fields.
15 (copy_sections): Don't copy the .reginfo section of an ECOFF file.
16 Combine all relocs for a section.
17 (mangle_relocs): Change type of relocs to permit specific
18 functions to change it. Call alpha_mangle_relocs for alpha,
19 default_mangle_relocs for other architectures.
20 (default_mangle_relocs): New function. Adjust the address of all
21 relocs by the output_offset.
22 (i386_mangle_relocs): Change type of relocs argument. Cast length
23 argument to memmove to size_t.
24 (alpha_mangle_relocs): New function.
28 * nlmconv.c (select_output_format): Use nlm32-sparc for
33 * nlmconv.1: added man page
34 * objcopy.1: fixed format errors
38 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
42 * strings.1: Fix typo.
46 * Makefile.in (DISTSTUFF): Build "info".
47 (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
51 * objdump.c (dump_stabs): Handle stabs-in-som as implemented
52 by the new BFD SOM assembler.
56 * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
57 strings.1 strip.1: Replace \(em in NAME section with \- so
58 makewhatis can grok it.
62 * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
63 section output_offset.
67 * binutils.texi: added nlmconv chapter
71 * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
75 * Makefile.in (distclean): Don't get rid of dvi or info files.
79 * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
83 * binutils.texi: Move objcopy docs into alphabetical order.
85 * objdump.c: Use xmalloc instead of malloc.
89 * objdump.c (info): Rename to formats_info.
90 (dump_stabs_1): Better comments and formatting.
94 * ar.c (main): Always create the archive when quick appending,
95 even if no input files have been given.
99 * nlmconv.c (main): Set sharedDebugRecordOffset and
100 sharedDebugRecordCount fields in extended header.
102 * nlmconv.c (main): Force moduleName field to upper case.
106 * objcopy.c (main): Give a usage message if there are too many
111 * Makefile.in (install-info): Rewrite to take advantage of VPATH,
112 so FSF distributions (with info files in $(srcdir)) install
114 (DISTSTUFF): Build nlmheader.c too.
118 * ar.c (program_name): Don't define here.
119 * objdump.c: Include "bucomm.h".
120 (xmalloc): Don't declare here.
121 (program_name): Don't define here.
122 (program_version): Fixed type in declaration.
123 * size.c: Include "bucomm.h".
124 (program_name): Don't declare here.
128 * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
132 * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
133 relocs against defined symbols in the same section.
137 * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
141 * objcopy.c (simple_copy, smart_rename): New functions.
146 * Makefile.in (clean, distclean): Recurse into testsuite.
150 * objcopy.c (setup_sections, copy_sections): If stripping, don't
151 copy SEC_DEBUGGING sections.
152 * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
154 * objdump.c (usage): Mention --stabs.
156 * objcopy.c (copy_object): Copy all applicable file flags.
157 (copy_file): Don't copy EXEC_P specially here.
161 * nlmconv.c (main): Adjust data section size to correspond to bss
162 alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to
163 a different section. Use time_t for time variable.
164 (setup_sections): Only put sections with contents in output NLM.
165 (i386_mangle_relocs): No symbols are common at this point. Add
166 casts to avoid warnings.
170 * objdump.c: Made the --stabs option work for stabs-in-coff.
171 (ELF_STAB_DISPLAY): Removed.
172 (dump_elf_stabs): Renamed to dump_stabs, changed to run for
173 any object file format.
174 (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
175 generic BFD routines for non-ELF case, changed format of message
176 for no-section-found case.
177 (display_bfd): Always call dump_stabs if requested.
178 (dump_data): Call bfd_section_size to get section size.
182 * Makefile.in (install): Don't put strings in tooldir/bin.
186 * nlmconv.c (total_bss_size): Removed.
187 (main): Set the bss vma to always follow the data section. Move
188 symbols into new sections, and adjust values by output_offset.
189 (setup_sections): Don't copy all sections, but instead point all
190 text sections to .text, all data sections to .data, and all bss
192 (copy_sections): Adjust accordingly.
196 Only build nlmconv if configured for a NetWare target.
197 * configure.in: If we have some *-*-netware* target, or are using
198 all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
199 * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
204 * objdump.c (ARCH_all): Define ARCH_hppa too.
205 (dump_headers): Don't test for SEC_BALIGN if it's not defined by
210 * nlmconv.c (main): Force creation of .bss section. Set up the
211 sections before looking at the symbols. Move all common symbols
212 into .bss section. Automatically define _edata and _end. Only
213 export symbols in the export list, with multiple prefixes if
214 necessary. Warn if no version. Always create extended header.
215 Set date automatically if not already set.
216 (setup_sections): Count size of bss sections.
217 (mangle_relocs, i386_mangle_relocs): Accept section argument, and
218 take reloc_count as a changeable pointer; changed callers.
219 (i386_mangle_relocs): Remove PC relative relocs within a section,
220 as they require no adjustment.
221 * nlmheader.y: Fixed memory allocation throughout: token STRING is
222 now allocated on the heap, and freed if not needed. Null
223 terminated copyright message. Accept version with only two
225 (symbol_list_opt): New nonterminal, either symbol_list or empty.
226 (symbol_list): Use left recursion to avoid overflowing parser
228 (yylex): Rearranged beginning of line check. Accept quoted
229 strings using single quotes. End generic argument at comment
230 character or parentheses.
231 (string_list_append): Fixed.
232 (string_list_append1): New function.
234 * bucomm.h: The first argument to xrealloc is PTR, not char *.
235 * bucomm.c (xrealloc): Use PTR rather than char *.
236 * Makefile.in (objdump.o): Depend upon config.status to notice
237 --with-targets changes.
238 (nlmconv.o): Depend upon bucomm.h.
242 * configure.in: Don't pass cpu to config.bfd.
246 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
247 (demangle.o): New target.
248 (cplus-dem.o): Depend on it, to force compilation order when doing
251 * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
252 (struct output_fns print_symbol_info): Ditto.
253 (long_options, usage, main): Add -C --demangle option.
254 (print_symname): New function, demangling if requested.
255 (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
259 * Makefile.in: Put CFLAGS last in compilation rules and omit from
260 linking rules. Use ARCHDEFS to compile objdump.c.
262 * configure.in: Construct ARCHDEFS based on the BFD target makefile
264 * objdump.c: Conditionalize calls to the print_insn_ARCH functions
265 according to ARCHDEFS.
269 * ar.c: Removed obsolete and non-functional GNU960 code.
273 * size.c (berkeley_sum): New function.
274 (bsssize, datasize, textsize): New global variables.
275 (bss_section_name, data_section_name, text_section_name): Removed.
276 (print_berkeley_format): Map berkeley_sum over all the sections,
277 rather than only reporting sizes of specifically named sections.
278 * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
282 * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
283 convert object files into NetWare Loadable Modules.
284 * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
285 (PROGS): Add NLMCONV_PROG.
286 (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
291 * Makefile.in: define MAKEOVERRIDES to an empty string
295 * objcopy.c (copy_file): Make failures to process a file nonfatal.
299 * nm.c: Add -B option, like --format=bsd.
303 * objcopy.c (copy_file): If the file is neither an object nor an
304 archive, give an error rather than returning success.
308 * objdump.c (objdump_print_address): Prefer non-local symbols over
309 local ones, and especially discriminate against debugging symbols.
310 Also, for relocateable files, try to find a symbol in the current
311 section, instead of picking one from some random section with a
312 convenient value (read, section offset).
313 (disassemble_data): Cast argument to malloc to size_t first.
314 (dump_data): Likewise.
315 (dump_relocs): If a single section name is specified, show relocs
316 only for that section. Otherwise, silently omit sections without
317 relocs. Format table nicely even if values are printed using 16
322 * nm.c: Changes for final version of POSIX.2.
323 (print_symbol_filename_{bsd,sysv,posix}): New functions.
324 (formats): Add an element for a pointer to them.
325 (print_symbols): Call it.
326 (print_object_filename_posix, print_archive_member_posix): Produce
327 output according to new POSIX.2 spec.
329 * strings.c (print_strings): Handle STREAM being NULL.
330 (strings_a_section): Pass a NULL.
331 (main): Don't open /dev/null.
335 * objdump.c (disassemble_data): Handle the m88k.
336 (display_bfd): Use bfd_errmsg, rather than just claiming that the
337 bfd is not an object file.
341 * Makefile.in (TAGS): make work again by naming directories
342 explicitly rather than depending on undefined macros.
343 (INSTALL_XFORM): correct bad install target.
347 * strings.c: Doc fixes.
351 * Makefile.in: Note dependencies on bucomm.h.
352 (cplus-dem.o): Link c++filt with version.o.
354 * strings.c: Include bucomm.h and add prototypes to other decls.
357 * bucomm.h: Declare xrealloc.
359 * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
360 --help option. Put "GNU" in the version message.
361 (usage): Take stream and exit status as args.
362 (main): Pass new args to usage.
366 * strings.c, strings.1: New files.
367 * binutils.texi: Document strings.
368 * Makefile.in: Add rules for it.
372 * objdump.c: Use size-independent bfd elf section names.
376 * objdump.c (objdump_print_address): Handle wide offsets by
381 * objdump.c (syms2): Removed unused variable.
382 * objdump.c (remove_useless_symbols): New function.
383 * objdump.c (comp): Simplify.
384 * objdump.c (dis-assemble_data): Make simpler and more
385 efficient how we filter out useless symbols: Just filter
386 BEFORE the sort (using remove_useless_symbols).
387 * objdump.c (objdump_print_address): Simplify.
388 Change output syntax to match gdb.
392 * Makefile.in: canonicalize install.sh; for use within
393 this directory (and subdirs)
395 Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
397 * Makefile.in (install, install-info): remove parentdir support,
398 use INSTALL_XFORM; define INSTALL_XFORM
402 * objcopy.c (copy_object): Fix bad size passed to xmalloc().
406 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
407 * configure.in: No longer need to configure to get sysdep.h.
408 * objcopy.c (copy_object): Fix symbol table handling.
412 * objcopy.c (filter_symbols): Cannot filter the symbols
413 in place, because that confuses the relocs, so take separate
414 parameter for output array.
415 * objcopy.c (sympp): Make two variables: isympp and osympp.
416 * objcopy.c (copy_object): Allocate separate array (osympp)
417 for filtered symbols.
419 Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
421 * Makefile.in: change recursion test to presence of a configured
426 * Makefile.in (underscore.c): Hack the backquoted command so it
427 doesn't cause Solaris make to bomb.
431 * Makefile.in: added c++filt and objcopy to MANPAGES variable
432 * .Sanitize: keep c++filt.1 and objcopy.1
434 Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
436 * Makefile.in: rename LOADLIBES to EXTRALIBS
440 * c++filt.1, objcopy.1: new man pages
444 * Makefile.in (install): Also install ar and ranlib in
445 $(tooldir)/bin; needed for building libgcc.a.
446 * objdump.c (objdump_print_address): Fix the check
447 "coincidental" label matches by dis-allowing undefined
452 * biutils.texi: revised c++filt chapter
456 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
460 * objdump.c (slurp_symtab): Print warning for bad symbol table.
461 (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
462 declarations and uses.
464 * Makefile.in (DISTSTUFF): Don't build binutils.mm.
468 * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
469 Make global variables static.
470 (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
471 (set_print_radix, set_output_format,
472 print_{object_filename,archive_filename,archive_member,symbol_info}
473 {bsd,sysv,posix}): New functions.
474 (display_file, print_symbols): Call them.
476 * ar.c: Improve error messages.
478 * nm.c (main): Handle long options that just set a flag.
480 * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
481 (main): Exit after printing the version number, per the GNU coding
486 * README, Makefile.in: Minor updates for 2.2.
490 * Makefile.in (underscore.c): Automatically generate
491 (using nm) a file with the variable prepends_underscore.
492 * Makefile.in (c++filt): Link underscore.o with cplus-dem.o
493 so that initial underscores get removed iff appropriate.
494 * binutils.texi: Preliminary documentation for c++filt.
495 * Makefile.in, binutils.texi: Set to version 2.2.
497 * NEWS: Mention copy->objcopy renaming and new c++filt program.
501 * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
502 demangler via cplus-dem.o, rather than directly from the .c file.
504 * objcopy.c: Renamed from copy.c, updated comments accordingly.
505 * Makefile.in, binutils.texi: Renamed copy to objcopy.
506 * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
507 rename of copy to objcopy.
511 * binutils.texi (strip, -v option): Fix typo.
515 * Makefile.in (RUNTEST): Define.
516 (FLAGS_TO_PASS): Pass down RUNTEST.
520 * Makefile.in (DEMANGLER_PROG): Name it c++filt.
521 (PROG): Also build and install COPY_PROG.
525 * Makefile.in: Change definition of $(tooldir) to match FSF.
529 * size.c (usage): Add missing options.
530 (main): Clean up option parser.
532 * objdump.c (usage): Add missing options.
533 (display_file): Print program name before calling
536 * nm.c (usage): Add missing options.
537 (main): Clean up option parser.
538 (display_file): Print program name before calling
541 * copy.c (copy_usage, strip_usage): Add missing options.
543 * ar.c (usage): New function.
545 (open_inarch, do_quick_append): Print program name before calling
550 * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
554 * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
555 built binaries if they exist. (otherwise the path)
559 * Makefile.in: Changed check target to use DejaGnu.
563 * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
564 objdump.c: a29k and i960 are `disassemble' not `print'.
566 * objdump.c: Rename print_address to objdump_print_address
567 and change parameters.
568 (disassemble_data): Use objdump_print_address.
572 * objdump.c (disassemble_data): print_insn_sparc is now a
573 `disassemble' not a `print'.
574 Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
576 * objdump.c (disassemble_data): Use new read_memory_func stuff.
580 * objdump.c (fprintf): Declaration of variadic function had better
581 be a prototype for ANSI C systems.
583 Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
585 * Makefile.in: rename test-install to install-check
589 * objdump.c (disassemble_data): Add H8500.
593 * objdump.c (usage): Mention long options.
597 * nm.c: Modify behavior of -o flag for archives to match
598 BSD4.4 and Sunos 4: Prefix archive name before each line.
600 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
601 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
602 * Makefile.in: Adjust accordingly.
603 * objdump.c: Support new-style disassemblers (ones that use
604 the interface of ../include/dis-asm.h).
608 * Makefile.in: When making tar file, remove texinfo/*,
609 except for texinfo/texinfo.tex.
610 * ardup.c: Add extern declaration of strdup.
611 * Makefile.in (testsuite): Add 'else true' since otherwise
612 Ultrix /bin/sh complains.
616 * Makefile.in: Set VERSION to 2.1.
617 * README, NEWS: Updates.
618 * nm.c: Add -v as a synonym for -V.
622 * configure.in: added testsuite to configdirs.
623 * Makefile.in: added support for building testsuite.
627 * objdump.c (disassemble_data): Print function names when
628 given by bfd_find_nearest_line. If not - still print
633 * binutils/testsuite: made modifications to testcases, etc., to allow
634 them to work properly given the reorganization of deja-gnu and the
635 relocation of the testcases from deja-gnu to a "tool" subdirectory.
639 * objdump.c (dump_data): Free up section contents each time
644 * binutils/testsuite: Initial creation of binutils/testsuite.
645 Migrated dejagnu testcases and support files for testing nm to
646 binutils/testsuite from deja-gnu. These files were moved "as is"
647 with no modifications. This migration is part of a major overhaul
648 of dejagnu. The modifications to these testcases, etc., which
649 will allow them to work with the new version of dejagnu will be
650 made in a future update.
654 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
655 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
656 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
658 * Makefile.in (PROGS): Add DEMANGLER_PROG.
662 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
663 macro rather than checking for equality to bfd_com_section.
667 * objdump.c (disassemble_data): Fix code to find first useless
672 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
673 Don't core dump if bfd_find_nearest_line returns false.
677 * objdump.c (disassemble_data): know how to disassemble z8000s
682 * arsup.h (interactive), bucomm.h (program_name): Prefix
683 with 'extern', to avoid warnings from some compilers.
687 * arparse.y: fix unnecessary shift/reduce
691 * Makefile.in: Make check depend on all.
692 * Makefile.in (distclean): Remove sysdep.h.
693 * size.c: Use %u format where appropriate.
694 * objdump.c: Standardize: L_SET -> SEEK_SET.
695 * objdump.c: Use new macro bfd_asymbol_bfd.
696 * configure.in: Allow std-host as the default ${mys_host}.
698 Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
700 * Makefile.in: added dvi target, define and use TEXI2DVI
704 * Makefile.in (dist): Fix permissions before release.
705 * size.c: Use bfd_size_type (and long) where appropriate.
706 * ar.c: Make writing a map the default, to be compatible
707 with SYSV and Posix.2. Remove some bogus kludges that
708 handled __.SYMDEF directly.
711 Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
713 * Makefile.in: flex no longer needs the -S flag
715 Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
717 * ar.c (extract_file): utime needs a pointer to a utimbuf
719 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
720 the list (since some of the bfd/hosts/*.h files include other
721 files from that directory)
725 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
729 Clean up some old BFD ansification macros.
731 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
732 It still remains as a local macro in gmalloc.c, which is derived
733 from some other copy of GNU Malloc somewhere (FIXME).
735 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
737 * arsup.h: Declare extract_files.
741 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
742 use utime and utimbuf structure, otherwise if USE_UTIME use utime
743 and array of two longs, otherwise use utimes.
747 * binutils.tex: Document yesterday's changes to strip and copy.
751 * copy.c: Re-do command-line parsing to use getopt_long().
752 Add long option names. Re-think option letters to be more
754 * copy.c: New function filter_symbols() for stripping only
755 debug-symbols and/or local symbols. Use these to support
756 the previously-missing options of the old FSF strip.
760 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
761 than repeating a copy of it here.
765 * copy.c (main): Even if is_strip, accept -d argument indicating
766 alternate output format. Needed by gdb for Nindy.
768 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
772 * binutils.texi: added documentation for "copy"
774 Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
776 * Makefile.in (*clean rules): Some cleaning up.
777 * Makefile.in (dist): Make diststuff in gprof for a dist.
779 * ar.c (do_show_version): New function.
780 * ar.c (main): Fix so "ar -V" works.
782 Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
784 * configure.in: now uses the cpu-vendor-os triple instead of
789 * i960-pinsn.c: Change bzero to memset.
790 * sparc-pinsn.c: Change index to strchr.
794 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
795 operands to memory management instructions, from WRS.
799 * Makefile.in (install): if $(tooldir) exists, install nm and
800 strip in $(tooldir)/bin.
804 * Makefile.in: Let's call it version 2.0.
808 * Makefile.in: Bump to version 0.98.
809 * TODO, README: Minor updates.
811 * Makefile.in: Added mostlyclean, distclean rules,
812 and cleaned up clean, realclean.
816 * Makefile.in: map program names through program_transform_name
821 * Makefile.in: Bump to versions 1.97.90.
822 * cplus-dem.c: Removed. Was nowhere used - and if some
823 programs are changed to to demangling should now use the
824 versions in libiberty.
828 * configure.in: add we32k
832 * ar.c (map_over_members): if the element of the archive has a
833 null name, fill it in.
835 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
836 will be symbols and there aren't any.
840 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
844 * nm.c objdump.c: Added support for a +version (-V)
845 to print the version number.
847 * ar.c, copy.c: Added support for a -V option to print
852 * config/mh-apollo68v: removed -g from CC definition.
854 * Makefile.in: always create installation directories.
858 * m68k-pinsn.c: Minor fix in style of output (don't use
859 range to indicate floating point control registers).
863 * ar.c (main): Don't *always* set the verbose flag!
867 * copy.c: When is_strip (because it is invoked as the strip
868 program), follow traditional argv processing:
869 'strip file1 file2' now strips file1 and file2, rather
870 than stripping file1 (as input), leaving output in file2.
874 * objdump.c (display_info, display_info_table): Call
875 bfd_set_format() on dummy bfd before using it (twice).
876 * ar.c: Make sure archive is created on command 'r'
877 even when no elements are inserted. (Clean up and
878 simplify some non-working related code.)
882 * configure.in: hppa support doesn't assume hp OS (from sef).
884 Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
886 * configure.in: recognize hppa hosts (bsd & hpux), error messages
887 to stderr, not stdout
891 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
892 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
896 * Makefile.dos: removed rcsid.
900 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
904 * Makefile.in: Add program_suffix (parallel to program_prefix)
906 Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
908 * nm.c (sorters): Lint. Remove excess whitespace.
912 * nm.c (valueof macro): Add missing parentheses.
913 (Their lack screwed up numeric_forward().)
915 Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
917 * objdump.c (dump_elf_stabs): Also dump .stab.index and
919 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
920 * objdump.1, binutils.texi: Document new sections dumped.
922 Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
924 * size.c, objdump.c, bucomm.c: Lint.
926 Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
928 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
929 .stab section from an ELF file. Installed under #ifdef
930 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
931 bfd-internals header files and such.
932 * objdump.1, binutils.texi: Update for --stabs. Also fix
933 objdump's doc to use -- rather than + for long options.
934 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
938 * objdump.c(display_info), patches from
944 * objdump.c: Add another enum->int cast, for the sake of
945 old compilers (such as PCC).
949 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
950 Add declaration of strdup().
954 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
955 rules, since these are used when building a distribution.
956 * Makefile.in (arlex.c): Don't re-direct output, since that
957 leaves a bogus output files if it fails.
959 * arlex.l: Make work with lex, for what it's worth.
960 * Makefile.in: Better lex support.
961 * Makefile.in (dist): Generate flex and bison outputs
966 * Makefile.in: get BISON definition right.
970 * sanity.sh: default TMPDIR to ".".
974 * binutils.texi: add doc for ar command language.
978 * arparse.y: make END call ar_end
979 * arsup.c (ar_end): added, deletes temp file if archive session
985 * Makefile.in: use bison & flex from ../ if they exist. Also,
988 * sanity.sh: remove temporary directory when finished.
992 * Makefile.in: Bump to version 1.97.
993 * ar.c: Declare errno for machines that need it.
997 * objdump.c (display_info): Handle error cases without coredump.
998 Close the dummy temporary file we open in the loop.
999 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
1003 * Makefile.in: added test-install target.
1005 * sanity.sh: new file.
1007 * Makefile.in: use sanity test on make check.
1011 * Makefile.in: rework CFLAGS so that they can be passed on the
1012 command line to make. Remove MINUS_G. Default CFLAGS to -g.
1016 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
1021 * Makefile.in: added check target.
1025 * Makefile.in: added clean-info target.
1029 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
1030 installed. added tooldir and program_prefix.
1034 * Makefile.in, configure.in: removed traces of namesubdir,
1035 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1036 copyrights to '92, changed some from Cygnus to FSF.
1038 Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
1040 * Makefile.in: Bump version to 1.96, and remove -beta
1041 suffix from distribution name.
1042 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
1043 the signed value of a character (even if chars are unsigned).
1044 * sparc-pinsn.c: Add new operand types.
1046 Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1048 * objdump.c (disassemble_data): don't print a section's contents
1049 if it's not loadable (eg bss)
1051 Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1053 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
1054 displacements don't get printed as large +ve ones.
1056 Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1058 * copy.c, nm.c, objdump.c, size.c : changed to use the
1062 Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
1064 * bucomm.c (print_arelt_descr): Tweek the output format
1065 so that 'ar tv' output follows Posix 1003.2/D11.
1066 Output is now also identical to Sun's (except __.SYMDEF).
1068 Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
1070 * Makefile.in: Make `make' output more readable.
1072 Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
1074 * Makefile.in: Bump to version 1.94.
1076 Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
1078 * ar.c: added "b" to fopens for dos
1079 * configdj.bat, makefile.dos new files from DJ
1081 Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1083 * Makefile.in: infodir belongs in datadir.
1085 Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1087 * bucomm.h: created to hold prototypes of bucomm.c
1088 * objdump.h: created to hold prototyes of objdump.c
1089 * am29k-pinsn.c: include objdump.h
1090 * ar.c: include bucomm.h, get ar.h from the right place and
1092 * bucomm.c: defunize bfd_fatal
1093 * copy.c: include bucomm.h, lint.
1094 * i960-pinsn.h: include bucomm.h
1095 * m68k-pinsn.h: lint
1096 * nm.c: include bucomm.h, lint
1098 * sparc-pinsn.c: include objdump.h
1102 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1104 * Makefile.in: added standards.text support. install using
1105 INSTALL_PROGRAM and INSTALL_DATA.
1107 * configure.in: configure now does all of it's work from objdir so
1108 make file existence tests against ${srcdir}.
1110 Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1112 * Makefile.in: idestdir and ddestdir go away. Added copyrights
1113 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
1114 and mandir now keyed off datadir by default.
1116 Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
1118 * Makefile.in: Bump to version 1.93.
1119 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
1120 for make versions that provide half-baked VPATH-support (e.g. Sun's).
1121 * size.c: Improvements suggested by
1123 - Don't emit (Berkeley) headers if no files were found.
1124 - Return a non-zero return code on failure.
1126 Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1128 Changes due to include file renaming:
1129 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
1130 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
1131 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
1132 * nm.c: stab.gnu.h -> aout/stab_gnu.h
1134 Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
1136 * README: Mention MINIMIZE flag for bfd's make.
1138 Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
1140 * README: Various improvements.
1142 Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
1144 * Makefile.in: Bump to version 1.92.
1145 * version.c, Makefile.in: Get version string from Makefile.
1146 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
1147 Make the same change that we earlier did for ar/ranlib:
1148 Generate two different binaries for strip and copy and use
1149 a global variable with different values to distinguish
1150 ostrip from copy. (-1 means to use argv[0] to decide,
1151 so you can get the old behavior, but it is no longer the default).
1152 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
1153 * copy.c (main): If is_strip==-1, compare last 5 chars
1154 of argv[0], not the whole path.
1155 * copy.c (main): Return 0, not 1.
1156 * copy.c (setup_sections): Fix due to change in bfd_make_section
1157 now failing if asked for a duplicate section.
1158 * strip.c, ostrip.c: Removed obsolete files.
1159 * ar.c, not-ranlib.c, maybe-ranlib.c:
1160 Change encoding of is_ranlib variable to be consistent
1161 with is_strip for strip.copy (i.e -1 to means use argv[0]).
1163 Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
1165 * version.c (program_version): Update to version 1.92.
1167 Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
1169 * ar.c (get_pos_bfd): Previous fix was missing a "break".
1171 Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
1173 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
1174 encodings. (Thaks to David Wood)
1176 Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
1178 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
1179 * ar.c (get_pos_bfd): Fix to handling of before/after
1180 positioning options.
1181 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
1182 since libiberty contains vfprintf etc if otherwise missing.
1183 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
1184 type operands, as used by branch instructions.
1185 * nm.c: Delegate printing of symbols to BFD,
1186 by using bfd_print_symbol to do the formatting.
1188 Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
1190 * ar.c (write_archive.c): added unlink before rename since some
1191 systems can't rename onto an existant file.
1193 Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
1195 * nm.c: now doesn't crash if a symbol with no section and no
1198 Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
1200 * Makefile.in, version.c: Bump to version 1.91.
1202 Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
1204 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
1205 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
1206 * strip.c: Add or update Copyright notice.
1207 * TODO: Add note on 'nm -a'.
1208 * version.c: Update version number to 1.90.
1209 * Makefile.in: Fix making of documentation for dist.
1211 Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
1214 * Makefile.in: New kludgy rules for making a tarfile.
1215 * Makefile.in: Fix bindir path.
1217 Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
1219 * Makefile.in: add targets binutils.mm, binutils.me
1221 Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
1223 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
1225 Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
1227 * Makefile.in: add target "binutils.ms"
1229 * binutils.texinfo: minor restructuring for texi2roff comfort.
1231 Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
1233 Restructure configuration scheme for bfd, binutils, ld.
1235 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
1236 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
1237 Change some config names to match other dirs.
1238 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
1240 * Makefile.in: Use -I. to get sysdep.h.
1242 Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
1244 * nm.c (print_symbols): Handle NULL name field of symbol.
1245 * Makefile.in: Removed spurious comment.
1247 Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
1249 * binutils.texinfo: minor typos, phrasing, formatting fixes.
1251 Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
1253 * configure.in: Get host file from ../bfd/config, not config.
1254 * config/*: Remove config directory and its files.
1256 Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
1258 * Makefile.in: new targets binutils.dvi, binutils.info
1260 * binutils.texinfo: remove most remaining FIXME's, delete
1261 references to __.SYMDEF by name
1264 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
1266 * objdump.c (print_address) Print addresses nicely.
1268 Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
1270 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
1271 Make two different binaries for ar and ranlib, instead of
1272 distinguishing them at run time using argv[0].
1273 (Old behavior is still available if you "make ar_with_ranlib",
1274 but it is not the default.)
1275 * ranlib.sh (new): An alternative one-line
1276 shell implementation of ranlib.
1278 Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
1280 * objdump.c: Cope with renames of a few BFD types & enums.
1282 Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
1284 * binutils.texinfo: add new file (rudimentary docn)
1286 Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
1288 * config/hmake-news: Add new file (for Sony NEWSOS3).
1289 * bucomm.c (fatal): Conditionally compile fatal() depending on
1290 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
1291 * objdump.c (dump_headers): Trivial output format change.
1292 * objdump.c (display_info): Loop over integers, not enums,
1293 to appease old compilers.
1295 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1297 *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
1299 Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1301 * objdump.c (print_address): Make disasembled output more
1302 consistent with gdb and as: Add 0x when printing hex.
1303 Don't print extra leading zeros.
1304 Attempt to not print "filename.o".
1305 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
1308 Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
1310 * copy.c: Change =& constructs to = &, since they confuse older