Automate generate on man pages
[external/binutils.git] / binutils / ChangeLog
1 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2
3         * binutils.texi: Put @c man begin and @c man end indications
4         to generate man pages using texi2pod and pod2man. Put @c man title
5         to identify each man. Add SEEALSO entries.
6         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
7         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
8         sort the list.
9         (*.1): Build the man pages from binutils.texi.
10         * Makefile.in: Regenerate.
11
12 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
13
14         * defparse.y (opt_equal_name): allow "." in name.
15         * dlltool.c (def_exports): Added ability to generate forwarded exports.
16         (gen_exp_file): Likewise.
17
18 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
19
20         * NEWS: Document addition of -B switch to objcopy.
21         * binutils.texi:  Document addition of -B switch to objcopy.
22         * objcopy.c: (copy_options): Add --binary-architecture.
23         (copy_usage): Document -B/--binary-architecture.
24         (copy_main): Support -B/--binary-architecture.  Set
25         bfd_external_binary_architecture.
26         
27 2001-03-11  Andreas Jaeger  <aj@suse.de>
28
29         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
30         (dump_relocations): Likewise.
31         (get_machine_name): Likewise.
32
33 2001-02-28  Nick Clifton  <nickc@redhat.com>
34
35         * readelf.c: (struct unw_aux_info): Remove const modifier for
36         'strtab' field.
37         (process_unwind): Remove non-K&R compliant LHS type cast in call
38         to GET_DATA_ALLOC macro.
39
40 2001-02-28  Philip Blundell  <pb@futuretv.com>
41
42         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
43         ABI is in use; remove ambiguity between the "unknown" EABI and
44         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
45         renamed EF_xx constants.
46
47 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
48
49         * configure.in (BFD_VERSION): New.
50         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
51         * configure: Regenerate.
52         * Makefile.am: Run "make dep-am"
53         * Makefile.in: Regenerate.
54
55 2001-02-14  Nick Clifton  <nickc@redhat.com>
56
57         * MAINTAINERS: Add "Obvious Fix" rule.
58
59 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
60
61         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
62         literal concatenation.
63
64 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
65
66         * readelf.c (struct unw_aux_info): Remove const from the info member.
67         (process_unwind): Don't type-cast the third argument to the
68         GET_DATA_ALLOC macro.
69
70 2001-02-11  Nick Clifton  <nickc@redhat.com>
71
72         * readelf.c (dump_relocations): Free corrected allocated
73         array.
74         (process_unwind): Fix compile time warning.
75
76 2001-02-10  Nick Clifton  <nickc@redhat.com>
77
78         * binutils.texi: Document new --unwind option to readelf.
79
80 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
81
82         * readelf.c: Add linux target for S/390.
83
84 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
85
86         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
87         printf is a macro.
88
89 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
90
91         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
92         * aclocal.m4: Regenerate.
93         * configure: Regenerate.
94
95 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
96
97         * bucomm.c (bfd_target_vector): Change extern array to pointer.
98         * objdump.c (bfd_target_vector): Likewise.
99
100 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
101
102         * readelf.c (process_unwind): New function.
103         (slurp_ia64_unwind_table): Ditto.
104         (dump_ia64_unwind): Ditto.
105         (find_symbol_for_address): Ditto.
106         (slurp_rela_relocs): New function (split off from dump_relocations()).
107         (slurp_rel_relocs): Ditto.
108         (parse_args): Handle '-u' option.
109
110         * unwind-ia64.c: New file.
111         * unwind-ia64.h: New file.
112         * Makefile.am: Include unwind-ia64.c in readelf build.
113         * Makefile.in: Regenerate.
114         * po/binutils.pot: Regenerate.
115
116 2001-02-04  Philip Blundell  <philb@gnu.org>
117
118         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
119         * configure: Regenerate.
120
121 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
122
123         * ieee.c (ieee_add_bb11): Don't check for backslashes
124         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
125
126 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
127
128         * ieee.c: Update copyright.
129         (ieee_start_compilation_unit): Don't check for backslashes
130         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
131
132         * stabs.c: Update copyright. Include "filenames.h".
133         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
134
135 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
136
137         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
138         sections are present before using them.  Remove code duplication.
139         (process_symbol_table): Check if VERDEF or VERNEED sections are
140         present before using them.
141
142 2001-01-17  Nick Clifton  <nickc@redhat.com>
143
144         * objcopy.c (copy_object): Fail if attempting to convert the
145         endianness of the input object file.
146
147         * binutils.texi: Explain that objcopy cannot convert endianness.
148
149 2001-01-16  Nick Clifton  <nickc@redhat.com>
150
151         * readelf.c (string_table_length): New variable.
152         (SECTION_NAME): Catch out of range indices and missing section
153         pointers.
154         (process_section_headers): Delete useless local variable
155         string_table_offset.  Set the value of string_table_length
156         after loading the string table.
157         (process_mips_specific): Use SECTION_NAME macro.
158         (process_file): Set string_table_length to 0 when it is freed.
159
160 2001-01-12  Nick Clifton  <nickc@redhat.com>
161
162         * version.c (print_version): Update copyright date.
163
164 2001-01-11  Peter Targett  <peter.targett@arccores.com>
165
166         * readelf.c (dump_relocations): Include selection with EM_ARC.
167         (get_machine_name) Update name to "ARC".
168
169 2001-01-09  Nick Clifton  <nickc@redhat.com>
170
171         * Makefile.am: Add rule to build objdump.o from objdump.c and
172         using OBJDUMP_DEFS.
173         * Makefile.in: Regenerate.
174
175         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
176         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
177         -DDISASSEMBLER_NEEDS_RELOCS.
178         * configure: Regenerate.
179
180         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
181         is defined read in the relocs even if dump_reloc_info is
182         false.
183
184 2001-01-07  Philip Blundell  <philb@gnu.org>
185
186         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
187         `bug-binutils'.
188         * README: Likewise.
189
190 2000-12-19  Nick Clifton  <nickc@redhat.com>
191
192         * dlltool.c: Add missing support for arm-epoc-pe.
193         * configure.in: Add missing support for arm-epoc-pe.
194         * configure: Regenerate.
195
196 2000-12-15  Nick Clifton  <nickc@redhat.com>
197
198         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
199         Mode parts of the x86 port.
200
201 2000-12-04  Andreas Jaeger  <aj@suse.de>
202
203         * readelf.c (guess_is_rela): Add EM_X86_64.
204         (dump_relocations): Add EM_X86_64.
205         (get_machine_name): Add EM_X86_64.
206         Include "elf/x86-64.h".
207
208 2000-12-12  Nick Clifton  <nickc@redhat.com>
209
210         * readelf.c: Fix formatting.
211
212 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
213
214         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
215
216 2000-12-07  Andrew Haley  <aph@redhat.com>
217
218         * readelf.c (display_debug_frames): Only display columns that are
219         referenced by the frame debug info.
220
221 2000-12-05  Nick Clifton  <nickc@redhat.com>
222
223         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
224
225 2000-12-04  Jason Merrill  <jason@redhat.com>
226
227         * readelf.c (process_section_headers): Handle linkonce.wi sections.
228         (display_debug_section): Likewise.
229         (display_debug_info): Display CU header before bailing.
230
231 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
232
233         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
234         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
235         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
236
237         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
238         and E_MIPS_ARCH_64.
239
240         * readelf.c (get_machine_flags): Add case for
241         E_MIPS_MACH_SB1.
242
243 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
244
245         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
246
247 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
248
249         * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
250         Change sourceware.cygnus.com to sources.redhat.com.
251         Fix typo for "amongst".
252
253 2000-11-28  Nick Clifton  <nickc@redhat.com>
254
255         * strip.1 (COPYING): Mention that the GNU Free Documentation
256         License is present in the sources, but not the output, and
257         also available from the GNU website.
258         (GNU Free Documentation License): Comment out this section.
259         * strings.1: Ditto.
260         * size.1: Ditto.
261         * ranlib.1: Ditto.
262         * objdump.1: Ditto.
263         * objcopy.1: Ditto.
264         * nm.1: Ditto.
265         * nlmconv.1: Ditto.
266         * ar.1: Ditto.
267         * addr2line.1: Ditto.
268
269 2000-11-27  DJ Delorie  <dj@redhat.com>
270
271         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
272         (parse_args): Support -wf option.
273         (process_section_headers): Ditto.
274         (debug_displays): Ditto.
275         (display_debug_frames): New, dump *_frame sections.
276         (frame_need_space): Support for above.
277         (frame_display_row): Ditto.
278         * binutils.texi: Document it.
279
280 2000-11-24  Nick Clifton  <nickc@redhat.com>
281
282         * NEWS: Announce support for v5t, v5te and XScale.
283
284 2000-11-22  Nick Clifton  <nickc@redhat.com>
285
286         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
287         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
288         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
289         (get_elf_section_flags: Add SHF_GROUP.
290         (process_section_headers): Adjust output for 32-bit binaries
291         to look nice on an 80 column terminal.
292
293 2000-11-20  H.J. Lu  <hjl@gnu.org>
294
295         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
296         ELFOSABI_AIX.
297
298 2000-11-17  Richard Henderson  <rth@redhat.com>
299
300         * readelf.c (display_debug_lines): Adjust last change to
301         use sizeof (external->li_length).
302
303 2000-11-17  Richard Henderson  <rth@redhat.com>
304
305         * readelf.c (display_debug_lines): Fix section length check
306         and end_of_sequence computation.
307
308 2000-11-06  Nick Clifton  <nickc@redhat.com>
309
310         * binutils.texi: Add GNU Free Documentation License.
311         * objcopy.1: Add GNU Free Documentation License.
312         * objdump.1: Add GNU Free Documentation License.
313         * addr2line.1: Add GNU Free Documentation License.
314         * ar.1: Add GNU Free Documentation License.
315         * nlmconv.1: Add GNU Free Documentation License.
316         * nm.1: Add GNU Free Documentation License.
317         * ranlib.1: Add GNU Free Documentation License.
318         * size.1: Add GNU Free Documentation License.
319         * strings.1: Add GNU Free Documentation License.
320         * strip.1: Add GNU Free Documentation License.
321
322 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
323
324         * objcopy.c (--srec-len=nn): New parameter to set the
325         maximum length of generated Srecords.
326         (--srec-forceS3): New parameter that restricts the generation of
327         Srecords to type S3 only.
328         * binutils.texi: Document new command line switches.
329         * objcopy.1: Docuemnt the new command line switches.
330         * NEWS: Announce the existence of the new command line switches.
331
332 2000-10-31  Nick Clifton  <nickc@redhat.com>
333
334         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
335         code.  Add Eric Chrisopher as maintainer of MN10300 port.
336
337 2000-10-12  Roger Sayle  <roger@metaphorics.com>
338
339         * Make comma after string after icon/control optional.
340
341 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
342
343         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
344
345         * NEWS: Mention support for MIPS32.
346
347 2000-09-08  Nick Clifton  <nickc@redhat.com>
348
349         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
350
351 2000-09-07  H.J. Lu  <hjl@gnu.org>
352
353         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
354         * configure: Rebuild.
355
356 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
357
358         * configure: Rebuilt with new libtool.m4.
359
360 2000-09-05  Nick Clifton  <nickc@redhat.com>
361
362         * aclocal.m4: Regenerate.
363         * config.in: Regenerate.
364         * configure: Regenerate.
365
366 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
367
368         * strip.1: Fix stray '\' in -o formatting.
369
370 2000-09-02  Nick Clifton  <nickc@redhat.com>
371
372         * configure.in: Increase version number to 2.10.91.
373         * configure: Regenerate.
374         * aclocal.m4: Regenerate.
375         * config.in: Regenerate.
376         * po/binutils.pot: Regenerate.
377
378 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
379
380         * acinclude.m4: Include libtool and gettext macros from the
381         top level.
382         * aclocal.m4, configure: Rebuilt.
383
384 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
385
386         * resrc.c (close_input_stream): Delete extraneous logic
387
388 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
389
390         * NEWS: Mention support for CRIS.
391
392 2000-08-21  Nick Clifton  <nickc@redhat.com>
393
394         * addr2line.c: Changed email address for Ulrich Lauther.
395
396 2000-08-17  Christopher C. Chimelis <chris@debian.org>
397
398         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
399
400 2000-08-17  Nick Clifton  <nickc@redhat.com>
401
402         * readelf.c (display_debug_pubnames): Only issue warning
403         message once.  Terminate message with a new line.
404         (display_debug_aranges): Only display version 2 debug info.
405
406 2000-08-14  Todd Vierling <tv@wasabisystems.com>
407
408         * objcopy.c (strip_main): Silently accept -d as an alias for -g
409         for compatability with old BSD systems.
410
411 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
412
413         * NEWS: Mention i860 support.
414
415 2000-08-11  Carlo Wood <carlo@alinoe.com>
416
417         * addr2line.c (main): Add const to char *.
418
419 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
420
421         * ar.c (main): Don't crash if called with no arguments
422         or only '-X32_64' as an argument.
423
424 2000-08-08  DJ Delorie  <dj@redhat.com>
425
426         * resrc.c: use "gcc -xc" instead of -xc-header
427
428 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
429
430         * readelf.c (elf/i860.h): Include.
431         (dump_relocations): Add recognition of i860 architecture.
432         (guess_is_rela): Add recognition of i860 architecture.
433
434 2000-08-03  Nick Clifton  <nickc@cygnus.com>
435
436         * MAINTAINERS: Add information about CGEN maintainers.
437
438 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
439
440         * nm.c (main): Ignore '-X32_64' as an option.
441         * ar.c (main): Likewise.
442         * binutils.texi (nm): Document new option.
443         (ar): Likewise.
444
445 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
446
447         * rdcoff.c (external_coff_symbol_p): K&R-ise.
448
449 2000-07-20  H.J. Lu  <hjl@gnu.org>
450
451         * binutils.texi: Put back "@end table" deleted by
452         accident.
453
454 2000-07-05  Kenneth Block  <krblock@computer.org>
455
456         * nm.c: Add optional style to demangle switch.
457         * objdump.c: Add optional style to demangle switch.
458         * addr2line.c: Add optional style to demangle switch.
459         * binutils.texi: Document optional style to demangle
460         switch.
461
462 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
463
464         * MAINTAINERS: Add self as CRIS port maintainer.
465         * readelf.c: Include elf/cris.h.
466         (guess_is_rela): Handle EM_CRIS.
467         (dump_relocations): Ditto.
468         (get_machine_name): Ditto.
469         * Makefile.am: Rebuild dependencies.
470         * Makefile.in: Regenerate.
471         * po/binutils.pot: Regenerate.
472
473 2000-07-19  H.J. Lu  <hjl@gnu.org>
474
475         * readelf.c (get_dynamic_type): Change "AUXILARY" to
476         "AUXILIARY".
477         (process_dynamic_segment): Print out strings for DT_CONFIG,
478         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
479
480 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
481
482         * nm.c (usage): Change output of `nm --help' to include a
483         description of the purpose of the program and a detailed
484         description of the accepted options.
485
486 2000-07-19  H.J. Lu  <hjl@gnu.org>
487
488         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
489         to DF_1_NODEFLIB.
490
491 2000-07-19  H.J. Lu  <hjl@gnu.org>
492
493         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
494
495 2000-07-19  H.J. Lu  <hjl@gnu.org>
496
497         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
498         DT_FEATURE.
499         (process_dynamic_segment): Likewise.
500
501         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
502         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
503         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
504         DF_1_NODUMP and DF_1_CONLFAT.
505
506 2000-07-18  Nick Clifton  <nickc@cygnus.com>
507
508         * binutils.texi (readelf): Fix spelling typo.
509
510 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
511
512         * objdump.c (usage): Make output of `objdump --help' more
513         consistent with the rest of the GNU world.  Add a line describing
514         the purpose of the program.
515
516 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
517
518         * stabs.c (parse_stab_range_type): Cast to proper type to fix
519         warning.
520
521 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
522
523         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
524         to fix warnings.
525         (process_symbol_table): Ditto.
526         (procesS_extended_line_op): Ditto.
527         (display_debug_lines): Ditto.
528         (display_debug_pubnames): Ditto.
529         (read_and_display_attr): Ditto.
530
531 2000-07-09  Nick Clifton  <nickc@cygnus.com>
532
533         * MAINTAINERS: Add several more port specific maintainers.
534
535 2000-07-05  Nick Clifton  <nickc@cygnus.com>
536
537         * MAINTAINERS: Add blanket write privs for Michael Meissner.
538
539 2000-06-05  DJ Delorie  <dj@redhat.com>
540
541         * MAINTAINERS: New.
542
543 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
544
545         * dllwrap.c: Changed mistaken dyn_string_append() calls
546         to dyn_string_append_cstr().
547
548 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
549
550         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
551         struct debug_type stores size in bytes.
552
553 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
554
555         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
556         (CLEANFILES): Add DEPA.
557         * Makefile.in: Regenerate.
558
559 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
560
561         * ar.c: Revert incorrect 2000-06-25 patch.
562         * bucomm.c: Likewise.
563
564 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
565
566         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
567         (external_coff_symbol_p): New function.
568         (parse_coff): Use it.
569
570 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
571
572         * ar.c (normalize): Advance past both characters in a DOS based
573         <letter>: filepath prefix.
574         (main): Likewise.
575         * bucomm.c (make_tempname): Likewise.
576
577 2000-06-24  Nick Clifton  <nickc@cygnus.com>
578
579         * objdump.c (usage): Fix description of --stabs switch.
580
581 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
582
583         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
584         find one.
585         * Makefile.in: Regenerate.
586
587 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
588
589         * ar.c (normalize): Correct pointer comparison when checking for
590         backslashes.
591         (main): Likewise.
592         * bucomm.c (make_tempname): Likewise.
593
594         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
595         and search for backslashes in the original pathname.
596         (ieee_add_bb11): Likewise.
597
598 2000-06-18  Nick Clifton  <nickc@redhat.com>
599
600         * ar.c (print_contents): Improve verbose message.
601
602 2000-06-15  H.J. Lu  <hjl@gnu.org>
603
604         * dyn-string.c: Removed. Not needed with dyn-string.c in
605         libiberty.
606         * dyn-string.h: Likewise.
607
608         * Makefile.am: Remove references to dyn-string.c and
609         dyn-string.h. Rebuild dependency.
610         * Makefile.in: Rebuild.
611
612 2000-06-15  H.J. Lu  <hjl@gnu.org>
613
614         * binutils.texi: Put a warning on copying relocatable object
615         files between two different formats.
616
617 2000-06-13  DJ Delorie  <dj@cygnus.com>
618
619         * rcparse.y (control): ICON controls take an id as the first
620         parameter, not an optional string.  Also, call new convenience
621         function that takes res_id's.
622         * resrc.c (define_control): missing text means zero-length string,
623         not zero ID.
624         (define_icon_control): New.
625         * windres.h: declare define_icon_control.
626
627 2000-06-13  H.J. Lu  <hjl@gnu.org>
628
629         * configure: Regenerate.
630
631 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
632
633         * configure.in (VERSION): Update to show this is the CVS mainline.
634
635 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
636
637         * strings.c (isgraphic): Interpret <TAB> as a printable character,
638         analogous to <SPACE>.
639
640 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
641
642         * objdump.c (display_target_list): Use bfd_close_all_done, not
643         bfd_close to fix crash caused by 2000-05-24 change.
644
645 2000-05-25  DJ Delorie  <dj@cygnus.com>
646
647         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
648
649 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
650
651         * Makefile.am: Update dependencies with "make dep-am"
652         * Makefile.in: Regenerate.
653
654 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
655
656         * ar.c: Include filenames.h.
657         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
658         and drive letters in file names.
659         (main): Support backslashes and drive letters in argv[0].  Drop
660         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
661         FILENAME_CMP instead of strcmp to compare file names.
662         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
663         DJGPP v2.
664         (do_quick_append) [__GO32__]: Ditto.
665         (get_pos_bfd, delete_members, move_members, replace_members):
666         Compare file names with FILENAME_CMP.
667
668         * bucomm.c: Include filenames.h.
669         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
670         forward/backward slashes and drive letters in file names.
671
672         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
673         mixed forward/backward slashes and drive letters in file names.
674
675         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
676         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
677         mode.
678
679         * objcopy.c: Include filenames.h.
680         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
681         before comparing to "strip".
682         Use FILENAME_CMP to compare file names.
683
684         * arsup.c: Include filenames.h.
685         (map_over_list, ar_delete, ar_replace, ar_extract): Use
686         FILENAME_CMP to compare file names.
687         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
688         the temporary file name.
689
690         * configure.in: Check for setmode.
691         * configure: Regenerate.
692
693 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
694
695         * objdump.c (display_target_list): Close the bfd.
696         (display_info_table): Likewise.
697
698 2000-05-14  H.J. Lu  (hjl@gnu.org)
699
700         * objcopy.c (filter_symbols): Don't strip global symbols in
701         relocatable object files.
702
703 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
704
705         * size.c (usage): Associate short options with corresponding long
706         option to give a clue as to their function.
707
708 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
709
710         * size.c (main): Accept and ignore `-f' option.
711
712 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
713
714         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
715         bindtextdomain): Replace defines with those from intl/libgettext.h
716         to quieten gcc warnings.
717
718 2000-05-12  H.J. Lu  <hjl@gnu.org>
719
720         * nlmconv.c (temp_filename): Removed.
721
722         * nlmconv.c (link_inputs): Use make_temp_file () instead of
723         choose_temp_base ().
724         * objdump.c (display_target_list): Likewise.
725         (display_info_table): Likewise.
726
727 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
728
729         * objcopy.c (setup_section): Add const and gettext calls for err.
730
731 2000-05-02  H.J. Lu  <hjl@gnu.org>
732
733         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
734         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
735         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
736         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
737         and ELFOSABI_OPENBSD.
738
739 2000-05-02  Kazu Hirata  <kazu@hxi.com>
740
741         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
742         * srconv.c: Likewise.
743         * sysdump.c: Likewise.
744
745 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
746
747         * readelf.c (guess_is_rela): AVR uses RELA relocations.
748         (get_machine_name): machine name for EM_AVR added.
749
750 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
751                           David Mosberger  <davidm@hpl.hp.com>
752
753         * Makefile.am (readelf.o): Add elf/ia64.h.
754         * Makefile.in: Rebuild.
755         * readelf.c: Include elf/ia64.h.
756         (guess_is_rela, dump_relocations): Handle EM_IA_64.
757
758 2000-04-17  Timothy Wall  <twall@cygnus.com>
759
760         * objdump.c (disassemble_data): Set octets per byte *after*
761         resolving arch/mach for binary files.
762
763 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
764
765         * arlex.l: Add directives to increase lex buffer size.
766
767         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
768         already included by bucomm.h.
769
770 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
771
772         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
773         `strftime' since strftime is not available on all systems.
774         (process_mips_specific): Ditto.
775
776 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
777
778         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
779         --enable-build-warnings option.
780         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
781         * Makefile.in, configure: Re-generate.
782
783 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
784
785         * addr2line.c: Update copyright.
786         * objcopy.1: Likewise, and title.
787         * strings.1: Likewise.
788
789         * version.c (print_version): Add 2000.
790
791         * rddbg.c (read_section_stabs_debugging_info): Don't use
792         bfd_size_type for strx to avoid printf problems if BFD64.
793
794         * bucomm.c: (report): Remove `static'.
795         Move inclusion of stdarg.h/vararg.h from here.
796         * bucomm.h: To here.
797         (CONST): Change all occurences to const.
798         (report): Declare it.
799         (bfd_fatal): Add ATTRIBUTE_NORETURN.
800         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
801         (non_fatal): Add ATTRIBUTE_PRINTF_1.
802
803         * ar.c (main): Use fatal or non_fatal instead of fprintf.
804         Correct a typo in an error message.
805         (do_quick_append): Use non_fatal instead of fprintf.
806         (move_members): Use fatal instead of fprintf, exit.
807         * coffdump.c (main): Same here.
808
809         * dlltool.c (display): Delete.
810         (warn): Delete.
811         (inform): Use `report' instead of `display'.
812         (rvaafter): Remove trailing \n from fatal error msg.
813         (rvabefore): Ditto.
814         (asm_prefix): Ditto.
815         (yyerror): Replace `warn' with `non_fatal', and remove \n.
816         (def_name): Likewise.
817         (run): Likewise.
818         (scan_all_symbols): Likewise.
819         (gen_lib_file): Likewise.
820         (def_library): Likewise.  Remove extra program_name too.
821         (run): Remove \n from inform strings.
822         (scan_drectve_symbols): Likewise.
823         (add_excludes): Likewise.
824         (scan_open_obj_file): Likewise.
825         (gen_exp_file): Likewise.
826         (gen_lib_file): Likewise.
827         (process_duplicates): Likewise.
828
829         * Makefile.am (dllwrap_SOURCES): Add version.c.
830         * dllwrap.c (program_version): Delete.
831         (print_version): Delete.
832         (display): Always print trailing \n.
833         (warn): New.
834         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
835         (run): Here too.
836         (main): And here.
837         (usage): gettext'ify.
838         (long_options): Add missing initialisers.
839
840         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
841         (select_output_format): Likewise.
842         (powerpc_mangle_relocs): Likewise.
843         (link_inputs): Likewise.
844
845         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
846         (set_output_format): Likewise.
847         (main): Use non_fatal instead of fprintf.
848         (display_rel_file): Likewise.
849
850         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
851         (slurp_dynamic_symtab): Same here.
852         (disassemble_data): And here.
853         (read_section_stabs): And here.
854         (read_section_stabs): And here.
855         (dump_bfd): And here.
856         (main): And here.
857         (objdump_sprintf): Use fatal instead of fprintf, exit.
858         (disassemble_data): Same here.
859
860         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
861         (parse_coff_struct_type): Same here.
862         (parse_coff_enum_type): And here.
863         (parse_coff): And here.
864         * rddbg.c (read_debugging_info): And here.
865         * size.c (main): And here.
866         * windres.c (format_from_name): And here.
867         * wrstabs.c (stab_write_symbol): Here too.
868         (write_stabs_in_sections_debugging_info): And here.
869         (stab_int_type): And here.
870         (stab_struct_field): And here.
871         (stab_typdef): And here.
872
873         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
874         * srconv.c (main): Same here.
875         * strings.c (main): And here.
876         (integer_arg): And here.
877         * sysdump.c (main): And here.
878
879 2000-04-06  Timothy Wall  <twall@cygnus.com>
880
881         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
882
883 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
884
885         * readelf.c (decode_location_expression): Loop through multiple
886         operations.
887         (read_and_display_attr): Pass in length.
888
889         * readelf.c (read_and_display_attr): Add CU offset to references.
890         (display_debug_info): Pass it in.
891
892 2000-04-06  Nick Clifton  <nickc@cygnus.com>
893
894         * readelf.c (decode_ARM_machine_flags): New function.
895         (get_machine_flags): Call decode_ARM_machine_flags for ARM
896         targets.
897
898         (get_machine_name): Catch EM_AVR
899
900 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
901
902         * binutils.texi: Remove optional `=' from long options that have
903         an `=' in the argument.
904         * objcopy.1: Here too.  Remove extra space on discard-all.
905
906         * binutils.texi (objcopy): Mention --redefine-sym.
907         * objcopy.1: Here too.
908         * NEWS: And here.
909
910         * objcopy.c (parse_flags): Split off flag names from error message
911         gettext as they are not translated.
912         (copy_main): Similarly split off option name for --add-section,
913         --set-section-flags, --change-section-vma, --change-section-lma
914         error messages.
915         Some white space changes.
916
917         from Matthew Benjamin <matt@linuxbox.nu>
918         * objcopy.c (struct redefine_node): New.
919         (redefine_sym_list): New.
920         (redefine_list_append): New.
921         (lookup_sym_redefinition): New.
922         (OPTION_REDEFINE_SYM): New.
923         (copy_options): Add --redefine-sym option.
924         (copy_usage): Mention it.
925         (filter_symbols): Rename symbols on redefine_sym_list.
926         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
927         (copy_main): Handle OPTION_REDEFINE_SYM.
928
929 2000-04-04  H.J. Lu  <hjl@gnu.org>
930
931         * readelf.c (process_symbol_table): Correctly read in symbol
932         versioning information.
933
934 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
935
936         * po/binutils.pot: Regenerate.
937
938         * addr2line.c (usage): Restore translated part of bug string.
939         * ar.c (usage): Likewise.
940         * nlmconv.c (show_usage): Likewise.
941         * nm.c (usage): Likewise.
942         * objcopy.c (copy_usage): Likewise.
943         (strip_usage): Likewise.
944         * objdump.c (usage): Likewise.
945         * readelf.c (usage): Likewise.
946         * size.c (usage): Likewise.
947         * strings.c (usage): Likewise.
948         * windres.c (usage): Likewise.
949
950         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
951         (DEP): Quote when passing vars to sub-make.  Add warning
952         message to end.
953         (DEP1): Rewrite for "gcc -MM".
954         (CLEANFILES): Add DEP2.
955         Update dependencies.
956         * Makefile.in: Regenerate.
957
958 2000-04-04  H.J. Lu  <hjl@gnu.org>
959
960         * Makefile.am (GENERATED_HFILES): Add rcparse.h
961         (arparse.h): Depend on arparse.c
962         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
963
964 2000-04-03  H.J. Lu  (hjl@gnu.org)
965
966         * size.c (usage): Use REPORT_BUGS_TO.
967
968 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
969
970         * bucomm.h: #include "bin-bugs.h"
971         * addr2line.c (usage): Use REPORT_BUGS_TO.
972         * ar.c (usage): Likewise.
973         * nlmconv.c (show_usage): Likewise.
974         * nm.c (usage): Likewise.
975         (OPTION_TARGET): Define.
976         (long_options): Use OPTION_TARGET rather than 200.
977         (main): Likewise.
978
979         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
980         (strip_usage): Likewise.
981         * objdump.c (usage): Likewise.
982         * readelf.c (usage): Likewise.
983         * strings.c (usage): Likewise.
984         * windres.c (usage): Likewise.
985
986 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
987
988         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
989
990 2000-03-27  Nick Clifton  <nickc@cygnus.com>
991
992         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
993         string offsets in corrupt stabs entries.
994
995 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
996
997         * readelf.c: Include elf/avr.h
998         (dump_relocations): Add EM_AVR case.
999
1000 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1001
1002         * strings.1: Correct '-bytes' to '--bytes'.
1003
1004 2000-03-08  H.J. Lu  <hjl@gnu.org>
1005
1006         * Makefile.am (install-exec-local): Depend on
1007         install-binPROGRAMS for parallel make.
1008         * Makefile.in: Regenerated.
1009
1010 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1011
1012         From Brad Lucier <lucier@math.purdue.edu>:
1013         * readelf.c (process_dynamic_segment): Add cast to make sure
1014         argument to %* is int.
1015
1016 2000-02-25  H.J. Lu  <hjl@gnu.org>
1017
1018         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1019
1020 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1021
1022         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1023         * configure: Regenerate.
1024
1025         * dlltool.c: Add support for sh-pe and mips-pe targets.
1026         * rescoff.c: Add support for sh-pe and mips-pe targets.
1027
1028 2000-02-23  H.J. Lu  <hjl@gnu.org>
1029
1030         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1031
1032 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1033
1034         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1035
1036 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1037
1038         From Brad Lucier <lucier@math.purdue.edu>:
1039         * readelf.c (process_version_sections): Add casts to make sure
1040         argument to %* is an int.
1041         (process_mips_specific): Add casts to make printf arguments match
1042         format.
1043
1044 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1045
1046         * objdump.c (dump_section_header): Change `opb' to unsigned.
1047         (find_symbol_for_address): Same here.
1048         (disassemble_data): And here.  Change `addr_offset',
1049         `stop_offset', `nextstop_offset' to unsigned long.
1050         (dump_data): Change opb to unsigned.
1051
1052 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1053
1054         * resrc.c: Remove unmatched #if for cygwin.
1055
1056 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1057
1058         * binutils.texi: Document the change of flavor name from atpcs-special
1059         to special-atpcs to prevent name conflict in gdb.
1060
1061 2000-02-08  Timothy Wall  <twall@redhat.com>
1062
1063         * objdump.c (show_line): Fix bug preventing printing of the very
1064         first line (line zero) of a file when interlisting source and
1065         assembly.  Added option to print entire context from start of file
1066         when the first line from that file is encountered.
1067
1068 2000-02-03  Timothy Wall <twall@redhat.com>
1069
1070         * objdump.c (dump_section_header, find_symbol_for_address,
1071         show_line, disassemble_bytes, disassemble_data, dump_data):
1072         distinguish between octets and bytes.
1073
1074 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1075
1076         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1077         check to unresolved symbols.
1078         (print_symbol_info_sysv):  Ditto.
1079         (print_symbol_info_posix):  Ditto.
1080
1081         * binutils.texi: Document new 'V' symclass flag for nm.
1082
1083 2000-01-27  Nick Clifton  <nickc@redhat.com>
1084
1085         * binutils.texi (objdump): Document new ARM specific
1086         disassembler options.
1087
1088         * objdump.c (usage): Call disassembler_usage().
1089
1090 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1091
1092         * readelf.c (get_dynamic_flags): Return buff.
1093         (process_dynamic_segment): Don't pass error strings to printf
1094         as format arg.
1095         (read_and_display_attr): Use lx and ld to print longs.
1096         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1097         before printing.
1098         Update copyright.
1099
1100 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1101
1102         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1103
1104 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1105
1106         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1107         false.
1108         (debug_tag_type): Here too.
1109         * ieee.c (ieee_builtin_type): And here.
1110         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1111
1112 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1113
1114         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1115         System/370".
1116
1117 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1118
1119         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1120
1121 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1122
1123         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1124
1125 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1126
1127         * windres.c (long_options): Add --use-temp-file and
1128         --no-use-temp-file options.
1129         (usage): Document.
1130         (main): Handle.
1131
1132         * windres.h: Update read_rc_file prototype.
1133
1134         * resrc.c (cpp_temp_file): New static variable.
1135         (istream_type): New static variable.
1136         (close_pipe): Delete function.
1137         (run_cmd): New static function.
1138         (open_input_stream): New static function.
1139         (close_input_stream): New static function.
1140         (look_for_default): Handle DOS directory separator. Use
1141         open_input_stream instead of popen.
1142         (read_rc_file): Likewise.
1143
1144         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1145         options.
1146
1147 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1148
1149         * dlltool.c (create_compat_implib): New variable.
1150         (gen_exp_file): Use.
1151         (make_one_lib_file): Use.
1152         (long_options): Add --compat-implib option.
1153         (usage): Handle.
1154         (main): Handle.
1155
1156         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1157         (main): Use. Don't look for "32" in cygwin and mingw target names.
1158
1159 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1160
1161         * binutils.texi: Document new, ARM specific disassembler
1162         command line switch "-M force-thumb".
1163
1164 For older changes see ChangeLog-9899
1165 \f
1166 Local Variables:
1167 mode: change-log
1168 left-margin: 8
1169 fill-column: 74
1170 version-control: never
1171 End: