3 * objdump.c (disassemble_data): Use new read_memory_func stuff.
7 * objdump.c (fprintf): Declaration of variadic function had better
8 be a prototype for ANSI C systems.
10 Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12 * Makefile.in: rename test-install to install-check
16 * objdump.c (disassemble_data): Add H8500.
20 * objdump.c (usage): Mention long options.
24 * nm.c: Modify behavior of -o flag for archives to match
25 BSD4.4 and Sunos 4: Prefix archive name before each line.
27 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
28 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
29 * Makefile.in: Adjust accordingly.
30 * objdump.c: Support new-style disassemblers (ones that use
31 the interface of ../include/dis-asm.h).
35 * Makefile.in: When making tar file, remove texinfo/*,
36 except for texinfo/texinfo.tex.
37 * ardup.c: Add extern declaration of strdup.
38 * Makefile.in (testsuite): Add 'else true' since otherwise
39 Ultrix /bin/sh complains.
43 * Makefile.in: Set VERSION to 2.1.
44 * README, NEWS: Updates.
45 * nm.c: Add -v as a synonym for -V.
49 * configure.in: added testsuite to configdirs.
50 * Makefile.in: added support for building testsuite.
54 * objdump.c (disassemble_data): Print function names when
55 given by bfd_find_nearest_line. If not - still print
60 * binutils/testsuite: made modifications to testcases, etc., to allow
61 them to work properly given the reorganization of deja-gnu and the
62 relocation of the testcases from deja-gnu to a "tool" subdirectory.
66 * objdump.c (dump_data): Free up section contents each time
71 * binutils/testsuite: Initial creation of binutils/testsuite.
72 Migrated dejagnu testcases and support files for testing nm to
73 binutils/testsuite from deja-gnu. These files were moved "as is"
74 with no modifications. This migration is part of a major overhaul
75 of dejagnu. The modifications to these testcases, etc., which
76 will allow them to work with the new version of dejagnu will be
77 made in a future update.
81 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
82 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
83 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
85 * Makefile.in (PROGS): Add DEMANGLER_PROG.
89 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
90 macro rather than checking for equality to bfd_com_section.
94 * objdump.c (disassemble_data): Fix code to find first useless
99 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
100 Don't core dump if bfd_find_nearest_line returns false.
104 * objdump.c (disassemble_data): know how to disassemble z8000s
109 * arsup.h (interactive), bucomm.h (program_name): Prefix
110 with 'extern', to avoid warnings from some compilers.
114 * arparse.y: fix unnecessary shift/reduce
118 * Makefile.in: Make check depend on all.
119 * Makefile.in (distclean): Remove sysdep.h.
120 * size.c: Use %u format where appropriate.
121 * objdump.c: Standardize: L_SET -> SEEK_SET.
122 * objdump.c: Use new macro bfd_asymbol_bfd.
123 * configure.in: Allow std-host as the default ${mys_host}.
125 Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
127 * Makefile.in: added dvi target, define and use TEXI2DVI
131 * Makefile.in (dist): Fix permissions before release.
132 * size.c: Use bfd_size_type (and long) where appropriate.
133 * ar.c: Make writing a map the default, to be compatible
134 with SYSV and Posix.2. Remove some bogus kludges that
135 handled __.SYMDEF directly.
138 Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
140 * Makefile.in: flex no longer needs the -S flag
142 Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
144 * ar.c (extract_file): utime needs a pointer to a utimbuf
146 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
147 the list (since some of the bfd/hosts/*.h files include other
148 files from that directory)
152 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
156 Clean up some old BFD ansification macros.
158 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
159 It still remains as a local macro in gmalloc.c, which is derived
160 from some other copy of GNU Malloc somewhere (FIXME).
162 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
164 * arsup.h: Declare extract_files.
168 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
169 use utime and utimbuf structure, otherwise if USE_UTIME use utime
170 and array of two longs, otherwise use utimes.
174 * binutils.tex: Document yesterday's changes to strip and copy.
178 * copy.c: Re-do command-line parsing to use getopt_long().
179 Add long option names. Re-think option letters to be more
181 * copy.c: New function filter_symbols() for stripping only
182 debug-symbols and/or local symbols. Use these to support
183 the previously-missing options of the old FSF strip.
187 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
188 than repeating a copy of it here.
192 * copy.c (main): Even if is_strip, accept -d argument indicating
193 alternate output format. Needed by gdb for Nindy.
195 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
199 * binutils.texi: added documentation for "copy"
201 Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
203 * Makefile.in (*clean rules): Some cleaning up.
204 * Makefile.in (dist): Make diststuff in gprof for a dist.
206 * ar.c (do_show_version): New function.
207 * ar.c (main): Fix so "ar -V" works.
209 Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
211 * configure.in: now uses the cpu-vendor-os triple instead of
216 * i960-pinsn.c: Change bzero to memset.
217 * sparc-pinsn.c: Change index to strchr.
221 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
222 operands to memory management instructions, from WRS.
226 * Makefile.in (install): if $(tooldir) exists, install nm and
227 strip in $(tooldir)/bin.
231 * Makefile.in: Let's call it version 2.0.
235 * Makefile.in: Bump to version 0.98.
236 * TODO, README: Minor updates.
238 * Makefile.in: Added mostlyclean, distclean rules,
239 and cleaned up clean, realclean.
243 * Makefile.in: map program names through program_transform_name
248 * Makefile.in: Bump to versions 1.97.90.
249 * cplus-dem.c: Removed. Was nowhere used - and if some
250 programs are changed to to demangling should now use the
251 versions in libiberty.
255 * configure.in: add we32k
259 * ar.c (map_over_members): if the element of the archive has a
260 null name, fill it in.
262 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
263 will be symbols and there aren't any.
267 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
271 * nm.c objdump.c: Added support for a +version (-V)
272 to print the version number.
274 * ar.c, copy.c: Added support for a -V option to print
279 * config/mh-apollo68v: removed -g from CC definition.
281 * Makefile.in: always create installation directories.
285 * m68k-pinsn.c: Minor fix in style of output (don't use
286 range to indicate floating point control registers).
290 * ar.c (main): Don't *always* set the verbose flag!
294 * copy.c: When is_strip (because it is invoked as the strip
295 program), follow traditional argv processing:
296 'strip file1 file2' now strips file1 and file2, rather
297 than stripping file1 (as input), leaving output in file2.
301 * objdump.c (display_info, display_info_table): Call
302 bfd_set_format() on dummy bfd before using it (twice).
303 * ar.c: Make sure archive is created on command 'r'
304 even when no elements are inserted. (Clean up and
305 simplify some non-working related code.)
309 * configure.in: hppa support doesn't assume hp OS (from sef).
311 Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
313 * configure.in: recognize hppa hosts (bsd & hpux), error messages
314 to stderr, not stdout
318 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
319 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
323 * Makefile.dos: removed rcsid.
327 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
331 * Makefile.in: Add program_suffix (parallel to program_prefix)
333 Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
335 * nm.c (sorters): Lint. Remove excess whitespace.
339 * nm.c (valueof macro): Add missing parentheses.
340 (Their lack screwed up numeric_forward().)
342 Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
344 * objdump.c (dump_elf_stabs): Also dump .stab.index and
346 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
347 * objdump.1, binutils.texi: Document new sections dumped.
349 Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
351 * size.c, objdump.c, bucomm.c: Lint.
353 Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
355 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
356 .stab section from an ELF file. Installed under #ifdef
357 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
358 bfd-internals header files and such.
359 * objdump.1, binutils.texi: Update for --stabs. Also fix
360 objdump's doc to use -- rather than + for long options.
361 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
365 * objdump.c(display_info), patches from
371 * objdump.c: Add another enum->int cast, for the sake of
372 old compilers (such as PCC).
376 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
377 Add declaration of strdup().
381 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
382 rules, since these are used when building a distribution.
383 * Makefile.in (arlex.c): Don't re-direct output, since that
384 leaves a bogus output files if it fails.
386 * arlex.l: Make work with lex, for what it's worth.
387 * Makefile.in: Better lex support.
388 * Makefile.in (dist): Generate flex and bison outputs
393 * Makefile.in: get BISON definition right.
397 * sanity.sh: default TMPDIR to ".".
401 * binutils.texi: add doc for ar command language.
405 * arparse.y: make END call ar_end
406 * arsup.c (ar_end): added, deletes temp file if archive session
412 * Makefile.in: use bison & flex from ../ if they exist. Also,
415 * sanity.sh: remove temporary directory when finished.
419 * Makefile.in: Bump to version 1.97.
420 * ar.c: Declare errno for machines that need it.
424 * objdump.c (display_info): Handle error cases without coredump.
425 Close the dummy temporary file we open in the loop.
426 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
430 * Makefile.in: added test-install target.
432 * sanity.sh: new file.
434 * Makefile.in: use sanity test on make check.
438 * Makefile.in: rework CFLAGS so that they can be passed on the
439 command line to make. Remove MINUS_G. Default CFLAGS to -g.
443 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
448 * Makefile.in: added check target.
452 * Makefile.in: added clean-info target.
456 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
457 installed. added tooldir and program_prefix.
461 * Makefile.in, configure.in: removed traces of namesubdir,
462 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
463 copyrights to '92, changed some from Cygnus to FSF.
465 Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
467 * Makefile.in: Bump version to 1.96, and remove -beta
468 suffix from distribution name.
469 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
470 the signed value of a character (even if chars are unsigned).
471 * sparc-pinsn.c: Add new operand types.
473 Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
475 * objdump.c (disassemble_data): don't print a section's contents
476 if it's not loadable (eg bss)
478 Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
480 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
481 displacements don't get printed as large +ve ones.
483 Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
485 * copy.c, nm.c, objdump.c, size.c : changed to use the
489 Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
491 * bucomm.c (print_arelt_descr): Tweek the output format
492 so that 'ar tv' output follows Posix 1003.2/D11.
493 Output is now also identical to Sun's (except __.SYMDEF).
495 Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
497 * Makefile.in: Make `make' output more readable.
499 Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
501 * Makefile.in: Bump to version 1.94.
503 Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
505 * ar.c: added "b" to fopens for dos
506 * configdj.bat, makefile.dos new files from DJ
508 Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
510 * Makefile.in: infodir belongs in datadir.
512 Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
514 * bucomm.h: created to hold prototypes of bucomm.c
515 * objdump.h: created to hold prototyes of objdump.c
516 * am29k-pinsn.c: include objdump.h
517 * ar.c: include bucomm.h, get ar.h from the right place and
519 * bucomm.c: defunize bfd_fatal
520 * copy.c: include bucomm.h, lint.
521 * i960-pinsn.h: include bucomm.h
523 * nm.c: include bucomm.h, lint
525 * sparc-pinsn.c: include objdump.h
529 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
531 * Makefile.in: added standards.text support. install using
532 INSTALL_PROGRAM and INSTALL_DATA.
534 * configure.in: configure now does all of it's work from objdir so
535 make file existence tests against ${srcdir}.
537 Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
539 * Makefile.in: idestdir and ddestdir go away. Added copyrights
540 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
541 and mandir now keyed off datadir by default.
543 Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
545 * Makefile.in: Bump to version 1.93.
546 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
547 for make versions that provide half-baked VPATH-support (e.g. Sun's).
548 * size.c: Improvements suggested by
550 - Don't emit (Berkeley) headers if no files were found.
551 - Return a non-zero return code on failure.
553 Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
555 Changes due to include file renaming:
556 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
557 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
558 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
559 * nm.c: stab.gnu.h -> aout/stab_gnu.h
561 Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
563 * README: Mention MINIMIZE flag for bfd's make.
565 Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
567 * README: Various improvements.
569 Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
571 * Makefile.in: Bump to version 1.92.
572 * version.c, Makefile.in: Get version string from Makefile.
573 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
574 Make the same change that we earlier did for ar/ranlib:
575 Generate two different binaries for strip and copy and use
576 a global variable with different values to distinguish
577 ostrip from copy. (-1 means to use argv[0] to decide,
578 so you can get the old behavior, but it is no longer the default).
579 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
580 * copy.c (main): If is_strip==-1, compare last 5 chars
581 of argv[0], not the whole path.
582 * copy.c (main): Return 0, not 1.
583 * copy.c (setup_sections): Fix due to change in bfd_make_section
584 now failing if asked for a duplicate section.
585 * strip.c, ostrip.c: Removed obsolete files.
586 * ar.c, not-ranlib.c, maybe-ranlib.c:
587 Change encoding of is_ranlib variable to be consistent
588 with is_strip for strip.copy (i.e -1 to means use argv[0]).
590 Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
592 * version.c (program_version): Update to version 1.92.
594 Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
596 * ar.c (get_pos_bfd): Previous fix was missing a "break".
598 Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
600 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
601 encodings. (Thaks to David Wood)
603 Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
605 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
606 * ar.c (get_pos_bfd): Fix to handling of before/after
608 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
609 since libiberty contains vfprintf etc if otherwise missing.
610 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
611 type operands, as used by branch instructions.
612 * nm.c: Delegate printing of symbols to BFD,
613 by using bfd_print_symbol to do the formatting.
615 Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
617 * ar.c (write_archive.c): added unlink before rename since some
618 systems can't rename onto an existant file.
620 Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
622 * nm.c: now doesn't crash if a symbol with no section and no
625 Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
627 * Makefile.in, version.c: Bump to version 1.91.
629 Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
631 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
632 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
633 * strip.c: Add or update Copyright notice.
634 * TODO: Add note on 'nm -a'.
635 * version.c: Update version number to 1.90.
636 * Makefile.in: Fix making of documentation for dist.
638 Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
641 * Makefile.in: New kludgy rules for making a tarfile.
642 * Makefile.in: Fix bindir path.
644 Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
646 * Makefile.in: add targets binutils.mm, binutils.me
648 Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
650 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
652 Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
654 * Makefile.in: add target "binutils.ms"
656 * binutils.texinfo: minor restructuring for texi2roff comfort.
658 Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
660 Restructure configuration scheme for bfd, binutils, ld.
662 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
663 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
664 Change some config names to match other dirs.
665 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
667 * Makefile.in: Use -I. to get sysdep.h.
669 Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
671 * nm.c (print_symbols): Handle NULL name field of symbol.
672 * Makefile.in: Removed spurious comment.
674 Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
676 * binutils.texinfo: minor typos, phrasing, formatting fixes.
678 Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
680 * configure.in: Get host file from ../bfd/config, not config.
681 * config/*: Remove config directory and its files.
683 Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
685 * Makefile.in: new targets binutils.dvi, binutils.info
687 * binutils.texinfo: remove most remaining FIXME's, delete
688 references to __.SYMDEF by name
691 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
693 * objdump.c (print_address) Print addresses nicely.
695 Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
697 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
698 Make two different binaries for ar and ranlib, instead of
699 distinguishing them at run time using argv[0].
700 (Old behavior is still available if you "make ar_with_ranlib",
701 but it is not the default.)
702 * ranlib.sh (new): An alternative one-line
703 shell implementation of ranlib.
705 Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
707 * objdump.c: Cope with renames of a few BFD types & enums.
709 Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
711 * binutils.texinfo: add new file (rudimentary docn)
713 Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
715 * config/hmake-news: Add new file (for Sony NEWSOS3).
716 * bucomm.c (fatal): Conditionally compile fatal() depending on
717 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
718 * objdump.c (dump_headers): Trivial output format change.
719 * objdump.c (display_info): Loop over integers, not enums,
720 to appease old compilers.
722 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
724 *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
726 Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
728 * objdump.c (print_address): Make disasembled output more
729 consistent with gdb and as: Add 0x when printing hex.
730 Don't print extra leading zeros.
731 Attempt to not print "filename.o".
732 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
735 Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
737 * copy.c: Change =& constructs to = &, since they confuse older