* strings.c (main): Exit with zero status if no files are given
[platform/upstream/binutils.git] / binutils / ChangeLog
1 Mon Oct  2 12:10:25 1995  Ian Lance Taylor  <ian@cygnus.com>
2
3         * strings.c (main): Exit with zero status if no files are given
4         and standard input is read.
5
6 Thu Sep 28 20:03:07 1995  Stan Shebs  <shebs@andros.cygnus.com>
7
8         * mpw-config.in: Calculate underscore and put into makefile
9         fragment, generate config.h.
10         * mpw-make.sed: New file, sed commands to edit Unix makefile
11         into MPW syntax.
12         * mpw-make.in: Remove.
13         * mac-binutils.r: New file, Mac resources.
14
15 Thu Sep 28 15:49:00 1995  steve chamberlain  <sac@slash.cygnus.com>
16
17         * dlltool.c: (gen_exp_file): Always emit a .reloc section if
18         relocatable.
19         (imp_name_lab): New.
20         (gen_def_file): New.
21         (gen_lib_file): Use imp_name_lab.
22         (main): Initialize imp_name_lab.
23
24 Mon Sep 25 12:05:34 1995  Ian Lance Taylor  <ian@cygnus.com>
25
26         * configure.in: Call AC_HEADER_SYS_WAIT.
27         * configure: Rebuild.
28         * config.in: Rebuild.
29         * dlltool.c: Include "libiberty.h" and "bucomm.h".  Don't include
30         <stdio.h>, <stdlib.h>, or <string.h>.  Don't include <wait.h>.
31         Include <sys/types.h>.  Use HAVE_SYS_WAIT_H to control whether to
32         include <sys/wait.h> or define the wait macros by hand.  Don't
33         declare xmalloc.
34         (gen_lib_file): Don't assume that sprintf returns the number of
35         characters; use strlen instead.
36
37 Fri Sep 22 17:16:41 1995  Ian Lance Taylor  <ian@cygnus.com>
38
39         * objdump.c (disassemble_data): Don't use the old BFD based
40         disassembler interface.  Make info a const pointer.
41
42 Wed Sep 13 18:33:44 1995  Ian Lance Taylor  <ian@cygnus.com>
43
44         * objdump.c (start_address): New variable.
45         (stop_address): New variable.
46         (usage): Mention --start-address and --stop-address.
47         (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
48         (long_options): Add "start-address" and "stop-address".
49         (disassemble_data): Handle start_address and stop_address.
50         (dump_data, dump_reloc_set): Likewise.
51         (main): Don't set seenflag for -l.  Handle OPTION_START_ADDRESS
52         and OPTION_STOP_ADDRESS.
53         * objcopy.c (parse_vma): Move to bucomm.c.
54         * bucomm.c (parse_vma): New function, moved in from objcopy.c.
55         * bucomm.h (parse_vma): Declare.
56         * binutils.texi, objdump.1: Document new objdump options.
57
58 Tue Sep 12 12:37:39 1995  Ian Lance Taylor  <ian@cygnus.com>
59
60         * Makefile.in (maintainer-clean): New target.
61
62         * ar.c (replace_members): Don't call write_archive if nothing
63         changed.
64
65         * objdump.c (disassemble_data): Add casts to avoid gcc warnings.
66
67 Thu Sep  7 12:12:17 1995  Ian Lance Taylor  <ian@cygnus.com>
68
69         * config.in: Rename from config.h.in.
70         * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
71         Check for config.h:config.in when creating stamp-h.
72         * configure: Rebuild.
73         * Makefile.in (stamp-h): Depend upon config.in rather than
74         config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
75         calling config.status.
76
77         * Makefile.in (distclean): Remove config.h, stamp-h, and
78         config.log.
79
80         * nm.c (value_format): Initialize based on BFD64 and
81         BFD_HOST_64BIT_LONG.
82         (print_radix): New static variable.
83         (set_print_radix): Set print_radix.  Adjust changes to
84         value_format.
85         (print_value): New static function, to print 64 bit octal and
86         decimal values correctly.
87         (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT.  Use
88         print_value.
89         (print_symbol_info_sysv): Use print_value.
90         (print_symbol_info_posix): Likewise.
91
92 Wed Sep  6 15:02:55 1995  Ian Lance Taylor  <ian@cygnus.com>
93
94         * Makefile.in (*.o): Remove incorrect dependencies on
95         $(BFDDIR)/hosts/std-host.h.
96
97         * Makefile.in (INSTALL_DATA): Add -m 644.
98         (INSTALL_XFORM1): Likewise.
99         (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC).
100         (mostlyclean): Remove config.log.
101         (distclean): Remove config.cache.
102
103         * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN.
104         * configure: Rebuild.
105
106 Tue Sep  5 20:22:42 1995  Ian Lance Taylor  <ian@cygnus.com>
107
108         * configure.in: Rewrite to use autoconf.
109         * aclocal.m4: New file.
110         * configure: New file, built by autoconf.
111         * acconfig.h: New file.
112         * config.h.in: New file, built by autoheader.
113         * Makefile.in: Various changes for new configure script.  Also:
114         (PROGS): Remove $(SYSINFO_PROG).
115         (ALL_CFLAGS): Remove $(TDEFINES).
116         (version.o): Use $(ALL_CFLAGS).
117         (cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
118         (sysdump.o): Depend upon bucomm.h and config.h.
119         (srconv.o, arsup.o, strings.o): Depend upon config.h.
120         (filemode.o): Don't depend upon ../bfd/sysdep.h.
121         (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
122         (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
123         (nlmheader.o, nlmconv.o): Likewise.
124         (distclean): Don't remove sysdep.h.
125         * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
126         Include "fopen-same.h" or "fopen-bin.h", based on
127         USE_BINARY_FOPEN.  Include <errno.h>, and declare errno if it is
128         not a macro.  Include <unistd.h>, <string.h>, <strings.h>,
129         <stdlib.h>, and <fcntl.h> if they are present.  Declare strchr,
130         strrchr, and strstr if no string header file exists.  Include
131         <sys/file.h> if it exists and <fcntl.h> does not.  Define
132         O_RDONLY and O_RDWR if necessary.
133         * ar.c:  Don't include "sysdep.h".  Do include <sys/types.h> and
134         <sys/stat.h>.  Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME.  Use
135         HAVE_UTIMES rather than !USE_UTIME.  Don't include <errno.h>, and
136         don't declare errno.
137         * arsup.c: Don't include <sysdep.h>.
138         * bucomm.c: Don't include "sysdep.h".  Include <stdio.h>,
139         <sys/types.h>, and <sys/stat.h>.  Include <time.h> if it defines
140         time_t.  Define time_t if necessary.
141         * coffdump.c: Don't include "sysdep.h".
142         * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
143         * srconv.c, strings.c: Likewise.
144         * nm.c: Don't include "sysdep.h".  Don't try to define HAVE_SBRK.
145         * objcopy.c: Don't include "sysdep.h".  Include <sys/types.h> and
146         <sys/stat.h>.
147         (simple_copy): Use creat rather than assuming that O_CREAT is
148         defined.
149         * objdump.c: Don't include "sysdep.h".  Use
150         NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
151         * sysdump.c: Include "bfd.h" and "bucomm.h".  Don't include
152         "sysdep.h" or <stdlib.h>.
153         (dump_symbol_info): Rename from symbol_info.  Change all callers.
154         
155 Mon Sep  4 14:30:00 1995  Ian Lance Taylor  <ian@cygnus.com>
156
157         * configure.in (host_makefile_frag): Don't set.  Substitute for
158         @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile.
159         * Makefile.in (AR_FLAGS): Set to rc rather than qv.
160         (CC): Define as @CC@.
161         (CFLAGS): Set to @CFLAGS@.
162         (LDFLAGS): Define as @LDFLAGS@.
163         (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
164
165         * configure.in: Don't bother to call config.bfd for each target.
166         Just call it for the default target, and use the shell variable to
167         decide whether underscores are used.
168
169 Thu Aug 31 19:21:48 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
170
171         * configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
172
173 Thu Aug 31 16:30:22 1995  steve chamberlain  <sac@slash.cygnus.com>
174
175         * dlltool.c (add_indirect): New.
176         (asm_prefix): New
177         (gen_exp_file): Timestamp should be 0. Insert prefix when
178         needed. New code for indirection.
179         (gen_lib_file): Timestamp should be 0. Insert prefix
180         when needed.
181         (usage): Document --add-indirect.
182         (main): Cope with new option.
183
184         * objdump.c (dump_private_headers): New.
185         (usage): Document new option.
186         (long_option): Add private-headers.
187         (dump_bfd_private_header): New.
188         (main): Cope with new option.
189
190 Thu Aug 31 04:09:16 1995  Doug Evans  <dje@canuck.cygnus.com>
191
192         * dlltool.c (run): Add missing 3rd arg to waitpid.
193
194 Wed Aug 30 11:02:11 1995  steve chamberlain  <sac@slash.cygnus.com>
195
196         * Makefile.in (TOOL_PROGS): Include dlltool if needed.
197
198 Tue Aug 29 13:25:21 1995  steve chamberlain  <sac@slash.cygnus.com>
199
200         * dlltool.c (rva): Deleted.
201         (rvaafter, rva_before): Use new assembler pseudo.
202         (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing.
203         (gen_exp_file): Don't generate .edata if no need.
204         (gen_lib_file): Don't make timestamp.
205         Put _iname in idata$7.
206         (workout_prefix): Fix memory initialization bug.
207         (usage): Tidy up, delete many single char options.
208         (main): rva option is gone.
209
210 Mon Aug 21 18:41:28 1995  steve chamberlain  <sac@slash.cygnus.com>
211
212         * dlltool.c (options): image-base is a synonym for rva.
213         (gen_lib_file): Put dll name into ibase$7.
214
215 Sun Aug 20 09:59:00 1995  steve chamberlain  <sac@slash.cygnus.com>
216
217         Modified to generate archives and objects rather than .s files.
218         * dlltool.c (run) New function.
219         (gen_exp_file, gen_lib_file): Use run.
220         (workout_prefix): New.
221         (usage): Document new options.
222         (main): Parse new options.
223
224 Wed Aug 16 16:26:52 1995  steve chamberlain  <sac@slash.cygnus.com>
225
226         * dlltool.c (gen_exp_file): Fix RVA handling.
227         (rva_s, rva_n): Delete.
228
229 Fri Aug 11 18:27:18 1995  Ian Lance Taylor  <ian@cygnus.com>
230
231         * nm.c (main): Ignore -e.
232
233 Thu Aug 10 17:35:00 1995  Ken Raeburn  <raeburn@cygnus.com>
234
235         * Makefile.in (config.texi): New target.  Write out a setting for
236         texinfo variable VERSION.
237         (binutils.dvi, binutils.info): Depend on it.
238         * binutils.texi: Include it, and reference @value{VERSION} instead
239         of explicitly specifying 2.2(!).
240
241 Thu Aug 10 16:07:53 1995  Ian Lance Taylor  <ian@cygnus.com>
242
243         * coffgrok.c (do_type): Handle array dimensions the same way gdb
244         does.
245
246 Tue Aug  8 17:10:42 1995  steve chamberlain  <sac@slash.cygnus.com>
247
248         * dlltool.c (mtable): New fields.
249         (ASM_RVA_BEFORE, ASM_RVA_AFTER): New.
250         (flush_page): Use new macros.
251
252 Sat Aug  5 00:16:37 1995  Jeff Law  (law@snake.cs.utah.edu)
253
254         * objcopy.c (mark_symbols_used_in_relocations): Handle sections
255         with no relocations.
256         * coffgrok.c (do_sections_p1): Likewise.
257
258 Mon Jul 31 12:51:06 1995  Ian Lance Taylor  <ian@cygnus.com>
259
260         * strings.c (print_strings): For compatibility with existing
261         strings programs, print strings which are not terminated with a
262         null byte or a newline.
263         * binutils.texi, strings.1: Update documentation accordingly.
264
265         * ar.c (replace_members): For compatibility with existing ar
266         programs, permit users to add the same file multiple times.
267
268 Tue Jul 25 11:21:53 1995  Ian Lance Taylor  <ian@cygnus.com>
269
270         * strings.c (DATA_FLAGS): Remove SEC_DATA.
271         (main): If no file names are given, scan standard input.
272         * binutils.texi, strings.1: strings now scans non-data sections by
273         default.
274
275 Mon Jul 24 13:52:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
276
277         * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
278         (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes 
279         for the sh.
280
281         * sysdump.c (fillup): Return size - 1, the last byte is a checksum
282         and shouldn't be counted.
283         * sysroff.info (hd): Changed segment identifier from a byte to a 1
284         bit field.  The sysroff 2.0-01 specification seems to be in error
285         here.  Reduce width of following "spare" field from 4 to 3 bits.
286         (rl): Changed order and width of first 4 bitfields to correspond
287         to sysroff specification.
288         (dln_head, dln_inside, dln_tail): Removed.
289
290 Tue Jul 18 23:00:03 1995  Fred Fish  <fnf@cygnus.com>
291
292         * nm.c (sort_symbols_by_size):  Enclose expression being casted
293         in parens so result is casted, not just first operand.  Can't
294         do pointer arithmetic on void* pointers.
295
296 Fri Jul 14 13:42:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
297
298         * sysdump.c (dh): Changed format of output to be 16 hex digits
299         followed by 16 ascii characters, similar to Emacs' hexl-mode,
300         to make it easier to read.
301         (xcalloc): fix typo.
302
303 Thu Jul 13 15:27:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
304
305         * srconv.c (wr_tr): Write out handcrafted tr block.
306         (walk_tree_symbol): Use evallen and evalue instead of
307         vallen & value because of corresponding changes in
308         sysroff.info.
309
310         * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New
311         functions.
312
313         * sysroff.info (tr): the tr block is a special case --- a block
314         without contents --- which can't be handled by generated code.
315         (den, dpp): only first byte is present for DENend, DPPend.
316         (dsy): describe a conditional portion of block, rename some fields.
317         (dps): describe a conditional portion of block.
318         (dfl): removed.
319
320         * sysinfo.y (yyerror): write error message to standard error.
321
322 Thu Jul 13 10:43:59 1995  Ian Lance Taylor  <ian@cygnus.com>
323
324         * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.
325         (mostlyclean): Remove y.output.
326         (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo.
327
328         * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
329         * objcopy.c (copy_object): Likewise.
330
331         * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT.
332         (struct size_sym): Define.
333         (show_stats): New static variable.
334         (long_options): Add undocumented option "stats".
335         (main): Print memory stats if requested.
336         (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables.
337         (numeric_forward): Use minisymbols rather than asymbols.
338         (non_numeric_forward): Likewise.
339         (size_forward1): Rename from size_forward.  Use minisymbols.
340         (size_forward2): New static function.
341         (sort_symbols_by_size): Take new arguments dynamic, size, and
342         symsizep.  Use minisymbols.  Don't store the size back in the
343         symbol; store in a newly allocate struct size_sym array.
344         (display_rel_file): Read minisymbols rather than asymbols.  Set
345         sort_* variables.  Call print_size_symbols if sorting by size.
346         (filter_symbols): Take new arguments dynamic and size.  Use
347         minisymbols.
348         (print_symbols): Likewise.  Call print_symbol for actual printing.
349         (print_size_symbols): New static function.
350         (print_symbol): New static function.
351
352 Wed Jul 12 10:43:05 1995  Ian Lance Taylor  <ian@cygnus.com>
353
354         * objdump.c (dump_section_stabs): Only print each stabs section
355         once.
356         (compare_relocs): Make it clear to gcc that this always returns a
357         value.
358
359 Wed Jul 12 10:40:23 1995  H.J. Lu  <hjl@nynexst.com>
360
361         * objcopy.c (simple_copy): Preserve errno on failure.
362         (smart_rename): Print error mesage if simple_copy fails.
363
364 Tue Jul 11 13:10:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
365
366         * sysdump.c: re-indented file.  
367         (module): read blocks sequentially instead of trying to parse
368         them, as that would require changing the parser recognize the
369         difference between a DPSstart and DPSend block.
370         (getone): Add break's between switch blocks as appropriate.
371         (object_body_list): parse blocks according to sysroff spec.
372
373 Mon Jul 10 12:37:25 1995  J.T. Conklin  <jtc@poseidon.cygnus.com>
374
375         * sysroff.info: re-indented file, prior formatting was confusing
376         because it was indentation did not reflect nesting of conditional
377         records.  Change "space size within segment" record in hd record
378         from bit to byte.
379
380         * sysinfo.y (cond_it_field): Use xcalloc instead of calloc.
381
382         * srconv.c (wr_cs): Reformatted cs header array, tag each byte
383         with a comment describing the field.
384         (wr_unit_info): Use SEEK_SET macro instead of constant 0.
385         (main): Use FOPEN_WB macro instead of literal "wb".
386         * sysroff.info: Remove fdl (dfl) field from cs block.  Compare
387         ptr->type with ED_TYPE_CONST instead of constant 2 in ed block.
388
389 Tue Jul  4 14:48:42 1995  Ian Lance Taylor  <ian@cygnus.com>
390
391         * nm.c (size_forward): Check yf against yn, not xn.
392
393         * objcopy.c (copy_archive): Record all output BFD's, and close
394         them before unlinking them and removing the temporary directory,
395         to avoid NFS problems.
396
397         * ar.c (replace_members): In verbose messages, use 'r' when
398         replacing a member, and 'a' when adding one.
399
400         * ar.c (ar_truncate): New static variable.
401         (normalize): Change return type to const char *.  Add abfd
402         argument.  Change all callers.  If ar_truncate, chop the filename
403         to abfd->ar_max_namelen.
404         (main): For the 'f' modifier, set ar_truncate to true.  Don't
405         change quick_append to replace if ar_truncate is true.
406         (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT.
407         (write_archive): Likewise.
408         * binutils.texi, ar.1: Document 'f' modifier.
409
410         * objcopy.c (enum strip_action): Define strip_unneeded.
411         (OPTION_STRIP_UNNEEDED): Define.
412         (strip_options): Add "strip-unneeded".
413         (copy_options): Likewise.
414         (copy_usage): Mention --strip-unneeded.
415         (strip_usage): Likewise.
416         (is_strip_section): Strip debugging sections if strip_unneeded.
417         (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
418         (copy_object): If strip_all, discard symbols without checking
419         discard_locals.
420         (copy_object): Call filter_symbols if strip_unneeded.
421         (setup_section): Strip debugging sections if strip_unneeded.
422         (copy_section): Likewise.
423         (strip_main): Handle OPTION_STRIP_UNNEEDED.
424         (copy_main): Likewise.
425         * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
426
427 Mon Jul  3 14:16:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>
428
429         * configure.in (i386-*-win32): New configuration.
430         * dlltool.c (killat, xlate, usage, long_options, main): 
431         Understand and cope with -k option.
432
433 Sat Jul  1 12:25:15 1995  Fred Fish  <fnf@cygnus.com>
434
435         * ar.c: (extract_file):  Change "#if POSIX_UTIME" to
436         "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
437         and avoid lossage when POSIX_UTIME is not defined at all.
438
439 Wed Jun 28 17:51:24 1995  Steve Chamberlain  <sac@slash.cygnus.com>
440
441         * ar.c: (print_contents.c, extract_file, do_quick_append):
442         Malloc buffers rather than allocate on stack (so it works
443         on NT).
444         * deflex.l: Names can have an @ in them.
445         * dlltool.c: Loads of stuff. Can now generate .imp files which
446         work with NT .dlls.
447
448 Thu Jun 22 19:10:50 1995  Stan Shebs  <shebs@andros.cygnus.com>
449
450         * mpw-make.in (demangle.c.o): Remove.
451         (arparse.h): Depend on arparse.c instead of arparse.y.
452
453 Wed Jun 21 17:32:45 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
454
455         * Makefile.in (DISTSTUFF): Don't include info here.
456         (diststuff): Include it here.
457         (realclean): Remove *.info.
458
459         * objdump.c (compare_relocs): If relocation entries have the same
460         address, keep them in file order.
461
462 Mon Jun 19 09:06:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
463
464         * dlltool.c: Change names of generated files. .*.s-> -*.s
465
466         * objdump.c (dump_section_stabs):  Check for names
467         which are supersets of selected names.
468
469 Wed Jun 14 19:43:52 1995  Doug Evans  <dje@canuck.cygnus.com>
470
471         * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr.
472
473 Wed Jun 14 13:27:22 1995  Steve Chamberlain  <sac@slash.cygnus.com>
474
475         * deflex.l, defparse.y, dlltool.c: New files.
476         * Makefile.in, configure.in: Support for them.
477
478 Mon Jun 12 11:27:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
479
480         * sysdump.c: Include sysdep.h
481         (main): Open input with FOPEN_RB.
482
483 Fri Jun  9 17:26:11 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
484
485         * objdump.c (wide_output): New flag variable.
486         (usage): Print new -w, --wide options.
487         (long_options): Add --wide support.
488         (dump_section_header): If --wide, don't print a newline between
489         the section's first line and the flags.
490         (objdump_print_address): Use unsigned comparisons for the binary
491         search, not signed.
492         (disassemble_data): If --wide, don't put a \n between the
493         disassembly output and relocation information.
494         (main): Support -w option being the same as --wide.
495
496 Thu Jun  1 17:09:27 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
497
498         Sat May  6 08:52:24 1995  H.J. Lu (hjl@nynexst.com)
499
500         * objcopy.c (smart_rename): make it smarter, clean up
501           if rename () fails.
502
503 Tue May 30 14:24:15 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
504
505         * Makefile.in: Delete lines with lots of #### because four or more
506         indicate a point for makefile fragment substitution.
507
508 Tue May  9 17:17:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
509
510         * configure.in: Don't build nlmconv on PowerPC eabi any more, it
511         is not needed.
512
513 Thu Apr 27 20:21:24 1995  Doug Evans  <dje@canuck.cygnus.com>
514
515         * Makefile.in (EXPECT): Define.
516         (RUNTEST): Use one in source tree if present.
517         (check): Set `rootme' for $(EXPECT).
518
519 Wed Apr 26 18:26:21 1995  Steve Chamberlain  <sac@slash.cygnus.com>
520
521         * srconv.c (main): Add support for -n option which disables
522         prescan of common symbols.
523         (wr_ob): If reading past the end of a section, fill with zeros.
524
525 Tue Apr 25 19:14:37 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
526
527         * objdump.c (dump_section_header): Display load address after
528         virtual memory (run-time) address.
529
530 Wed Apr 19 09:44:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
531
532         * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the
533         compile.
534         (DEMANGLER_PROG): No longer uses version.o.
535
536 Mon Apr 10 13:29:49 1995  Stan Shebs  <shebs@andros.cygnus.com>
537
538         Merge in support for Mac MPW as a host.
539         (Old change descriptions retained for informational value.)
540
541         * mpw-config.in (TDEFINES): Define as empty in makefile frag.
542
543         * mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
544
545         * mpw-config.in: New file, MPW configure fragment for binutils.
546         * mpw-make.in (install-only): New target.
547         (install): Also depend on install-only.
548
549         * mpw-make.in (cplusfilt): Renamed from c++filt.
550         (INCLUDES): Add more paths.
551
552         * mpw-make.in: New file, MPW makefile fragment for binutils.
553         (Normally automatically generated from Makefile.in.)
554
555 Mon Mar 27 11:52:57 1995  Ian Lance Taylor  <ian@cygnus.com>
556
557         * ar.c (write_archive): Call make_tempname to get output file
558         name, rather than using a fixed name based on the input file.
559
560         * objcopy.c (make_tempname): Copy from here...
561         * bucomm.c (make_tempname): ...to here, and make global.
562         * bucomm.h (make_tempname): Declare.
563
564 Fri Mar 24 11:47:42 1995  Ian Lance Taylor  <ian@cygnus.com>
565
566         * strings.c: Include "bfd.h" before other headers.  Include
567         "sysdep.h".
568         * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
569         and print them with %ld.
570
571 Fri Mar 10 13:09:42 1995  Ian Lance Taylor  <ian@cygnus.com>
572
573         * objcopy.c (strip_options): Add --keep-symbol.
574         (copy_options): Likewise.
575         (copy_usage): Mention --keep-symbol and -K.
576         (strip_usage): Likewise.
577         (keep_symbols): New static variable.
578         (is_strip_symbol): Adjust the return value according to
579         keep_symbols.
580         (strip_main): Handle -K.  For -N, check that -K was not given.
581         (copy_main): Likewise.
582         * binutils.texi, objcopy.1, strip.1: Document -K.
583
584 Mon Mar  6 13:33:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
585
586         * objcopy.c (copy_archive): Check result of mkdir.
587         (copy_main): Cast an xmalloc result.
588
589         * objdump.c (usage): Break long format string into shorter ones.
590
591 Mon Mar  6 13:46:12 1995  Ian Lance Taylor  <ian@cygnus.com>
592
593         * bucomm.c (list_supported_targets): New function.
594         * bucomm.h (list_supported_targets): Declare.
595         * ar.c (usage): Call list_supported_targets.
596         * nm.c (usage): Likewise.
597         * objcopy.c (copy_usage, strip_usage): Likewise.
598         * objdump.c (usage): Likewise.
599         * size.c (usage): Likewise.
600         * strings.c (usage): Likewise.
601
602 Tue Feb 28 15:13:58 1995  Ian Lance Taylor  <ian@cygnus.com>
603
604         * bucomm.c (print_arelt_descr): Cast st_size to long before
605         passing it to fprintf.
606
607 Fri Feb 17 13:36:45 1995  Ian Lance Taylor  <ian@cygnus.com>
608
609         * objcopy.c (struct section_list): Add fields remove, set_flags,
610         and flags.  Change adjust from boolean to enum.
611         (remove_sections): Remove static variable.
612         (sections_removed): New static variable.
613         (copy_options): Add --set-section-flags.
614         (copy_usage): Mention --set-section-flags.
615         (parse_flags): New static function.
616         (find_section_list): New static function.
617         (is_strip_symbol): Change return type from int to boolean.
618         (is_strip_section): New static function.
619         (filter_symbols): Call is_strip_section.
620         (copy_object): When adding sections, check for specified flags or
621         VMA.  Call filter_symbols if any sections are being removed.
622         (setup_section): Use find_section_list function rather than
623         looking through remove_sections and adjust_sections.  Handle
624         --set-section-flags.
625         (copy_section): Use find_section_list rather than looking through
626         remove_sections.
627         (strip_main): Use find_section_list instead of adding items to
628         sections_removed.
629         (copy_main): Use find_section_list instead of adding items to
630         sections_removed and adjust_sections.  Handle --set-section-flags.
631         * binutils.texi, objcopy.1: Document --set-section-flags.
632
633 Tue Feb 14 18:03:03 1995  Ian Lance Taylor  <ian@cygnus.com>
634
635         * objdump.c (with_source_code): New global variable.
636         (usage): Mention -S/--source.
637         (long_options): Add --source.
638         (prev_functionname, prev_line): New static variables.
639         (struct print_file_list): Define.
640         (print_files): New static variable.
641         (skip_to_line, show_line): New static functions.
642         (disassemble_data): Call show_line to handle -l and -S.
643         (main): Handle -S.
644         * binutils.texi, objdump.1: Document -S/--source.
645
646 Thu Feb  9 16:11:53 1995  Ian Lance Taylor  <ian@cygnus.com>
647
648         * objcopy.c (copy_usage): Rename parameter to avoid shadowing.
649         (strip_usage): Likewise.
650
651         * objcopy.c (struct section_add): Define.
652         (add_sections): New static variable.
653         (copy_options): Accept --add-section.
654         (copy_usage): Mention --add-section.
655         (copy_object): Add sections from the add_sections list.
656         (copy_main): Handle --add-section.
657         * binutils.texi, objcopy.1: Document --add-section.
658
659 Wed Feb  1 15:04:57 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
660
661         * objdump.c (disassemble_data): Pass section offset, not absolute
662         address, to bfd_find_nearest_line.
663
664         * nlmconv.c (powerpc_mangle_relocs): Don't use const with
665         reloc_howto_type.
666
667 Thu Jan 26 18:50:06 1995  Ian Lance Taylor  <ian@cygnus.com>
668
669         * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather
670         than VAR->value.
671         (objdump_print_address): Likewise.
672         (disassemble_data): Don't change the symbol values.  It can
673         confuse bfd_canonicalize_reloc.
674
675 Thu Jan 26 12:03:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
676
677         * configure.in: Add support for powerpc-*-ebai.
678
679 Wed Jan 18 10:02:12 1995  Steve Chamberlain  <sac@splat>
680
681         * coffdump.c: Include sysdep.h.
682         (dump_coff_type): Handle coff_secdef_type.
683         * coffgrok.c : Include sysdep.h.
684         * srconv.c: Include libiberty.h
685         (absolute_p, dty_start, dty_end, dump_tree_structure): Remove.
686
687 Wed Jan 18 12:24:14 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
688
689         * coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
690         printf.
691         * coffgrok.c: Include bucomm.h.  Don't declare xmalloc.
692         (push_scope): Declare type of parameter link.
693         * size.c: Include libiberty.h.
694         * srconv.c: Include bucomm.h.
695         (find_base): Declare at top of file.
696         (wr_hd): Add default case to architecture switch.
697         (wr_dps_start): Declare type of parameter nest.
698         (wr_du): Comment out variables used only in commented out blocks.
699         (wr_dus): Remove unused variable i.
700         (wr_sc): Remove unused variables myinfo, low, and high.
701         * strings.c: Include libiberty.h.
702         * sysdump.c: Include <ctype.h>.
703
704 Tue Dec 20 19:13:44 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
705
706         * ar.c (main): Ignore 'f' modifier used on HP/UX 9.
707
708 Thu Dec 15 17:34:12 1994  Stan Shebs  <shebs@andros.cygnus.com>
709
710         * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h.
711         * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS
712         and END_PROGRESS.
713         * ar.c (map_over_members, open_inarch): Call PROGRESS.
714         * nm.c (main, display_archive, filter_symbols, print_symbols):
715         Call PROGRESS.
716
717         * objcopy.c (copy_usage): Break up long usage string.
718
719 Wed Dec 14 15:51:56 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
720
721         * objcopy.c (copy_object): Don't bother setting status after
722         nonfatal() "call", because it won't return.
723
724 Fri Dec  9 00:22:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
725
726         * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
727         the section symbol if the symbol is undefined.
728
729 Thu Dec  8 14:45:50 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
730
731         * objcopy.c (add_strip_symbol): Cast return value of xmalloc.
732
733 Wed Nov 30 11:05:43 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
734
735         * ar.c (replace_members): Pass current->filename to normalize when
736         checking for duplicates, because the filename of a newly added
737         file will not have been normalized yet.
738
739 Thu Nov 17 15:00:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
740
741         * ar.c (main): Don't call do_quick_append if any of the archive
742         names are longer than 14 characters.
743
744         * objcopy.c (main): Fix is_strip test.  From
745         pirker@eiunix.tuwien.ac.at (Martin Pirker).
746
747 Thu Nov 17 15:37:19 1994  Mark W. Eichin  <eichin@cygnus.com>
748
749         * objcopy.c (add_strip_symbol): New function, adds a name to an
750         explicit list of symbols to strip.
751         (is_strip_symbol): New function, reports whether the name argument
752         is in the explicit list.
753         (filter_symbols): Check against is_strip_symbol above all.
754         (strip_main): Recognize -N option. If used, don't default to
755         strip_all.
756         (copy_main): Recognize -N option.
757         (strip_usage): Document -N and --strip-symbol options.
758         (copy_usage): Ditto.
759         * objcopy.1, strip.1, binutils.texi: Document -N and
760         --strip-symbol options.
761
762 Tue Nov  8 13:12:54 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
763
764         * objdump.c (display_target_list, display_info_table): Pass an
765         array to tmparg, rather than NULL, since some systems can't handle
766         NULL.
767
768         * objcopy.c (copy_archive): Keep a list of the names of the
769         temporary files we created.  Close each input BFD after we open
770         its successor.
771
772 Mon Nov  7 15:48:39 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
773
774         * Makefile.in (VERSION): Bump to 2.5.3.
775
776 Thu Nov  3 19:04:34 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
777
778         * Makefile.in (install-info): Install info files from whatever
779         directory they were found in.
780
781         Patch from DJ Delorie:
782         * configure.bat: do c++filt -> cxxfilt right
783
784         * sysinfo.y: Include system header files early, so any potential
785         declaration of abort() occurs before its use.
786
787         * strings.c (strings_file): Try opening the file in binary mode
788         first.
789
790 Wed Nov  2 15:44:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
791
792         * ar.c (main): Treat ar qs like ar rs.
793
794 Tue Oct 25 16:19:25 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
795
796         * objcopy.c (gap_fill): Explicitly initialize, for clarity.
797         (pad_to_set, pad_to): New static variables.
798         (copy_options): Accept --pad-to.
799         (copy_usage): Mention --pad-to.
800         (copy_object): Support --pad-to.
801         (compare_section_vma): Sort non loadable sections to the front.
802         Sort sections with the same VMA by size.
803         (copy_main): Handle --pad-to.
804         * binutils.texi, objcopy.1: Document --pad-to.
805
806 Thu Oct 20 13:51:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
807
808         * objcopy.c (gap_fill_set, gap_fill): New static variables.
809         (copy_options): Accept --gap-fill.
810         (copy_usage): Mention --gap-fill.
811         (copy_object): Support --gap-fill.
812         (get_sections, compare_section_vma): New static functions.
813         (copy_main): Handle --gap-fill.
814         * binutils.texi, objcopy.1: Document --gap-fill.
815
816 Wed Oct 19 14:09:16 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
817
818         * Makefile.in (check): Add a dummy else clause to the if
819         statement.
820
821         * objcopy.c (copy_object): Revert yesterday's change.
822         * binutils.texi, objcopy.1: Remove special mention of --set-start
823         and `binary' output format.
824
825 Tue Oct 18 11:12:01 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
826
827         * objcopy.c (copy_object): If the output file format is `binary',
828         and the start address was not set using --set-start, default the
829         start address to zero.  This hack is because the `binary' output
830         file format uses the start address to set the virtual address of
831         the first byte in the file.
832         * binutils.texi, objcopy.1: Add some notes on generating S-records
833         and binary files.
834
835         * nm.c (print_symdef_entry): Call print_symname to print the
836         symbol name, so that --demangle works.
837
838         * Makefile.in (mostlyclean): Remove tmpdir.
839
840         * objcopy.c (struct section_list): Add fields used, adjust, val.
841         (adjust_start, set_start_set, set_start): New static variables.
842         (adjust_section_vma, adjust_sections): New static variables.
843         (copy_options): Add --adjust-start, --adjust-vma,
844         --adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
845         --set-start.
846         (parse_vma): New static function.
847         (copy_usage): Mention new options.
848         (copy_object): Handle --set-start and --adjust-start.
849         (setup_section): Correct type of last argument to PTR.  Set used
850         field if section is removed.  Handle --adjust-vma and
851         --adjust-section-vma.
852         (copy_section): Correct type of last argument to PTR.
853         (mark_symbols_used_in_relocations): Likewise.
854         (strip_main): Clear used field when handling -R.
855         (copy_main): Handle new options.
856         * binutils.texi (objcopy): Document new options.
857         * objcopy.1: Document new options.
858
859 Fri Oct 14 14:38:13 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
860
861         * configure.in (configdirs): Remove definition--testsuite is no
862         longer configured.
863         * Makefile.in (testsuite): Remove target.
864         (site.exp): New target.
865         (check): Rewrite.
866         (clean, distclean): Don't recur into testsuite directory.
867
868 Thu Oct 13 19:24:09 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
869
870         * Makefile.in (VERSION): Updated to 2.5.
871         * Version 2.5 released.
872
873 Tue Oct 11 15:26:42 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
874
875         * Makefile.in (sysdump.o): Depends upon sysroff.c.
876
877 Mon Oct 10 13:50:30 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
878
879         * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
880           ctor/dtor tables needed by C++ programs are built.
881
882 Sun Oct  9 18:04:00 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
883
884         * Makefile.in (srconv.o): Add dependence on sysroff.c.
885
886 Tue Oct  4 12:19:51 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
887
888         * configure.in: Use ${config_shell} when running config.bfd.
889
890         * Makefile.in (sysroff.h): Split target away from sysroff.c.
891         (srconv.o, sysdump.o): New targets.
892         (srconv, sysdump): Don't depend upon sysroff.c.
893
894 Wed Sep 28 13:04:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
895
896         * Makefile.in (arparse.c): Don't ignore errors from mv.
897         (sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
898         parallel make from trying to build both arparse.c and sysinfo.c
899         simultaneously.
900         (nlmheader.c): Similar change.
901         (arparse.h): Separate target from arparse.c, so that a parallel
902         make does not try to build both at once.  Depend upon arparse.c.
903         (sysinfo.h): Similar change.
904
905         * objdump.c (disassemble_data): Pass the reloc buffer to free, not
906         the pointer used to loop over the relocs.
907
908 Sat Sep 24 16:16:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
909
910         * objdump.c (disassemble_data): Cast result of xmalloc.
911
912 Wed Sep 21 19:30:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
913
914         * objdump.c (sorted_syms, sorted_symcount): New global variables.
915         (objdump_print_address): Use sorted_syms and sorted_symcount
916         instead of syms and symcount.
917         (disassemble_data): Don't bother to get the relocs before looping
918         over the sections.  Before filtering and sorting the symbol table,
919         copy it into sorted_syms.
920
921 Fri Sep 16 11:27:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
922
923         * objdump.c (struct objdump_disasm_info): Add field require_sec.
924         (objdump_print_address): If aux->require_sec, require that the
925         symbol be in aux->sec even if HAS_RELOC is not set.  If we can't
926         find a smaller symbol in the right section, look for a larger one.
927         (disassemble_data): Set aux.require_sec around the
928         objdump_print_address call for the instruction address.
929
930 Thu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
931
932         * ar.c: Call xexit rather than exit.
933         (output_filename, output_file, output_bfd): New static variables.
934         (remove_output): New static function.
935         (main): Call xatexit (remove_output).  Call xexit rather than
936         returning.
937         (extract_file): Set output_filename and output_file while output
938         file is open.
939         (write_archive): Likewise, but use output_bfd, not output_file.
940         * arsup.c: Include libiberty.h.  Call xexit rather than exit.
941         * bucomm.c: Likewise.
942
943         * objdump.c (disassemble_all): New global variable.
944         (usage): Document --disassemble-all.
945         (long_options): Add disassemble-all as a synonym for -D.
946         (compare_symbols): Make pointers const.
947         (compare_relocs): New static function.
948         (disassemble_data): Rename disassemble to disassemble_fn to avoid
949         shadowing.  If dump_reloc_info, print relocs along with
950         disassembly.  Skip sections which are not SEC_CODE unless
951         disassemble_all or only is set.
952         (display_bfd): Don't call dump_relocs if disassemble is set.
953         (main): Accept and handle -D.
954         * binutils.texi: Document -D/--disassemble-all.
955         * objdump.1: Likewise.
956
957 Wed Sep 14 12:19:07 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
958
959         * objdump.c (disassemble_data): Initialize prevline to 0.  Make
960         prev_function non const.  Copy functionname into an malloc buffer
961         when setting prev_function, instead of assuming that the string
962         will last forever.
963
964         * nm.c: Include libiberty.h.
965         (sort_by_size): New static variable.
966         (long_options): Add --size-sort.
967         (usage): Mention --size-sort.
968         (numeric_forward): Make static.  Change from void * to PTR.
969         (numeric_reverse): Likewise.
970         (non_numeric_forward, non_numeric_reverse): Likewise.
971         (sorters): Change declaration from void * to PTR.
972         (size_forward, sort_symbol_by_size): New static functions.
973         (display_rel_file): Handle sort_by_size.
974         (filter_symbols): If sort_by_size, discard absolute and undefined
975         symbols.
976         * binutils.texi (nm): Document --size-sort.
977         * nm.1: Document --size-sort.
978
979 Tue Sep 13 21:06:06 1994  Jeff Law  (law@snake.cs.utah.edu)
980
981         * objcopy.c (copy_main): Initialize input_filename and
982         output_filename to NULL.
983
984 Tue Sep 13 14:17:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
985
986         * Makefile.in (version.o): Depend upon Makefile, so that version.o
987         gets rebuilt when make variable VERSION is changed.
988
989         * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag.
990
991 Wed Aug 24 12:40:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
992
993         * configure.in: Change i[34]86 to i[345]86.
994
995 Tue Aug 23 11:00:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
996
997         * ar.c (ranlib_touch): Don't update the archive map if there isn't
998         one.
999
1000 Mon Aug 22 16:02:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1001
1002         * ar.c: Include libiberty.h.
1003         (inarch): Remove variable.
1004         (map_over_members): Make static.  Add arch argument, and use it
1005         instead of inarch.  Change all callers.
1006         (main): Treat --version as -v.  Accept -t argument.  Accept any
1007         number of archive arguments.  Catch and use open_inarch return
1008         value, rather than using inarch.
1009         (open_inarch): Return newly opened BFD, rather than using inarch.
1010         (do_quick_append): Make archive_filename const.
1011         (write_archive): Add iarch argument, and use it instead of inarch.
1012         Change all callers.
1013         (delete_members, move_members, replace_members): Likewise.
1014         (ranlib_only): Don't exit on success.  Catch and use open_inarch
1015         return value.
1016         (ranlib_touch): New function.
1017         * arsup.h (map_over_members): Don't declare.
1018         (ar_end, ar_extract): Declare.
1019         (open_inarch): Change return value in declaration to bfd *.
1020         * arsup.c (map_over_list): Make static. Always pass two arguments
1021         to function.  Add arch argument, and use it instead of inarch.
1022         Change all callers.
1023         (ar_directory_doer): Make static.  Add ignored second argument.
1024         Change all callers.
1025         (ar_directory): Use open_inarch return value rather than inarch.
1026         (ar_addlib_doer): Make static.
1027         (ar_addlib): Use open_inarch return value rather than inarch.
1028         (ar_extract): Remove unused local variable abfd.
1029
1030 Thu Aug 11 14:55:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1031
1032         Add support for removing named sections to objcopy and strip.
1033         * objcopy.c (struct section_list): Define.
1034         (remove_sections): New static variable.
1035         (strip_options, copy_options): Add remove-section.
1036         (copy_usage, strip_usage): Mention -R and --remove-section.
1037         (setup_section): If section is in remove_sections list, ignore it.
1038         (copy_section): Likewise.
1039         (strip_main, copy_main): Handle -R.
1040         * binutils.texi, objcopy.1, strip.1: Document new options.
1041
1042 Wed Aug 10 10:19:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
1043
1044         * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
1045         so as not to conflict with the symvalue typedef in bfd.h.
1046
1047 Mon Aug  1 13:19:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1048
1049         * nlmheader.y: Per current NetWare docs, accept a revision number
1050         of 0 and treat a revision number greater than 26 as 0.
1051
1052 Mon Jul 25 12:58:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1053
1054         * objdump.c (objdump_print_address): Correct handling of end of
1055         symbols when looking for next symbol with a different value.
1056
1057 Fri Jul 22 16:48:34 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1058
1059         * nm.c (numeric_forward): Treat undefined symbols as "less than"
1060         defined symbols with zero values.  If numeric values are equal, or
1061         both symbols are undefined, sort alphabetically.  Don't assume
1062         that the difference of two bfd_vma values will truncate to "int"
1063         and still have the same sign.
1064         (numeric_reverse): Call numeric_forward and negate the result.
1065         (print_symbol_info_bsd): For undefined symbols, print leading
1066         spaces equivalent to the width of a printed bfd_vma, rather than
1067         assuming that 8 will look right.
1068
1069 Fri Jul 22 10:36:50 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
1070
1071         * coffgrok.c (doit):  Zero all fields of new structure. 
1072         * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg. 
1073         * sysinfo.y: Generate sysroff_swap_*_out without requiring extra
1074         arg.
1075
1076 Fri Jul 22 10:09:53 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
1077
1078         * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer
1079           rather than the parser.
1080
1081 Thu Jul 21 10:25:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1082
1083         * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:
1084         Remove; obsolete.
1085
1086 Sat Jul 16 22:34:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1087
1088         * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
1089         even if the bfd is not marked DYNAMIC.  ELF executables are not
1090         marked DYNAMIC, but do have dynamic symbols.
1091
1092 Fri Jul 15 01:41:35 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
1093
1094         * coffgrok.c (do_where): Make data with no type 'int'.
1095         (do_define):  Keep info on source file of a symbol.
1096         * coffgrok.h (coff_symbol): New field.
1097         * srconv.c (PROGRAM_VERSION): Now 1.3
1098         (wr_rl): Use external ref number for symbol.
1099         (wr_dus): Only keep one source file per debug unit.
1100         (wr_dln): Always emit line numbers for first source file,
1101         (wr_globals):  Emit globals in the du of their owning source file.
1102
1103 Mon Jul 11 15:59:03 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
1104
1105         * nlmheader.y: Null terminate var_hdr->threadName.
1106
1107 Fri Jul  8 17:33:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1108
1109         * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be
1110         in $(srcdir), as they will be for FSF releases.
1111
1112 Wed Jul  6 01:13:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1113
1114         * nlmconv.c (setup_sections): Preserve existing section flags when
1115         copying in flags from a new section.
1116
1117 Tue Jul  5 15:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1118
1119         * objcopy.c: Include libiberty.h.
1120         (copy_file): If output_target is NULL, set it to the target of the
1121         input file.
1122
1123 Wed Jun 29 17:17:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
1124
1125         * nlmconv.c (link_inputs): Fixed memory allocation bug.
1126
1127 Thu Jun 23 12:52:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
1128
1129         * configure.in: Change --with-targets to --enable-targets.
1130
1131 Tue Jun 21 12:53:21 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1132
1133         * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS).
1134
1135         * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
1136         NetWare custom header; no longer needed.
1137         (powerpc_mangle_relocs): Convert relocs against the uninitialized
1138         data section into relocs against the data section.
1139
1140         * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
1141         netware targets.  Write it into Makefile as NLMCONV_DEFS.
1142         * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
1143         * nlmconv.c: Only compile code for specific CPU types if
1144         NLMCONV_cputype is defined.
1145
1146         * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
1147         bfd_abs_section_ptr or bfd_is_abs_section, etc.
1148         (i386_mangle_relocs, alpha_mangle_relocs): Likewise.
1149         (powerpc_build_stubs): Likewise.
1150         * nm.c (filter_symbols, print_symbols): Likewise.
1151         * objcopy.c (filter_symbols): Likewise.
1152         (mark_symbols_used_in_relocations): Likewise.
1153         * objdump.c (remove_useless_symbols, dump_relocs): Likewise.
1154         * size.c (sysv_internal_printer): Likewise.
1155
1156 Mon Jun 20 16:43:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1157
1158         * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
1159         (install): Install it explicitly, from build dir, not srcdir.
1160
1161 Mon Jun 20 16:29:54 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1162
1163         * objdump.c: Don't include elf/internal.h.
1164         (bfd_elf_find_section): Don't declare.
1165         (read_section_stabs): No special handling for ELF.  Always read
1166         using BFD sections.
1167
1168 Thu Jun 16 17:25:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1169
1170         * configure.in: Set UNDERSCORE in Makefile based on result of
1171         invoking config.bfd with a second argument of ``_''.
1172         * Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
1173         run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
1174         file.
1175         (demangle.o): Remove target.
1176         ($(NM_PROG)): Don't depend upon demangle.o, and don't link against
1177         demangle.o.  It's in libiberty anyhow.
1178         (cplus-dem.o): Don't depend upon demangle.o.
1179         * binutils.texi: Mention -n and --no-strip-underscores arguments
1180         to c++filt.
1181
1182 Wed Jun 15 12:10:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1183
1184         * nm.c (long_options): Add --no-demangle to turn off --demangle,
1185         and --no-cplus for Linux compatibility.
1186         (usage): Mention --no-demangle.
1187         * binutils.texi: Document --no-demangle.
1188
1189 Fri Jun 10 15:41:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1190
1191         * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.
1192
1193         * objcopy.c (copy_archive): Make the temporary directory in the
1194         same directory as the output BFD, since we may not have write
1195         permission on the current directory.  Set the permissions of the
1196         new directory to 0700, not 0777.
1197
1198 Mon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
1199
1200         * configure.in: if this is an rs6000 (and we're not building for
1201         any other bfd targets) then build only nm (collect needs it on
1202         rs6000-lynx).
1203
1204         * Makefile.in: define TOOL_PROGS which the list of programes to
1205         install in $tooldir -- replaces a hard-coded list.
1206
1207 Fri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1208
1209         * objdump.c (display_target_list): Remove unused local ok.
1210
1211 Thu May 26 18:05:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1212
1213         * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O;
1214         they're not compatible under native cc.  Use -O1 instead.
1215
1216         * Makefile.in (VERSION): Updated to cygnus-2.4.1.
1217
1218         Changes from binutils-2.4 net release:
1219
1220         * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG).
1221         ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed.
1222         * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with
1223         magic token to be replaced by sed.
1224
1225         Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
1226
1227         * configure.bat: update for latest makefile.in
1228
1229 Fri May 13 23:25:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1230
1231         * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
1232
1233 Tue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)
1234
1235         * objcopy.c (copy_section): Set section size correctly if using
1236         interleave.
1237
1238 Sat May  7 16:49:36 1994  Steve Chamberlain  (sac@cygnus.com)
1239
1240         * Makefile.in: Add rule for sysinfo.h
1241
1242 Fri May  6 12:18:33 1994  Steve Chamberlain  (sac@cygnus.com)
1243
1244         * Makefile.in (SRCONV_PROG): Define.
1245         (PROGS): Use $(SRCONV_PROG) too.
1246
1247 Thu May  5 19:41:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1248
1249         * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case
1250         someone configures with `targets=all'.
1251         (distclean): Remove y.*.
1252         (syslex.o): Depend on sysinfo.h.
1253         (sysinfo.c): Rename y.tab.h to sysinfo.h.
1254         (install-info): Don't try to install into $(infodir)/$(srcdir).
1255         * syslex.l: Include sysinfo.h, not y.tab.h.
1256
1257 Thu May  5 11:50:55 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
1258
1259         * syslex.l (yywrap): Define as function if not defined as a macro.
1260
1261         * Makefile.in (objdump.o): Deleted special rule.
1262         * configure.in: Don't bother building ARCHDEFS variable for
1263         Makefile.
1264         * objdump.c (ARCH_*): Deleted handling.
1265         (disassemble_data): Call `disassembler' from opcodes library.
1266
1267 Thu May  5 13:28:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1268
1269         * Makefile.in (install): Correct handling of $(tooldir) and
1270         $(bindir) being on different devices.
1271
1272 Fri Apr 29 09:50:38 1994  Steve Chamberlain  (sac@cygnus.com)
1273
1274         * sysdump.c (h8300, sh): Add declarations.
1275
1276 Wed Apr 27 11:25:18 1994  Steve Chamberlain  (sac@cygnus.com)
1277
1278         * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
1279         * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
1280         sysroff.info: Major changes.
1281
1282 Tue Apr 26 18:18:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
1283
1284         * objdump.c (print_section_stabs): Indicate the stab header symbol
1285         more clearly, print numbers of unrecognized stab n_type values.
1286
1287 Tue Apr 26 16:22:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1288
1289         * nlmconv.c (copy_sections): Copy arelent pointers, not arelents.
1290
1291 Mon Apr 25 16:14:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1292
1293         * Makefile.in (distclean): Remove $(PROGS) and underscore.c.
1294
1295 Fri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1296
1297         * nlmconv.c (setup_sections): Remove special handling of .reginfo
1298         section.
1299         (copy_sections): Likewise.
1300         (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the
1301         special ECOFF .reginfo section.
1302
1303         * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after
1304         copying everything else, to let it fiddle with the file in its
1305         final state.
1306
1307         * objdump.c: Include libiberty.h.
1308         (display_target_list): If a format fails, just go on to the next
1309         one.  Check return value of bfd_set_format.
1310         (display_info_table): Likewise.  Don't increment loop variable in
1311         for loop test, since that skips the first element.
1312         (display_target_tables): Rewrite loop for clarity.  Ensure that it
1313         always prints at least one element.
1314
1315         * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
1316         sections header.  Rename from cygnus_sections to cygnus_ext.
1317
1318 Thu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1319
1320         * objdump.c (_DUMMY_NAME_): Don't define.
1321         (display_target_list): Use tmpnam to get a file name rather than
1322         using _DUMMY_NAME_.  Unlink it when done.
1323         (display_info_table): Likewise.
1324
1325         * nlmconv.c (secsec): New static variable.
1326         (main): Create .nlmsections section in output BFD.  Store
1327         information about it in sections header.
1328         (setup_sections): Allocate space in sections header.
1329         (copy_sections): Copy zero sized sections.  Put information about
1330         each section in the sections header.
1331
1332 Wed Apr 20 14:34:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1333
1334         * nlmconv.c (powerpc_build_stubs): Take new outbfd argument.
1335         Change caller.  Create custom header for new PowerPC NetWare
1336         format.
1337
1338         * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies.
1339         * nlmconv.c: Include bfd.h and libiberty.h with "", not <>.
1340         * nlmheader.y: Include bfd.h with "", not <>.
1341
1342 Wed Apr 13 10:52:50 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1343
1344         * objdump.c: Do an ifdef on __GO32__, not unix.
1345
1346 Wed Apr  6 21:54:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1347
1348         Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R
1349         (--dynamic-reloc) arguments to objdump.
1350         * nm.c (dynamic): New static variable.
1351         (long_options): Added "dynamic".
1352         (usage): Mention -D and --dynamic.
1353         (main): Add D to getopt string.  Handle -D by setting dynamic.
1354         (display_rel_file): If dynamic is non-zero, read dynamic symbols
1355         rather than normal symbols.
1356         * nm.1: Updated for -D (--dynamic) option.
1357         * objdump.c (dump_dynamic_symtab): New global variable.
1358         (dump_dynamic_reloc_info): New global variable.
1359         (dynsyms, dynsymcount): New global variables.
1360         (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc.
1361         (long_options): Added "dynamic-reloc" and "dynamic-syms".
1362         (slurp_symtab): If no symbols, return rather than exit.
1363         (slurp_dynamic_symtab): New function.
1364         (display_bfd): Handle dump_dynamic_symtab and
1365         dump_dynamic_reloc_info.
1366         (dump_symbols): Take new dynamic argument, indicating whether to
1367         display dynamic symbols.
1368         (dump_relocs): Move most printing into dump_reloc_set.
1369         (dump_dynamic_relocs): New function.
1370         (dump_reloc_set): New function, extracted from dump_relocs.
1371         (main): Add R and T to getopt string.  Handle -T by setting
1372         dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info.
1373         * objdump.1: Updated for -R (--dynamic-reloc) and -T
1374         (--dynamic-syms) options.
1375         * binutils.texi: Updated for new nm and objdump options.
1376
1377 Wed Mar 30 15:52:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1378
1379         Update for recent BFD changes to symbol and reloc reading.  Rename
1380         all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
1381         Also:
1382         * coffgrok.c (symcount): Change to long.
1383         (do_sections_p1): Check for error return from
1384         bfd_get_reloc_upper_bound.  Change relcount to long, and check for
1385         error from bfd_canonicalize_reloc.
1386         (coff_grok): Change storage to long.  Check for error from
1387         bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
1388         * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
1389         i to long.  Check for error from bfd_get_symtab_upper_bound and
1390         bfd_canonicalize_symtab.
1391         (copy_sections): Change reloc_size and reloc_count to long.  Check
1392         for error from bfd_get_reloc_upper_bound and
1393         bfd_canonicalize_reloc.
1394         (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
1395         reloc_count_ptr argument to long *.  Make corresponding changes to
1396         variables loaded from *reloc_count_ptr.
1397         * nm.c (display_rel_file): Change storage and symcount to long.
1398         Check for errors from bfd_get_symtab_upper_bound and
1399         bfd_canonicalize_symtab.
1400         * objcopy.c (filter_symbols): Change symcount, src_count and
1401         dst_count to long.
1402         (copy_object): Change symcount to long.  Pass another argument to
1403         fprintf.  Check for errors from bfd_get_symtab_upper_bound and
1404         bfd_canonicalize_symtab.
1405         (copy_section): Change relcount to long.  Check for errors from
1406         bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
1407         (mark_symbols_used_in_relocations): Change relcount and i to long.
1408         Check for errors form bfd_get_reloc_upper_bound and
1409         bfd_canonicalize_reloc.
1410         * objdump.c (storage): Remove global variable.
1411         (symcount): Changed to long.
1412         (slurp_symtab): New local variable storage.  Check for errors from
1413         bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
1414         (remove_useless_symbols): Change return value and count to long.
1415         (objdump_print_address): Change min, max, thisplace and i to long.
1416         (disassemble_data): Change i to long.
1417         (dump_symbols): Change count to long.
1418         (dump_relocs): Change relcount to long.  Check for errors from
1419         bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
1420         (display_info_table): Add casts when passing LONGEST_ARCH for
1421         printf %* argument.
1422
1423 Tue Mar 29 14:59:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1424
1425         * nm.c (display_archive): Close each archive element after it has
1426         been displayed.
1427         * objdump.c (display_file): Likewise.
1428
1429 Mon Mar 28 13:04:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1430
1431         * configure.in: Change error message to refer to bfd/config.bfd
1432         rather than bfd/configure.in.
1433
1434 Sun Mar 27 16:23:39 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1435
1436         * More fixes for object formats which allow multiple sections
1437         with the same name:
1438         * objcopy.c (setup_section): Make a new output section even if
1439         one already exists with the given name.
1440         (copy_section): Use isection->output_section rather than trying
1441         to look the output section up by its (possibly non-unique) name.
1442
1443         * Makefile.in (install-info): Look for binutils.info in the
1444         current directory, then in $(srcdir).  Don't use $<.
1445
1446 Mon Mar 21 12:55:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1447
1448         * objdump.c (objdump_print_address): Make static.  Declare with
1449         prototype.  Change vardiff from int to bfd_signed_vma.  Correct
1450         binary search termination condition.  When looking for same
1451         section symbol in relocatable file, handle final symbol correctly.
1452
1453 Sun Mar 20 11:26:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1454
1455         * Makefile.in: Avoid bug in hpux sed.
1456
1457         * objcopy.c: Changes to keep it from stripping symbols used
1458         in output relocations.
1459         (mark_symbols_used_in_relocations): New function.  Mark symbols
1460         used in output relocations with BSF_KEEP.
1461         (filter_symbols): Do not strip symbols marked with BSF_KEEP.
1462         (copy_object): Reorder actions.  First setup sections, then
1463         build the output symbol table, then copy the section contents.
1464
1465 Fri Mar 18 10:53:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1466
1467         * ar.c (write_archive): Allocate space for the null byte.  From
1468         Robert Lipe <robertl@arnet.com>.
1469
1470 Thu Mar 17 16:20:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1471
1472         * Makefile.in: Built nm.new and strip.new to avoid problems with
1473         collect when . is in PATH.
1474         (STRIP_PROG): Change from strip to strip.new.
1475         (NM_PROG): Change from nm to nm.new.
1476         (install): Remove the .new when installing.
1477
1478 Wed Mar 16 16:27:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1479
1480         * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
1481         symbol for which we build a stub.
1482         (powerpc_mangle_relocs): Only reset TOC pointer for a call to a
1483         symbol with BSF_DYNAMIC flag set.
1484
1485 Tue Mar 15 23:04:13 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1486
1487         * objcopy.c (filter_symbols): Use bfd_is_local_label to determine
1488         if a symbol represents a compiler-generated local label.
1489         (copy_object): Give the BFD backends a chance to copy any private
1490         bfd data from the input BFD to the output BFD.
1491         (setup_section): Give the BFD backends a chance to copy any private
1492         section data from the input section to the output section.
1493
1494 Mon Mar 14 11:15:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1495
1496         * objcopy.c (mangle_section): Delete unused function.
1497         (setup_section): Set osection here instead of calling
1498         mangle section to do it.
1499
1500 Mon Mar 14 12:11:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1501
1502         * ar.c (write_archive): Close inarch before unlinking it.
1503
1504 Fri Mar 11 22:20:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1505
1506         * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
1507         powerpc_resolve_stubs.  Use __GOT0, not __toc_start.  Handle it if
1508         the start and end symbols are not in the text section.
1509         (struct powerpc_stub): New struct definition.
1510         (powerpc_stubs, powerpc_stub_insns): New static variables.
1511         (powerpc_initial_got_size): New static variable.
1512         (powerpc_build_stubs): New function.
1513         (powerpc_resolve_stubs): New function.
1514         (powerpc_mangle_relocs): Clear extraneous data in .got section.
1515         Rearrange reloc handling to handle ELF relocs that are not
1516         partial_inplace.  Resolve PC relative relocs.
1517
1518 Wed Mar  9 13:48:11 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
1519
1520         * ar.c (move_members): Fix it so that the abi positional modifiers
1521         don't delete all archive members following the insert point.
1522
1523 Tue Mar  8 13:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
1524
1525         * coffgrok.[ch]: New files, understand coff objects.
1526         * coffdump.c: Uses coffgrok to dump out the debug info of a coff
1527         file.
1528         * sysroff.info: Description of a SYSROFF object file.
1529         * sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
1530         header files and a printer.
1531         * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
1532         file to a SYSROFF file.
1533
1534 Sat Feb 26 13:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
1535
1536         * ar.c (do_quick_append): Pad with a genuine character 10,
1537         rather than whatever '\n' might happen to be.
1538
1539 Tue Feb 22 18:25:52 1994  Ian Lance Taylor  (ian@cygnus.com)
1540
1541         * nlmconv.c (main): Ignore debugging symbols when looking for
1542         special symbols by name.
1543
1544 Sun Feb 20 18:47:42 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
1545
1546         * nlmconv.c: Include libiberty.h.
1547
1548         Support for PowerPC NetWare.
1549         * nlmconv.c (main): For PowerPC NetWare, automatically define the
1550         special symbols __toc_start.
1551         (select_output_format): Handle bfd_arch_powerpc.
1552         (mangle_relocs): Likewise.
1553         (powerpc_mangle_relocs): New function.
1554
1555 Thu Feb 17 09:28:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1556
1557         * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c, 
1558         size.c: Use bfd_get_error and bfd_set_error and new error names.
1559
1560 Fri Feb 11 15:54:51 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1561
1562         * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
1563
1564 Mon Feb  7 19:45:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1565
1566         * objdump.c (disassemble_data): Handle bfd_arch_powerpc.
1567
1568 Sun Feb  6 22:08:20 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1569
1570         * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main):
1571         Call xmalloc_set_program_name.
1572
1573 Fri Feb  4 10:46:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1574
1575         * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
1576         can do arithmetic on it.
1577
1578 Thu Feb  3 14:06:41 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1579
1580         * objdump.c (dump_section_stabs, read_section_stabs,
1581         print_section_stabs): Functions broken out of dump_stabs_1.
1582         Free the stabs and strings when done with them.
1583
1584 Wed Feb  2 13:42:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1585
1586         * nlmconv.c (main): Use bfd_get_flavour instead of struct member.
1587         * ar.c (print_contents, extract_file), size.c
1588         (print_berkeley_format, print_sysv_format): Use bfd_get_filename and 
1589         bfd_my_archive instead of dereferencing the structs directly.
1590
1591         * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
1592         Indent.  Remove DEFUNs.
1593
1594         * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
1595         if ambiguous match.
1596         * nm.c (display_file, display_archive), size.c (display_bfd):
1597         Eliminate gotos.
1598         Print matching formats if there is an ambiguous match.  Use
1599         bfd_nonfatal instead of hardcoded error message if nothing matches.
1600
1601         * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
1602         abfd->filename. 
1603
1604         * nm.c (display_archive): New function, from code in display_file.
1605         (display_rel_file): Renamed from do_one_rel_file.
1606
1607         * size.c: Indent.
1608         (display_archive): New function from code in display_file.
1609         (display_file): Check bfd_close error return.
1610
1611         * strings.c (strings_object_file): Check bfd_check_format
1612         error return.
1613
1614         * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
1615
1616         * bucomm.c: Delete references to exit_handler.  It wasn't set
1617         anywhere, and now that we're using the libiberty xmalloc, it
1618         wouldn't always get called before exiting.
1619         (list_matching_formats): Function moved from objdump.c.
1620         * bucomm.h: Declare it.
1621
1622         * objdump.c (disassemble_data): Move some variable decls closer to
1623         their use.  Add some comments.  Replace a nested block with a
1624         return. 
1625
1626 Mon Jan 31 18:50:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
1627
1628         * objdump.c (display_target_list, display_info_table): Check that
1629         the bfd of the dummy output file is not null.
1630
1631 Wed Jan 26 13:13:18 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1632
1633         * objcopy.c (filter_bytes): New function.
1634         (copy_section): Call it.
1635         (copy_options, copy_usage, copy_main): Add --byte option to
1636         activate it.  Appropriate the -b option (which was an undocumented
1637         synonym for -F) for it, also.  Add --interleave, -i option for
1638         additional control.
1639         (setup_section, copy_section, mangle_section): Renamed with no `s'
1640         on the end.
1641         * objcopy.1, binutils.texi: Document the new options.
1642
1643         * objdump.c (display_target_tables, display_target_list):
1644         New functions broken out of display_info.
1645         Eliminate some magic constants.  Use more meaningful variable names.
1646         (dump_bfd_header): New function broken out of display_bfd.
1647         (dump_section_header): New function broken out of dump_headers.
1648         (remove_useless_symbols): Don't shadow global variable name with
1649         parameter. 
1650         (objdump_print_address): Fix backward test.
1651
1652 Tue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
1653
1654         * bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
1655         * objdump.h: Removed.
1656
1657 Mon Jan 24 13:29:02 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1658
1659         * objdump.c (display_file): Remove call to list_matching_formats.
1660         It would never be called.
1661         (list_matching_formats): Take an arg giving the list of matching
1662         formats.
1663         (display_bfd): Pass the arg, and get it filled in by calling
1664         bfd_check_format_matches instead of bfd_check_format.
1665         (display_info, display_info_table): target_vector was renamed to
1666         bfd_target_vector. 
1667
1668         * binutils.texi (objdump): Note some limitations of -h section
1669         address printing.
1670
1671 Sat Jan 22 16:20:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
1672
1673         * Makefile.in (MALLOC): Set to emptiness by default.
1674         (ALL_CFLAGS): Add and use.
1675         (arparse.h): Make it depend on arparse.y.
1676         * ar.c (libbfd.h): Don't require to be in ../bfd.
1677         * objdump.c (comp): Rename to compare_symbols.
1678
1679 Fri Jan 21 20:22:30 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1680
1681         * objdump.c (list_matching_formats): If the file format is ambiguous,
1682         print the matching names so the user can choose one.
1683         (display_bfd): Call it.
1684         (display_file): Call it.
1685
1686 Fri Jan 21 19:17:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1687
1688         * objdump.c (disassemble_data): Support bfd_arch_rs6000.
1689
1690 Mon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
1691
1692         * objdump.c (stab_name): Allocate dynamically.
1693         (stab_print): Use pointers to strings instead of char arrays.
1694         (dump_stabs): Change alloc and init of arrays appropriately.    
1695         (dump_stabs_1): Always decide whether to print stab_name or
1696         the stab's type number, if unnamed.
1697
1698 Fri Jan 14 14:42:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1699
1700         * objcopy.c (strip_main, copy_main): Don't clobber the input file
1701         if copy_file fails.
1702
1703         * nlmconv.c (main): Warn about an attempt to use a shared library
1704         with uninitialized data.
1705
1706         * nlmconv.c (setup_sections): Make sure that we align the
1707         output_offset of each input section appropriately.
1708
1709 Thu Jan 13 17:32:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1710
1711         * objdump.c (dump_relocs): Don't crash if section name is NULL.
1712
1713 Tue Jan 11 19:46:33 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1714
1715         * filemode.c (filemodestring): Commented out; not used.
1716         (mode_string): Use POSIX definitions.
1717         (ftypelet): Likewise.
1718         (rwx): Removed; no longer used.
1719         * bucomm.c: Include bucomm.h.
1720         (bfd_nonfatal, bfd_fatal): Argument is const.
1721         (fatal): Make __STDC__ version.
1722         * bucomm.h (mode_string): Declare.
1723         * Makefile.in (bucomm.o): Depend upon bucomm.h
1724
1725 Sun Jan  9 12:03:20 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
1726
1727         * bucomm.c (xmalloc, xrealloc): Deleted.
1728         * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to
1729         libiberty version of functions.
1730
1731 Thu Jan  6 06:18:15 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1732
1733         * binutils.texi: Add a chapter summarizing the ways to select
1734         aspects of the target for each program.
1735
1736         * objdump.c (long_options, usage): Add long equivalents for all
1737         remaining short options that lacked them.
1738         * binutils.texi objdump.1: Document them.
1739
1740         * size.c (usage): Tweak usage message.
1741         * size.1: Add missing `=' in examples.
1742
1743         * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
1744         Use "--target=bfdname" as the option to select the BFD target,
1745         like nm and size already do.
1746         Reserve "--format=format" for textual output selection options, but
1747         for now keep old option names as obsolete for backward compatibility.
1748
1749         * strings.c (main, strings_object_file, usage): Add --target option.
1750         * binutils.texi strings.1: Document it.
1751
1752 Sat Jan  1 13:58:24 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
1753
1754         * ar.c (main): Add \n in error message.
1755
1756 Thu Dec 23 12:23:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1757
1758         gcc -Wall lint:
1759         * ar.c (main): Put parens around assignment used as truth value.
1760         * objcopy.c (strip_main): Remove unused variables.  Return 0.
1761         (copy_main): Remove unused variables.  Return 0.
1762         * objdump.c (display_bfd): Declare return value as void.
1763         (stab_print): Use "" instead of 0 to initialize array.
1764         (dump_stabs_1): Print vma using printf_vma.
1765         (display_info): Put parens around assignment used as truth value.
1766         * strings.c (print_strings): Cast printf arguments.
1767
1768         * objcopy.c (copy_main): Use copy_options, not strip_options.
1769
1770         * nlmheader.y (command): Warn about illegal date values.
1771
1772 Wed Dec 15 11:18:03 1993  David J. MacKenzie  (djm@frosty.eng.umd.edu)
1773
1774         * bucomm.c bucomm.h: Run through indent.  De-ansidecl-ify.
1775         (bfd_nonfatal): New function.
1776         (bfd_fatal): Call it.
1777
1778         * objcopy.c (smart_rename): Do a copy if the dest file has
1779         multiple hard links.  Remove source file on successful copy.
1780         Try to preserve mode and owner on successful rename.
1781
1782         * objcopy.c: Run through indent.  Clean up a bit.
1783         Make global variables static.
1784         Make {input,output}_{target,filename}, show_version local
1785         to various functions.
1786         New global variable `status' for exit status.
1787         (strip_main, copy_main): New functions with code from main.
1788         (nonfatal): New macro.  Use it globally instead of bfd_perror and
1789         bfd_fatal.
1790
1791         (copy_object): Call mangle_sections with bfd_map_over_sections.
1792         (mangle_sections): Adjust for new calling convention.
1793
1794 Fri Dec 10 11:28:11 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
1795
1796         * nlmheader.y (command): Accept MAP and FULLMAP without arguments.
1797         * nlmconv.c (main): Change error message for MAP and FULLMAP.
1798
1799 Thu Dec  9 17:47:19 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
1800
1801         * nlmconv.c (main): Warn about imported symbols that are not in
1802         the IMPORT list even if the IMPORT keyword is not used.
1803
1804         * nlmconv.c (debug, unlink_on_exit): New static variables.
1805         (long_options): Add "debug" and "linker".
1806         (main): Handle -d and -l arguments.  Make command line input and
1807         output files optional.  Parse the command file before opening the
1808         BFD's, which requires storing more information in local variables.
1809         If INPUT names multiple files, link them together.  Use OUTPUT for
1810         the output file name if not named on command line.
1811         (show_usage): Changed for new options.
1812         (link_inputs): New function to automatically invoke linker to
1813         handle multiple INPUT files.
1814         (choose_temp_base_try, choose_temp_base, pexecute): New functions,
1815         mostly copied from gcc/gcc.c.
1816         * nlmconv.h (input_files, output_file): Declare.
1817         * nlmheader.y (input_files, output_file): Define.
1818         (command): Support INPUT with a string_list argument.  Support
1819         OUTPUT.
1820         (string_list): Renamed from module_list.
1821         * Makefile.in (nlmconv.o): Define LD_NAME based on
1822         program_transform_name.
1823
1824 Wed Dec  8 10:09:04 1993  Ian Lance Taylor  (ian@deneb.cygnus.com)
1825
1826         * nlmheader.y (nlmheader_identify): New function.  Use it to print
1827         the program name just once, instead of with every error message.
1828
1829 Mon Dec  6 16:11:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1830
1831         * nlmconv.c (long_options): Changed --header-info to --header-file
1832         to match documentation and usage message.
1833
1834 Sun Dec  5 01:31:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
1835
1836         * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
1837         in a relocation.
1838
1839 Thu Dec  2 16:00:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1840
1841         * nlmconv.c (main): Change various types from bfd_size_type to
1842         size_t, since they have to be arguments to fread and fwrite.
1843         Change set from char * to unsigned char *.
1844         (select_output_format): Make mach argument unsigned.  Handle
1845         bfd_arch_alpha.
1846         (setup_sections): Don't copy the .reginfo section of an ECOFF
1847         file.  Call bfd_set_reloc to initialize the relocation fields.
1848         (copy_sections): Don't copy the .reginfo section of an ECOFF file.
1849         Combine all relocs for a section.
1850         (mangle_relocs): Change type of relocs to permit specific
1851         functions to change it.  Call alpha_mangle_relocs for alpha,
1852         default_mangle_relocs for other architectures.
1853         (default_mangle_relocs): New function.  Adjust the address of all
1854         relocs by the output_offset.
1855         (i386_mangle_relocs): Change type of relocs argument.  Cast length
1856         argument to memmove to size_t.
1857         (alpha_mangle_relocs): New function.    
1858
1859 Wed Nov 17 17:38:58 1993  Sean Eric Fagan  (sef@cygnus.com)
1860
1861         * nlmconv.c (select_output_format): Use nlm32-sparc for
1862         bfd_arch_sparc.
1863
1864 Wed Nov 17 14:41:35 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
1865
1866         * nlmconv.1:   added man page
1867         * objcopy.1:   fixed format errors
1868
1869 Wed Nov 17 12:03:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1870
1871         * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
1872
1873 Wed Nov 17 04:50:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
1874
1875         * strings.1: Fix typo.
1876
1877 Mon Nov 15 12:03:20 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
1878
1879         * Makefile.in (DISTSTUFF): Build "info".
1880         (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out.
1881
1882 Sun Nov 14 00:27:24 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
1883
1884         * objdump.c (dump_stabs): Handle stabs-in-som as implemented
1885         by the new BFD SOM assembler.
1886
1887 Sat Nov 13 07:14:05 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
1888
1889         * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1
1890         strings.1 strip.1: Replace \(em in NAME section with \- so
1891         makewhatis can grok it.
1892
1893 Tue Nov  9 15:22:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1894
1895         * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
1896         section output_offset.
1897
1898 Fri Nov  5 12:11:52 1993  Jeffrey Osier  (jeffrey@thepub.cygnus.com)
1899
1900         * binutils.texi:  added nlmconv chapter
1901
1902 Wed Nov  3 16:10:50 1993  Jeffrey Wheat  (cassidy@cygnus.com)
1903
1904         * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS
1905
1906 Wed Nov  3 15:09:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
1907
1908         * Makefile.in (distclean): Don't get rid of dvi or info files.
1909
1910 Tue Nov  2 13:29:59 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
1911
1912         * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK.
1913
1914 Fri Oct 29 16:02:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
1915
1916         * binutils.texi: Move objcopy docs into alphabetical order.
1917
1918         * objdump.c: Use xmalloc instead of malloc.
1919
1920 Fri Oct 29 11:11:14 1993  Stan Shebs  (shebs@rtl.cygnus.com)
1921
1922         * objdump.c (info): Rename to formats_info.
1923         (dump_stabs_1): Better comments and formatting.
1924
1925 Thu Oct 28 19:43:16 1993  Stan Shebs  (shebs@rtl.cygnus.com)
1926
1927         * ar.c (main): Always create the archive when quick appending,
1928         even if no input files have been given.
1929
1930 Wed Oct 27 12:03:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1931
1932         * nlmconv.c (main): Set sharedDebugRecordOffset and
1933         sharedDebugRecordCount fields in extended header.
1934
1935         * nlmconv.c (main): Force moduleName field to upper case.
1936
1937 Mon Oct 25 16:45:42 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1938
1939         * objcopy.c (main): Give a usage message if there are too many
1940         arguments.
1941
1942 Mon Oct 25 10:37:08 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
1943
1944         * Makefile.in (install-info): Rewrite to take advantage of VPATH,
1945         so FSF distributions (with info files in $(srcdir)) install
1946         properly.
1947         (DISTSTUFF): Build nlmheader.c too.
1948
1949 Fri Oct 22 11:43:23 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
1950
1951         * ar.c (program_name): Don't define here.
1952         * objdump.c: Include "bucomm.h".
1953         (xmalloc): Don't declare here.
1954         (program_name): Don't define here.
1955         (program_version): Fixed type in declaration.
1956         * size.c: Include "bucomm.h".
1957         (program_name): Don't declare here.
1958
1959 Fri Oct 22 14:10:41 1993  Mark Eichin  (eichin@cygnus.com)
1960
1961         * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED
1962
1963 Fri Oct  1 12:43:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1964
1965         * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative
1966         relocs against defined symbols in the same section.
1967
1968 Thu Sep 30 16:46:26 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
1969
1970         * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
1971
1972 Sat Sep 25 18:09:29 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
1973
1974         * objcopy.c (simple_copy, smart_rename): New functions.
1975         (main): Use them.
1976
1977 Fri Sep 24 15:38:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1978
1979         * Makefile.in (clean, distclean): Recurse into testsuite.
1980
1981 Thu Sep 23 01:05:06 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1982
1983         * objcopy.c (setup_sections, copy_sections): If stripping, don't
1984         copy SEC_DEBUGGING sections.
1985         * objdump.c (dump_headers): Print SEC_DEBUGGING flag.
1986
1987         * objdump.c (usage): Mention --stabs.
1988
1989         * objcopy.c (copy_object): Copy all applicable file flags.
1990         (copy_file): Don't copy EXEC_P specially here.
1991
1992 Mon Sep 20 19:28:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1993
1994         * nlmconv.c (main): Adjust data section size to correspond to bss
1995         alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
1996         a different section.  Use time_t for time variable.
1997         (setup_sections): Only put sections with contents in output NLM.
1998         (i386_mangle_relocs): No symbols are common at this point.  Add
1999         casts to avoid warnings.        
2000
2001 Fri Sep 10 11:00:40 1993  Stan Shebs  (shebs@rtl.cygnus.com)
2002
2003         * objdump.c: Made the --stabs option work for stabs-in-coff.
2004         (ELF_STAB_DISPLAY): Removed.
2005         (dump_elf_stabs): Renamed to dump_stabs, changed to run for
2006         any object file format.
2007         (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to
2008         generic BFD routines for non-ELF case, changed format of message
2009         for no-section-found case.
2010         (display_bfd): Always call dump_stabs if requested.
2011         (dump_data): Call bfd_section_size to get section size.
2012
2013 Fri Sep 10 08:12:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2014
2015         * Makefile.in (install): Don't put strings in tooldir/bin.
2016
2017 Mon Sep  6 15:39:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2018
2019         * nlmconv.c (total_bss_size): Removed.
2020         (main): Set the bss vma to always follow the data section.  Move
2021         symbols into new sections, and adjust values by output_offset.
2022         (setup_sections): Don't copy all sections, but instead point all
2023         text sections to .text, all data sections to .data, and all bss
2024         sections to .bss.
2025         (copy_sections): Adjust accordingly.
2026
2027 Thu Sep  2 12:34:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2028
2029         Only build nlmconv if configured for a NetWare target.
2030         * configure.in: If we have some *-*-netware* target, or are using
2031         all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
2032         * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
2033         $(NLMCONV_PROG).
2034
2035 Tue Aug 31 14:13:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
2036
2037         * objdump.c (ARCH_all): Define ARCH_hppa too.
2038         (dump_headers): Don't test for SEC_BALIGN if it's not defined by
2039         bfd.h.
2040
2041 Tue Aug 31 13:29:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2042
2043         * nlmconv.c (main): Force creation of .bss section.  Set up the
2044         sections before looking at the symbols.  Move all common symbols
2045         into .bss section.  Automatically define _edata and _end.  Only
2046         export symbols in the export list, with multiple prefixes if
2047         necessary.  Warn if no version.  Always create extended header.
2048         Set date automatically if not already set.
2049         (setup_sections): Count size of bss sections.
2050         (mangle_relocs, i386_mangle_relocs): Accept section argument, and
2051         take reloc_count as a changeable pointer; changed callers.
2052         (i386_mangle_relocs): Remove PC relative relocs within a section,
2053         as they require no adjustment.
2054         * nlmheader.y: Fixed memory allocation throughout: token STRING is
2055         now allocated on the heap, and freed if not needed.  Null
2056         terminated copyright message.  Accept version with only two
2057         strings.
2058         (symbol_list_opt): New nonterminal, either symbol_list or empty.
2059         (symbol_list): Use left recursion to avoid overflowing parser
2060         stack.
2061         (yylex): Rearranged beginning of line check.  Accept quoted
2062         strings using single quotes.  End generic argument at comment
2063         character or parentheses.
2064         (string_list_append): Fixed.
2065         (string_list_append1): New function.
2066
2067         * bucomm.h: The first argument to xrealloc is PTR, not char *.
2068         * bucomm.c (xrealloc): Use PTR rather than char *.
2069         * Makefile.in (objdump.o): Depend upon config.status to notice
2070         --with-targets changes.
2071         (nlmconv.o): Depend upon bucomm.h.
2072
2073 Tue Aug 17 09:46:01 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2074
2075         * configure.in: Don't pass cpu to config.bfd.
2076
2077 Thu Aug 12 16:43:04 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2078
2079         * Makefile.in ($(NM_PROG)): Depend on demangle.o.
2080         (demangle.o): New target.
2081         (cplus-dem.o): Depend on it, to force compilation order when doing
2082         parallel compiles.
2083
2084         * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
2085         (struct output_fns print_symbol_info): Ditto.
2086         (long_options, usage, main): Add -C --demangle option.
2087         (print_symname): New function, demangling if requested.
2088         (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
2089
2090 Wed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2091
2092         * Makefile.in: Put CFLAGS last in compilation rules and omit from
2093         linking rules.  Use ARCHDEFS to compile objdump.c.
2094         Update dependencies.
2095         * configure.in: Construct ARCHDEFS based on the BFD target makefile
2096         fragments.
2097         * objdump.c: Conditionalize calls to the print_insn_ARCH functions
2098         according to ARCHDEFS.
2099
2100 Thu Aug 12 08:06:15 1993  Ian Lance Taylor  (ian@cygnus.com)
2101
2102         * ar.c: Removed obsolete and non-functional GNU960 code.
2103
2104 Wed Aug 11 13:08:26 1993  Ian Lance Taylor  (ian@cygnus.com)
2105
2106         * size.c (berkeley_sum): New function.
2107         (bsssize, datasize, textsize): New global variables.
2108         (bss_section_name, data_section_name, text_section_name): Removed.
2109         (print_berkeley_format): Map berkeley_sum over all the sections,
2110         rather than only reporting sizes of specifically named sections.
2111         * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
2112
2113 Tue Aug 10 10:46:01 1993  Ian Lance Taylor  (ian@cygnus.com)
2114
2115         * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
2116         convert object files into NetWare Loadable Modules.
2117         * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
2118         (PROGS): Add NLMCONV_PROG.
2119         (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
2120         targets.
2121
2122 Thu Aug  5 15:48:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
2123
2124         * Makefile.in: define MAKEOVERRIDES to an empty string
2125
2126 Wed Aug  4 17:08:08 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2127
2128         * objcopy.c (copy_file): Make failures to process a file nonfatal.
2129
2130 Mon Aug  2 11:28:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2131
2132         * nm.c: Add -B option, like --format=bsd.
2133
2134 Tue Jul 27 16:29:54 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2135
2136         * objcopy.c (copy_file): If the file is neither an object nor an
2137         archive, give an error rather than returning success.
2138
2139 Mon Jul 19 16:13:40 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
2140
2141         * objdump.c (objdump_print_address): Prefer non-local symbols over
2142         local ones, and especially discriminate against debugging symbols.
2143         Also, for relocateable files, try to find a symbol in the current
2144         section, instead of picking one from some random section with a
2145         convenient value (read, section offset).
2146         (disassemble_data): Cast argument to malloc to size_t first.
2147         (dump_data): Likewise.
2148         (dump_relocs): If a single section name is specified, show relocs
2149         only for that section.  Otherwise, silently omit sections without
2150         relocs.  Format table nicely even if values are printed using 16
2151         digits instead of 8.
2152
2153 Fri Jul 16 15:19:59 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2154
2155         * nm.c: Changes for final version of POSIX.2.
2156         (print_symbol_filename_{bsd,sysv,posix}): New functions.
2157         (formats): Add an element for a pointer to them.
2158         (print_symbols): Call it.
2159         (print_object_filename_posix, print_archive_member_posix): Produce
2160         output according to new POSIX.2 spec.
2161
2162         * strings.c (print_strings): Handle STREAM being NULL.
2163         (strings_a_section): Pass a NULL.
2164         (main): Don't open /dev/null.
2165
2166 Thu Jul 15 12:44:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2167
2168         * objdump.c (disassemble_data): Handle the m88k.
2169         (display_bfd): Use bfd_errmsg, rather than just claiming that the
2170         bfd is not an object file.
2171
2172 Mon Jul 12 17:55:34 1993  K. Richard Pixley  (rich@cygnus.com)
2173
2174         * Makefile.in (TAGS): make work again by naming directories
2175           explicitly rather than depending on undefined macros.
2176           (INSTALL_XFORM): correct bad install target.
2177
2178 Fri Jul  2 16:58:34 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2179
2180         * strings.c: Doc fixes.
2181
2182 Sun Jun 27 13:35:24 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2183
2184         * Makefile.in: Note dependencies on bucomm.h.
2185         (cplus-dem.o): Link c++filt with version.o.
2186
2187         * strings.c: Include bucomm.h and add prototypes to other decls.
2188         Remove -h option.
2189
2190         * bucomm.h: Declare xrealloc.
2191
2192         * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
2193         --help option.  Put "GNU" in the version message.
2194         (usage): Take stream and exit status as args.
2195         (main): Pass new args to usage.
2196
2197 Fri Jun 25 23:12:12 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
2198
2199         * strings.c, strings.1: New files.
2200         * binutils.texi: Document strings.
2201         * Makefile.in: Add rules for it.
2202
2203 Fri Jun 25 20:44:43 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
2204
2205         * objdump.c: Use size-independent bfd elf section names.
2206
2207 Sun Jun 20 23:09:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
2208
2209         * objdump.c (objdump_print_address): Handle wide offsets by
2210         calling sprintf_vma.
2211
2212 Fri Jun 18 14:29:12 1993  Per Bothner  (bothner@deneb.cygnus.com)
2213
2214         * objdump.c (syms2):  Removed unused variable.
2215         * objdump.c (remove_useless_symbols):  New function.
2216         * objdump.c (comp):  Simplify.
2217         * objdump.c (dis-assemble_data):  Make simpler and more
2218         efficient how we filter out useless symbols:  Just filter
2219         BEFORE the sort (using remove_useless_symbols).
2220         * objdump.c (objdump_print_address):  Simplify.
2221         Change output syntax to match gdb.
2222
2223 Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
2224         
2225         * Makefile.in: canonicalize install.sh; for use within
2226         this directory (and subdirs)
2227
2228 Mon Jun 14 12:13:22 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
2229
2230         * Makefile.in (install, install-info): remove parentdir support,
2231         use INSTALL_XFORM; define INSTALL_XFORM
2232
2233 Thu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
2234
2235         * objcopy.c (copy_object):  Fix bad size passed to xmalloc().
2236
2237 Mon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
2238
2239         * Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
2240         * configure.in:  No longer need to configure to get sysdep.h.
2241         * objcopy.c (copy_object):  Fix symbol table handling.
2242
2243 Fri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
2244
2245         * objcopy.c (filter_symbols):  Cannot filter the symbols
2246         in place, because that confuses the relocs, so take separate
2247         parameter for output array.
2248         * objcopy.c (sympp):  Make two variables: isympp and osympp.
2249         * objcopy.c (copy_object):  Allocate separate array (osympp)
2250         for filtered symbols.
2251
2252 Fri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2253
2254         * Makefile.in: change recursion test to presence of a configured
2255         testsuite directory
2256
2257 Thu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
2258
2259         * Makefile.in (underscore.c): Hack the backquoted command so it
2260         doesn't cause Solaris make to bomb.
2261
2262 Thu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
2263
2264         * Makefile.in:  added c++filt and objcopy to MANPAGES variable
2265         * .Sanitize:  keep c++filt.1 and objcopy.1
2266
2267 Thu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2268
2269         * Makefile.in: rename LOADLIBES to EXTRALIBS
2270
2271 Wed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
2272
2273         * c++filt.1, objcopy.1:  new man pages
2274
2275 Fri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
2276
2277         * Makefile.in (install):  Also install ar and ranlib in
2278         $(tooldir)/bin;  needed for building libgcc.a.
2279         * objdump.c (objdump_print_address):  Fix the check
2280         "coincidental" label matches by dis-allowing undefined
2281         or com symbols.
2282
2283 Thu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
2284
2285         * biutils.texi:  revised c++filt chapter
2286
2287 Wed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
2288
2289         * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
2290
2291 Tue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
2292
2293         * objdump.c (slurp_symtab): Print warning for bad symbol table.
2294         (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
2295         declarations and uses.
2296
2297         * Makefile.in (DISTSTUFF): Don't build binutils.mm.
2298
2299 Fri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
2300
2301         * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
2302         Make global variables static.
2303         (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
2304         (set_print_radix, set_output_format,
2305         print_{object_filename,archive_filename,archive_member,symbol_info}
2306         {bsd,sysv,posix}): New functions.
2307         (display_file, print_symbols): Call them.
2308
2309         * ar.c: Improve error messages.
2310
2311         * nm.c (main): Handle long options that just set a flag.
2312
2313         * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
2314         (main): Exit after printing the version number, per the GNU coding
2315         standards.
2316
2317 Mon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
2318
2319         * README, Makefile.in:  Minor updates for 2.2.
2320
2321 Fri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
2322
2323         * Makefile.in (underscore.c):  Automatically generate
2324         (using nm) a file with the variable prepends_underscore.
2325         * Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
2326         so that initial underscores get removed iff appropriate.
2327         * binutils.texi:  Preliminary documentation for c++filt.
2328         * Makefile.in, binutils.texi:  Set to version 2.2.
2329
2330         * NEWS:  Mention copy->objcopy renaming and new c++filt program.
2331
2332 Wed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
2333
2334         * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
2335         demangler via cplus-dem.o, rather than directly from the .c file.
2336
2337         * objcopy.c: Renamed from copy.c, updated comments accordingly.
2338         * Makefile.in, binutils.texi: Renamed copy to objcopy.
2339         * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
2340         rename of copy to objcopy.
2341
2342 Mon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
2343
2344         * binutils.texi (strip, -v option):  Fix typo.
2345
2346 Fri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
2347
2348         * Makefile.in (RUNTEST): Define.
2349         (FLAGS_TO_PASS): Pass down RUNTEST.
2350
2351 Tue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
2352
2353         * Makefile.in (DEMANGLER_PROG): Name it c++filt.
2354         (PROG): Also build and install COPY_PROG.
2355
2356 Mon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
2357
2358         * Makefile.in:  Change definition of $(tooldir) to match FSF.
2359
2360 Wed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
2361
2362         * size.c (usage): Add missing options.
2363         (main): Clean up option parser.
2364
2365         * objdump.c (usage): Add missing options.
2366         (display_file): Print program name before calling
2367         bdf_perror. 
2368
2369         * nm.c (usage): Add missing options.
2370         (main): Clean up option parser.
2371         (display_file): Print program name before calling
2372         bdf_perror. 
2373
2374         * copy.c (copy_usage, strip_usage): Add missing options.
2375
2376         * ar.c (usage): New function.
2377         (main): Call it.
2378         (open_inarch, do_quick_append): Print program name before calling
2379         bdf_perror. 
2380
2381 Thu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
2382
2383         * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
2384
2385 Mon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
2386
2387         * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
2388         built binaries if they exist. (otherwise the path)
2389
2390 Wed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
2391
2392         * Makefile.in: Changed check target to use DejaGnu.
2393
2394 Thu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
2395
2396         * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
2397         objdump.c: a29k and i960 are `disassemble' not `print'.
2398
2399         * objdump.c: Rename print_address to objdump_print_address
2400         and change parameters.
2401         (disassemble_data): Use objdump_print_address.
2402
2403 Wed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2404
2405         * objdump.c (disassemble_data): print_insn_sparc is now a
2406         `disassemble' not a `print'.
2407         Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
2408
2409         * objdump.c (disassemble_data): Use new read_memory_func stuff.
2410
2411 Thu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
2412
2413         * objdump.c (fprintf): Declaration of variadic function had better
2414         be a prototype for ANSI C systems.
2415
2416 Mon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2417
2418         * Makefile.in: rename test-install to install-check
2419
2420 Fri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
2421
2422         * objdump.c (disassemble_data): Add H8500.
2423
2424 Fri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
2425
2426         * objdump.c (usage): Mention long options.
2427
2428 Thu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
2429
2430         * nm.c:  Modify behavior of -o flag for archives to match
2431         BSD4.4 and Sunos 4:  Prefix archive name before each line.
2432
2433         * m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
2434         * i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
2435         * Makefile.in:  Adjust accordingly.
2436         * objdump.c:  Support new-style disassemblers (ones that use
2437         the interface of ../include/dis-asm.h).
2438
2439 Thu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
2440
2441         * Makefile.in:  When making tar file, remove texinfo/*,
2442         except for texinfo/texinfo.tex.
2443         * ardup.c:  Add extern declaration of strdup.
2444         * Makefile.in (testsuite):  Add 'else true' since otherwise
2445         Ultrix /bin/sh complains.
2446
2447 Wed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
2448
2449         * Makefile.in:  Set VERSION to 2.1.
2450         * README, NEWS: Updates.
2451         * nm.c:  Add -v as a synonym for -V.
2452
2453 Tue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
2454
2455         * configure.in: added testsuite to configdirs.
2456         * Makefile.in: added support for building testsuite.
2457
2458 Mon Feb 22 22:52:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
2459
2460         * objdump.c (disassemble_data):  Print function names when
2461         given by bfd_find_nearest_line.  If not - still print
2462         line numbers.
2463
2464 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
2465
2466         * binutils/testsuite: made modifications to testcases, etc., to allow
2467         them to work properly  given the reorganization of deja-gnu and the
2468         relocation of the testcases from deja-gnu to a "tool" subdirectory.
2469
2470 Mon Feb 22 10:27:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
2471
2472         * objdump.c (dump_data): Free up section contents each time
2473         through the loop.  Reported by minyard@bnr.ca.
2474
2475 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
2476
2477         * binutils/testsuite: Initial creation of binutils/testsuite.
2478         Migrated dejagnu testcases and support files for testing nm to
2479         binutils/testsuite from deja-gnu.  These files were moved "as is"
2480         with no modifications.  This migration is part of a major overhaul
2481         of dejagnu.  The modifications to these testcases, etc., which
2482         will allow them to work with the new version of dejagnu will be
2483         made in a future update.
2484
2485 Fri Feb 12 10:05:20 1993  Fred Fish  (fnf@cygnus.com)
2486
2487         * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
2488         * Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
2489         * Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
2490         and rule.
2491         * Makefile.in (PROGS):  Add DEMANGLER_PROG.
2492
2493 Tue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
2494
2495         * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
2496         macro rather than checking for equality to bfd_com_section.
2497
2498 Fri Jan  8 15:50:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2499
2500         * objdump.c (disassemble_data): Fix code to find first useless
2501         symbol.
2502
2503 Thu Jan  7 13:13:31 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2504
2505         * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
2506         Don't core dump if bfd_find_nearest_line returns false.
2507
2508 Wed Jan  6 17:14:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
2509
2510         * objdump.c (disassemble_data): know how to disassemble z8000s
2511         too.
2512
2513 Wed Jan  6 15:16:27 1993  Per Bothner  (bothner@cygnus.com)
2514
2515         * arsup.h (interactive), bucomm.h (program_name):  Prefix
2516         with 'extern', to avoid warnings from some compilers.
2517
2518 Wed Jan  6 15:14:11 1993  Per Bothner  (bothner@rtl.cygnus.com)
2519
2520         * arparse.y: fix unnecessary shift/reduce
2521
2522 Tue Dec 22 15:46:56 1992  Per Bothner  (bothner@rtl.cygnus.com)
2523
2524         * Makefile.in:  Make check depend on all.
2525         * Makefile.in (distclean): Remove sysdep.h.
2526         * size.c:  Use %u format where appropriate.
2527         * objdump.c:  Standardize:  L_SET -> SEEK_SET.
2528         * objdump.c:  Use new macro bfd_asymbol_bfd.
2529         * configure.in:  Allow std-host as the default ${mys_host}.
2530
2531 Thu Dec 17 19:38:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2532
2533         * Makefile.in: added dvi target, define and use TEXI2DVI
2534
2535 Tue Dec 15 18:05:07 1992  Per Bothner  (bothner@cygnus.com)
2536
2537         * Makefile.in (dist):  Fix permissions before release.
2538         * size.c:  Use bfd_size_type (and long) where appropriate.
2539         * ar.c:  Make writing a map the default, to be compatible
2540         with SYSV and Posix.2.  Remove some bogus kludges that
2541         handled __.SYMDEF directly.
2542         * NEWS:  New file.
2543
2544 Mon Nov  9 13:36:53 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2545
2546         * Makefile.in: flex no longer needs the -S flag
2547
2548 Sat Nov  7 15:06:13 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2549
2550         * ar.c (extract_file): utime needs a pointer to a utimbuf
2551
2552         * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
2553         the list (since some of the bfd/hosts/*.h files include other
2554         files from that directory)
2555
2556 Fri Nov  6 00:12:51 1992  John Gilmore  (gnu@cygnus.com)
2557
2558         * i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.
2559
2560 Thu Nov  5 03:37:15 1992  John Gilmore  (gnu@cygnus.com)
2561
2562         Clean up some old BFD ansification macros.
2563
2564         * arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
2565         It still remains as a local macro in gmalloc.c, which is derived
2566         from some other copy of GNU Malloc somewhere (FIXME).
2567
2568         * ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
2569         fns really static.
2570         * arsup.h:  Declare extract_files.
2571
2572 Mon Nov  2 12:42:11 1992  Ian Lance Taylor  (ian@cygnus.com)
2573
2574         * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
2575         use utime and utimbuf structure, otherwise if USE_UTIME use utime
2576         and array of two longs, otherwise use utimes.
2577
2578 Thu Oct 15 13:57:35 1992  Per Bothner  (bothner@cygnus.com)
2579
2580         * binutils.tex:  Document yesterday's changes to strip and copy.
2581
2582 Wed Oct 14 13:22:14 1992  Per Bothner  (bothner@cygnus.com)
2583
2584         * copy.c:  Re-do command-line parsing to use getopt_long().
2585         Add long option names.  Re-think option letters to be more
2586         consistent.
2587         * copy.c:  New function filter_symbols() for stripping only
2588         debug-symbols and/or local symbols.  Use these to support
2589         the previously-missing options of the old FSF strip.
2590
2591 Tue Oct 13 01:24:20 1992  John Gilmore  (gnu@cygnus.com)
2592
2593         * configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
2594         than repeating a copy of it here.
2595
2596 Wed Oct  7 12:53:52 1992  Ken Raeburn  (raeburn@cygnus.com)
2597
2598         * copy.c (main): Even if is_strip, accept -d argument indicating
2599         alternate output format.  Needed by gdb for Nindy.
2600
2601         * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
2602
2603 Tue Oct  6 16:33:56 1992  Jeffrey Osier  (jeffrey@cygnus.com)
2604
2605         * binutils.texi:  added documentation for "copy"
2606
2607 Tue Oct  6 14:22:56 1992  Per Bothner  (bothner at PersSony)
2608
2609         * Makefile.in (*clean rules): Some cleaning up.
2610         * Makefile.in (dist): Make diststuff in gprof for a dist.
2611
2612         * ar.c (do_show_version):  New function.
2613         * ar.c (main):  Fix so "ar -V" works.
2614
2615 Thu Oct  1 22:44:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2616
2617         * configure.in: now uses the cpu-vendor-os triple instead of
2618         nested cases.
2619
2620 Fri Sep 25 22:41:08 1992  John Gilmore  (gnu@cygnus.com)
2621
2622         * i960-pinsn.c:  Change bzero to memset.
2623         * sparc-pinsn.c:  Change index to strchr.
2624
2625 Mon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)
2626
2627         * m68k-pinsn (print_insn_arg, fetch_arg): added support for
2628         operands to memory management instructions, from WRS.
2629
2630 Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)
2631
2632         * Makefile.in (install): if $(tooldir) exists, install nm and
2633         strip in $(tooldir)/bin.
2634
2635 Thu Sep  3 11:57:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
2636
2637         * Makefile.in:  Let's call it version 2.0.
2638
2639 Wed Sep  2 00:25:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
2640
2641         * Makefile.in:  Bump to version 0.98.
2642         * TODO, README:  Minor updates.
2643
2644         * Makefile.in:  Added mostlyclean, distclean rules,
2645         and cleaned up clean, realclean.
2646
2647 Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)
2648
2649         * Makefile.in: map program names through program_transform_name
2650         when installing.
2651
2652 Sun Aug 30 18:09:03 1992  Per Bothner  (bothner@rtl.cygnus.com)
2653
2654         * Makefile.in:  Bump to versions 1.97.90.
2655         * cplus-dem.c:  Removed.  Was nowhere used - and if some
2656         programs are changed to to demangling should now use the
2657         versions in libiberty.
2658
2659 Thu Aug 27 12:58:09 1992  Brendan Kehoe  (brendan@cygnus.com)
2660
2661         * configure.in: add we32k
2662
2663 Mon Aug 24 14:53:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
2664
2665         * ar.c (map_over_members): if the element of the archive has a
2666         null name, fill it in.
2667
2668         * nm.c (do_one_rel_file): only warn if a bfd's flags say there
2669         will be symbols and there aren't any.
2670
2671 Wed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)
2672
2673         * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
2674
2675 Tue Aug 18 20:45:48 1992  Rob Savoye  (rob@cygnus.com)
2676
2677         * nm.c objdump.c: Added support for a +version (-V)
2678         to print the version number.
2679
2680         * ar.c, copy.c: Added support for a -V option to print
2681         the version number.
2682
2683 Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)
2684
2685         * config/mh-apollo68v: removed -g from CC definition.
2686
2687         * Makefile.in: always create installation directories.
2688
2689 Mon Aug 17 18:33:41 1992  Per Bothner  (bothner@rtl.cygnus.com)
2690
2691         * m68k-pinsn.c:  Minor fix in style of output (don't use
2692         range to indicate floating point control registers).
2693
2694 Tue Aug 11 23:42:21 1992  Per Bothner  (bothner@cygnus.com)
2695
2696         * ar.c (main):  Don't *always* set the verbose flag!
2697
2698 Wed Aug  5 11:25:27 1992  Per Bothner  (bothner@rtl.cygnus.com)
2699
2700         * copy.c:  When is_strip (because it is invoked as the strip
2701         program), follow traditional argv processing:
2702         'strip file1 file2' now strips file1 and file2, rather
2703         than stripping file1 (as input), leaving output in file2.
2704
2705 Mon Jul 27 16:28:08 1992  Per Bothner  (bothner@rtl.cygnus.com)
2706
2707         * objdump.c (display_info, display_info_table):  Call
2708         bfd_set_format() on dummy bfd before using it (twice).
2709         * ar.c:  Make sure archive is created on command 'r'
2710         even when no elements are inserted.  (Clean up and
2711         simplify some non-working related code.)
2712
2713 Mon Jul 20 02:48:38 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
2714
2715         * configure.in: hppa support doesn't assume hp OS (from sef).
2716
2717 Sat Jul 18 14:35:22 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2718
2719         * configure.in: recognize hppa hosts (bsd & hpux), error messages
2720         to stderr, not stdout
2721
2722 Fri Jul 17 18:39:44 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
2723
2724         * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
2725           size.1, sparc-pinsn.c, strip.1: removed rcsid's.
2726
2727 Thu Jul 16 16:55:24 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
2728
2729         * Makefile.dos: removed rcsid.
2730
2731 Thu Jul 16 08:23:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
2732
2733         * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
2734
2735 Tue Jun 30 20:26:15 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
2736
2737         * Makefile.in: Add program_suffix (parallel to program_prefix)
2738
2739 Thu Jun 25 04:52:45 1992  John Gilmore  (gnu at cygnus.com)
2740
2741         * nm.c (sorters):  Lint.  Remove excess whitespace.
2742
2743 Wed Jun 24 13:48:07 1992  Per Bothner  (bothner@cygnus.com)
2744
2745         * nm.c (valueof macro):  Add missing parentheses.
2746         (Their lack screwed up numeric_forward().)
2747
2748 Sun Jun 14 10:33:27 1992  John Gilmore  (gnu at cygnus.com)
2749
2750         * objdump.c (dump_elf_stabs):  Also dump .stab.index and
2751         .stab.excl sections.
2752         (dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
2753         * objdump.1, binutils.texi:  Document new sections dumped.
2754
2755 Fri Jun 12 22:23:35 1992  John Gilmore  (gnu at cygnus.com)
2756
2757         * size.c, objdump.c, bucomm.c:  Lint.
2758
2759 Thu Jun 11 01:19:06 1992  John Gilmore  (gnu at cygnus.com)
2760
2761         * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
2762         .stab section from an ELF file.  Installed under #ifdef
2763         ELF_STAB_DISPLAY so it can be easily disabled, since it requires
2764         bfd-internals header files and such.
2765         * objdump.1, binutils.texi:  Update for --stabs.  Also fix
2766         objdump's doc to use -- rather than + for long options.
2767         (FIXME:  Not yet fixed everywhere in binutils.texinfo.)
2768
2769 Wed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
2770
2771         * objdump.c(display_info), patches from
2772         mohring@informatik.tu-muenchen.de to print the table much more
2773         nicely.
2774
2775 Thu May 28 13:36:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
2776
2777         * objdump.c:  Add another enum->int cast, for the sake of
2778         old compilers (such as PCC).
2779
2780 Wed May 27 13:01:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
2781
2782         * arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
2783         Add declaration of strdup().
2784
2785 Fri May 22 13:40:37 1992  Per Bothner  (bothner@cygnus.com)
2786
2787         * Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
2788         rules, since these are used when building a distribution.
2789         * Makefile.in (arlex.c):  Don't re-direct output, since that
2790         leaves a bogus output files if it fails.
2791
2792         * arlex.l:  Make work with lex, for what it's worth.
2793         * Makefile.in:  Better lex support.
2794         * Makefile.in (dist):  Generate flex and bison outputs
2795         for distribution.
2796
2797 Thu May 14 17:17:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
2798
2799         * Makefile.in: get BISON definition right.
2800
2801 Fri May  8 07:47:08 1992  K. Richard Pixley  (rich@cygnus.com)
2802
2803         * sanity.sh: default TMPDIR to ".".
2804
2805 Thu May  7 12:34:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
2806
2807         * binutils.texi: add doc for ar command language.
2808
2809 Wed May  6 18:05:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
2810
2811         * arparse.y: make END call ar_end
2812         * arsup.c (ar_end): added, deletes temp file if archive session
2813         aborted.
2814
2815
2816 Wed May  6 11:08:53 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
2817
2818         * Makefile.in: use bison & flex from ../ if they exist.  Also,
2819           FLEX->LEX.
2820
2821         * sanity.sh: remove temporary directory when finished.
2822
2823 Tue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
2824
2825         * Makefile.in:  Bump to version 1.97.
2826         * ar.c:  Declare errno for machines that need it.
2827
2828 Mon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
2829
2830         * objdump.c (display_info):  Handle error cases without coredump.
2831         Close the dummy temporary file we open in the loop.
2832         * Makefile.in (arsup.o):  Add kludge to build with Sun Make.
2833
2834 Fri May  1 16:20:23 1992  K. Richard Pixley  (rich@cygnus.com)
2835
2836         * Makefile.in: added test-install target.
2837
2838         * sanity.sh: new file.
2839
2840         * Makefile.in: use sanity test on make check.
2841
2842 Tue Apr 21 13:38:37 1992  K. Richard Pixley  (rich@cygnus.com)
2843
2844         * Makefile.in: rework CFLAGS so that they can be passed on the
2845           command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
2846
2847 Wed Apr 15 14:33:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
2848
2849         * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
2850         scripting language.
2851
2852 Fri Mar  6 21:54:53 1992  K. Richard Pixley  (rich@cygnus.com)
2853
2854         * Makefile.in: added check target.
2855
2856 Thu Mar  5 21:35:49 1992  K. Richard Pixley  (rich@cygnus.com)
2857
2858         * Makefile.in: added clean-info target.
2859
2860 Tue Mar  3 15:36:37 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
2861
2862         * Makefile.in: remove $(COPY_PROG) from PROGS.  It shouldn't be
2863           installed. added tooldir and program_prefix.
2864
2865 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
2866
2867         * Makefile.in, configure.in: removed traces of namesubdir,
2868           -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
2869           copyrights to '92, changed some from Cygnus to FSF.
2870
2871 Sun Feb 16 12:53:02 1992  Per Bothner  (bothner at cygnus.com)
2872
2873         * Makefile.in:  Bump version to 1.96, and remove -beta
2874         suffix from distribution name.
2875         * m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
2876         the signed value of a character (even if chars are unsigned).
2877         * sparc-pinsn.c:  Add new operand types.
2878
2879 Thu Feb  6 12:14:19 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
2880
2881         * objdump.c (disassemble_data): don't print a section's contents
2882         if it's not loadable (eg bss)
2883
2884 Tue Jan 28 11:11:06 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
2885
2886         * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
2887         displacements don't get printed as large +ve ones.
2888
2889 Fri Jan 24 14:47:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
2890
2891         * copy.c, nm.c, objdump.c, size.c : changed to use the
2892         new reloc scheme.
2893
2894
2895 Mon Dec 30 18:34:41 1991  Per Bothner  (bothner at cygnus.com)
2896
2897         * bucomm.c (print_arelt_descr):  Tweek the output format
2898         so that 'ar tv' output follows Posix 1003.2/D11.
2899         Output is now also identical to Sun's (except __.SYMDEF).
2900
2901 Mon Dec 30 06:09:53 1991  John Gilmore  (gnu at cygnus.com)
2902
2903         * Makefile.in:  Make `make' output more readable.
2904
2905 Wed Dec 18 15:04:45 1991  Per Bothner  (bothner at cygnus.com)
2906
2907         * Makefile.in:  Bump to version 1.94.
2908
2909 Wed Dec 11 16:48:09 1991  Steve Chamberlain  (sac at cygnus.com)
2910
2911         * ar.c: added "b" to fopens for dos
2912         * configdj.bat, makefile.dos new files from DJ
2913
2914 Tue Dec 10 04:07:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
2915
2916         * Makefile.in: infodir belongs in datadir.
2917
2918 Sat Dec  7 17:09:37 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
2919
2920         * bucomm.h: created to hold prototypes of bucomm.c
2921         * objdump.h: created to hold prototyes of objdump.c
2922         * am29k-pinsn.c: include objdump.h
2923         * ar.c: include bucomm.h, get ar.h from the right place and
2924         include libbfd.h
2925         * bucomm.c: defunize bfd_fatal
2926         * copy.c: include bucomm.h, lint.
2927         * i960-pinsn.h: include bucomm.h
2928         * m68k-pinsn.h: lint
2929         * nm.c: include bucomm.h, lint
2930         * objdump.c: lint
2931         * sparc-pinsn.c: include objdump.h
2932
2933         
2934
2935 Fri Dec  6 23:02:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
2936
2937         * Makefile.in: added standards.text support.  install using
2938           INSTALL_PROGRAM and INSTALL_DATA.
2939
2940         * configure.in: configure now does all of it's work from objdir so
2941           make file existence tests against ${srcdir}.
2942
2943 Thu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
2944
2945         * Makefile.in: idestdir and ddestdir go away.  Added copyrights
2946           and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
2947           and mandir now keyed off datadir by default.
2948
2949 Wed Dec  4 22:42:03 1991  Per Bothner  (bothner at cygnus.com)
2950
2951         * Makefile.in:  Bump to version 1.93.
2952         * Makefile.in:  Add make-strip.o:maybe-strip.c dependency
2953         for make versions that provide half-baked VPATH-support (e.g. Sun's).
2954         * size.c:  Improvements suggested by
2955         "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
2956         - Don't emit (Berkeley) headers if no files were found.
2957         - Return a non-zero return code on failure.
2958
2959 Sat Nov 30 21:34:19 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
2960
2961         Changes due to include file renaming:
2962         * am29k-pinsn.c: a29k-opcode.h  -> opcode/a29k.h
2963         * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
2964         * m68k-pinsn.c:  m68k-opcode.h  -> opcode/m68k.h
2965         * nm.c:          stab.gnu.h     -> aout/stab_gnu.h
2966
2967 Tue Nov 19 19:20:43 1991  Per Bothner  (bothner at cygnus.com)
2968
2969         * README:  Mention MINIMIZE flag for bfd's make.
2970
2971 Mon Nov 18 12:05:37 1991  Per Bothner  (bothner at cygnus.com)
2972
2973         * README:  Various improvements.
2974
2975 Sun Nov 17 23:40:59 1991  Per Bothner  (bothner at cygnus.com)
2976
2977         * Makefile.in:  Bump to version 1.92.
2978         * version.c, Makefile.in:  Get version string from Makefile.
2979         * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
2980         Make the same change that we earlier did for ar/ranlib:
2981         Generate two different binaries for strip and copy and use
2982         a global variable with different values to distinguish
2983         ostrip from copy.  (-1 means to use argv[0] to decide,
2984         so you can get the old behavior, but it is no longer the default).
2985         * copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
2986         * copy.c (main):  If is_strip==-1, compare last 5 chars
2987         of argv[0], not the whole path.
2988         * copy.c (main): Return 0, not 1.
2989         * copy.c (setup_sections):  Fix due to change in bfd_make_section
2990         now failing if asked for a duplicate section.
2991         * strip.c, ostrip.c:  Removed obsolete files.
2992         * ar.c, not-ranlib.c, maybe-ranlib.c:
2993         Change encoding of is_ranlib variable to be consistent
2994         with is_strip for strip.copy (i.e -1 to means use argv[0]).
2995
2996 Thu Nov 14 20:11:02 1991  Per Bothner  (bothner at cygnus.com)
2997
2998         * version.c (program_version): Update to version 1.92.
2999
3000 Tue Nov 12 16:17:53 1991  Per Bothner  (bothner at cygnus.com)
3001
3002         * ar.c (get_pos_bfd):  Previous fix was missing a "break".
3003
3004 Thu Nov  7 08:55:56 1991  Steve Chamberlain  (sac at cygnus.com)
3005
3006         * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
3007         encodings. (Thaks to David Wood)
3008
3009 Sun Nov  3 14:50:23 1991  Per Bothner  (bothner at cygnus.com)
3010
3011         * Makefile.in ($(DIST_NAME).tar.Z), TODO:  Various fixes.
3012         * ar.c (get_pos_bfd): Fix to handling of before/after
3013         positioning options.
3014         * bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
3015         since libiberty contains vfprintf etc if otherwise missing.
3016         * m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
3017         type operands, as used by branch instructions.
3018         * nm.c:  Delegate printing of symbols to BFD,
3019         by using bfd_print_symbol to do the formatting.
3020
3021 Mon Oct 28 11:20:47 1991  Steve Chamberlain  (steve at cygnus.com)
3022
3023         * ar.c (write_archive.c): added unlink before rename since some
3024         systems can't rename onto an existant file.
3025
3026 Mon Oct 21 09:47:23 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
3027
3028         * nm.c: now doesn't crash if a symbol with no section and no
3029         SEC_ABS appears.
3030
3031 Thu Oct 17 15:25:50 1991  Per Bothner  (bothner at cygnus.com)
3032
3033         * Makefile.in, version.c:  Bump to version 1.91.
3034
3035 Wed Oct 16 11:45:36 1991  Per Bothner  (bothner at cygnus.com)
3036
3037         * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
3038         i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
3039         * strip.c: Add or update Copyright notice.
3040         * TODO:  Add note on 'nm -a'.   
3041         * version.c: Update version number to 1.90.
3042         * Makefile.in: Fix making of documentation for dist.
3043
3044 Tue Oct 15 00:17:17 1991  Per Bothner  (bothner at cygnus.com)
3045
3046         * README: New file.
3047         * Makefile.in: New kludgy rules for making a tarfile.
3048         * Makefile.in: Fix bindir path.
3049
3050 Mon Oct 14 17:34:29 1991  Roland H. Pesch  (pesch at cygnus.com)
3051
3052         * Makefile.in: add targets binutils.mm, binutils.me
3053
3054 Fri Oct 11 22:44:21 1991  John Gilmore  (gnu at cygnus.com)
3055
3056         * Makefile.in:  Avoid Sun Make VPATH bugs by adding dependencies.
3057
3058 Fri Oct 11 12:51:33 1991  Roland H. Pesch  (pesch at cygnus.com)
3059
3060         * Makefile.in: add target "binutils.ms"
3061
3062         * binutils.texinfo: minor restructuring for texi2roff comfort.
3063
3064 Fri Oct 11 04:12:28 1991  John Gilmore  (gnu at cygnus.com)
3065
3066         Restructure configuration scheme for bfd, binutils, ld.
3067
3068         * include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
3069         * configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
3070         Change some config names to match other dirs.
3071         * *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
3072         get defined first.
3073         * Makefile.in:  Use -I. to get sysdep.h.
3074
3075 Wed Oct  9 22:42:56 1991  Per Bothner  (bothner at cygnus.com)
3076
3077         * nm.c (print_symbols):  Handle NULL name field of symbol.
3078         * Makefile.in: Removed spurious comment.
3079
3080 Tue Oct  8 16:55:03 1991  Roland H. Pesch  (pesch at cygnus.com)
3081
3082         * binutils.texinfo: minor typos, phrasing, formatting fixes.
3083
3084 Tue Oct  8 15:13:20 1991  Per Bothner  (bothner at cygnus.com)
3085
3086         * configure.in: Get host file from ../bfd/config, not config.
3087         * config/*: Remove config directory and its files.
3088
3089 Tue Oct  8 13:58:59 1991  Roland H. Pesch  (pesch at cygnus.com)
3090
3091         * Makefile.in: new targets binutils.dvi, binutils.info
3092
3093         * binutils.texinfo: remove most remaining FIXME's, delete
3094         references to __.SYMDEF by name
3095
3096
3097 Tue Oct  8 10:23:44 1991  Steve Chamberlain  (steve at cygnus.com)
3098
3099         * objdump.c (print_address) Print addresses nicely.
3100
3101 Mon Oct  7 11:31:05 1991  Per Bothner  (bothner at cygnus.com)
3102
3103         * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
3104         Make two different binaries for ar and ranlib, instead of
3105         distinguishing them at run time using argv[0].
3106         (Old behavior is still available if you "make ar_with_ranlib",
3107         but it is not the default.)
3108         * ranlib.sh (new):  An alternative one-line
3109         shell implementation of ranlib.
3110
3111 Fri Oct  4 21:49:44 1991  John Gilmore  (gnu at cygnus.com)
3112
3113         * objdump.c:  Cope with renames of a few BFD types & enums.
3114
3115 Fri Oct  4 19:08:09 1991  Roland H. Pesch  (pesch at cygnus.com)
3116
3117         * binutils.texinfo: add new file (rudimentary docn)
3118
3119 Mon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
3120
3121         * config/hmake-news: Add new file (for Sony NEWSOS3).
3122         * bucomm.c (fatal):  Conditionally compile fatal() depending on
3123         MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
3124         * objdump.c (dump_headers):  Trivial output format change.
3125         * objdump.c (display_info): Loop over integers, not enums,
3126         to appease old compilers.
3127
3128 Mon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
3129
3130         *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
3131
3132 Thu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
3133      from bother
3134         * objdump.c (print_address): Make disasembled output more
3135         consistent with gdb and as: Add 0x when printing hex.
3136         Don't print extra leading zeros.
3137         Attempt to not print "filename.o".
3138         * objdump.c: Add some enum-to-int casts to accomodate old compilers.
3139
3140
3141 Fri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
3142
3143         * copy.c:  Change =& constructs to = &, since they confuse older
3144         C compilers.
3145
3146 \f
3147 Local Variables:
3148 mode: indented-text
3149 left-margin: 8
3150 fill-column: 74
3151 version-control: never
3152 End: