* objcopy.c (copy_object): Fix bad size passed to xmalloc().
[platform/upstream/binutils.git] / binutils / ChangeLog
1 Thu Jun 10 17:29:21 1993  Per Bothner  (bothner@cygnus.com)
2
3         * objcopy.c (copy_object):  Fix bad size passed to xmalloc().
4
5 Mon Jun  7 12:41:12 1993  Per Bothner  (bothner@rtl.cygnus.com)
6
7         * Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
8         * configure.in:  No longer need to configure to get sysdep.h.
9         * objcopy.c (copy_object):  Fix symbol table handling.
10
11 Fri Jun  4 17:20:03 1993  Per Bothner  (bothner@cygnus.com)
12
13         * objcopy.c (filter_symbols):  Cannot filter the symbols
14         in place, because that confuses the relocs, so take separate
15         parameter for output array.
16         * objcopy.c (sympp):  Make two variables: isympp and osympp.
17         * objcopy.c (copy_object):  Allocate separate array (osympp)
18         for filtered symbols.
19
20 Fri Jun  4 10:51:44 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
21
22         * Makefile.in: change recursion test to presence of a configured
23         testsuite directory
24
25 Thu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
26
27         * Makefile.in (underscore.c): Hack the backquoted command so it
28         doesn't cause Solaris make to bomb.
29
30 Thu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
31
32         * Makefile.in:  added c++filt and objcopy to MANPAGES variable
33         * .Sanitize:  keep c++filt.1 and objcopy.1
34
35 Thu Jun  3 00:32:52 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
36
37         * Makefile.in: rename LOADLIBES to EXTRALIBS
38
39 Wed Jun  2 18:30:24 1993  Jeffrey Osier  (jeffrey@cygnus.com)
40
41         * c++filt.1, objcopy.1:  new man pages
42
43 Fri May 28 15:01:24 1993  Per Bothner  (bothner@rtl.cygnus.com)
44
45         * Makefile.in (install):  Also install ar and ranlib in
46         $(tooldir)/bin;  needed for building libgcc.a.
47         * objdump.c (objdump_print_address):  Fix the check
48         "coincidental" label matches by dis-allowing undefined
49         or com symbols.
50
51 Thu May 27 16:58:31 1993  Jeffrey Osier  (jeffrey@cygnus.com)
52
53         * biutils.texi:  revised c++filt chapter
54
55 Wed May 26 17:24:17 1993  Ian Lance Taylor  (ian@cygnus.com)
56
57         * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
58
59 Tue May 25 00:26:47 1993  Ken Raeburn  (raeburn@cygnus.com)
60
61         * objdump.c (slurp_symtab): Print warning for bad symbol table.
62         (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated
63         declarations and uses.
64
65         * Makefile.in (DISTSTUFF): Don't build binutils.mm.
66
67 Fri May 21 10:51:19 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
68
69         * nm.c: Add -f/--format, -P/--portability, -t/--radix options.
70         Make global variables static.
71         (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2.
72         (set_print_radix, set_output_format,
73         print_{object_filename,archive_filename,archive_member,symbol_info}
74         {bsd,sysv,posix}): New functions.
75         (display_file, print_symbols): Call them.
76
77         * ar.c: Improve error messages.
78
79         * nm.c (main): Handle long options that just set a flag.
80
81         * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c
82         (main): Exit after printing the version number, per the GNU coding
83         standards.
84
85 Mon May 17 13:20:25 1993  Per Bothner  (bothner@cygnus.com)
86
87         * README, Makefile.in:  Minor updates for 2.2.
88
89 Fri May 14 11:12:26 1993  Per Bothner  (bothner@cygnus.com)
90
91         * Makefile.in (underscore.c):  Automatically generate
92         (using nm) a file with the variable prepends_underscore.
93         * Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
94         so that initial underscores get removed iff appropriate.
95         * binutils.texi:  Preliminary documentation for c++filt.
96         * Makefile.in, binutils.texi:  Set to version 2.2.
97
98         * NEWS:  Mention copy->objcopy renaming and new c++filt program.
99
100 Wed May 12 12:05:36 1993  Ian Lance Taylor  (ian@cygnus.com)
101
102         * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the
103         demangler via cplus-dem.o, rather than directly from the .c file.
104
105         * objcopy.c: Renamed from copy.c, updated comments accordingly.
106         * Makefile.in, binutils.texi: Renamed copy to objcopy.
107         * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
108         rename of copy to objcopy.
109
110 Mon May 10 17:20:18 1993  Per Bothner  (bothner@cygnus.com)
111
112         * binutils.texi (strip, -v option):  Fix typo.
113
114 Fri May  7 13:57:50 1993  Ian Lance Taylor  (ian@cygnus.com)
115
116         * Makefile.in (RUNTEST): Define.
117         (FLAGS_TO_PASS): Pass down RUNTEST.
118
119 Tue May  4 10:06:50 1993  Ian Lance Taylor  (ian@cygnus.com)
120
121         * Makefile.in (DEMANGLER_PROG): Name it c++filt.
122         (PROG): Also build and install COPY_PROG.
123
124 Mon May  3 19:11:48 1993  Per Bothner  (bothner@cygnus.com)
125
126         * Makefile.in:  Change definition of $(tooldir) to match FSF.
127
128 Wed Apr 28 23:41:32 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
129
130         * size.c (usage): Add missing options.
131         (main): Clean up option parser.
132
133         * objdump.c (usage): Add missing options.
134         (display_file): Print program name before calling
135         bdf_perror. 
136
137         * nm.c (usage): Add missing options.
138         (main): Clean up option parser.
139         (display_file): Print program name before calling
140         bdf_perror. 
141
142         * copy.c (copy_usage, strip_usage): Add missing options.
143
144         * ar.c (usage): New function.
145         (main): Call it.
146         (open_inarch, do_quick_append): Print program name before calling
147         bdf_perror. 
148
149 Thu Apr 22 15:01:35 1993  Ian Lance Taylor  (ian@cygnus.com)
150
151         * nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
152
153 Mon Apr 19 14:06:59 1993  Rob Savoye  (rob@cygnus.com)
154
155         * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
156         built binaries if they exist. (otherwise the path)
157
158 Wed Apr  7 22:22:50 1993  Rob Savoye  (rob@cygnus.com)
159
160         * Makefile.in: Changed check target to use DejaGnu.
161
162 Thu Apr  1 12:37:13 1993  Jim Kingdon  (kingdon@cygnus.com)
163
164         * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c.
165         objdump.c: a29k and i960 are `disassemble' not `print'.
166
167         * objdump.c: Rename print_address to objdump_print_address
168         and change parameters.
169         (disassemble_data): Use objdump_print_address.
170
171 Wed Mar 31 10:25:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
172
173         * objdump.c (disassemble_data): print_insn_sparc is now a
174         `disassemble' not a `print'.
175         Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a).
176
177         * objdump.c (disassemble_data): Use new read_memory_func stuff.
178
179 Thu Mar 25 10:38:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
180
181         * objdump.c (fprintf): Declaration of variadic function had better
182         be a prototype for ANSI C systems.
183
184 Mon Mar 22 23:19:46 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
185
186         * Makefile.in: rename test-install to install-check
187
188 Fri Mar 19 14:40:08 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
189
190         * objdump.c (disassemble_data): Add H8500.
191
192 Fri Mar 19 10:56:51 1993  Jim Kingdon  (kingdon@cygnus.com)
193
194         * objdump.c (usage): Mention long options.
195
196 Thu Mar 18 14:22:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
197
198         * nm.c:  Modify behavior of -o flag for archives to match
199         BSD4.4 and Sunos 4:  Prefix archive name before each line.
200
201         * m68k-pinsn.c:  Removed.  Subsumed by ../opcodes/m68k-dis.c.
202         * i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
203         * Makefile.in:  Adjust accordingly.
204         * objdump.c:  Support new-style disassemblers (ones that use
205         the interface of ../include/dis-asm.h).
206
207 Thu Feb 25 15:57:00 1993  Per Bothner  (bothner@rtl.cygnus.com)
208
209         * Makefile.in:  When making tar file, remove texinfo/*,
210         except for texinfo/texinfo.tex.
211         * ardup.c:  Add extern declaration of strdup.
212         * Makefile.in (testsuite):  Add 'else true' since otherwise
213         Ultrix /bin/sh complains.
214
215 Wed Feb 24 19:44:18 1993  Per Bothner  (bothner@rtl.cygnus.com)
216
217         * Makefile.in:  Set VERSION to 2.1.
218         * README, NEWS: Updates.
219         * nm.c:  Add -v as a synonym for -V.
220
221 Tue Feb 23 19:00:50 1993  Mike Werner  (mtw@poseidon.cygnus.com)
222
223         * configure.in: added testsuite to configdirs.
224         * Makefile.in: added support for building testsuite.
225
226 Mon Feb 22 22:52:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
227
228         * objdump.c (disassemble_data):  Print function names when
229         given by bfd_find_nearest_line.  If not - still print
230         line numbers.
231
232 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
233
234         * binutils/testsuite: made modifications to testcases, etc., to allow
235         them to work properly  given the reorganization of deja-gnu and the
236         relocation of the testcases from deja-gnu to a "tool" subdirectory.
237
238 Mon Feb 22 10:27:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
239
240         * objdump.c (dump_data): Free up section contents each time
241         through the loop.  Reported by minyard@bnr.ca.
242
243 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
244
245         * binutils/testsuite: Initial creation of binutils/testsuite.
246         Migrated dejagnu testcases and support files for testing nm to
247         binutils/testsuite from deja-gnu.  These files were moved "as is"
248         with no modifications.  This migration is part of a major overhaul
249         of dejagnu.  The modifications to these testcases, etc., which
250         will allow them to work with the new version of dejagnu will be
251         made in a future update.
252
253 Fri Feb 12 10:05:20 1993  Fred Fish  (fnf@cygnus.com)
254
255         * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
256         * Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
257         * Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
258         and rule.
259         * Makefile.in (PROGS):  Add DEMANGLER_PROG.
260
261 Tue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
262
263         * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
264         macro rather than checking for equality to bfd_com_section.
265
266 Fri Jan  8 15:50:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
267
268         * objdump.c (disassemble_data): Fix code to find first useless
269         symbol.
270
271 Thu Jan  7 13:13:31 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
272
273         * objdump.c (disassemble_data): Use mips_print_insn for MIPS.
274         Don't core dump if bfd_find_nearest_line returns false.
275
276 Wed Jan  6 17:14:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
277
278         * objdump.c (disassemble_data): know how to disassemble z8000s
279         too.
280
281 Wed Jan  6 15:16:27 1993  Per Bothner  (bothner@cygnus.com)
282
283         * arsup.h (interactive), bucomm.h (program_name):  Prefix
284         with 'extern', to avoid warnings from some compilers.
285
286 Wed Jan  6 15:14:11 1993  Per Bothner  (bothner@rtl.cygnus.com)
287
288         * arparse.y: fix unnecessary shift/reduce
289
290 Tue Dec 22 15:46:56 1992  Per Bothner  (bothner@rtl.cygnus.com)
291
292         * Makefile.in:  Make check depend on all.
293         * Makefile.in (distclean): Remove sysdep.h.
294         * size.c:  Use %u format where appropriate.
295         * objdump.c:  Standardize:  L_SET -> SEEK_SET.
296         * objdump.c:  Use new macro bfd_asymbol_bfd.
297         * configure.in:  Allow std-host as the default ${mys_host}.
298
299 Thu Dec 17 19:38:19 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
300
301         * Makefile.in: added dvi target, define and use TEXI2DVI
302
303 Tue Dec 15 18:05:07 1992  Per Bothner  (bothner@cygnus.com)
304
305         * Makefile.in (dist):  Fix permissions before release.
306         * size.c:  Use bfd_size_type (and long) where appropriate.
307         * ar.c:  Make writing a map the default, to be compatible
308         with SYSV and Posix.2.  Remove some bogus kludges that
309         handled __.SYMDEF directly.
310         * NEWS:  New file.
311
312 Mon Nov  9 13:36:53 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
313
314         * Makefile.in: flex no longer needs the -S flag
315
316 Sat Nov  7 15:06:13 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
317
318         * ar.c (extract_file): utime needs a pointer to a utimbuf
319
320         * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to
321         the list (since some of the bfd/hosts/*.h files include other
322         files from that directory)
323
324 Fri Nov  6 00:12:51 1992  John Gilmore  (gnu@cygnus.com)
325
326         * i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.
327
328 Thu Nov  5 03:37:15 1992  John Gilmore  (gnu@cygnus.com)
329
330         Clean up some old BFD ansification macros.
331
332         * arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
333         It still remains as a local macro in gmalloc.c, which is derived
334         from some other copy of GNU Malloc somewhere (FIXME).
335
336         * ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
337         fns really static.
338         * arsup.h:  Declare extract_files.
339
340 Mon Nov  2 12:42:11 1992  Ian Lance Taylor  (ian@cygnus.com)
341
342         * ar.c (extract_file): instead of checking USG: if POSIX_UTIME,
343         use utime and utimbuf structure, otherwise if USE_UTIME use utime
344         and array of two longs, otherwise use utimes.
345
346 Thu Oct 15 13:57:35 1992  Per Bothner  (bothner@cygnus.com)
347
348         * binutils.tex:  Document yesterday's changes to strip and copy.
349
350 Wed Oct 14 13:22:14 1992  Per Bothner  (bothner@cygnus.com)
351
352         * copy.c:  Re-do command-line parsing to use getopt_long().
353         Add long option names.  Re-think option letters to be more
354         consistent.
355         * copy.c:  New function filter_symbols() for stripping only
356         debug-symbols and/or local symbols.  Use these to support
357         the previously-missing options of the old FSF strip.
358
359 Tue Oct 13 01:24:20 1992  John Gilmore  (gnu@cygnus.com)
360
361         * configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
362         than repeating a copy of it here.
363
364 Wed Oct  7 12:53:52 1992  Ken Raeburn  (raeburn@cygnus.com)
365
366         * copy.c (main): Even if is_strip, accept -d argument indicating
367         alternate output format.  Needed by gdb for Nindy.
368
369         * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
370
371 Tue Oct  6 16:33:56 1992  Jeffrey Osier  (jeffrey@cygnus.com)
372
373         * binutils.texi:  added documentation for "copy"
374
375 Tue Oct  6 14:22:56 1992  Per Bothner  (bothner at PersSony)
376
377         * Makefile.in (*clean rules): Some cleaning up.
378         * Makefile.in (dist): Make diststuff in gprof for a dist.
379
380         * ar.c (do_show_version):  New function.
381         * ar.c (main):  Fix so "ar -V" works.
382
383 Thu Oct  1 22:44:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
384
385         * configure.in: now uses the cpu-vendor-os triple instead of
386         nested cases.
387
388 Fri Sep 25 22:41:08 1992  John Gilmore  (gnu@cygnus.com)
389
390         * i960-pinsn.c:  Change bzero to memset.
391         * sparc-pinsn.c:  Change index to strchr.
392
393 Mon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)
394
395         * m68k-pinsn (print_insn_arg, fetch_arg): added support for
396         operands to memory management instructions, from WRS.
397
398 Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)
399
400         * Makefile.in (install): if $(tooldir) exists, install nm and
401         strip in $(tooldir)/bin.
402
403 Thu Sep  3 11:57:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
404
405         * Makefile.in:  Let's call it version 2.0.
406
407 Wed Sep  2 00:25:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
408
409         * Makefile.in:  Bump to version 0.98.
410         * TODO, README:  Minor updates.
411
412         * Makefile.in:  Added mostlyclean, distclean rules,
413         and cleaned up clean, realclean.
414
415 Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)
416
417         * Makefile.in: map program names through program_transform_name
418         when installing.
419
420 Sun Aug 30 18:09:03 1992  Per Bothner  (bothner@rtl.cygnus.com)
421
422         * Makefile.in:  Bump to versions 1.97.90.
423         * cplus-dem.c:  Removed.  Was nowhere used - and if some
424         programs are changed to to demangling should now use the
425         versions in libiberty.
426
427 Thu Aug 27 12:58:09 1992  Brendan Kehoe  (brendan@cygnus.com)
428
429         * configure.in: add we32k
430
431 Mon Aug 24 14:53:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
432
433         * ar.c (map_over_members): if the element of the archive has a
434         null name, fill it in.
435
436         * nm.c (do_one_rel_file): only warn if a bfd's flags say there
437         will be symbols and there aren't any.
438
439 Wed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)
440
441         * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
442
443 Tue Aug 18 20:45:48 1992  Rob Savoye  (rob@cygnus.com)
444
445         * nm.c objdump.c: Added support for a +version (-V)
446         to print the version number.
447
448         * ar.c, copy.c: Added support for a -V option to print
449         the version number.
450
451 Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)
452
453         * config/mh-apollo68v: removed -g from CC definition.
454
455         * Makefile.in: always create installation directories.
456
457 Mon Aug 17 18:33:41 1992  Per Bothner  (bothner@rtl.cygnus.com)
458
459         * m68k-pinsn.c:  Minor fix in style of output (don't use
460         range to indicate floating point control registers).
461
462 Tue Aug 11 23:42:21 1992  Per Bothner  (bothner@cygnus.com)
463
464         * ar.c (main):  Don't *always* set the verbose flag!
465
466 Wed Aug  5 11:25:27 1992  Per Bothner  (bothner@rtl.cygnus.com)
467
468         * copy.c:  When is_strip (because it is invoked as the strip
469         program), follow traditional argv processing:
470         'strip file1 file2' now strips file1 and file2, rather
471         than stripping file1 (as input), leaving output in file2.
472
473 Mon Jul 27 16:28:08 1992  Per Bothner  (bothner@rtl.cygnus.com)
474
475         * objdump.c (display_info, display_info_table):  Call
476         bfd_set_format() on dummy bfd before using it (twice).
477         * ar.c:  Make sure archive is created on command 'r'
478         even when no elements are inserted.  (Clean up and
479         simplify some non-working related code.)
480
481 Mon Jul 20 02:48:38 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
482
483         * configure.in: hppa support doesn't assume hp OS (from sef).
484
485 Sat Jul 18 14:35:22 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
486
487         * configure.in: recognize hppa hosts (bsd & hpux), error messages
488         to stderr, not stdout
489
490 Fri Jul 17 18:39:44 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
491
492         * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1,
493           size.1, sparc-pinsn.c, strip.1: removed rcsid's.
494
495 Thu Jul 16 16:55:24 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
496
497         * Makefile.dos: removed rcsid.
498
499 Thu Jul 16 08:23:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
500
501         * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
502
503 Tue Jun 30 20:26:15 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
504
505         * Makefile.in: Add program_suffix (parallel to program_prefix)
506
507 Thu Jun 25 04:52:45 1992  John Gilmore  (gnu at cygnus.com)
508
509         * nm.c (sorters):  Lint.  Remove excess whitespace.
510
511 Wed Jun 24 13:48:07 1992  Per Bothner  (bothner@cygnus.com)
512
513         * nm.c (valueof macro):  Add missing parentheses.
514         (Their lack screwed up numeric_forward().)
515
516 Sun Jun 14 10:33:27 1992  John Gilmore  (gnu at cygnus.com)
517
518         * objdump.c (dump_elf_stabs):  Also dump .stab.index and
519         .stab.excl sections.
520         (dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
521         * objdump.1, binutils.texi:  Document new sections dumped.
522
523 Fri Jun 12 22:23:35 1992  John Gilmore  (gnu at cygnus.com)
524
525         * size.c, objdump.c, bucomm.c:  Lint.
526
527 Thu Jun 11 01:19:06 1992  John Gilmore  (gnu at cygnus.com)
528
529         * objdump.c (dump_elf_stabs): New feature: --stabs prints out a
530         .stab section from an ELF file.  Installed under #ifdef
531         ELF_STAB_DISPLAY so it can be easily disabled, since it requires
532         bfd-internals header files and such.
533         * objdump.1, binutils.texi:  Update for --stabs.  Also fix
534         objdump's doc to use -- rather than + for long options.
535         (FIXME:  Not yet fixed everywhere in binutils.texinfo.)
536
537 Wed Jun 10 07:53:24 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
538
539         * objdump.c(display_info), patches from
540         mohring@informatik.tu-muenchen.de to print the table much more
541         nicely.
542
543 Thu May 28 13:36:16 1992  Per Bothner  (bothner@rtl.cygnus.com)
544
545         * objdump.c:  Add another enum->int cast, for the sake of
546         old compilers (such as PCC).
547
548 Wed May 27 13:01:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
549
550         * arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
551         Add declaration of strdup().
552
553 Fri May 22 13:40:37 1992  Per Bothner  (bothner@cygnus.com)
554
555         * Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
556         rules, since these are used when building a distribution.
557         * Makefile.in (arlex.c):  Don't re-direct output, since that
558         leaves a bogus output files if it fails.
559
560         * arlex.l:  Make work with lex, for what it's worth.
561         * Makefile.in:  Better lex support.
562         * Makefile.in (dist):  Generate flex and bison outputs
563         for distribution.
564
565 Thu May 14 17:17:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
566
567         * Makefile.in: get BISON definition right.
568
569 Fri May  8 07:47:08 1992  K. Richard Pixley  (rich@cygnus.com)
570
571         * sanity.sh: default TMPDIR to ".".
572
573 Thu May  7 12:34:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
574
575         * binutils.texi: add doc for ar command language.
576
577 Wed May  6 18:05:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
578
579         * arparse.y: make END call ar_end
580         * arsup.c (ar_end): added, deletes temp file if archive session
581         aborted.
582
583
584 Wed May  6 11:08:53 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
585
586         * Makefile.in: use bison & flex from ../ if they exist.  Also,
587           FLEX->LEX.
588
589         * sanity.sh: remove temporary directory when finished.
590
591 Tue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
592
593         * Makefile.in:  Bump to version 1.97.
594         * ar.c:  Declare errno for machines that need it.
595
596 Mon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
597
598         * objdump.c (display_info):  Handle error cases without coredump.
599         Close the dummy temporary file we open in the loop.
600         * Makefile.in (arsup.o):  Add kludge to build with Sun Make.
601
602 Fri May  1 16:20:23 1992  K. Richard Pixley  (rich@cygnus.com)
603
604         * Makefile.in: added test-install target.
605
606         * sanity.sh: new file.
607
608         * Makefile.in: use sanity test on make check.
609
610 Tue Apr 21 13:38:37 1992  K. Richard Pixley  (rich@cygnus.com)
611
612         * Makefile.in: rework CFLAGS so that they can be passed on the
613           command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
614
615 Wed Apr 15 14:33:07 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
616
617         * arsup.c, arsup.h, arparse.y, arlex.l: support for archive
618         scripting language.
619
620 Fri Mar  6 21:54:53 1992  K. Richard Pixley  (rich@cygnus.com)
621
622         * Makefile.in: added check target.
623
624 Thu Mar  5 21:35:49 1992  K. Richard Pixley  (rich@cygnus.com)
625
626         * Makefile.in: added clean-info target.
627
628 Tue Mar  3 15:36:37 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
629
630         * Makefile.in: remove $(COPY_PROG) from PROGS.  It shouldn't be
631           installed. added tooldir and program_prefix.
632
633 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
634
635         * Makefile.in, configure.in: removed traces of namesubdir,
636           -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
637           copyrights to '92, changed some from Cygnus to FSF.
638
639 Sun Feb 16 12:53:02 1992  Per Bothner  (bothner at cygnus.com)
640
641         * Makefile.in:  Bump version to 1.96, and remove -beta
642         suffix from distribution name.
643         * m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
644         the signed value of a character (even if chars are unsigned).
645         * sparc-pinsn.c:  Add new operand types.
646
647 Thu Feb  6 12:14:19 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
648
649         * objdump.c (disassemble_data): don't print a section's contents
650         if it's not loadable (eg bss)
651
652 Tue Jan 28 11:11:06 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
653
654         * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
655         displacements don't get printed as large +ve ones.
656
657 Fri Jan 24 14:47:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
658
659         * copy.c, nm.c, objdump.c, size.c : changed to use the
660         new reloc scheme.
661
662
663 Mon Dec 30 18:34:41 1991  Per Bothner  (bothner at cygnus.com)
664
665         * bucomm.c (print_arelt_descr):  Tweek the output format
666         so that 'ar tv' output follows Posix 1003.2/D11.
667         Output is now also identical to Sun's (except __.SYMDEF).
668
669 Mon Dec 30 06:09:53 1991  John Gilmore  (gnu at cygnus.com)
670
671         * Makefile.in:  Make `make' output more readable.
672
673 Wed Dec 18 15:04:45 1991  Per Bothner  (bothner at cygnus.com)
674
675         * Makefile.in:  Bump to version 1.94.
676
677 Wed Dec 11 16:48:09 1991  Steve Chamberlain  (sac at cygnus.com)
678
679         * ar.c: added "b" to fopens for dos
680         * configdj.bat, makefile.dos new files from DJ
681
682 Tue Dec 10 04:07:26 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
683
684         * Makefile.in: infodir belongs in datadir.
685
686 Sat Dec  7 17:09:37 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
687
688         * bucomm.h: created to hold prototypes of bucomm.c
689         * objdump.h: created to hold prototyes of objdump.c
690         * am29k-pinsn.c: include objdump.h
691         * ar.c: include bucomm.h, get ar.h from the right place and
692         include libbfd.h
693         * bucomm.c: defunize bfd_fatal
694         * copy.c: include bucomm.h, lint.
695         * i960-pinsn.h: include bucomm.h
696         * m68k-pinsn.h: lint
697         * nm.c: include bucomm.h, lint
698         * objdump.c: lint
699         * sparc-pinsn.c: include objdump.h
700
701         
702
703 Fri Dec  6 23:02:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
704
705         * Makefile.in: added standards.text support.  install using
706           INSTALL_PROGRAM and INSTALL_DATA.
707
708         * configure.in: configure now does all of it's work from objdir so
709           make file existence tests against ${srcdir}.
710
711 Thu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
712
713         * Makefile.in: idestdir and ddestdir go away.  Added copyrights
714           and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
715           and mandir now keyed off datadir by default.
716
717 Wed Dec  4 22:42:03 1991  Per Bothner  (bothner at cygnus.com)
718
719         * Makefile.in:  Bump to version 1.93.
720         * Makefile.in:  Add make-strip.o:maybe-strip.c dependency
721         for make versions that provide half-baked VPATH-support (e.g. Sun's).
722         * size.c:  Improvements suggested by
723         "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>:
724         - Don't emit (Berkeley) headers if no files were found.
725         - Return a non-zero return code on failure.
726
727 Sat Nov 30 21:34:19 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
728
729         Changes due to include file renaming:
730         * am29k-pinsn.c: a29k-opcode.h  -> opcode/a29k.h
731         * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h
732         * m68k-pinsn.c:  m68k-opcode.h  -> opcode/m68k.h
733         * nm.c:          stab.gnu.h     -> aout/stab_gnu.h
734
735 Tue Nov 19 19:20:43 1991  Per Bothner  (bothner at cygnus.com)
736
737         * README:  Mention MINIMIZE flag for bfd's make.
738
739 Mon Nov 18 12:05:37 1991  Per Bothner  (bothner at cygnus.com)
740
741         * README:  Various improvements.
742
743 Sun Nov 17 23:40:59 1991  Per Bothner  (bothner at cygnus.com)
744
745         * Makefile.in:  Bump to version 1.92.
746         * version.c, Makefile.in:  Get version string from Makefile.
747         * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
748         Make the same change that we earlier did for ar/ranlib:
749         Generate two different binaries for strip and copy and use
750         a global variable with different values to distinguish
751         ostrip from copy.  (-1 means to use argv[0] to decide,
752         so you can get the old behavior, but it is no longer the default).
753         * copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
754         * copy.c (main):  If is_strip==-1, compare last 5 chars
755         of argv[0], not the whole path.
756         * copy.c (main): Return 0, not 1.
757         * copy.c (setup_sections):  Fix due to change in bfd_make_section
758         now failing if asked for a duplicate section.
759         * strip.c, ostrip.c:  Removed obsolete files.
760         * ar.c, not-ranlib.c, maybe-ranlib.c:
761         Change encoding of is_ranlib variable to be consistent
762         with is_strip for strip.copy (i.e -1 to means use argv[0]).
763
764 Thu Nov 14 20:11:02 1991  Per Bothner  (bothner at cygnus.com)
765
766         * version.c (program_version): Update to version 1.92.
767
768 Tue Nov 12 16:17:53 1991  Per Bothner  (bothner at cygnus.com)
769
770         * ar.c (get_pos_bfd):  Previous fix was missing a "break".
771
772 Thu Nov  7 08:55:56 1991  Steve Chamberlain  (sac at cygnus.com)
773
774         * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction
775         encodings. (Thaks to David Wood)
776
777 Sun Nov  3 14:50:23 1991  Per Bothner  (bothner at cygnus.com)
778
779         * Makefile.in ($(DIST_NAME).tar.Z), TODO:  Various fixes.
780         * ar.c (get_pos_bfd): Fix to handling of before/after
781         positioning options.
782         * bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
783         since libiberty contains vfprintf etc if otherwise missing.
784         * m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
785         type operands, as used by branch instructions.
786         * nm.c:  Delegate printing of symbols to BFD,
787         by using bfd_print_symbol to do the formatting.
788
789 Mon Oct 28 11:20:47 1991  Steve Chamberlain  (steve at cygnus.com)
790
791         * ar.c (write_archive.c): added unlink before rename since some
792         systems can't rename onto an existant file.
793
794 Mon Oct 21 09:47:23 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
795
796         * nm.c: now doesn't crash if a symbol with no section and no
797         SEC_ABS appears.
798
799 Thu Oct 17 15:25:50 1991  Per Bothner  (bothner at cygnus.com)
800
801         * Makefile.in, version.c:  Bump to version 1.91.
802
803 Wed Oct 16 11:45:36 1991  Per Bothner  (bothner at cygnus.com)
804
805         * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
806         i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
807         * strip.c: Add or update Copyright notice.
808         * TODO:  Add note on 'nm -a'.   
809         * version.c: Update version number to 1.90.
810         * Makefile.in: Fix making of documentation for dist.
811
812 Tue Oct 15 00:17:17 1991  Per Bothner  (bothner at cygnus.com)
813
814         * README: New file.
815         * Makefile.in: New kludgy rules for making a tarfile.
816         * Makefile.in: Fix bindir path.
817
818 Mon Oct 14 17:34:29 1991  Roland H. Pesch  (pesch at cygnus.com)
819
820         * Makefile.in: add targets binutils.mm, binutils.me
821
822 Fri Oct 11 22:44:21 1991  John Gilmore  (gnu at cygnus.com)
823
824         * Makefile.in:  Avoid Sun Make VPATH bugs by adding dependencies.
825
826 Fri Oct 11 12:51:33 1991  Roland H. Pesch  (pesch at cygnus.com)
827
828         * Makefile.in: add target "binutils.ms"
829
830         * binutils.texinfo: minor restructuring for texi2roff comfort.
831
832 Fri Oct 11 04:12:28 1991  John Gilmore  (gnu at cygnus.com)
833
834         Restructure configuration scheme for bfd, binutils, ld.
835
836         * include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
837         * configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
838         Change some config names to match other dirs.
839         * *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
840         get defined first.
841         * Makefile.in:  Use -I. to get sysdep.h.
842
843 Wed Oct  9 22:42:56 1991  Per Bothner  (bothner at cygnus.com)
844
845         * nm.c (print_symbols):  Handle NULL name field of symbol.
846         * Makefile.in: Removed spurious comment.
847
848 Tue Oct  8 16:55:03 1991  Roland H. Pesch  (pesch at cygnus.com)
849
850         * binutils.texinfo: minor typos, phrasing, formatting fixes.
851
852 Tue Oct  8 15:13:20 1991  Per Bothner  (bothner at cygnus.com)
853
854         * configure.in: Get host file from ../bfd/config, not config.
855         * config/*: Remove config directory and its files.
856
857 Tue Oct  8 13:58:59 1991  Roland H. Pesch  (pesch at cygnus.com)
858
859         * Makefile.in: new targets binutils.dvi, binutils.info
860
861         * binutils.texinfo: remove most remaining FIXME's, delete
862         references to __.SYMDEF by name
863
864
865 Tue Oct  8 10:23:44 1991  Steve Chamberlain  (steve at cygnus.com)
866
867         * objdump.c (print_address) Print addresses nicely.
868
869 Mon Oct  7 11:31:05 1991  Per Bothner  (bothner at cygnus.com)
870
871         * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
872         Make two different binaries for ar and ranlib, instead of
873         distinguishing them at run time using argv[0].
874         (Old behavior is still available if you "make ar_with_ranlib",
875         but it is not the default.)
876         * ranlib.sh (new):  An alternative one-line
877         shell implementation of ranlib.
878
879 Fri Oct  4 21:49:44 1991  John Gilmore  (gnu at cygnus.com)
880
881         * objdump.c:  Cope with renames of a few BFD types & enums.
882
883 Fri Oct  4 19:08:09 1991  Roland H. Pesch  (pesch at cygnus.com)
884
885         * binutils.texinfo: add new file (rudimentary docn)
886
887 Mon Sep 30 12:30:39 1991  Per Bothner  (bothner at cygnus.com)
888
889         * config/hmake-news: Add new file (for Sony NEWSOS3).
890         * bucomm.c (fatal):  Conditionally compile fatal() depending on
891         MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
892         * objdump.c (dump_headers):  Trivial output format change.
893         * objdump.c (display_info): Loop over integers, not enums,
894         to appease old compilers.
895
896 Mon May 20 16:14:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
897
898         *objdump.c *nm.c *copy.c :hanged some types to work with 64 bit object files
899
900 Thu May 16 16:06:55 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
901      from bother
902         * objdump.c (print_address): Make disasembled output more
903         consistent with gdb and as: Add 0x when printing hex.
904         Don't print extra leading zeros.
905         Attempt to not print "filename.o".
906         * objdump.c: Add some enum-to-int casts to accomodate old compilers.
907
908
909 Fri May  3 22:21:44 1991  John Gilmore  (gnu at cygint.cygnus.com)
910
911         * copy.c:  Change =& constructs to = &, since they confuse older
912         C compilers.
913
914