OSDN Git Service

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