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