1 Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3 * nlmconv.c (total_bss_size): Removed.
4 (main): Set the bss vma to always follow the data section. Move
5 symbols into new sections, and adjust values by output_offset.
6 (setup_sections): Don't copy all sections, but instead point all
7 text sections to .text, all data sections to .data, and all bss
9 (copy_sections): Adjust accordingly.
11 Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13 Only build nlmconv if configured for a NetWare target.
14 * configure.in: If we have some *-*-netware* target, or are using
15 all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
16 * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
19 Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
21 * objdump.c (ARCH_all): Define ARCH_hppa too.
22 (dump_headers): Don't test for SEC_BALIGN if it's not defined by
25 Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
27 * nlmconv.c (main): Force creation of .bss section. Set up the
28 sections before looking at the symbols. Move all common symbols
29 into .bss section. Automatically define _edata and _end. Only
30 export symbols in the export list, with multiple prefixes if
31 necessary. Warn if no version. Always create extended header.
32 Set date automatically if not already set.
33 (setup_sections): Count size of bss sections.
34 (mangle_relocs, i386_mangle_relocs): Accept section argument, and
35 take reloc_count as a changeable pointer; changed callers.
36 (i386_mangle_relocs): Remove PC relative relocs within a section,
37 as they require no adjustment.
38 * nlmheader.y: Fixed memory allocation throughout: token STRING is
39 now allocated on the heap, and freed if not needed. Null
40 terminated copyright message. Accept version with only two
42 (symbol_list_opt): New nonterminal, either symbol_list or empty.
43 (symbol_list): Use left recursion to avoid overflowing parser
45 (yylex): Rearranged beginning of line check. Accept quoted
46 strings using single quotes. End generic argument at comment
47 character or parentheses.
48 (string_list_append): Fixed.
49 (string_list_append1): New function.
51 * bucomm.h: The first argument to xrealloc is PTR, not char *.
52 * bucomm.c (xrealloc): Use PTR rather than char *.
53 * Makefile.in (objdump.o): Depend upon config.status to notice
54 --with-targets changes.
55 (nlmconv.o): Depend upon bucomm.h.
57 Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com)
59 * configure.in: Don't pass cpu to config.bfd.
61 Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com)
63 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
64 (demangle.o): New target.
65 (cplus-dem.o): Depend on it, to force compilation order when doing
68 * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
69 (struct output_fns print_symbol_info): Ditto.
70 (long_options, usage, main): Add -C --demangle option.
71 (print_symname): New function, demangling if requested.
72 (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
74 Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
76 * Makefile.in: Put CFLAGS last in compilation rules and omit from
77 linking rules. Use ARCHDEFS to compile objdump.c.
79 * configure.in: Construct ARCHDEFS based on the BFD target makefile
81 * objdump.c: Conditionalize calls to the print_insn_ARCH functions
82 according to ARCHDEFS.
84 Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com)
86 * ar.c: Removed obsolete and non-functional GNU960 code.
88 Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com)
90 * size.c (berkeley_sum): New function.
91 (bsssize, datasize, textsize): New global variables.
92 (bss_section_name, data_section_name, text_section_name): Removed.
93 (print_berkeley_format): Map berkeley_sum over all the sections,
94 rather than only reporting sizes of specifically named sections.
95 * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
97 Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com)
99 * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
100 convert object files into NetWare Loadable Modules.
101 * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
102 (PROGS): Add NLMCONV_PROG.
103 (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
106 Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
108 * Makefile.in: define MAKEOVERRIDES to an empty string
110 Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com)
112 * objcopy.c (copy_file): Make failures to process a file nonfatal.
114 Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
116 * nm.c: Add -B option, like --format=bsd.
118 Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
120 * objcopy.c (copy_file): If the file is neither an object nor an
121 archive, give an error rather than returning success.
123 Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
125 * objdump.c (objdump_print_address): Prefer non-local symbols over
126 local ones, and especially discriminate against debugging symbols.
127 Also, for relocateable files, try to find a symbol in the current
128 section, instead of picking one from some random section with a
129 convenient value (read, section offset).
130 (disassemble_data): Cast argument to malloc to size_t first.
131 (dump_data): Likewise.
132 (dump_relocs): If a single section name is specified, show relocs
133 only for that section. Otherwise, silently omit sections without
134 relocs. Format table nicely even if values are printed using 16
137 Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com)
139 * nm.c: Changes for final version of POSIX.2.
140 (print_symbol_filename_{bsd,sysv,posix}): New functions.
141 (formats): Add an element for a pointer to them.
142 (print_symbols): Call it.
143 (print_object_filename_posix, print_archive_member_posix): Produce
144 output according to new POSIX.2 spec.
146 * strings.c (print_strings): Handle STREAM being NULL.
147 (strings_a_section): Pass a NULL.
148 (main): Don't open /dev/null.
150 Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
152 * objdump.c (disassemble_data): Handle the m88k.
153 (display_bfd): Use bfd_errmsg, rather than just claiming that the
154 bfd is not an object file.
156 Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com)
158 * Makefile.in (TAGS): make work again by naming directories
159 explicitly rather than depending on undefined macros.
160 (INSTALL_XFORM): correct bad install target.
162 Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com)
164 * strings.c: Doc fixes.
166 Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com)
168 * Makefile.in: Note dependencies on bucomm.h.
169 (cplus-dem.o): Link c++filt with version.o.
171 * strings.c: Include bucomm.h and add prototypes to other decls.
174 * bucomm.h: Declare xrealloc.
176 * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
177 --help option. Put "GNU" in the version message.
178 (usage): Take stream and exit status as args.
179 (main): Pass new args to usage.
181 Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com)
183 * strings.c, strings.1: New files.
184 * binutils.texi: Document strings.
185 * Makefile.in: Add rules for it.
187 Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
189 * objdump.c: Use size-independent bfd elf section names.
191 Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
193 * objdump.c (objdump_print_address): Handle wide offsets by
196 Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com)
198 * objdump.c (syms2): Removed unused variable.
199 * objdump.c (remove_useless_symbols): New function.
200 * objdump.c (comp): Simplify.
201 * objdump.c (dis-assemble_data): Make simpler and more
202 efficient how we filter out useless symbols: Just filter
203 BEFORE the sort (using remove_useless_symbols).
204 * objdump.c (objdump_print_address): Simplify.
205 Change output syntax to match gdb.
207 Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
209 * Makefile.in: canonicalize install.sh; for use within
210 this directory (and subdirs)
212 Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
214 * Makefile.in (install, install-info): remove parentdir support,
215 use INSTALL_XFORM; define INSTALL_XFORM
217 Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com)
219 * objcopy.c (copy_object): Fix bad size passed to xmalloc().
221 Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com)
223 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
224 * configure.in: No longer need to configure to get sysdep.h.
225 * objcopy.c (copy_object): Fix symbol table handling.
227 Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com)
229 * objcopy.c (filter_symbols): Cannot filter the symbols
230 in place, because that confuses the relocs, so take separate
231 parameter for output array.
232 * objcopy.c (sympp): Make two variables: isympp and osympp.
233 * objcopy.c (copy_object): Allocate separate array (osympp)
234 for filtered symbols.
236 Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
238 * Makefile.in: change recursion test to presence of a configured
241 Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
243 * Makefile.in (underscore.c): Hack the backquoted command so it
244 doesn't cause Solaris make to bomb.
246 Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com)
248 * Makefile.in: added c++filt and objcopy to MANPAGES variable
249 * .Sanitize: keep c++filt.1 and objcopy.1
251 Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
253 * Makefile.in: rename LOADLIBES to EXTRALIBS
255 Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com)
257 * c++filt.1, objcopy.1: new man pages
259 Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com)
261 * Makefile.in (install): Also install ar and ranlib in
262 $(tooldir)/bin; needed for building libgcc.a.
263 * objdump.c (objdump_print_address): Fix the check
264 "coincidental" label matches by dis-allowing undefined
267 Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com)
269 * biutils.texi: revised c++filt chapter
271 Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com)
273 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
275 Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com)
277 * objdump.c (slurp_symtab): Print warning for bad symbol table.
278 (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
279 declarations and uses.
281 * Makefile.in (DISTSTUFF): Don't build binutils.mm.
283 Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com)
285 * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
286 Make global variables static.
287 (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
288 (set_print_radix, set_output_format,
289 print_{object_filename,archive_filename,archive_member,symbol_info}
290 {bsd,sysv,posix}): New functions.
291 (display_file, print_symbols): Call them.
293 * ar.c: Improve error messages.
295 * nm.c (main): Handle long options that just set a flag.
297 * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
298 (main): Exit after printing the version number, per the GNU coding
301 Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com)
303 * README, Makefile.in: Minor updates for 2.2.
305 Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com)
307 * Makefile.in (underscore.c): Automatically generate
308 (using nm) a file with the variable prepends_underscore.
309 * Makefile.in (c++filt): Link underscore.o with cplus-dem.o
310 so that initial underscores get removed iff appropriate.
311 * binutils.texi: Preliminary documentation for c++filt.
312 * Makefile.in, binutils.texi: Set to version 2.2.
314 * NEWS: Mention copy->objcopy renaming and new c++filt program.
316 Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com)
318 * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
319 demangler via cplus-dem.o, rather than directly from the .c file.
321 * objcopy.c: Renamed from copy.c, updated comments accordingly.
322 * Makefile.in, binutils.texi: Renamed copy to objcopy.
323 * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
324 rename of copy to objcopy.
326 Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com)
328 * binutils.texi (strip, -v option): Fix typo.
330 Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com)
332 * Makefile.in (RUNTEST): Define.
333 (FLAGS_TO_PASS): Pass down RUNTEST.
335 Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com)
337 * Makefile.in (DEMANGLER_PROG): Name it c++filt.
338 (PROG): Also build and install COPY_PROG.
340 Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com)
342 * Makefile.in: Change definition of $(tooldir) to match FSF.
344 Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com)
346 * size.c (usage): Add missing options.
347 (main): Clean up option parser.
349 * objdump.c (usage): Add missing options.
350 (display_file): Print program name before calling
353 * nm.c (usage): Add missing options.
354 (main): Clean up option parser.
355 (display_file): Print program name before calling
358 * copy.c (copy_usage, strip_usage): Add missing options.
360 * ar.c (usage): New function.
362 (open_inarch, do_quick_append): Print program name before calling
365 Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com)
367 * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
369 Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com)
371 * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
372 built binaries if they exist. (otherwise the path)
374 Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com)
376 * Makefile.in: Changed check target to use DejaGnu.
378 Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com)
380 * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
381 objdump.c: a29k and i960 are `disassemble' not `print'.
383 * objdump.c: Rename print_address to objdump_print_address
384 and change parameters.
385 (disassemble_data): Use objdump_print_address.
387 Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
389 * objdump.c (disassemble_data): print_insn_sparc is now a
390 `disassemble' not a `print'.
391 Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
393 * objdump.c (disassemble_data): Use new read_memory_func stuff.
395 Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
397 * objdump.c (fprintf): Declaration of variadic function had better
398 be a prototype for ANSI C systems.
400 Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
402 * Makefile.in: rename test-install to install-check
404 Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com)
406 * objdump.c (disassemble_data): Add H8500.
408 Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com)
410 * objdump.c (usage): Mention long options.
412 Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com)
414 * nm.c: Modify behavior of -o flag for archives to match
415 BSD4.4 and Sunos 4: Prefix archive name before each line.
417 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
418 * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
419 * Makefile.in: Adjust accordingly.
420 * objdump.c: Support new-style disassemblers (ones that use
421 the interface of ../include/dis-asm.h).
423 Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com)
425 * Makefile.in: When making tar file, remove texinfo/*,
426 except for texinfo/texinfo.tex.
427 * ardup.c: Add extern declaration of strdup.
428 * Makefile.in (testsuite): Add 'else true' since otherwise
429 Ultrix /bin/sh complains.
431 Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com)
433 * Makefile.in: Set VERSION to 2.1.
434 * README, NEWS: Updates.
435 * nm.c: Add -v as a synonym for -V.
437 Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com)
439 * configure.in: added testsuite to configdirs.
440 * Makefile.in: added support for building testsuite.
442 Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com)
444 * objdump.c (disassemble_data): Print function names when
445 given by bfd_find_nearest_line. If not - still print
448 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
450 * binutils/testsuite: made modifications to testcases, etc., to allow
451 them to work properly given the reorganization of deja-gnu and the
452 relocation of the testcases from deja-gnu to a "tool" subdirectory.
454 Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
456 * objdump.c (dump_data): Free up section contents each time
457 through the loop. Reported by minyard@bnr.ca.
459 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
461 * binutils/testsuite: Initial creation of binutils/testsuite.
462 Migrated dejagnu testcases and support files for testing nm to
463 binutils/testsuite from deja-gnu. These files were moved "as is"
464 with no modifications. This migration is part of a major overhaul
465 of dejagnu. The modifications to these testcases, etc., which
466 will allow them to work with the new version of dejagnu will be
467 made in a future update.
469 Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com)
471 * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
472 * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
473 * Makefile.in (DEMANGLER_PROG): New program to build. Add macro
475 * Makefile.in (PROGS): Add DEMANGLER_PROG.
477 Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
479 * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
480 macro rather than checking for equality to bfd_com_section.
482 Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
484 * objdump.c (disassemble_data): Fix code to find first useless
487 Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
489 * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
490 Don't core dump if bfd_find_nearest_line returns false.
492 Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com)
494 * objdump.c (disassemble_data): know how to disassemble z8000s
497 Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com)
499 * arsup.h (interactive), bucomm.h (program_name): Prefix
500 with 'extern', to avoid warnings from some compilers.
502 Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com)
504 * arparse.y: fix unnecessary shift/reduce
506 Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com)
508 * Makefile.in: Make check depend on all.
509 * Makefile.in (distclean): Remove sysdep.h.
510 * size.c: Use %u format where appropriate.
511 * objdump.c: Standardize: L_SET -> SEEK_SET.
512 * objdump.c: Use new macro bfd_asymbol_bfd.
513 * configure.in: Allow std-host as the default ${mys_host}.
515 Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
517 * Makefile.in: added dvi target, define and use TEXI2DVI
519 Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com)
521 * Makefile.in (dist): Fix permissions before release.
522 * size.c: Use bfd_size_type (and long) where appropriate.
523 * ar.c: Make writing a map the default, to be compatible
524 with SYSV and Posix.2. Remove some bogus kludges that
525 handled __.SYMDEF directly.
528 Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
530 * Makefile.in: flex no longer needs the -S flag
532 Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
534 * ar.c (extract_file): utime needs a pointer to a utimbuf
536 * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
537 the list (since some of the bfd/hosts/*.h files include other
538 files from that directory)
540 Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com)
542 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
544 Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com)
546 Clean up some old BFD ansification macros.
548 * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils.
549 It still remains as a local macro in gmalloc.c, which is derived
550 from some other copy of GNU Malloc somewhere (FIXME).
552 * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static
554 * arsup.h: Declare extract_files.
556 Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com)
558 * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
559 use utime and utimbuf structure, otherwise if USE_UTIME use utime
560 and array of two longs, otherwise use utimes.
562 Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com)
564 * binutils.tex: Document yesterday's changes to strip and copy.
566 Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com)
568 * copy.c: Re-do command-line parsing to use getopt_long().
569 Add long option names. Re-think option letters to be more
571 * copy.c: New function filter_symbols() for stripping only
572 debug-symbols and/or local symbols. Use these to support
573 the previously-missing options of the old FSF strip.
575 Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com)
577 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
578 than repeating a copy of it here.
580 Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com)
582 * copy.c (main): Even if is_strip, accept -d argument indicating
583 alternate output format. Needed by gdb for Nindy.
585 * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
587 Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com)
589 * binutils.texi: added documentation for "copy"
591 Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony)
593 * Makefile.in (*clean rules): Some cleaning up.
594 * Makefile.in (dist): Make diststuff in gprof for a dist.
596 * ar.c (do_show_version): New function.
597 * ar.c (main): Fix so "ar -V" works.
599 Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
601 * configure.in: now uses the cpu-vendor-os triple instead of
604 Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com)
606 * i960-pinsn.c: Change bzero to memset.
607 * sparc-pinsn.c: Change index to strchr.
609 Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com)
611 * m68k-pinsn (print_insn_arg, fetch_arg): added support for
612 operands to memory management instructions, from WRS.
614 Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com)
616 * Makefile.in (install): if $(tooldir) exists, install nm and
617 strip in $(tooldir)/bin.
619 Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com)
621 * Makefile.in: Let's call it version 2.0.
623 Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com)
625 * Makefile.in: Bump to version 0.98.
626 * TODO, README: Minor updates.
628 * Makefile.in: Added mostlyclean, distclean rules,
629 and cleaned up clean, realclean.
631 Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com)
633 * Makefile.in: map program names through program_transform_name
636 Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com)
638 * Makefile.in: Bump to versions 1.97.90.
639 * cplus-dem.c: Removed. Was nowhere used - and if some
640 programs are changed to to demangling should now use the
641 versions in libiberty.
643 Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com)
645 * configure.in: add we32k
647 Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
649 * ar.c (map_over_members): if the element of the archive has a
650 null name, fill it in.
652 * nm.c (do_one_rel_file): only warn if a bfd's flags say there
653 will be symbols and there aren't any.
655 Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com)
657 * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
659 Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com)
661 * nm.c objdump.c: Added support for a +version (-V)
662 to print the version number.
664 * ar.c, copy.c: Added support for a -V option to print
667 Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com)
669 * config/mh-apollo68v: removed -g from CC definition.
671 * Makefile.in: always create installation directories.
673 Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com)
675 * m68k-pinsn.c: Minor fix in style of output (don't use
676 range to indicate floating point control registers).
678 Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com)
680 * ar.c (main): Don't *always* set the verbose flag!
682 Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com)
684 * copy.c: When is_strip (because it is invoked as the strip
685 program), follow traditional argv processing:
686 'strip file1 file2' now strips file1 and file2, rather
687 than stripping file1 (as input), leaving output in file2.
689 Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com)
691 * objdump.c (display_info, display_info_table): Call
692 bfd_set_format() on dummy bfd before using it (twice).
693 * ar.c: Make sure archive is created on command 'r'
694 even when no elements are inserted. (Clean up and
695 simplify some non-working related code.)
697 Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
699 * configure.in: hppa support doesn't assume hp OS (from sef).
701 Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
703 * configure.in: recognize hppa hosts (bsd & hpux), error messages
704 to stderr, not stdout
706 Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com)
708 * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
709 size.1, sparc-pinsn.c, strip.1: removed rcsid's.
711 Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com)
713 * Makefile.dos: removed rcsid.
715 Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
717 * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
719 Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
721 * Makefile.in: Add program_suffix (parallel to program_prefix)
723 Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com)
725 * nm.c (sorters): Lint. Remove excess whitespace.
727 Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com)
729 * nm.c (valueof macro): Add missing parentheses.
730 (Their lack screwed up numeric_forward().)
732 Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com)
734 * objdump.c (dump_elf_stabs): Also dump .stab.index and
736 (dump_elf_stabs_1): Split out main body of old dump_elf_stabs.
737 * objdump.1, binutils.texi: Document new sections dumped.
739 Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com)
741 * size.c, objdump.c, bucomm.c: Lint.
743 Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com)
745 * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
746 .stab section from an ELF file. Installed under #ifdef
747 ELF_STAB_DISPLAY so it can be easily disabled, since it requires
748 bfd-internals header files and such.
749 * objdump.1, binutils.texi: Update for --stabs. Also fix
750 objdump's doc to use -- rather than + for long options.
751 (FIXME: Not yet fixed everywhere in binutils.texinfo.)
753 Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
755 * objdump.c(display_info), patches from
756 mohring@informatik.tu-muenchen.de to print the table much more
759 Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com)
761 * objdump.c: Add another enum->int cast, for the sake of
762 old compilers (such as PCC).
764 Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com)
766 * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
767 Add declaration of strdup().
769 Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com)
771 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
772 rules, since these are used when building a distribution.
773 * Makefile.in (arlex.c): Don't re-direct output, since that
774 leaves a bogus output files if it fails.
776 * arlex.l: Make work with lex, for what it's worth.
777 * Makefile.in: Better lex support.
778 * Makefile.in (dist): Generate flex and bison outputs
781 Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
783 * Makefile.in: get BISON definition right.
785 Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com)
787 * sanity.sh: default TMPDIR to ".".
789 Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
791 * binutils.texi: add doc for ar command language.
793 Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
795 * arparse.y: make END call ar_end
796 * arsup.c (ar_end): added, deletes temp file if archive session
800 Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com)
802 * Makefile.in: use bison & flex from ../ if they exist. Also,
805 * sanity.sh: remove temporary directory when finished.
807 Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com)
809 * Makefile.in: Bump to version 1.97.
810 * ar.c: Declare errno for machines that need it.
812 Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com)
814 * objdump.c (display_info): Handle error cases without coredump.
815 Close the dummy temporary file we open in the loop.
816 * Makefile.in (arsup.o): Add kludge to build with Sun Make.
818 Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com)
820 * Makefile.in: added test-install target.
822 * sanity.sh: new file.
824 * Makefile.in: use sanity test on make check.
826 Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com)
828 * Makefile.in: rework CFLAGS so that they can be passed on the
829 command line to make. Remove MINUS_G. Default CFLAGS to -g.
831 Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
833 * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
836 Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com)
838 * Makefile.in: added check target.
840 Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com)
842 * Makefile.in: added clean-info target.
844 Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com)
846 * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be
847 installed. added tooldir and program_prefix.
849 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
851 * Makefile.in, configure.in: removed traces of namesubdir,
852 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
853 copyrights to '92, changed some from Cygnus to FSF.
855 Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com)
857 * Makefile.in: Bump version to 1.96, and remove -beta
858 suffix from distribution name.
859 * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
860 the signed value of a character (even if chars are unsigned).
861 * sparc-pinsn.c: Add new operand types.
863 Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com)
865 * objdump.c (disassemble_data): don't print a section's contents
866 if it's not loadable (eg bss)
868 Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com)
870 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
871 displacements don't get printed as large +ve ones.
873 Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
875 * copy.c, nm.c, objdump.c, size.c : changed to use the
879 Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com)
881 * bucomm.c (print_arelt_descr): Tweek the output format
882 so that 'ar tv' output follows Posix 1003.2/D11.
883 Output is now also identical to Sun's (except __.SYMDEF).
885 Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com)
887 * Makefile.in: Make `make' output more readable.
889 Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com)
891 * Makefile.in: Bump to version 1.94.
893 Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com)
895 * ar.c: added "b" to fopens for dos
896 * configdj.bat, makefile.dos new files from DJ
898 Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
900 * Makefile.in: infodir belongs in datadir.
902 Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com)
904 * bucomm.h: created to hold prototypes of bucomm.c
905 * objdump.h: created to hold prototyes of objdump.c
906 * am29k-pinsn.c: include objdump.h
907 * ar.c: include bucomm.h, get ar.h from the right place and
909 * bucomm.c: defunize bfd_fatal
910 * copy.c: include bucomm.h, lint.
911 * i960-pinsn.h: include bucomm.h
913 * nm.c: include bucomm.h, lint
915 * sparc-pinsn.c: include objdump.h
919 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
921 * Makefile.in: added standards.text support. install using
922 INSTALL_PROGRAM and INSTALL_DATA.
924 * configure.in: configure now does all of it's work from objdir so
925 make file existence tests against ${srcdir}.
927 Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
929 * Makefile.in: idestdir and ddestdir go away. Added copyrights
930 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
931 and mandir now keyed off datadir by default.
933 Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com)
935 * Makefile.in: Bump to version 1.93.
936 * Makefile.in: Add make-strip.o:maybe-strip.c dependency
937 for make versions that provide half-baked VPATH-support (e.g. Sun's).
938 * size.c: Improvements suggested by
939 "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
940 - Don't emit (Berkeley) headers if no files were found.
941 - Return a non-zero return code on failure.
943 Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com)
945 Changes due to include file renaming:
946 * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h
947 * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
948 * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h
949 * nm.c: stab.gnu.h -> aout/stab_gnu.h
951 Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com)
953 * README: Mention MINIMIZE flag for bfd's make.
955 Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com)
957 * README: Various improvements.
959 Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com)
961 * Makefile.in: Bump to version 1.92.
962 * version.c, Makefile.in: Get version string from Makefile.
963 * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
964 Make the same change that we earlier did for ar/ranlib:
965 Generate two different binaries for strip and copy and use
966 a global variable with different values to distinguish
967 ostrip from copy. (-1 means to use argv[0] to decide,
968 so you can get the old behavior, but it is no longer the default).
969 * copy.c (copy_file): Set EXEC_P of output bfd if input is so.
970 * copy.c (main): If is_strip==-1, compare last 5 chars
971 of argv[0], not the whole path.
972 * copy.c (main): Return 0, not 1.
973 * copy.c (setup_sections): Fix due to change in bfd_make_section
974 now failing if asked for a duplicate section.
975 * strip.c, ostrip.c: Removed obsolete files.
976 * ar.c, not-ranlib.c, maybe-ranlib.c:
977 Change encoding of is_ranlib variable to be consistent
978 with is_strip for strip.copy (i.e -1 to means use argv[0]).
980 Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com)
982 * version.c (program_version): Update to version 1.92.
984 Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com)
986 * ar.c (get_pos_bfd): Previous fix was missing a "break".
988 Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com)
990 * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
991 encodings. (Thaks to David Wood)
993 Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com)
995 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
996 * ar.c (get_pos_bfd): Fix to handling of before/after
998 * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
999 since libiberty contains vfprintf etc if otherwise missing.
1000 * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
1001 type operands, as used by branch instructions.
1002 * nm.c: Delegate printing of symbols to BFD,
1003 by using bfd_print_symbol to do the formatting.
1005 Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com)
1007 * ar.c (write_archive.c): added unlink before rename since some
1008 systems can't rename onto an existant file.
1010 Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com)
1012 * nm.c: now doesn't crash if a symbol with no section and no
1015 Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com)
1017 * Makefile.in, version.c: Bump to version 1.91.
1019 Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com)
1021 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
1022 i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
1023 * strip.c: Add or update Copyright notice.
1024 * TODO: Add note on 'nm -a'.
1025 * version.c: Update version number to 1.90.
1026 * Makefile.in: Fix making of documentation for dist.
1028 Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com)
1031 * Makefile.in: New kludgy rules for making a tarfile.
1032 * Makefile.in: Fix bindir path.
1034 Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com)
1036 * Makefile.in: add targets binutils.mm, binutils.me
1038 Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com)
1040 * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies.
1042 Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
1044 * Makefile.in: add target "binutils.ms"
1046 * binutils.texinfo: minor restructuring for texi2roff comfort.
1048 Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
1050 Restructure configuration scheme for bfd, binutils, ld.
1052 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
1053 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
1054 Change some config names to match other dirs.
1055 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
1057 * Makefile.in: Use -I. to get sysdep.h.
1059 Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com)
1061 * nm.c (print_symbols): Handle NULL name field of symbol.
1062 * Makefile.in: Removed spurious comment.
1064 Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com)
1066 * binutils.texinfo: minor typos, phrasing, formatting fixes.
1068 Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com)
1070 * configure.in: Get host file from ../bfd/config, not config.
1071 * config/*: Remove config directory and its files.
1073 Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
1075 * Makefile.in: new targets binutils.dvi, binutils.info
1077 * binutils.texinfo: remove most remaining FIXME's, delete
1078 references to __.SYMDEF by name
1081 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
1083 * objdump.c (print_address) Print addresses nicely.
1085 Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com)
1087 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
1088 Make two different binaries for ar and ranlib, instead of
1089 distinguishing them at run time using argv[0].
1090 (Old behavior is still available if you "make ar_with_ranlib",
1091 but it is not the default.)
1092 * ranlib.sh (new): An alternative one-line
1093 shell implementation of ranlib.
1095 Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com)
1097 * objdump.c: Cope with renames of a few BFD types & enums.
1099 Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com)
1101 * binutils.texinfo: add new file (rudimentary docn)
1103 Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com)
1105 * config/hmake-news: Add new file (for Sony NEWSOS3).
1106 * bucomm.c (fatal): Conditionally compile fatal() depending on
1107 MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
1108 * objdump.c (dump_headers): Trivial output format change.
1109 * objdump.c (display_info): Loop over integers, not enums,
1110 to appease old compilers.
1112 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1114 *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
1116 Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com)
1118 * objdump.c (print_address): Make disasembled output more
1119 consistent with gdb and as: Add 0x when printing hex.
1120 Don't print extra leading zeros.
1121 Attempt to not print "filename.o".
1122 * objdump.c: Add some enum-to-int casts to accomodate old compilers.
1125 Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com)
1127 * copy.c: Change =& constructs to = &, since they confuse older