* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
[external/binutils.git] / binutils / ChangeLog
1 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2
3         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
4
5 2001-08-21  H.J. Lu  <hjl@gnu.org>
6
7         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
8         (display_debug_info): Cast for 64bit hosts.
9         (display_debug_frames): Likewise.
10         (process_mips_specific): Likewise.
11
12 2001-08-21  Andreas Jaeger  <aj@suse.de>
13
14         * coffgrok.h: Add missing parameter for prototype of coff_grok.
15
16         * sysdump.c: Add missing prototypes.
17         * srconv.c: Likewise.
18         * unwind-ia64.c: Likewise.
19         * coffdump.c: Likewise.
20
21         * sysinfo.y: Print prototypes, include <ansidecl.h>.
22
23         * coffgrok.c: Add missing prototypes, include libiberty.h instead
24         of declaring xcalloc.
25
26 2001-08-10  H.J. Lu  <hjl@gnu.org>
27
28         * nm.c (print_value): Add one arg, bfd *.
29         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
30         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
31         (print_symbol_info_sysv): Likewise.
32         (print_symbol_info_posix): Likewise.
33
34         * objdump.c (dump_section_header): Replace printf_vma with
35         bfd_printf_vma.
36         (print_section_stabs): Likewise.
37         (dump_bfd_header): Likewise.
38         (objdump_print_value): Replace sprintf_vma with
39         bfd_sprintf_vma.
40         (disassemble_bytes): Likewise.
41         (dump_reloc_set): Likewise.
42
43 2001-08-10  Andreas Jaeger  <aj@suse.de>
44
45         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
46         to build warnings.
47         * configure: Regenerate.
48
49 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
50
51         * readelf.c: Add missing prototypes.
52         * objdump.c: Likewise.  Format existing prototypes.
53
54 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
55
56         * readelf.c (display_debug_info): Add to abbrev_offset the addend
57         of any RELA relocation for the abbrev_offset memory location that
58         refers to the .debug_abbrev section symbol.
59
60 2001-08-07  H.J. Lu  <hjl@gnu.org>
61
62         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
63         (main): Return process_file ().
64
65 2001-08-05  Philip Blundell  <philb@gnu.org>
66
67         * doc/binutils.texi: Use "Thumb" not "THUMB".
68
69 2001-08-03  John Healy  <jhealy@redhat.com>
70
71         Patch suggested by Frank Eigler <fche@redhat.com>.
72         * objdump.c (disassemble_data): Fill in section member of the
73         disasm_info structure.
74
75 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
76
77         * configure.in: Added --with-windres option.
78         * configure: Regenerated.
79
80 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
81
82         * doc/binutils.texi: Use @command{name} for commands;
83         use @option{-opt} for options; use @table @env for list of options;
84         remove spaces arround [ | ] in synopsis.
85
86         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
87         center title.
88
89 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
90
91         * objcopy.c: Fix formatting.
92         (section_rename): New structure.
93         (OPTION_RENAME_SECTION): New switch.
94         (copy_usage): Document new switch.
95         (add_section_rename): New function: Add a node to the section
96         rename list.
97         (find_section_rename): New function: Find the new name and
98         flags for a section.
99         (setup_section): Call find_section_name to determine the name
100         of the output section.
101         (copy_main): Handle OPTION_RENAME_SECTION.
102         * binutils.texi: Document new switch.
103         * NEWS: Mention new switch.
104
105 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
106
107         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
108         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
109         bug-binutils@gcc.org.
110
111 2001-07-28  Matthias Kramm  <kramm@quiss.org>
112
113         * bucomm.c (list_supported_architectures): New function.
114         * bucomm.h (list_supported_architectures): Declare.
115         * objdump.c (usage): Call the above.
116
117 2001-07-25  Dave Brolley  <brolley@redhat.com>
118
119         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
120         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
121
122 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
123
124         * README: Update for 2.11.  Change bug reporting email address.
125         * MAINTAINERS: Tidy up.  Change bug reporting email address.
126
127 2001-07-16  DJ Delorie  <dj@redhat.com>
128
129         * resres.c (write_res_header): Align header size.
130         (res_align_file): Calculate alignment correctly.
131
132         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
133         correct 10).
134         * resrc.c (write_rc_resource): Likewise.
135         * windres.h (SUBLANG_SHIFT): Define - as 10.
136
137 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
138
139         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
140
141 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
142
143         * MAINTAINERS: Add notes about branch checkins.
144
145 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
146
147         * readelf.c (display_debug_macinfo): New function, display
148         .debug_macinfo section.
149         (do_debug_macinfo): New variable.
150         (parse_args): Handle "-w[mM]" to mean display macro info.
151         (process_section_headers): Handle debug_macinfo.
152         (debug_displays): Replace unsupported function with macinfo
153         function for .debug_macinfo display.
154         * doc/binutils.texi: Document new command line switch.
155         * NEWS: Document new feature of readelf.
156
157 2001-07-05  H.J. Lu  <hjl@gnu.org>
158
159         * objcopy.c (filter_symbols): Don't turn undefined symbols
160         into local.
161
162 2001-07-03  H.J. Lu <hjl@gnu.org>
163
164         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
165         $@.pod.
166         (ar.1): Likewise.
167         (dlltool.1): Likewise.
168         (nlmconv.1): Likewise.
169         (nm.1): Likewise.
170         (objcopy.1): Likewise.
171         (objdump.1): Likewise.
172         (ranlib.1): Likewise.
173         (readelf.1): Likewise.
174         (size.1): Likewise.
175         (strings.1): Likewise.
176         (strip.1): Likewise.
177         (windres.1): Likewise.
178         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
179         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
180         $(DEMANGLER_NAME).
181         (as.1): Removed.
182         * doc/Makefile.in: Regenerated.
183
184 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
185
186         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
187
188 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
189
190         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
191
192 2001-06-29  James Cownie <jcownie@etnus.com>
193
194         * readelf.c: Support DWARF 2.1 attributes.
195
196 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
197
198         * readelf.c (GET_DATA_ALLOC): Remove.
199         (GET_DATA): Remove.
200         (get_data): New function combining above macros, with an extra
201         test for zero size.
202         (slurp_rela_relocs): Use get_data, and catch error return.
203         (slurp_rel_relocs): Likewise.
204         (get_32bit_program_headers): Likewise.
205         (get_64bit_program_headers): Likewise.
206         (get_32bit_section_headers): Likewise.
207         (get_64bit_section_headers): Likewise.
208         (get_32bit_elf_symbols): Likewise.
209         (get_64bit_elf_symbols): Likewise.
210         (process_section_headers): Likewise.
211         (process_relocs): Likewise.
212         (slurp_ia64_unwind_table): Likewise.
213         (process_unwind): Likewise.
214         (get_32bit_dynamic_segment): Likewise.
215         (get_64bit_dynamic_segment): Likewise.
216         (process_dynamic_segment): Likewise.
217         (process_version_sections): Likewise.
218         (process_symbol_table): Likewise.
219         (dump_section): Likewise.
220         (display_debug_info): Likewise.
221         (display_debug_section): Likewise.
222         (process_section_contents): Likewise.
223         (process_corefile_note_segment): Likewise.
224         (process_mips_specific): Likewise.  Also free econf32, econf64.
225
226 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
227
228         * readelf.c (dump_relocations): Print "bad symbol index" if
229         symtab == NULL with non-zero symtab_index.
230         (process_relocs): Don't bomb if reloc section has no symsec.
231
232 2001-06-24  H.J. Lu  <hjl@gnu.org>
233
234         * objcopy.c (strip_main): Revert the change made on 2001-05-30
235         by accident.
236         (copy_main): Apply the the change made to strip_main on
237         2001-05-30 by accident.
238
239 2001-06-23  Andreas Jaeger  <aj@suse.de>
240
241         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
242         parameter 'code'.
243         (unw_decode_x2): Likewise.
244         (unw_decode_x3): Likewise.
245         (unw_decode_x4): Likewise.
246
247 2001-06-23  Ben Elliston  <bje@redhat.com>
248
249         * MAINTAINERS: Add myself as M88k maintainer.
250
251 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
252
253         * objcopy.c (strip_main): Support -o or --output-file command lien
254         switch.
255
256 2001-06-19  H.J. Lu <hjl@gnu.org>
257
258         * doc/Makefile.in: Regenerated.
259
260 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
261
262         * readelf.c: Restore formatting.
263
264 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
265
266         * Makefile.am: Move documentation into doc subdirectory.
267         * Makefile.in: Regenerated.
268         * binutils.texi: Move into doc subdirectory.
269         * addr2line.1: Removed.
270         * ar.1: Likewise.
271         * dlltool.1: Likewise.
272         * nlmconv.1: Likewise.
273         * nm.1: Likewise.
274         * objcopy.1: Likewise.
275         * objdump.1: Likewise.
276         * ranlib.1: Likewise.
277         * readelf.1: Likewise.
278         * size.1: Likewise.
279         * strings.1: Likewise.
280         * strip.1: Likewise.
281         * windres.1: Likewise.
282         * cxxfilt.man: Likewise.
283         * doc: New Directory.
284         * doc/Makefile.am: New file.
285         * doc/Makefile.in: Generate.
286
287 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
288
289         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
290
291 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
292
293         * MAINTAINERS: Update my email address.
294
295 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
296
297         * objcopy.c: Add new switches: --keep-global-symbol,
298         --keep-symbols, --localize-symbols, --keep-global-symbols and
299         --weaken-symbols.
300         * binutils.texi: Document new switches.
301         * objcopy.1: Regenerate.
302         * NEWS: Announce new feature.
303
304 2001-05-28  Andreas Jaeger  <aj@suse.de>
305
306         * readelf.c (display_debug_frames): Fix warnings: Remove unused
307         variables, fix format strings.
308
309 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
310
311         * objdump.c (disassemble_bytes): Remove section VMA adjustment
312         when computing the address of the line to show.
313
314 2001-05-16  Richard Henderson  <rth@redhat.com>
315
316         * readelf.c (do_debug_frames_interp): New.
317         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
318         (byte_get_big_endian): Likewise.
319         (parse_args) ['F']: Set do_debug_frames_interp.
320         (Frame_Chunk): Make data_factor signed, add fde_encoding.
321         (frame_display_row): Don't trunc pc_begin to int.
322         (size_of_encoded_value): New.
323         (display_debug_frames): Handle 64-bit targets.  Print raw data
324         unless do_debug_frames_interp.
325         (debug_displays): Remove duplicate .debug_frame.
326
327 2001-05-15  Ralf Baechle  <ralf@gnu.org>
328
329         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
330         The former constant was never in active use and is used otherwise
331         by the ABI.
332
333 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
334
335         * readelf.c (process_unwind): Print all unwind sections, not just
336         one.
337
338 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
339
340         * readelf.c (process_unwind): Remove const specifier.
341
342 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
343
344         * strings.c (isgraphic): Do not use isascii() unless it is needed
345         for isprint() to work.
346         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
347
348 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
349
350         * NEWS: Announce support for OpenRISC.
351
352 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
353
354         * dlltool.c (do_default_excludes): Initialise to true.
355
356 2001-04-10  Alan Modra  <amodra@one.net.au>
357
358         * MAINTAINERS: Update my email address
359         * nm.c (print_symbol_info_bsd): Use a simple printf string.
360
361 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
362
363         * readelf.c (display_debug_lines): Fix typo for "Prologue".
364
365 2001-03-30  H.J. Lu  <hjl@gnu.org>
366
367         * readelf.c (process_unwind): Just return if do_unwind is 0.
368
369 2001-03-28  Roger Sayle  <roger@metaphorics.com>
370
371         * dlltool.c (make_one_lib_file): Fix section flags for
372         .text, .data and .bss in stub ds*.o files to match those
373         generated by gas.
374
375 2001-03-29  H.J. Lu  <hjl@gnu.org>
376
377         * readelf.c (process_unwind): Only do unwind sections for
378         IA64.
379
380 2001-03-28  H.J. Lu  <hjl@gnu.org>
381
382         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
383         * Makefile.in: Regenerate.
384
385 2001-03-26  Andreas Jaeger  <aj@suse.de>
386
387         * binutils.texi (nm): Fix texi syntax.
388
389 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
390
391         * binutils.texi: Put @c man begin and @c man end indications
392         to generate man pages using texi2pod and pod2man. Put @c man title
393         to identify each man. Add SEEALSO entries.
394         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
395         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
396         sort the list.
397         (*.1): Build the man pages from binutils.texi.
398         * Makefile.in: Regenerate.
399
400 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
401
402         * defparse.y (opt_equal_name): allow "." in name.
403         * dlltool.c (def_exports): Added ability to generate forwarded exports.
404         (gen_exp_file): Likewise.
405
406 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
407
408         * NEWS: Document addition of -B switch to objcopy.
409         * binutils.texi:  Document addition of -B switch to objcopy.
410         * objcopy.c: (copy_options): Add --binary-architecture.
411         (copy_usage): Document -B/--binary-architecture.
412         (copy_main): Support -B/--binary-architecture.  Set
413         bfd_external_binary_architecture.
414
415 2001-03-11  Andreas Jaeger  <aj@suse.de>
416
417         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
418         (dump_relocations): Likewise.
419         (get_machine_name): Likewise.
420
421 2001-02-28  Nick Clifton  <nickc@redhat.com>
422
423         * readelf.c: (struct unw_aux_info): Remove const modifier for
424         'strtab' field.
425         (process_unwind): Remove non-K&R compliant LHS type cast in call
426         to GET_DATA_ALLOC macro.
427
428 2001-02-28  Philip Blundell  <pb@futuretv.com>
429
430         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
431         ABI is in use; remove ambiguity between the "unknown" EABI and
432         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
433         renamed EF_xx constants.
434
435 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
436
437         * configure.in (BFD_VERSION): New.
438         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
439         * configure: Regenerate.
440         * Makefile.am: Run "make dep-am"
441         * Makefile.in: Regenerate.
442
443 2001-02-14  Nick Clifton  <nickc@redhat.com>
444
445         * MAINTAINERS: Add "Obvious Fix" rule.
446
447 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
448
449         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
450         literal concatenation.
451
452 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
453
454         * readelf.c (struct unw_aux_info): Remove const from the info member.
455         (process_unwind): Don't type-cast the third argument to the
456         GET_DATA_ALLOC macro.
457
458 2001-02-11  Nick Clifton  <nickc@redhat.com>
459
460         * readelf.c (dump_relocations): Free corrected allocated
461         array.
462         (process_unwind): Fix compile time warning.
463
464 2001-02-10  Nick Clifton  <nickc@redhat.com>
465
466         * binutils.texi: Document new --unwind option to readelf.
467
468 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
469
470         * readelf.c: Add linux target for S/390.
471
472 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
473
474         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
475         printf is a macro.
476
477 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
478
479         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
480         * aclocal.m4: Regenerate.
481         * configure: Regenerate.
482
483 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
484
485         * bucomm.c (bfd_target_vector): Change extern array to pointer.
486         * objdump.c (bfd_target_vector): Likewise.
487
488 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
489
490         * readelf.c (process_unwind): New function.
491         (slurp_ia64_unwind_table): Ditto.
492         (dump_ia64_unwind): Ditto.
493         (find_symbol_for_address): Ditto.
494         (slurp_rela_relocs): New function (split off from dump_relocations()).
495         (slurp_rel_relocs): Ditto.
496         (parse_args): Handle '-u' option.
497
498         * unwind-ia64.c: New file.
499         * unwind-ia64.h: New file.
500         * Makefile.am: Include unwind-ia64.c in readelf build.
501         * Makefile.in: Regenerate.
502         * po/binutils.pot: Regenerate.
503
504 2001-02-04  Philip Blundell  <philb@gnu.org>
505
506         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
507         * configure: Regenerate.
508
509 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
510
511         * ieee.c (ieee_add_bb11): Don't check for backslashes
512         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
513
514 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
515
516         * ieee.c: Update copyright.
517         (ieee_start_compilation_unit): Don't check for backslashes
518         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
519
520         * stabs.c: Update copyright. Include "filenames.h".
521         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
522
523 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
524
525         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
526         sections are present before using them.  Remove code duplication.
527         (process_symbol_table): Check if VERDEF or VERNEED sections are
528         present before using them.
529
530 2001-01-17  Nick Clifton  <nickc@redhat.com>
531
532         * objcopy.c (copy_object): Fail if attempting to convert the
533         endianness of the input object file.
534
535         * binutils.texi: Explain that objcopy cannot convert endianness.
536
537 2001-01-16  Nick Clifton  <nickc@redhat.com>
538
539         * readelf.c (string_table_length): New variable.
540         (SECTION_NAME): Catch out of range indices and missing section
541         pointers.
542         (process_section_headers): Delete useless local variable
543         string_table_offset.  Set the value of string_table_length
544         after loading the string table.
545         (process_mips_specific): Use SECTION_NAME macro.
546         (process_file): Set string_table_length to 0 when it is freed.
547
548 2001-01-12  Nick Clifton  <nickc@redhat.com>
549
550         * version.c (print_version): Update copyright date.
551
552 2001-01-11  Peter Targett  <peter.targett@arccores.com>
553
554         * readelf.c (dump_relocations): Include selection with EM_ARC.
555         (get_machine_name) Update name to "ARC".
556
557 2001-01-09  Nick Clifton  <nickc@redhat.com>
558
559         * Makefile.am: Add rule to build objdump.o from objdump.c and
560         using OBJDUMP_DEFS.
561         * Makefile.in: Regenerate.
562
563         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
564         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
565         -DDISASSEMBLER_NEEDS_RELOCS.
566         * configure: Regenerate.
567
568         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
569         is defined read in the relocs even if dump_reloc_info is
570         false.
571
572 2001-01-07  Philip Blundell  <philb@gnu.org>
573
574         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
575         `bug-binutils'.
576         * README: Likewise.
577
578 2000-12-19  Nick Clifton  <nickc@redhat.com>
579
580         * dlltool.c: Add missing support for arm-epoc-pe.
581         * configure.in: Add missing support for arm-epoc-pe.
582         * configure: Regenerate.
583
584 2000-12-15  Nick Clifton  <nickc@redhat.com>
585
586         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
587         Mode parts of the x86 port.
588
589 2000-12-04  Andreas Jaeger  <aj@suse.de>
590
591         * readelf.c (guess_is_rela): Add EM_X86_64.
592         (dump_relocations): Add EM_X86_64.
593         (get_machine_name): Add EM_X86_64.
594         Include "elf/x86-64.h".
595
596 2000-12-12  Nick Clifton  <nickc@redhat.com>
597
598         * readelf.c: Fix formatting.
599
600 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
601
602         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
603
604 2000-12-07  Andrew Haley  <aph@redhat.com>
605
606         * readelf.c (display_debug_frames): Only display columns that are
607         referenced by the frame debug info.
608
609 2000-12-05  Nick Clifton  <nickc@redhat.com>
610
611         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
612
613 2000-12-04  Jason Merrill  <jason@redhat.com>
614
615         * readelf.c (process_section_headers): Handle linkonce.wi sections.
616         (display_debug_section): Likewise.
617         (display_debug_info): Display CU header before bailing.
618
619 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
620
621         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
622         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
623         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
624
625         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
626         and E_MIPS_ARCH_64.
627
628         * readelf.c (get_machine_flags): Add case for
629         E_MIPS_MACH_SB1.
630
631 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
632
633         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
634
635 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
636
637         * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
638         Change sourceware.cygnus.com to sources.redhat.com.
639         Fix typo for "amongst".
640
641 2000-11-28  Nick Clifton  <nickc@redhat.com>
642
643         * strip.1 (COPYING): Mention that the GNU Free Documentation
644         License is present in the sources, but not the output, and
645         also available from the GNU website.
646         (GNU Free Documentation License): Comment out this section.
647         * strings.1: Ditto.
648         * size.1: Ditto.
649         * ranlib.1: Ditto.
650         * objdump.1: Ditto.
651         * objcopy.1: Ditto.
652         * nm.1: Ditto.
653         * nlmconv.1: Ditto.
654         * ar.1: Ditto.
655         * addr2line.1: Ditto.
656
657 2000-11-27  DJ Delorie  <dj@redhat.com>
658
659         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
660         (parse_args): Support -wf option.
661         (process_section_headers): Ditto.
662         (debug_displays): Ditto.
663         (display_debug_frames): New, dump *_frame sections.
664         (frame_need_space): Support for above.
665         (frame_display_row): Ditto.
666         * binutils.texi: Document it.
667
668 2000-11-24  Nick Clifton  <nickc@redhat.com>
669
670         * NEWS: Announce support for v5t, v5te and XScale.
671
672 2000-11-22  Nick Clifton  <nickc@redhat.com>
673
674         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
675         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
676         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
677         (get_elf_section_flags: Add SHF_GROUP.
678         (process_section_headers): Adjust output for 32-bit binaries
679         to look nice on an 80 column terminal.
680
681 2000-11-20  H.J. Lu  <hjl@gnu.org>
682
683         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
684         ELFOSABI_AIX.
685
686 2000-11-17  Richard Henderson  <rth@redhat.com>
687
688         * readelf.c (display_debug_lines): Adjust last change to
689         use sizeof (external->li_length).
690
691 2000-11-17  Richard Henderson  <rth@redhat.com>
692
693         * readelf.c (display_debug_lines): Fix section length check
694         and end_of_sequence computation.
695
696 2000-11-06  Nick Clifton  <nickc@redhat.com>
697
698         * binutils.texi: Add GNU Free Documentation License.
699         * objcopy.1: Add GNU Free Documentation License.
700         * objdump.1: Add GNU Free Documentation License.
701         * addr2line.1: Add GNU Free Documentation License.
702         * ar.1: Add GNU Free Documentation License.
703         * nlmconv.1: Add GNU Free Documentation License.
704         * nm.1: Add GNU Free Documentation License.
705         * ranlib.1: Add GNU Free Documentation License.
706         * size.1: Add GNU Free Documentation License.
707         * strings.1: Add GNU Free Documentation License.
708         * strip.1: Add GNU Free Documentation License.
709
710 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
711
712         * objcopy.c (--srec-len=nn): New parameter to set the
713         maximum length of generated Srecords.
714         (--srec-forceS3): New parameter that restricts the generation of
715         Srecords to type S3 only.
716         * binutils.texi: Document new command line switches.
717         * objcopy.1: Docuemnt the new command line switches.
718         * NEWS: Announce the existence of the new command line switches.
719
720 2000-10-31  Nick Clifton  <nickc@redhat.com>
721
722         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
723         code.  Add Eric Chrisopher as maintainer of MN10300 port.
724
725 2000-10-12  Roger Sayle  <roger@metaphorics.com>
726
727         * Make comma after string after icon/control optional.
728
729 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
730
731         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
732
733         * NEWS: Mention support for MIPS32.
734
735 2000-09-08  Nick Clifton  <nickc@redhat.com>
736
737         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
738
739 2000-09-07  H.J. Lu  <hjl@gnu.org>
740
741         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
742         * configure: Rebuild.
743
744 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
745
746         * configure: Rebuilt with new libtool.m4.
747
748 2000-09-05  Nick Clifton  <nickc@redhat.com>
749
750         * aclocal.m4: Regenerate.
751         * config.in: Regenerate.
752         * configure: Regenerate.
753
754 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
755
756         * strip.1: Fix stray '\' in -o formatting.
757
758 2000-09-02  Nick Clifton  <nickc@redhat.com>
759
760         * configure.in: Increase version number to 2.10.91.
761         * configure: Regenerate.
762         * aclocal.m4: Regenerate.
763         * config.in: Regenerate.
764         * po/binutils.pot: Regenerate.
765
766 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
767
768         * acinclude.m4: Include libtool and gettext macros from the
769         top level.
770         * aclocal.m4, configure: Rebuilt.
771
772 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
773
774         * resrc.c (close_input_stream): Delete extraneous logic
775
776 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
777
778         * NEWS: Mention support for CRIS.
779
780 2000-08-21  Nick Clifton  <nickc@redhat.com>
781
782         * addr2line.c: Changed email address for Ulrich Lauther.
783
784 2000-08-17  Christopher C. Chimelis <chris@debian.org>
785
786         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
787
788 2000-08-17  Nick Clifton  <nickc@redhat.com>
789
790         * readelf.c (display_debug_pubnames): Only issue warning
791         message once.  Terminate message with a new line.
792         (display_debug_aranges): Only display version 2 debug info.
793
794 2000-08-14  Todd Vierling <tv@wasabisystems.com>
795
796         * objcopy.c (strip_main): Silently accept -d as an alias for -g
797         for compatability with old BSD systems.
798
799 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
800
801         * NEWS: Mention i860 support.
802
803 2000-08-11  Carlo Wood <carlo@alinoe.com>
804
805         * addr2line.c (main): Add const to char *.
806
807 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
808
809         * ar.c (main): Don't crash if called with no arguments
810         or only '-X32_64' as an argument.
811
812 2000-08-08  DJ Delorie  <dj@redhat.com>
813
814         * resrc.c: use "gcc -xc" instead of -xc-header
815
816 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
817
818         * readelf.c (elf/i860.h): Include.
819         (dump_relocations): Add recognition of i860 architecture.
820         (guess_is_rela): Add recognition of i860 architecture.
821
822 2000-08-03  Nick Clifton  <nickc@cygnus.com>
823
824         * MAINTAINERS: Add information about CGEN maintainers.
825
826 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
827
828         * nm.c (main): Ignore '-X32_64' as an option.
829         * ar.c (main): Likewise.
830         * binutils.texi (nm): Document new option.
831         (ar): Likewise.
832
833 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
834
835         * rdcoff.c (external_coff_symbol_p): K&R-ise.
836
837 2000-07-20  H.J. Lu  <hjl@gnu.org>
838
839         * binutils.texi: Put back "@end table" deleted by
840         accident.
841
842 2000-07-05  Kenneth Block  <krblock@computer.org>
843
844         * nm.c: Add optional style to demangle switch.
845         * objdump.c: Add optional style to demangle switch.
846         * addr2line.c: Add optional style to demangle switch.
847         * binutils.texi: Document optional style to demangle
848         switch.
849
850 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
851
852         * MAINTAINERS: Add self as CRIS port maintainer.
853         * readelf.c: Include elf/cris.h.
854         (guess_is_rela): Handle EM_CRIS.
855         (dump_relocations): Ditto.
856         (get_machine_name): Ditto.
857         * Makefile.am: Rebuild dependencies.
858         * Makefile.in: Regenerate.
859         * po/binutils.pot: Regenerate.
860
861 2000-07-19  H.J. Lu  <hjl@gnu.org>
862
863         * readelf.c (get_dynamic_type): Change "AUXILARY" to
864         "AUXILIARY".
865         (process_dynamic_segment): Print out strings for DT_CONFIG,
866         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
867
868 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
869
870         * nm.c (usage): Change output of `nm --help' to include a
871         description of the purpose of the program and a detailed
872         description of the accepted options.
873
874 2000-07-19  H.J. Lu  <hjl@gnu.org>
875
876         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
877         to DF_1_NODEFLIB.
878
879 2000-07-19  H.J. Lu  <hjl@gnu.org>
880
881         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
882
883 2000-07-19  H.J. Lu  <hjl@gnu.org>
884
885         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
886         DT_FEATURE.
887         (process_dynamic_segment): Likewise.
888
889         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
890         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
891         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
892         DF_1_NODUMP and DF_1_CONLFAT.
893
894 2000-07-18  Nick Clifton  <nickc@cygnus.com>
895
896         * binutils.texi (readelf): Fix spelling typo.
897
898 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
899
900         * objdump.c (usage): Make output of `objdump --help' more
901         consistent with the rest of the GNU world.  Add a line describing
902         the purpose of the program.
903
904 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
905
906         * stabs.c (parse_stab_range_type): Cast to proper type to fix
907         warning.
908
909 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
910
911         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
912         to fix warnings.
913         (process_symbol_table): Ditto.
914         (procesS_extended_line_op): Ditto.
915         (display_debug_lines): Ditto.
916         (display_debug_pubnames): Ditto.
917         (read_and_display_attr): Ditto.
918
919 2000-07-09  Nick Clifton  <nickc@cygnus.com>
920
921         * MAINTAINERS: Add several more port specific maintainers.
922
923 2000-07-05  Nick Clifton  <nickc@cygnus.com>
924
925         * MAINTAINERS: Add blanket write privs for Michael Meissner.
926
927 2000-06-05  DJ Delorie  <dj@redhat.com>
928
929         * MAINTAINERS: New.
930
931 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
932
933         * dllwrap.c: Changed mistaken dyn_string_append() calls
934         to dyn_string_append_cstr().
935
936 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
937
938         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
939         struct debug_type stores size in bytes.
940
941 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
942
943         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
944         (CLEANFILES): Add DEPA.
945         * Makefile.in: Regenerate.
946
947 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
948
949         * ar.c: Revert incorrect 2000-06-25 patch.
950         * bucomm.c: Likewise.
951
952 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
953
954         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
955         (external_coff_symbol_p): New function.
956         (parse_coff): Use it.
957
958 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
959
960         * ar.c (normalize): Advance past both characters in a DOS based
961         <letter>: filepath prefix.
962         (main): Likewise.
963         * bucomm.c (make_tempname): Likewise.
964
965 2000-06-24  Nick Clifton  <nickc@cygnus.com>
966
967         * objdump.c (usage): Fix description of --stabs switch.
968
969 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
970
971         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
972         find one.
973         * Makefile.in: Regenerate.
974
975 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
976
977         * ar.c (normalize): Correct pointer comparison when checking for
978         backslashes.
979         (main): Likewise.
980         * bucomm.c (make_tempname): Likewise.
981
982         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
983         and search for backslashes in the original pathname.
984         (ieee_add_bb11): Likewise.
985
986 2000-06-18  Nick Clifton  <nickc@redhat.com>
987
988         * ar.c (print_contents): Improve verbose message.
989
990 2000-06-15  H.J. Lu  <hjl@gnu.org>
991
992         * dyn-string.c: Removed. Not needed with dyn-string.c in
993         libiberty.
994         * dyn-string.h: Likewise.
995
996         * Makefile.am: Remove references to dyn-string.c and
997         dyn-string.h. Rebuild dependency.
998         * Makefile.in: Rebuild.
999
1000 2000-06-15  H.J. Lu  <hjl@gnu.org>
1001
1002         * binutils.texi: Put a warning on copying relocatable object
1003         files between two different formats.
1004
1005 2000-06-13  DJ Delorie  <dj@cygnus.com>
1006
1007         * rcparse.y (control): ICON controls take an id as the first
1008         parameter, not an optional string.  Also, call new convenience
1009         function that takes res_id's.
1010         * resrc.c (define_control): missing text means zero-length string,
1011         not zero ID.
1012         (define_icon_control): New.
1013         * windres.h: declare define_icon_control.
1014
1015 2000-06-13  H.J. Lu  <hjl@gnu.org>
1016
1017         * configure: Regenerate.
1018
1019 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1020
1021         * configure.in (VERSION): Update to show this is the CVS mainline.
1022
1023 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1024
1025         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1026         analogous to <SPACE>.
1027
1028 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1029
1030         * objdump.c (display_target_list): Use bfd_close_all_done, not
1031         bfd_close to fix crash caused by 2000-05-24 change.
1032
1033 2000-05-25  DJ Delorie  <dj@cygnus.com>
1034
1035         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1036
1037 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1038
1039         * Makefile.am: Update dependencies with "make dep-am"
1040         * Makefile.in: Regenerate.
1041
1042 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1043
1044         * ar.c: Include filenames.h.
1045         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1046         and drive letters in file names.
1047         (main): Support backslashes and drive letters in argv[0].  Drop
1048         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1049         FILENAME_CMP instead of strcmp to compare file names.
1050         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1051         DJGPP v2.
1052         (do_quick_append) [__GO32__]: Ditto.
1053         (get_pos_bfd, delete_members, move_members, replace_members):
1054         Compare file names with FILENAME_CMP.
1055
1056         * bucomm.c: Include filenames.h.
1057         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1058         forward/backward slashes and drive letters in file names.
1059
1060         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1061         mixed forward/backward slashes and drive letters in file names.
1062
1063         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1064         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1065         mode.
1066
1067         * objcopy.c: Include filenames.h.
1068         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1069         before comparing to "strip".
1070         Use FILENAME_CMP to compare file names.
1071
1072         * arsup.c: Include filenames.h.
1073         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1074         FILENAME_CMP to compare file names.
1075         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1076         the temporary file name.
1077
1078         * configure.in: Check for setmode.
1079         * configure: Regenerate.
1080
1081 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1082
1083         * objdump.c (display_target_list): Close the bfd.
1084         (display_info_table): Likewise.
1085
1086 2000-05-14  H.J. Lu  (hjl@gnu.org)
1087
1088         * objcopy.c (filter_symbols): Don't strip global symbols in
1089         relocatable object files.
1090
1091 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1092
1093         * size.c (usage): Associate short options with corresponding long
1094         option to give a clue as to their function.
1095
1096 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1097
1098         * size.c (main): Accept and ignore `-f' option.
1099
1100 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1101
1102         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1103         bindtextdomain): Replace defines with those from intl/libgettext.h
1104         to quieten gcc warnings.
1105
1106 2000-05-12  H.J. Lu  <hjl@gnu.org>
1107
1108         * nlmconv.c (temp_filename): Removed.
1109
1110         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1111         choose_temp_base ().
1112         * objdump.c (display_target_list): Likewise.
1113         (display_info_table): Likewise.
1114
1115 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1116
1117         * objcopy.c (setup_section): Add const and gettext calls for err.
1118
1119 2000-05-02  H.J. Lu  <hjl@gnu.org>
1120
1121         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1122         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1123         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1124         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1125         and ELFOSABI_OPENBSD.
1126
1127 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1128
1129         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1130         * srconv.c: Likewise.
1131         * sysdump.c: Likewise.
1132
1133 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
1134
1135         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1136         (get_machine_name): machine name for EM_AVR added.
1137
1138 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1139                           David Mosberger  <davidm@hpl.hp.com>
1140
1141         * Makefile.am (readelf.o): Add elf/ia64.h.
1142         * Makefile.in: Rebuild.
1143         * readelf.c: Include elf/ia64.h.
1144         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1145
1146 2000-04-17  Timothy Wall  <twall@cygnus.com>
1147
1148         * objdump.c (disassemble_data): Set octets per byte *after*
1149         resolving arch/mach for binary files.
1150
1151 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1152
1153         * arlex.l: Add directives to increase lex buffer size.
1154
1155         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1156         already included by bucomm.h.
1157
1158 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1159
1160         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1161         `strftime' since strftime is not available on all systems.
1162         (process_mips_specific): Ditto.
1163
1164 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1165
1166         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1167         --enable-build-warnings option.
1168         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1169         * Makefile.in, configure: Re-generate.
1170
1171 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1172
1173         * addr2line.c: Update copyright.
1174         * objcopy.1: Likewise, and title.
1175         * strings.1: Likewise.
1176
1177         * version.c (print_version): Add 2000.
1178
1179         * rddbg.c (read_section_stabs_debugging_info): Don't use
1180         bfd_size_type for strx to avoid printf problems if BFD64.
1181
1182         * bucomm.c: (report): Remove `static'.
1183         Move inclusion of stdarg.h/vararg.h from here.
1184         * bucomm.h: To here.
1185         (CONST): Change all occurences to const.
1186         (report): Declare it.
1187         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1188         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1189         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1190
1191         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1192         Correct a typo in an error message.
1193         (do_quick_append): Use non_fatal instead of fprintf.
1194         (move_members): Use fatal instead of fprintf, exit.
1195         * coffdump.c (main): Same here.
1196
1197         * dlltool.c (display): Delete.
1198         (warn): Delete.
1199         (inform): Use `report' instead of `display'.
1200         (rvaafter): Remove trailing \n from fatal error msg.
1201         (rvabefore): Ditto.
1202         (asm_prefix): Ditto.
1203         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1204         (def_name): Likewise.
1205         (run): Likewise.
1206         (scan_all_symbols): Likewise.
1207         (gen_lib_file): Likewise.
1208         (def_library): Likewise.  Remove extra program_name too.
1209         (run): Remove \n from inform strings.
1210         (scan_drectve_symbols): Likewise.
1211         (add_excludes): Likewise.
1212         (scan_open_obj_file): Likewise.
1213         (gen_exp_file): Likewise.
1214         (gen_lib_file): Likewise.
1215         (process_duplicates): Likewise.
1216
1217         * Makefile.am (dllwrap_SOURCES): Add version.c.
1218         * dllwrap.c (program_version): Delete.
1219         (print_version): Delete.
1220         (display): Always print trailing \n.
1221         (warn): New.
1222         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1223         (run): Here too.
1224         (main): And here.
1225         (usage): gettext'ify.
1226         (long_options): Add missing initialisers.
1227
1228         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1229         (select_output_format): Likewise.
1230         (powerpc_mangle_relocs): Likewise.
1231         (link_inputs): Likewise.
1232
1233         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1234         (set_output_format): Likewise.
1235         (main): Use non_fatal instead of fprintf.
1236         (display_rel_file): Likewise.
1237
1238         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1239         (slurp_dynamic_symtab): Same here.
1240         (disassemble_data): And here.
1241         (read_section_stabs): And here.
1242         (read_section_stabs): And here.
1243         (dump_bfd): And here.
1244         (main): And here.
1245         (objdump_sprintf): Use fatal instead of fprintf, exit.
1246         (disassemble_data): Same here.
1247
1248         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1249         (parse_coff_struct_type): Same here.
1250         (parse_coff_enum_type): And here.
1251         (parse_coff): And here.
1252         * rddbg.c (read_debugging_info): And here.
1253         * size.c (main): And here.
1254         * windres.c (format_from_name): And here.
1255         * wrstabs.c (stab_write_symbol): Here too.
1256         (write_stabs_in_sections_debugging_info): And here.
1257         (stab_int_type): And here.
1258         (stab_struct_field): And here.
1259         (stab_typdef): And here.
1260
1261         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1262         * srconv.c (main): Same here.
1263         * strings.c (main): And here.
1264         (integer_arg): And here.
1265         * sysdump.c (main): And here.
1266
1267 2000-04-06  Timothy Wall  <twall@cygnus.com>
1268
1269         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1270
1271 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1272
1273         * readelf.c (decode_location_expression): Loop through multiple
1274         operations.
1275         (read_and_display_attr): Pass in length.
1276
1277         * readelf.c (read_and_display_attr): Add CU offset to references.
1278         (display_debug_info): Pass it in.
1279
1280 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1281
1282         * readelf.c (decode_ARM_machine_flags): New function.
1283         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1284         targets.
1285
1286         (get_machine_name): Catch EM_AVR
1287
1288 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1289
1290         * binutils.texi: Remove optional `=' from long options that have
1291         an `=' in the argument.
1292         * objcopy.1: Here too.  Remove extra space on discard-all.
1293
1294         * binutils.texi (objcopy): Mention --redefine-sym.
1295         * objcopy.1: Here too.
1296         * NEWS: And here.
1297
1298         * objcopy.c (parse_flags): Split off flag names from error message
1299         gettext as they are not translated.
1300         (copy_main): Similarly split off option name for --add-section,
1301         --set-section-flags, --change-section-vma, --change-section-lma
1302         error messages.
1303         Some white space changes.
1304
1305         from Matthew Benjamin <matt@linuxbox.nu>
1306         * objcopy.c (struct redefine_node): New.
1307         (redefine_sym_list): New.
1308         (redefine_list_append): New.
1309         (lookup_sym_redefinition): New.
1310         (OPTION_REDEFINE_SYM): New.
1311         (copy_options): Add --redefine-sym option.
1312         (copy_usage): Mention it.
1313         (filter_symbols): Rename symbols on redefine_sym_list.
1314         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1315         (copy_main): Handle OPTION_REDEFINE_SYM.
1316
1317 2000-04-04  H.J. Lu  <hjl@gnu.org>
1318
1319         * readelf.c (process_symbol_table): Correctly read in symbol
1320         versioning information.
1321
1322 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1323
1324         * po/binutils.pot: Regenerate.
1325
1326         * addr2line.c (usage): Restore translated part of bug string.
1327         * ar.c (usage): Likewise.
1328         * nlmconv.c (show_usage): Likewise.
1329         * nm.c (usage): Likewise.
1330         * objcopy.c (copy_usage): Likewise.
1331         (strip_usage): Likewise.
1332         * objdump.c (usage): Likewise.
1333         * readelf.c (usage): Likewise.
1334         * size.c (usage): Likewise.
1335         * strings.c (usage): Likewise.
1336         * windres.c (usage): Likewise.
1337
1338         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1339         (DEP): Quote when passing vars to sub-make.  Add warning
1340         message to end.
1341         (DEP1): Rewrite for "gcc -MM".
1342         (CLEANFILES): Add DEP2.
1343         Update dependencies.
1344         * Makefile.in: Regenerate.
1345
1346 2000-04-04  H.J. Lu  <hjl@gnu.org>
1347
1348         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1349         (arparse.h): Depend on arparse.c
1350         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1351
1352 2000-04-03  H.J. Lu  (hjl@gnu.org)
1353
1354         * size.c (usage): Use REPORT_BUGS_TO.
1355
1356 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1357
1358         * bucomm.h: #include "bin-bugs.h"
1359         * addr2line.c (usage): Use REPORT_BUGS_TO.
1360         * ar.c (usage): Likewise.
1361         * nlmconv.c (show_usage): Likewise.
1362         * nm.c (usage): Likewise.
1363         (OPTION_TARGET): Define.
1364         (long_options): Use OPTION_TARGET rather than 200.
1365         (main): Likewise.
1366
1367         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1368         (strip_usage): Likewise.
1369         * objdump.c (usage): Likewise.
1370         * readelf.c (usage): Likewise.
1371         * strings.c (usage): Likewise.
1372         * windres.c (usage): Likewise.
1373
1374 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1375
1376         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1377
1378 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1379
1380         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1381         string offsets in corrupt stabs entries.
1382
1383 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1384
1385         * readelf.c: Include elf/avr.h
1386         (dump_relocations): Add EM_AVR case.
1387
1388 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1389
1390         * strings.1: Correct '-bytes' to '--bytes'.
1391
1392 2000-03-08  H.J. Lu  <hjl@gnu.org>
1393
1394         * Makefile.am (install-exec-local): Depend on
1395         install-binPROGRAMS for parallel make.
1396         * Makefile.in: Regenerated.
1397
1398 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1399
1400         From Brad Lucier <lucier@math.purdue.edu>:
1401         * readelf.c (process_dynamic_segment): Add cast to make sure
1402         argument to %* is int.
1403
1404 2000-02-25  H.J. Lu  <hjl@gnu.org>
1405
1406         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1407
1408 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1409
1410         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1411         * configure: Regenerate.
1412
1413         * dlltool.c: Add support for sh-pe and mips-pe targets.
1414         * rescoff.c: Add support for sh-pe and mips-pe targets.
1415
1416 2000-02-23  H.J. Lu  <hjl@gnu.org>
1417
1418         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1419
1420 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1421
1422         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1423
1424 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1425
1426         From Brad Lucier <lucier@math.purdue.edu>:
1427         * readelf.c (process_version_sections): Add casts to make sure
1428         argument to %* is an int.
1429         (process_mips_specific): Add casts to make printf arguments match
1430         format.
1431
1432 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1433
1434         * objdump.c (dump_section_header): Change `opb' to unsigned.
1435         (find_symbol_for_address): Same here.
1436         (disassemble_data): And here.  Change `addr_offset',
1437         `stop_offset', `nextstop_offset' to unsigned long.
1438         (dump_data): Change opb to unsigned.
1439
1440 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1441
1442         * resrc.c: Remove unmatched #if for cygwin.
1443
1444 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1445
1446         * binutils.texi: Document the change of flavor name from atpcs-special
1447         to special-atpcs to prevent name conflict in gdb.
1448
1449 2000-02-08  Timothy Wall  <twall@redhat.com>
1450
1451         * objdump.c (show_line): Fix bug preventing printing of the very
1452         first line (line zero) of a file when interlisting source and
1453         assembly.  Added option to print entire context from start of file
1454         when the first line from that file is encountered.
1455
1456 2000-02-03  Timothy Wall <twall@redhat.com>
1457
1458         * objdump.c (dump_section_header, find_symbol_for_address,
1459         show_line, disassemble_bytes, disassemble_data, dump_data):
1460         distinguish between octets and bytes.
1461
1462 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1463
1464         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1465         check to unresolved symbols.
1466         (print_symbol_info_sysv):  Ditto.
1467         (print_symbol_info_posix):  Ditto.
1468
1469         * binutils.texi: Document new 'V' symclass flag for nm.
1470
1471 2000-01-27  Nick Clifton  <nickc@redhat.com>
1472
1473         * binutils.texi (objdump): Document new ARM specific
1474         disassembler options.
1475
1476         * objdump.c (usage): Call disassembler_usage().
1477
1478 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1479
1480         * readelf.c (get_dynamic_flags): Return buff.
1481         (process_dynamic_segment): Don't pass error strings to printf
1482         as format arg.
1483         (read_and_display_attr): Use lx and ld to print longs.
1484         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1485         before printing.
1486         Update copyright.
1487
1488 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1489
1490         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1491
1492 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1493
1494         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1495         false.
1496         (debug_tag_type): Here too.
1497         * ieee.c (ieee_builtin_type): And here.
1498         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1499
1500 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1501
1502         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1503         System/370".
1504
1505 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1506
1507         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1508
1509 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1510
1511         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1512
1513 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1514
1515         * windres.c (long_options): Add --use-temp-file and
1516         --no-use-temp-file options.
1517         (usage): Document.
1518         (main): Handle.
1519
1520         * windres.h: Update read_rc_file prototype.
1521
1522         * resrc.c (cpp_temp_file): New static variable.
1523         (istream_type): New static variable.
1524         (close_pipe): Delete function.
1525         (run_cmd): New static function.
1526         (open_input_stream): New static function.
1527         (close_input_stream): New static function.
1528         (look_for_default): Handle DOS directory separator. Use
1529         open_input_stream instead of popen.
1530         (read_rc_file): Likewise.
1531
1532         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1533         options.
1534
1535 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1536
1537         * dlltool.c (create_compat_implib): New variable.
1538         (gen_exp_file): Use.
1539         (make_one_lib_file): Use.
1540         (long_options): Add --compat-implib option.
1541         (usage): Handle.
1542         (main): Handle.
1543
1544         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1545         (main): Use. Don't look for "32" in cygwin and mingw target names.
1546
1547 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1548
1549         * binutils.texi: Document new, ARM specific disassembler
1550         command line switch "-M force-thumb".
1551
1552 For older changes see ChangeLog-9899
1553 \f
1554 Local Variables:
1555 mode: change-log
1556 left-margin: 8
1557 fill-column: 74
1558 version-control: never
1559 End: