OSDN Git Service

Run "make dep-am"
[pf3gnuchains/pf3gnuchains4x.git] / binutils / ChangeLog
1 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
2
3         * Makefile.am: Run "make dep-am"
4         * Makefile.in: Regenerate.
5
6 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
7
8         * nm.c (print_value): Mark abfd unused.
9
10 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
11
12         * unwind-ia64.c (unw_decoder): Change second argument
13         to unsigned int, to match function prototypes.
14
15 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
16
17         * objdump.c: Include "getopt.h" after "bucomm.h" so that
18         __GNU_LIBRARY__ will be defined.
19         * size.c: Likewise.
20
21 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
22
23         * configure: Regenerated.
24
25 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
26
27         * doc/Makefile.am (install): Depend on install-info.
28         * doc/Makefile.in: Regenerate.
29
30 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
31
32         * objcopy.c (strip_usage): Document -d as an alias
33         --strip-debug.
34
35         * size.c (usage): Document [-t | --totals] options.
36         (long_options): Add --totals option.
37         (main): If the [-t | --totals] option is specified and
38         the output format is Berkeley-style, print the total
39         text, data, and bss sizes of all objects listed.
40         (print_berkeley_format): If the [-t | --totals] option
41         is specified, track the total text, data, and bss
42         sizes.
43         * doc/binutils.texi (size): Document [-t | --totals] options.
44         (strip): Document -d as an alias for --strip-debug.
45         * NEWS: Mention new feature of size.
46
47 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
48
49         * po/fr.po: Updated version.
50         * po/es.po: Updated version.
51
52 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
53
54         * addr2line.c (usage): Update text to provide verbose
55         description of the command line options.
56         * ar.c (usage): Update text to provide verbose
57         description of the command line options.
58         (main): Accept -h and -H when running as ranlib.
59         * coffdump.c (show_usage): Update text to provide verbose
60         description of the command line options.
61         * dlltool.c (main): Accept -H as an alias for --help.
62         * nlmconv.c (show_usage): Update text to provide verbose
63         description of the command line options.
64         * nm.c (usage): Replace OPTIONS with option(s).
65         (main): Accept -H as an alias for --help.
66         * objcopy.c (strip_main): Accept -H as an alias for --help.
67         * objdump.c (main): Accept -v as an alias for --verbose.
68         * readelf.c (usage): Adjust format to match style used in
69         other binutils.
70         * size.c (usage): Update text to provide verbose description
71         of the command line options.
72         (main): Accept -v, -h and -H as command line options.
73         * srconv.c (show_usage): Update text to provide verbose
74         description of the command line options.
75         * strings.c (main): Accept -H and -v as command line options.
76         (usage): Update text to provide verbose description of the
77         command line options.
78         * sysdump.c (show_usage): Update text to provide verbose
79         description of the command line options.
80         * windres.c (usage): Adjust format to match style used in
81         other binutils.
82
83         * coffdump.c: Fix formatting.
84         * nlmconv.c: Fix formatting.
85         * srconv.c: Fix formatting.
86         * sysdump.c: Fix formatting.
87
88 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
89
90         * Makefile.am: Run "make dep-am".
91         * Makefile.in: Regenerate.
92
93 2002-01-18  Andreas Jaeger  <aj@suse.de>
94
95         * version.c (print_version): Update year.
96
97 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
98
99         * readelf.c (get_machine_name): Handle EM_PPC64.
100         (guess_is_rela): Here too.
101
102 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
103
104         * po/binutils.pot: Regenerate.
105         * po/fr.po: Regenerate.
106         * po/tr.po: Regenerate.
107
108 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
109
110         * po/tr.po: Import new version.
111
112 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
113
114         * readelf.c (get_ppc64_dynamic_type): New.
115         (get_dynamic_type): Call it.
116
117 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
118
119         * objcopy.c (copy_usage): Use "options" instead of "switches".
120         (strip_usage): Use "options" instead of "switches".
121         * doc/binutils.texi (dlltool):  Refer to "options" instead of
122         "switches".
123
124 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
125
126         * MAINTAINERS: Add self as co-maintainer for the ARM code.
127
128 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
129
130         * po/es.po: Import from translation project.
131         * configure.in (ALL_LINGUAS): Add es.
132         * configure: Regenerate.
133
134 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
135
136         * readelf.c (get_netbsd_elfcore_note_type): Use
137         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
138
139 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
140
141         * readelf.c: Update copyright years.
142         (get_note_type): Return a const char *.
143         (get_netbsd_elfcore_note_type): New function.
144         (process_note): Use get_netbsd_elfcore_note_type to get
145         the note type string for NetBSD ELF core files.
146
147 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
148
149         * readelf.c (get_ia64_segment_type): Add support for macros.
150         (get_segment_type): Add support for IA64 specific macros.
151
152 2001-12-20  Julian v. Bock  <julian@wongr.net>
153
154         * readelf.c (print_symbol): New function: Print a formatted symbol
155         name.  If --wide is specified do not truncate it.
156         (dump_relocations): Use print_symbol() to print symbol names.
157         (process_symbol_table): Likewise.
158         (process_syminfo): Likewise.
159         (process_mips_specific): Likewise.
160         (usage): Document new feature of --wide switch.
161         * doc/binutils.texi (objdump): Document additional behaviour of
162         --wide.
163
164 2001-12-18  Michael Snyder  <msnyder@redhat.com>
165
166         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
167         (copy_object): Don't set the start address or flags of a core file.
168         (copy_section): Don't relocate a core file.  Don't copy contents
169         if the input section has the contents flag set, but the output
170         section does not (which happens with the fake 'note' pseudo-
171         sections that BFD creates for corefiles).
172
173 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
174
175         * readelf.c (get_machine_flags): Recognize header flags for ABI and
176         ASE extensions. More robust code for ISA checking. Ignore empty fields
177         in header flags for GNU extensions.
178
179 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
180
181         * objcopy.c (copy_archive): Set output bfd format outside the loop.
182
183 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
184
185         * po/ja.po: Import from translation project.
186         * configure.in (ALL_LINGUAS): Add ja.
187         * configure: Regenerate.
188
189 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
190
191         * addr2line.c (main): Protoype.
192         * ar.c (main): Protoype.
193         * nm.c (main): Protoype.
194         * objcopy.c (main): Protoype.
195         * objdump.c (main): Protoype.
196         * size.c (main): Protoype.
197         * strings.c (main): Protoype.
198
199 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
200
201         * readelf.c (symtab_shndx_hdr): New global.
202         (SECTION_HEADER_INDEX): Define.
203         (SECTION_HEADER_NUM): Define.
204         (SECTION_HEADER): Define.
205         (GET_ELF_SYMBOLS): Pass two params rather than three.
206         (get_32bit_elf_symbols): Take file and section args.  Read and
207         use SHT_SYMTAB_SHNDX.
208         (get_64bit_elf_symbols): Likewise.
209         (dump_relocations): Use SECTION_HEADER to index "section_headers".
210         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
211         Remember symtab_shdx_hdr.
212         (process_program_headers): Scan from index 1 for segment map.
213         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
214         "section_headers".
215         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
216         (process_unwind): Likewise.
217         (process_version_sections): Likewise.
218         (process_symbol_table): Likewise.
219         (display_debug_info): Likewise.
220         (process_dynamic_segment): Fake up a symtab section for changed
221         GET_ELF_SYMBOLS.
222         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
223         (process_program_headers): Kill signed/unsigned warning.
224         (load_debug_str): Likewise.
225         (display_debug_info): Likewise.
226
227 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
228
229         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
230
231 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
232
233         * readelf.c (process_file_header): Print extended e_shnum and
234         e_shdtrndx values.  Set elf_header values for same.
235         (get_32bit_section_headers): Add "num" arg to read "num" headers.
236         (get_64bit_section_headers): Likewise.
237         (process_section_headers): Update calls.
238         (get_file_header): Call get_32bit_section_headers or 64bit variant.
239
240 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
241
242         * objcopy.c (setup_section): Copy entsize.
243
244 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
245
246         * readelf.c (guess_is_rela): Add support for stormy16.
247         (dump_relocations): Likewise.
248         (get_machine_name): Likewise.
249
250 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
251
252         * dllwrap.c (main) Replace multiple strings describing a
253         single error with a single, newline escaped sentence to permit
254         better translation into foreign languages.
255
256         * readelf.c (get_elf_class): Remove internalionalisation of ELF
257         class names.
258
259 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
260
261         * strings.c (get_char): Initialize value.
262
263 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
264
265         * arlex.l: Silence compile warnings.
266         * arsup.h: Likewise. Fix formatting.
267
268 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
269
270         * strings.c: Include config.h before bfd.h.
271         (file_off): New type.
272         (file_open): Define.
273         (print_strings): Use file_off instead of file_ptr.  Print addresses
274         which don't fit into long correctly.
275         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
276         available.
277         (strings_file): Use file_off instead of file_ptr.  Use file_open.
278         * configure.in: Check for getc_unlocked.
279         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
280         be defined for it.
281         * configure: Rebuilt.
282         * config.h.in: Rebuilt.
283
284 2001-11-29  H.J. Lu <hjl@gnu.org>
285
286         * bucomm.c (make_tempname): Revert the changes made on
287         2001-11-14 and 2001-11-12. They won't work with directories.
288
289 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
290
291         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
292         CFLAGS_FOR_TARGET to runtest in environment.
293         * Makefile.in: Rebuild.
294         * doc/Makefile.in: Rebuild.
295
296 2001-11-28  Mike Stump  <mrs@wrs.com>
297
298         * objcopy.c (setup_section): Preserve SEC_RELOC when
299         --set-section-flags is used.
300
301 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
302
303         * readelf.c (do_debug_str): New variable.
304         (display_debug_str): New function: Display the contents of a
305         .debug_str section.
306         (load_debug_str): New function: Load in the contents of a
307         .debug_str section.
308         (free_debug_str): New function: Free the memory used by
309         load_debug_str().
310         (fetch_indirect_string): Retrieve a string from the .debug_str
311         section.
312         (usage): Add -ws.
313         (parse_args): Accept -ws.
314         (process_section_headers): Allow the display of the .debug_str
315         section.
316         (read_and_display_attr_value): Use fetch_indirect_string.  Show
317         offset into .debug_str section.
318         (display_debug_info): Use load_debug_str and free_debug_str.
319         (debug_displays): Add .debug_str.
320         * doc/binutils.texi: Document -ws.
321
322 2001-11-19  Andreas Jaeger  <aj@suse.de>
323
324         * testsuite/binutils-all/objdump.exp: Add x86-64.
325
326 2001-11-15  Andreas Schwab  <schwab@suse.de>
327
328         * readelf.c: Fix warnings without terminating newline.
329
330 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
331
332         * doc/binutils.texi (objdump): Document ppc -M options.
333
334 2001-11-14  Andreas Jaeger  <aj@suse.de>
335
336         * doc/binutils.texi (objdump): Fix description to use x86-64.
337
338 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
339
340         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
341         not all systems provide mkstemp.
342
343 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
344
345         * doc/binutils.texi (objdump): Document x86 -M options.
346
347 2001-11-13  Keith Walker <keith.walker@arm.com>
348
349         * readelf.c (read_and_display_attr_value): New function to
350         handle DW_FORM_indirect.
351         (read_and_display_attr): Use it.
352
353 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
354
355         * readelf.c (display_debug_lines): Deal with unknown standard
356         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
357         DW_LNS_set_isa.
358
359 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
360
361         * MAINTAINERS: Add self as tic54x maintainer.  This target
362         includes the IBM C54XDSP clone.
363
364 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
365
366         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
367
368 2001-11-09  Jeffrey A Law  (law@cygnus.com)
369
370         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
371         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
372         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
373         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
374         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
375         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
376         (unw_decode_b2, unw_decode_b3_b4): Likewise.
377
378         * readelf.c (get_elf_class): Fix ISO portability glitch.
379         (get_data_encoding, get_osabi_name, request_dump): Likewise.
380
381 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
382
383         * readelf.c (debug_str, debug_str_size): New.
384         (display_debug_abbrev): If no abbrevs were read, skip the CU.
385         Call free_abbrevs.
386         (read_and_display_addr): Handle DW_FORM_strp.
387         (display_debug_info): Read .debug_str section if present,
388         so that DW_FORM_strp can be handled.
389         Fix test for non-existant .debug_abbrev section.
390
391 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
392
393         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
394
395         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
396
397 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
398
399         * MAINTAINERS: Add self as s390/s390x maintainer.
400
401 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
402
403         * MAINTAINERS: Add self as PPC XCOFF maintainer.
404
405 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
406
407         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
408         * configure: Regernate.
409         * po/fr.po: New file.
410         * po/tr.po: New file.
411
412 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
413
414         * MAINTAINERS: Add self as MMIX port maintainer.
415         * readelf.c: Include elf/mmix.h.
416         (guess_is_rela): MMIX is RELA.
417         (dump_relocations): Handle MMIX relocations.
418         * Makefile.am: Regenerate dependencies.
419         * Makefile.in: Regenerate.
420
421 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
422
423         * readelf.c (parse_args): Handle multiple options to the -w
424         switch.
425
426 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
427
428         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
429         LOPROC, LOOS and LOUSER.
430
431 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
432
433         * MAINTAINERS: Update my email address.
434
435 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
436
437         * doc/Makefile.in: Regenerate.
438         * configure: Regenerate.
439
440 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
441
442         * readelf.c (display_debug_line, display_debug_pubnames,
443         display_debug_info, display_debug_frames): Detect and warn
444         about 64-bit format entries.
445         (display_debug_aranges): Reword 64-bit warning.
446         (debug_displays): Add .debug_pubtypes as a known, but not yet
447         supported, debug section.
448
449 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
450
451         * coffdump.c (PROGRAM_VERSION): Delete.
452         (main <'V'>): Call print_version.
453         * srconv.c: Likewise.
454         * sysdump.c: Likewise.
455         * version.c (program_version): Remove.
456         (print_version): Use BFD_VERSION_STRING.  Just print the current
457         year in copyright message.
458         * addr2line.c (program_version): Remove unused declaration.
459         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
460         place of BFD_VERSION.
461         * Makefile.am (Makefile): Depend on bfd/configure.in.
462         (cplus-dem.o): Depend on Makefile.
463         Run "make dep-am".
464         * Makefile.in: Regenerate.
465
466 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
467
468         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
469         format .debug_arange sections.
470         (main): Add missing prototype.
471
472 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
473
474         * Makefile.am: Update dependencies with "make dep-am".
475         * Makefile.in: Regenerate.
476
477 2001-09-28  Richard Henderson  <rth@redhat.com>
478
479         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
480
481 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
482
483         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
484         VA_CLOSE.
485         (non_fatal): Likewise.
486         * objdump.c (objdump_sprintf): Likewise.
487         * readelf.c (error): Likewise.
488         (warn): Likewise.
489
490 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
491
492         * readelf.c (do_wide): New.
493         (options): Add --wide.
494         (usage, parse_args): Likewise.
495         (process_program_headers): Put each segment on a single line if
496         --wide is given.
497         (process_section_headers): Put each section on a single line if
498         --wide is given.
499         * doc/binutils.texi: Document it.
500         * NEWS: Likewise.
501
502 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
503
504         * readelf.c (print_vma): Print 8 digits of low hex value.
505
506 2001-09-24  Andreas Jaeger  <aj@suse.de>
507
508         * nlmconv.c: Fix warnings about unused attributes and function
509         prototypes.
510
511         * strings.c: Add prototype for get_char.
512
513 2000-09-19  H.J. Lu  <hjl@gnu.org>
514
515         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
516         $(srcdir)/cxxfilt.man.
517         * doc/Makefile.in: Rebuild.
518
519 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
520
521         * objcopy.c (copy_main): Correct rename-section string parsing.
522         Consolidate new_name parsing, and error messages.
523
524 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
525
526         * addr2line.c: Don't include <ctype.h>.
527         (main): For gettext, also set the LC_CTYPE locate facet.
528         * ar.c (main): Likewise.
529         * coffdump.c (main): Likewise.
530         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
531         (main): For gettext, also set the LC_CTYPE locate facet.
532         Use ISALNUM instead of isalpha/isdigit.
533         * dllwrap.c: Don't include <ctype.h>.
534         (main): For gettext, also set the LC_CTYPE locate facet.
535         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
536         (main): For gettext, also set the LC_CTYPE locate facet.
537         Use TOUPPER instead of islower/toupper.
538         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
539         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
540         Use TOUPPER instead of islower/toupper.
541         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
542         * objcopy.c (main): Likewise.
543         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
544         (disassemble_bytes): Use ISPRINT instead of isprint.
545         (dump_section_stabs): Use ISDIGIT instead of isdigit.
546         (dump_data): Use ISPRINT instead of isprint.
547         (main): For gettext, also set the LC_CTYPE locate facet.
548         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
549         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
550         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
551         Use TOUPPER instead of islower/toupper.
552         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
553         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
554         (write_rc_accelerators): Use ISPRINT instead of isprint.
555         (write_rc_rcdata): Likewise.
556         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
557         * srconv.c (main): Likewise.
558         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
559         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
560         isdigit/isupper/islower.
561         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
562         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
563         stab_demangle_prefix, stab_demangle_qualified,
564         stab_demangle_template, stab_demangle_type,
565         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
566         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
567         (isgraphic): Use ISPRINT instead of isascii/isprint.
568         (main): Remove HAVE_LC_MESSAGES dependency.
569         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
570         (pbarray): Use ISPRINT instead of isprint.
571         (main): For gettext, also set the LC_CTYPE locate facet.
572         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
573         (format_from_filename): Use ISPRINT instead of isprint.
574         (main): For gettext, also set the LC_CTYPE locate facet.
575         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
576         (unicode_print): Use ISPRINT instead of isprint.
577         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
578         (stab_variable): Use ISDIGIT instead of isdigit.
579
580 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
581
582         * ar.c (print_contents): Cast args of bfd_seek to the right types.
583         Replace bfd_read call with call to bfd_bread.
584         (extract_file): Likewise.
585
586         * objdump.c (dump_section_header): Cast section->filepos to
587         unsigned long to suit printf format string.
588         * readelf.c (process_section_headers): Similarly for sh_offset.
589         (process_unwind): Likewise.
590
591 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
592
593         * strings.c (encoding, encoding_bytes): New variables.
594         (long_options): Add --encoding.
595         (main): Accept -e and --encoding.
596         (get_char): New function.  Read a, possibly wide, character from
597         the input stream.
598         (print_strings): Use get_char().
599         (usage): Document new command line option.
600         * doc/binutils.texi: Document new command line option.
601         * NEWS: Announce new command line option.
602
603 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
604
605         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
606         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
607         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
608         Removed EM_CYGNUS_ARC.
609
610 2001-09-04  Jeffrey A Law  (law@cygnus.com)
611
612         * readelf.c: Include elf/h8 for H8 series definitions.
613         (guess_is_rela): H8 series if RELA.
614         (dump_relocations): Handle H8 series relocations.
615
616 2001-08-31  Eric Christopher  <echristo@redhat.com>
617
618         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
619
620 2001-08-29  Peter Targett  <peter.targett@arccores.com>
621
622         * MAINTAINERS: Include ARC Maintainer.
623
624 2001-08-29  Ben Elliston  <bje@redhat.com>
625
626         * stabs.c (stab_demangle_template): Initialise s4.
627
628 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
629
630         * readelf.c (dump_relocations): Recognise EM_PPC64.
631
632 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
633
634         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
635
636 2001-08-25  H.J. Lu  <hjl@gnu.org>
637
638         * nm.c (print_width): New.
639         (display_rel_file): Set `print_width' according to
640         bfd_sprintf_vma.
641         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
642
643 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
644
645         * objcopy.c (use_alt_mach_code): New variable.
646         (OPTION_ALT_MACH_CODE): Define.
647         (copy_options): Added --alt-machine-code.
648         (copy_main): Handle it.
649         (copy_object): Switch to alternate machine code if requested.
650         * doc/binutils.texi: Document new option.
651         * NEWS: Likewise.
652
653 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
654
655         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
656
657 2001-08-21  H.J. Lu  <hjl@gnu.org>
658
659         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
660         (display_debug_info): Cast for 64bit hosts.
661         (display_debug_frames): Likewise.
662         (process_mips_specific): Likewise.
663
664 2001-08-21  Andreas Jaeger  <aj@suse.de>
665
666         * coffgrok.h: Add missing parameter for prototype of coff_grok.
667
668         * sysdump.c: Add missing prototypes.
669         * srconv.c: Likewise.
670         * unwind-ia64.c: Likewise.
671         * coffdump.c: Likewise.
672
673         * sysinfo.y: Print prototypes, include <ansidecl.h>.
674
675         * coffgrok.c: Add missing prototypes, include libiberty.h instead
676         of declaring xcalloc.
677
678 2001-08-10  H.J. Lu  <hjl@gnu.org>
679
680         * nm.c (print_value): Add one arg, bfd *.
681         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
682         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
683         (print_symbol_info_sysv): Likewise.
684         (print_symbol_info_posix): Likewise.
685
686         * objdump.c (dump_section_header): Replace printf_vma with
687         bfd_printf_vma.
688         (print_section_stabs): Likewise.
689         (dump_bfd_header): Likewise.
690         (objdump_print_value): Replace sprintf_vma with
691         bfd_sprintf_vma.
692         (disassemble_bytes): Likewise.
693         (dump_reloc_set): Likewise.
694
695 2001-08-10  Andreas Jaeger  <aj@suse.de>
696
697         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
698         to build warnings.
699         * configure: Regenerate.
700
701 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
702
703         * readelf.c: Add missing prototypes.
704         * objdump.c: Likewise.  Format existing prototypes.
705
706 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
707
708         * readelf.c (display_debug_info): Add to abbrev_offset the addend
709         of any RELA relocation for the abbrev_offset memory location that
710         refers to the .debug_abbrev section symbol.
711
712 2001-08-07  H.J. Lu  <hjl@gnu.org>
713
714         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
715         (main): Return process_file ().
716
717 2001-08-05  Philip Blundell  <philb@gnu.org>
718
719         * doc/binutils.texi: Use "Thumb" not "THUMB".
720
721 2001-08-03  John Healy  <jhealy@redhat.com>
722
723         Patch suggested by Frank Eigler <fche@redhat.com>.
724         * objdump.c (disassemble_data): Fill in section member of the
725         disasm_info structure.
726
727 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
728
729         * configure.in: Added --with-windres option.
730         * configure: Regenerated.
731
732 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
733
734         * doc/binutils.texi: Use @command{name} for commands;
735         use @option{-opt} for options; use @table @env for list of options;
736         remove spaces arround [ | ] in synopsis.
737
738         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
739         center title.
740
741 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
742
743         * objcopy.c: Fix formatting.
744         (section_rename): New structure.
745         (OPTION_RENAME_SECTION): New switch.
746         (copy_usage): Document new switch.
747         (add_section_rename): New function: Add a node to the section
748         rename list.
749         (find_section_rename): New function: Find the new name and
750         flags for a section.
751         (setup_section): Call find_section_name to determine the name
752         of the output section.
753         (copy_main): Handle OPTION_RENAME_SECTION.
754         * binutils.texi: Document new switch.
755         * NEWS: Mention new switch.
756
757 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
758
759         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
760         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
761         bug-binutils@gcc.org.
762
763 2001-07-28  Matthias Kramm  <kramm@quiss.org>
764
765         * bucomm.c (list_supported_architectures): New function.
766         * bucomm.h (list_supported_architectures): Declare.
767         * objdump.c (usage): Call the above.
768
769 2001-07-25  Dave Brolley  <brolley@redhat.com>
770
771         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
772         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
773
774 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
775
776         * README: Update for 2.11.  Change bug reporting email address.
777         * MAINTAINERS: Tidy up.  Change bug reporting email address.
778
779 2001-07-16  DJ Delorie  <dj@redhat.com>
780
781         * resres.c (write_res_header): Align header size.
782         (res_align_file): Calculate alignment correctly.
783
784         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
785         correct 10).
786         * resrc.c (write_rc_resource): Likewise.
787         * windres.h (SUBLANG_SHIFT): Define - as 10.
788
789 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
790
791         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
792
793 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
794
795         * MAINTAINERS: Add notes about branch checkins.
796
797 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
798
799         * readelf.c (display_debug_macinfo): New function, display
800         .debug_macinfo section.
801         (do_debug_macinfo): New variable.
802         (parse_args): Handle "-w[mM]" to mean display macro info.
803         (process_section_headers): Handle debug_macinfo.
804         (debug_displays): Replace unsupported function with macinfo
805         function for .debug_macinfo display.
806         * doc/binutils.texi: Document new command line switch.
807         * NEWS: Document new feature of readelf.
808
809 2001-07-05  H.J. Lu  <hjl@gnu.org>
810
811         * objcopy.c (filter_symbols): Don't turn undefined symbols
812         into local.
813
814 2001-07-03  H.J. Lu <hjl@gnu.org>
815
816         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
817         $@.pod.
818         (ar.1): Likewise.
819         (dlltool.1): Likewise.
820         (nlmconv.1): Likewise.
821         (nm.1): Likewise.
822         (objcopy.1): Likewise.
823         (objdump.1): Likewise.
824         (ranlib.1): Likewise.
825         (readelf.1): Likewise.
826         (size.1): Likewise.
827         (strings.1): Likewise.
828         (strip.1): Likewise.
829         (windres.1): Likewise.
830         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
831         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
832         $(DEMANGLER_NAME).
833         (as.1): Removed.
834         * doc/Makefile.in: Regenerated.
835
836 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
837
838         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
839
840 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
841
842         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
843
844 2001-06-29  James Cownie <jcownie@etnus.com>
845
846         * readelf.c: Support DWARF 2.1 attributes.
847
848 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
849
850         * readelf.c (GET_DATA_ALLOC): Remove.
851         (GET_DATA): Remove.
852         (get_data): New function combining above macros, with an extra
853         test for zero size.
854         (slurp_rela_relocs): Use get_data, and catch error return.
855         (slurp_rel_relocs): Likewise.
856         (get_32bit_program_headers): Likewise.
857         (get_64bit_program_headers): Likewise.
858         (get_32bit_section_headers): Likewise.
859         (get_64bit_section_headers): Likewise.
860         (get_32bit_elf_symbols): Likewise.
861         (get_64bit_elf_symbols): Likewise.
862         (process_section_headers): Likewise.
863         (process_relocs): Likewise.
864         (slurp_ia64_unwind_table): Likewise.
865         (process_unwind): Likewise.
866         (get_32bit_dynamic_segment): Likewise.
867         (get_64bit_dynamic_segment): Likewise.
868         (process_dynamic_segment): Likewise.
869         (process_version_sections): Likewise.
870         (process_symbol_table): Likewise.
871         (dump_section): Likewise.
872         (display_debug_info): Likewise.
873         (display_debug_section): Likewise.
874         (process_section_contents): Likewise.
875         (process_corefile_note_segment): Likewise.
876         (process_mips_specific): Likewise.  Also free econf32, econf64.
877
878 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
879
880         * readelf.c (dump_relocations): Print "bad symbol index" if
881         symtab == NULL with non-zero symtab_index.
882         (process_relocs): Don't bomb if reloc section has no symsec.
883
884 2001-06-24  H.J. Lu  <hjl@gnu.org>
885
886         * objcopy.c (strip_main): Revert the change made on 2001-05-30
887         by accident.
888         (copy_main): Apply the the change made to strip_main on
889         2001-05-30 by accident.
890
891 2001-06-23  Andreas Jaeger  <aj@suse.de>
892
893         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
894         parameter 'code'.
895         (unw_decode_x2): Likewise.
896         (unw_decode_x3): Likewise.
897         (unw_decode_x4): Likewise.
898
899 2001-06-23  Ben Elliston  <bje@redhat.com>
900
901         * MAINTAINERS: Add myself as M88k maintainer.
902
903 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
904
905         * objcopy.c (strip_main): Support -o or --output-file command lien
906         switch.
907
908 2001-06-19  H.J. Lu <hjl@gnu.org>
909
910         * doc/Makefile.in: Regenerated.
911
912 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
913
914         * readelf.c: Restore formatting.
915
916 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
917
918         * Makefile.am: Move documentation into doc subdirectory.
919         * Makefile.in: Regenerated.
920         * binutils.texi: Move into doc subdirectory.
921         * addr2line.1: Removed.
922         * ar.1: Likewise.
923         * dlltool.1: Likewise.
924         * nlmconv.1: Likewise.
925         * nm.1: Likewise.
926         * objcopy.1: Likewise.
927         * objdump.1: Likewise.
928         * ranlib.1: Likewise.
929         * readelf.1: Likewise.
930         * size.1: Likewise.
931         * strings.1: Likewise.
932         * strip.1: Likewise.
933         * windres.1: Likewise.
934         * cxxfilt.man: Likewise.
935         * doc: New Directory.
936         * doc/Makefile.am: New file.
937         * doc/Makefile.in: Generate.
938
939 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
940
941         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
942
943 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
944
945         * MAINTAINERS: Update my email address.
946
947 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
948
949         * objcopy.c: Add new switches: --keep-global-symbol,
950         --keep-symbols, --localize-symbols, --keep-global-symbols and
951         --weaken-symbols.
952         * binutils.texi: Document new switches.
953         * objcopy.1: Regenerate.
954         * NEWS: Announce new feature.
955
956 2001-05-28  Andreas Jaeger  <aj@suse.de>
957
958         * readelf.c (display_debug_frames): Fix warnings: Remove unused
959         variables, fix format strings.
960
961 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
962
963         * objdump.c (disassemble_bytes): Remove section VMA adjustment
964         when computing the address of the line to show.
965
966 2001-05-16  Richard Henderson  <rth@redhat.com>
967
968         * readelf.c (do_debug_frames_interp): New.
969         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
970         (byte_get_big_endian): Likewise.
971         (parse_args) ['F']: Set do_debug_frames_interp.
972         (Frame_Chunk): Make data_factor signed, add fde_encoding.
973         (frame_display_row): Don't trunc pc_begin to int.
974         (size_of_encoded_value): New.
975         (display_debug_frames): Handle 64-bit targets.  Print raw data
976         unless do_debug_frames_interp.
977         (debug_displays): Remove duplicate .debug_frame.
978
979 2001-05-15  Ralf Baechle  <ralf@gnu.org>
980
981         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
982         The former constant was never in active use and is used otherwise
983         by the ABI.
984
985 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
986
987         * readelf.c (process_unwind): Print all unwind sections, not just
988         one.
989
990 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
991
992         * readelf.c (process_unwind): Remove const specifier.
993
994 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
995
996         * strings.c (isgraphic): Do not use isascii() unless it is needed
997         for isprint() to work.
998         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
999
1000 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1001
1002         * NEWS: Announce support for OpenRISC.
1003
1004 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1005
1006         * dlltool.c (do_default_excludes): Initialise to true.
1007
1008 2001-04-10  Alan Modra  <amodra@one.net.au>
1009
1010         * MAINTAINERS: Update my email address
1011         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1012
1013 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1014
1015         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1016
1017 2001-03-30  H.J. Lu  <hjl@gnu.org>
1018
1019         * readelf.c (process_unwind): Just return if do_unwind is 0.
1020
1021 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1022
1023         * dlltool.c (make_one_lib_file): Fix section flags for
1024         .text, .data and .bss in stub ds*.o files to match those
1025         generated by gas.
1026
1027 2001-03-29  H.J. Lu  <hjl@gnu.org>
1028
1029         * readelf.c (process_unwind): Only do unwind sections for
1030         IA64.
1031
1032 2001-03-28  H.J. Lu  <hjl@gnu.org>
1033
1034         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1035         * Makefile.in: Regenerate.
1036
1037 2001-03-26  Andreas Jaeger  <aj@suse.de>
1038
1039         * binutils.texi (nm): Fix texi syntax.
1040
1041 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1042
1043         * binutils.texi: Put @c man begin and @c man end indications
1044         to generate man pages using texi2pod and pod2man. Put @c man title
1045         to identify each man. Add SEEALSO entries.
1046         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1047         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1048         sort the list.
1049         (*.1): Build the man pages from binutils.texi.
1050         * Makefile.in: Regenerate.
1051
1052 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1053
1054         * defparse.y (opt_equal_name): allow "." in name.
1055         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1056         (gen_exp_file): Likewise.
1057
1058 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1059
1060         * NEWS: Document addition of -B switch to objcopy.
1061         * binutils.texi:  Document addition of -B switch to objcopy.
1062         * objcopy.c: (copy_options): Add --binary-architecture.
1063         (copy_usage): Document -B/--binary-architecture.
1064         (copy_main): Support -B/--binary-architecture.  Set
1065         bfd_external_binary_architecture.
1066
1067 2001-03-11  Andreas Jaeger  <aj@suse.de>
1068
1069         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1070         (dump_relocations): Likewise.
1071         (get_machine_name): Likewise.
1072
1073 2001-02-28  Nick Clifton  <nickc@redhat.com>
1074
1075         * readelf.c: (struct unw_aux_info): Remove const modifier for
1076         'strtab' field.
1077         (process_unwind): Remove non-K&R compliant LHS type cast in call
1078         to GET_DATA_ALLOC macro.
1079
1080 2001-02-28  Philip Blundell  <pb@futuretv.com>
1081
1082         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1083         ABI is in use; remove ambiguity between the "unknown" EABI and
1084         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1085         renamed EF_xx constants.
1086
1087 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1088
1089         * configure.in (BFD_VERSION): New.
1090         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1091         * configure: Regenerate.
1092         * Makefile.am: Run "make dep-am"
1093         * Makefile.in: Regenerate.
1094
1095 2001-02-14  Nick Clifton  <nickc@redhat.com>
1096
1097         * MAINTAINERS: Add "Obvious Fix" rule.
1098
1099 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1100
1101         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1102         literal concatenation.
1103
1104 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1105
1106         * readelf.c (struct unw_aux_info): Remove const from the info member.
1107         (process_unwind): Don't type-cast the third argument to the
1108         GET_DATA_ALLOC macro.
1109
1110 2001-02-11  Nick Clifton  <nickc@redhat.com>
1111
1112         * readelf.c (dump_relocations): Free corrected allocated
1113         array.
1114         (process_unwind): Fix compile time warning.
1115
1116 2001-02-10  Nick Clifton  <nickc@redhat.com>
1117
1118         * binutils.texi: Document new --unwind option to readelf.
1119
1120 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1121
1122         * readelf.c: Add linux target for S/390.
1123
1124 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1125
1126         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1127         printf is a macro.
1128
1129 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1130
1131         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1132         * aclocal.m4: Regenerate.
1133         * configure: Regenerate.
1134
1135 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1136
1137         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1138         * objdump.c (bfd_target_vector): Likewise.
1139
1140 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1141
1142         * readelf.c (process_unwind): New function.
1143         (slurp_ia64_unwind_table): Ditto.
1144         (dump_ia64_unwind): Ditto.
1145         (find_symbol_for_address): Ditto.
1146         (slurp_rela_relocs): New function (split off from dump_relocations()).
1147         (slurp_rel_relocs): Ditto.
1148         (parse_args): Handle '-u' option.
1149
1150         * unwind-ia64.c: New file.
1151         * unwind-ia64.h: New file.
1152         * Makefile.am: Include unwind-ia64.c in readelf build.
1153         * Makefile.in: Regenerate.
1154         * po/binutils.pot: Regenerate.
1155
1156 2001-02-04  Philip Blundell  <philb@gnu.org>
1157
1158         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1159         * configure: Regenerate.
1160
1161 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1162
1163         * ieee.c (ieee_add_bb11): Don't check for backslashes
1164         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1165
1166 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1167
1168         * ieee.c: Update copyright.
1169         (ieee_start_compilation_unit): Don't check for backslashes
1170         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1171
1172         * stabs.c: Update copyright. Include "filenames.h".
1173         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1174
1175 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1176
1177         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1178         sections are present before using them.  Remove code duplication.
1179         (process_symbol_table): Check if VERDEF or VERNEED sections are
1180         present before using them.
1181
1182 2001-01-17  Nick Clifton  <nickc@redhat.com>
1183
1184         * objcopy.c (copy_object): Fail if attempting to convert the
1185         endianness of the input object file.
1186
1187         * binutils.texi: Explain that objcopy cannot convert endianness.
1188
1189 2001-01-16  Nick Clifton  <nickc@redhat.com>
1190
1191         * readelf.c (string_table_length): New variable.
1192         (SECTION_NAME): Catch out of range indices and missing section
1193         pointers.
1194         (process_section_headers): Delete useless local variable
1195         string_table_offset.  Set the value of string_table_length
1196         after loading the string table.
1197         (process_mips_specific): Use SECTION_NAME macro.
1198         (process_file): Set string_table_length to 0 when it is freed.
1199
1200 2001-01-12  Nick Clifton  <nickc@redhat.com>
1201
1202         * version.c (print_version): Update copyright date.
1203
1204 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1205
1206         * readelf.c (dump_relocations): Include selection with EM_ARC.
1207         (get_machine_name) Update name to "ARC".
1208
1209 2001-01-09  Nick Clifton  <nickc@redhat.com>
1210
1211         * Makefile.am: Add rule to build objdump.o from objdump.c and
1212         using OBJDUMP_DEFS.
1213         * Makefile.in: Regenerate.
1214
1215         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1216         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1217         -DDISASSEMBLER_NEEDS_RELOCS.
1218         * configure: Regenerate.
1219
1220         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1221         is defined read in the relocs even if dump_reloc_info is
1222         false.
1223
1224 2001-01-07  Philip Blundell  <philb@gnu.org>
1225
1226         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1227         `bug-binutils'.
1228         * README: Likewise.
1229
1230 2000-12-19  Nick Clifton  <nickc@redhat.com>
1231
1232         * dlltool.c: Add missing support for arm-epoc-pe.
1233         * configure.in: Add missing support for arm-epoc-pe.
1234         * configure: Regenerate.
1235
1236 2000-12-15  Nick Clifton  <nickc@redhat.com>
1237
1238         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1239         Mode parts of the x86 port.
1240
1241 2000-12-04  Andreas Jaeger  <aj@suse.de>
1242
1243         * readelf.c (guess_is_rela): Add EM_X86_64.
1244         (dump_relocations): Add EM_X86_64.
1245         (get_machine_name): Add EM_X86_64.
1246         Include "elf/x86-64.h".
1247
1248 2000-12-12  Nick Clifton  <nickc@redhat.com>
1249
1250         * readelf.c: Fix formatting.
1251
1252 2000-12-11  Jan Hubicka  <jh@suse.cz>
1253
1254         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1255
1256 2000-12-07  Andrew Haley  <aph@redhat.com>
1257
1258         * readelf.c (display_debug_frames): Only display columns that are
1259         referenced by the frame debug info.
1260
1261 2000-12-05  Nick Clifton  <nickc@redhat.com>
1262
1263         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1264
1265 2000-12-04  Jason Merrill  <jason@redhat.com>
1266
1267         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1268         (display_debug_section): Likewise.
1269         (display_debug_info): Display CU header before bailing.
1270
1271 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1272
1273         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1274         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1275         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1276
1277         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1278         and E_MIPS_ARCH_64.
1279
1280         * readelf.c (get_machine_flags): Add case for
1281         E_MIPS_MACH_SB1.
1282
1283 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1284
1285         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1286
1287 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1288
1289         * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
1290         Change sourceware.cygnus.com to sources.redhat.com.
1291         Fix typo for "amongst".
1292
1293 2000-11-28  Nick Clifton  <nickc@redhat.com>
1294
1295         * strip.1 (COPYING): Mention that the GNU Free Documentation
1296         License is present in the sources, but not the output, and
1297         also available from the GNU website.
1298         (GNU Free Documentation License): Comment out this section.
1299         * strings.1: Ditto.
1300         * size.1: Ditto.
1301         * ranlib.1: Ditto.
1302         * objdump.1: Ditto.
1303         * objcopy.1: Ditto.
1304         * nm.1: Ditto.
1305         * nlmconv.1: Ditto.
1306         * ar.1: Ditto.
1307         * addr2line.1: Ditto.
1308
1309 2000-11-27  DJ Delorie  <dj@redhat.com>
1310
1311         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1312         (parse_args): Support -wf option.
1313         (process_section_headers): Ditto.
1314         (debug_displays): Ditto.
1315         (display_debug_frames): New, dump *_frame sections.
1316         (frame_need_space): Support for above.
1317         (frame_display_row): Ditto.
1318         * binutils.texi: Document it.
1319
1320 2000-11-24  Nick Clifton  <nickc@redhat.com>
1321
1322         * NEWS: Announce support for v5t, v5te and XScale.
1323
1324 2000-11-22  Nick Clifton  <nickc@redhat.com>
1325
1326         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1327         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1328         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1329         (get_elf_section_flags: Add SHF_GROUP.
1330         (process_section_headers): Adjust output for 32-bit binaries
1331         to look nice on an 80 column terminal.
1332
1333 2000-11-20  H.J. Lu  <hjl@gnu.org>
1334
1335         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1336         ELFOSABI_AIX.
1337
1338 2000-11-17  Richard Henderson  <rth@redhat.com>
1339
1340         * readelf.c (display_debug_lines): Adjust last change to
1341         use sizeof (external->li_length).
1342
1343 2000-11-17  Richard Henderson  <rth@redhat.com>
1344
1345         * readelf.c (display_debug_lines): Fix section length check
1346         and end_of_sequence computation.
1347
1348 2000-11-06  Nick Clifton  <nickc@redhat.com>
1349
1350         * binutils.texi: Add GNU Free Documentation License.
1351         * objcopy.1: Add GNU Free Documentation License.
1352         * objdump.1: Add GNU Free Documentation License.
1353         * addr2line.1: Add GNU Free Documentation License.
1354         * ar.1: Add GNU Free Documentation License.
1355         * nlmconv.1: Add GNU Free Documentation License.
1356         * nm.1: Add GNU Free Documentation License.
1357         * ranlib.1: Add GNU Free Documentation License.
1358         * size.1: Add GNU Free Documentation License.
1359         * strings.1: Add GNU Free Documentation License.
1360         * strip.1: Add GNU Free Documentation License.
1361
1362 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1363
1364         * objcopy.c (--srec-len=nn): New parameter to set the
1365         maximum length of generated Srecords.
1366         (--srec-forceS3): New parameter that restricts the generation of
1367         Srecords to type S3 only.
1368         * binutils.texi: Document new command line switches.
1369         * objcopy.1: Docuemnt the new command line switches.
1370         * NEWS: Announce the existence of the new command line switches.
1371
1372 2000-10-31  Nick Clifton  <nickc@redhat.com>
1373
1374         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1375         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1376
1377 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1378
1379         * Make comma after string after icon/control optional.
1380
1381 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1382
1383         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1384
1385         * NEWS: Mention support for MIPS32.
1386
1387 2000-09-08  Nick Clifton  <nickc@redhat.com>
1388
1389         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1390
1391 2000-09-07  H.J. Lu  <hjl@gnu.org>
1392
1393         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1394         * configure: Rebuild.
1395
1396 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1397
1398         * configure: Rebuilt with new libtool.m4.
1399
1400 2000-09-05  Nick Clifton  <nickc@redhat.com>
1401
1402         * aclocal.m4: Regenerate.
1403         * config.in: Regenerate.
1404         * configure: Regenerate.
1405
1406 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1407
1408         * strip.1: Fix stray '\' in -o formatting.
1409
1410 2000-09-02  Nick Clifton  <nickc@redhat.com>
1411
1412         * configure.in: Increase version number to 2.10.91.
1413         * configure: Regenerate.
1414         * aclocal.m4: Regenerate.
1415         * config.in: Regenerate.
1416         * po/binutils.pot: Regenerate.
1417
1418 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1419
1420         * acinclude.m4: Include libtool and gettext macros from the
1421         top level.
1422         * aclocal.m4, configure: Rebuilt.
1423
1424 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1425
1426         * resrc.c (close_input_stream): Delete extraneous logic
1427
1428 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1429
1430         * NEWS: Mention support for CRIS.
1431
1432 2000-08-21  Nick Clifton  <nickc@redhat.com>
1433
1434         * addr2line.c: Changed email address for Ulrich Lauther.
1435
1436 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1437
1438         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1439
1440 2000-08-17  Nick Clifton  <nickc@redhat.com>
1441
1442         * readelf.c (display_debug_pubnames): Only issue warning
1443         message once.  Terminate message with a new line.
1444         (display_debug_aranges): Only display version 2 debug info.
1445
1446 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1447
1448         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1449         for compatability with old BSD systems.
1450
1451 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1452
1453         * NEWS: Mention i860 support.
1454
1455 2000-08-11  Carlo Wood <carlo@alinoe.com>
1456
1457         * addr2line.c (main): Add const to char *.
1458
1459 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1460
1461         * ar.c (main): Don't crash if called with no arguments
1462         or only '-X32_64' as an argument.
1463
1464 2000-08-08  DJ Delorie  <dj@redhat.com>
1465
1466         * resrc.c: use "gcc -xc" instead of -xc-header
1467
1468 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
1469
1470         * readelf.c (elf/i860.h): Include.
1471         (dump_relocations): Add recognition of i860 architecture.
1472         (guess_is_rela): Add recognition of i860 architecture.
1473
1474 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1475
1476         * MAINTAINERS: Add information about CGEN maintainers.
1477
1478 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
1479
1480         * nm.c (main): Ignore '-X32_64' as an option.
1481         * ar.c (main): Likewise.
1482         * binutils.texi (nm): Document new option.
1483         (ar): Likewise.
1484
1485 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1486
1487         * rdcoff.c (external_coff_symbol_p): K&R-ise.
1488
1489 2000-07-20  H.J. Lu  <hjl@gnu.org>
1490
1491         * binutils.texi: Put back "@end table" deleted by
1492         accident.
1493
1494 2000-07-05  Kenneth Block  <krblock@computer.org>
1495
1496         * nm.c: Add optional style to demangle switch.
1497         * objdump.c: Add optional style to demangle switch.
1498         * addr2line.c: Add optional style to demangle switch.
1499         * binutils.texi: Document optional style to demangle
1500         switch.
1501
1502 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1503
1504         * MAINTAINERS: Add self as CRIS port maintainer.
1505         * readelf.c: Include elf/cris.h.
1506         (guess_is_rela): Handle EM_CRIS.
1507         (dump_relocations): Ditto.
1508         (get_machine_name): Ditto.
1509         * Makefile.am: Rebuild dependencies.
1510         * Makefile.in: Regenerate.
1511         * po/binutils.pot: Regenerate.
1512
1513 2000-07-19  H.J. Lu  <hjl@gnu.org>
1514
1515         * readelf.c (get_dynamic_type): Change "AUXILARY" to
1516         "AUXILIARY".
1517         (process_dynamic_segment): Print out strings for DT_CONFIG,
1518         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1519
1520 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
1521
1522         * nm.c (usage): Change output of `nm --help' to include a
1523         description of the purpose of the program and a detailed
1524         description of the accepted options.
1525
1526 2000-07-19  H.J. Lu  <hjl@gnu.org>
1527
1528         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1529         to DF_1_NODEFLIB.
1530
1531 2000-07-19  H.J. Lu  <hjl@gnu.org>
1532
1533         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1534
1535 2000-07-19  H.J. Lu  <hjl@gnu.org>
1536
1537         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1538         DT_FEATURE.
1539         (process_dynamic_segment): Likewise.
1540
1541         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1542         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1543         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1544         DF_1_NODUMP and DF_1_CONLFAT.
1545
1546 2000-07-18  Nick Clifton  <nickc@cygnus.com>
1547
1548         * binutils.texi (readelf): Fix spelling typo.
1549
1550 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
1551
1552         * objdump.c (usage): Make output of `objdump --help' more
1553         consistent with the rest of the GNU world.  Add a line describing
1554         the purpose of the program.
1555
1556 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
1557
1558         * stabs.c (parse_stab_range_type): Cast to proper type to fix
1559         warning.
1560
1561 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
1562
1563         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1564         to fix warnings.
1565         (process_symbol_table): Ditto.
1566         (procesS_extended_line_op): Ditto.
1567         (display_debug_lines): Ditto.
1568         (display_debug_pubnames): Ditto.
1569         (read_and_display_attr): Ditto.
1570
1571 2000-07-09  Nick Clifton  <nickc@cygnus.com>
1572
1573         * MAINTAINERS: Add several more port specific maintainers.
1574
1575 2000-07-05  Nick Clifton  <nickc@cygnus.com>
1576
1577         * MAINTAINERS: Add blanket write privs for Michael Meissner.
1578
1579 2000-06-05  DJ Delorie  <dj@redhat.com>
1580
1581         * MAINTAINERS: New.
1582
1583 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1584
1585         * dllwrap.c: Changed mistaken dyn_string_append() calls
1586         to dyn_string_append_cstr().
1587
1588 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1589
1590         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1591         struct debug_type stores size in bytes.
1592
1593 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1594
1595         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1596         (CLEANFILES): Add DEPA.
1597         * Makefile.in: Regenerate.
1598
1599 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
1600
1601         * ar.c: Revert incorrect 2000-06-25 patch.
1602         * bucomm.c: Likewise.
1603
1604 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1605
1606         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1607         (external_coff_symbol_p): New function.
1608         (parse_coff): Use it.
1609
1610 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1611
1612         * ar.c (normalize): Advance past both characters in a DOS based
1613         <letter>: filepath prefix.
1614         (main): Likewise.
1615         * bucomm.c (make_tempname): Likewise.
1616
1617 2000-06-24  Nick Clifton  <nickc@cygnus.com>
1618
1619         * objdump.c (usage): Fix description of --stabs switch.
1620
1621 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1622
1623         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1624         find one.
1625         * Makefile.in: Regenerate.
1626
1627 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1628
1629         * ar.c (normalize): Correct pointer comparison when checking for
1630         backslashes.
1631         (main): Likewise.
1632         * bucomm.c (make_tempname): Likewise.
1633
1634         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1635         and search for backslashes in the original pathname.
1636         (ieee_add_bb11): Likewise.
1637
1638 2000-06-18  Nick Clifton  <nickc@redhat.com>
1639
1640         * ar.c (print_contents): Improve verbose message.
1641
1642 2000-06-15  H.J. Lu  <hjl@gnu.org>
1643
1644         * dyn-string.c: Removed. Not needed with dyn-string.c in
1645         libiberty.
1646         * dyn-string.h: Likewise.
1647
1648         * Makefile.am: Remove references to dyn-string.c and
1649         dyn-string.h. Rebuild dependency.
1650         * Makefile.in: Rebuild.
1651
1652 2000-06-15  H.J. Lu  <hjl@gnu.org>
1653
1654         * binutils.texi: Put a warning on copying relocatable object
1655         files between two different formats.
1656
1657 2000-06-13  DJ Delorie  <dj@cygnus.com>
1658
1659         * rcparse.y (control): ICON controls take an id as the first
1660         parameter, not an optional string.  Also, call new convenience
1661         function that takes res_id's.
1662         * resrc.c (define_control): missing text means zero-length string,
1663         not zero ID.
1664         (define_icon_control): New.
1665         * windres.h: declare define_icon_control.
1666
1667 2000-06-13  H.J. Lu  <hjl@gnu.org>
1668
1669         * configure: Regenerate.
1670
1671 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1672
1673         * configure.in (VERSION): Update to show this is the CVS mainline.
1674
1675 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1676
1677         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1678         analogous to <SPACE>.
1679
1680 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1681
1682         * objdump.c (display_target_list): Use bfd_close_all_done, not
1683         bfd_close to fix crash caused by 2000-05-24 change.
1684
1685 2000-05-25  DJ Delorie  <dj@cygnus.com>
1686
1687         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1688
1689 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1690
1691         * Makefile.am: Update dependencies with "make dep-am"
1692         * Makefile.in: Regenerate.
1693
1694 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1695
1696         * ar.c: Include filenames.h.
1697         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1698         and drive letters in file names.
1699         (main): Support backslashes and drive letters in argv[0].  Drop
1700         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1701         FILENAME_CMP instead of strcmp to compare file names.
1702         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1703         DJGPP v2.
1704         (do_quick_append) [__GO32__]: Ditto.
1705         (get_pos_bfd, delete_members, move_members, replace_members):
1706         Compare file names with FILENAME_CMP.
1707
1708         * bucomm.c: Include filenames.h.
1709         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1710         forward/backward slashes and drive letters in file names.
1711
1712         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1713         mixed forward/backward slashes and drive letters in file names.
1714
1715         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1716         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1717         mode.
1718
1719         * objcopy.c: Include filenames.h.
1720         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1721         before comparing to "strip".
1722         Use FILENAME_CMP to compare file names.
1723
1724         * arsup.c: Include filenames.h.
1725         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1726         FILENAME_CMP to compare file names.
1727         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1728         the temporary file name.
1729
1730         * configure.in: Check for setmode.
1731         * configure: Regenerate.
1732
1733 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1734
1735         * objdump.c (display_target_list): Close the bfd.
1736         (display_info_table): Likewise.
1737
1738 2000-05-14  H.J. Lu  (hjl@gnu.org)
1739
1740         * objcopy.c (filter_symbols): Don't strip global symbols in
1741         relocatable object files.
1742
1743 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1744
1745         * size.c (usage): Associate short options with corresponding long
1746         option to give a clue as to their function.
1747
1748 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1749
1750         * size.c (main): Accept and ignore `-f' option.
1751
1752 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1753
1754         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1755         bindtextdomain): Replace defines with those from intl/libgettext.h
1756         to quieten gcc warnings.
1757
1758 2000-05-12  H.J. Lu  <hjl@gnu.org>
1759
1760         * nlmconv.c (temp_filename): Removed.
1761
1762         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1763         choose_temp_base ().
1764         * objdump.c (display_target_list): Likewise.
1765         (display_info_table): Likewise.
1766
1767 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1768
1769         * objcopy.c (setup_section): Add const and gettext calls for err.
1770
1771 2000-05-02  H.J. Lu  <hjl@gnu.org>
1772
1773         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1774         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1775         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1776         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1777         and ELFOSABI_OPENBSD.
1778
1779 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1780
1781         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1782         * srconv.c: Likewise.
1783         * sysdump.c: Likewise.
1784
1785 2000-04-23  Denis Chertykov  <denisc@overta.ru>
1786
1787         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1788         (get_machine_name): machine name for EM_AVR added.
1789
1790 2000-04-21  Richard Henderson  <rth@cygnus.com>
1791             David Mosberger  <davidm@hpl.hp.com>
1792
1793         * Makefile.am (readelf.o): Add elf/ia64.h.
1794         * Makefile.in: Rebuild.
1795         * readelf.c: Include elf/ia64.h.
1796         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1797
1798 2000-04-17  Timothy Wall  <twall@cygnus.com>
1799
1800         * objdump.c (disassemble_data): Set octets per byte *after*
1801         resolving arch/mach for binary files.
1802
1803 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1804
1805         * arlex.l: Add directives to increase lex buffer size.
1806
1807         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1808         already included by bucomm.h.
1809
1810 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1811
1812         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1813         `strftime' since strftime is not available on all systems.
1814         (process_mips_specific): Ditto.
1815
1816 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
1817
1818         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1819         --enable-build-warnings option.
1820         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1821         * Makefile.in, configure: Re-generate.
1822
1823 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1824
1825         * addr2line.c: Update copyright.
1826         * objcopy.1: Likewise, and title.
1827         * strings.1: Likewise.
1828
1829         * version.c (print_version): Add 2000.
1830
1831         * rddbg.c (read_section_stabs_debugging_info): Don't use
1832         bfd_size_type for strx to avoid printf problems if BFD64.
1833
1834         * bucomm.c: (report): Remove `static'.
1835         Move inclusion of stdarg.h/vararg.h from here.
1836         * bucomm.h: To here.
1837         (CONST): Change all occurences to const.
1838         (report): Declare it.
1839         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1840         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1841         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1842
1843         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1844         Correct a typo in an error message.
1845         (do_quick_append): Use non_fatal instead of fprintf.
1846         (move_members): Use fatal instead of fprintf, exit.
1847         * coffdump.c (main): Same here.
1848
1849         * dlltool.c (display): Delete.
1850         (warn): Delete.
1851         (inform): Use `report' instead of `display'.
1852         (rvaafter): Remove trailing \n from fatal error msg.
1853         (rvabefore): Ditto.
1854         (asm_prefix): Ditto.
1855         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1856         (def_name): Likewise.
1857         (run): Likewise.
1858         (scan_all_symbols): Likewise.
1859         (gen_lib_file): Likewise.
1860         (def_library): Likewise.  Remove extra program_name too.
1861         (run): Remove \n from inform strings.
1862         (scan_drectve_symbols): Likewise.
1863         (add_excludes): Likewise.
1864         (scan_open_obj_file): Likewise.
1865         (gen_exp_file): Likewise.
1866         (gen_lib_file): Likewise.
1867         (process_duplicates): Likewise.
1868
1869         * Makefile.am (dllwrap_SOURCES): Add version.c.
1870         * dllwrap.c (program_version): Delete.
1871         (print_version): Delete.
1872         (display): Always print trailing \n.
1873         (warn): New.
1874         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1875         (run): Here too.
1876         (main): And here.
1877         (usage): gettext'ify.
1878         (long_options): Add missing initialisers.
1879
1880         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1881         (select_output_format): Likewise.
1882         (powerpc_mangle_relocs): Likewise.
1883         (link_inputs): Likewise.
1884
1885         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1886         (set_output_format): Likewise.
1887         (main): Use non_fatal instead of fprintf.
1888         (display_rel_file): Likewise.
1889
1890         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1891         (slurp_dynamic_symtab): Same here.
1892         (disassemble_data): And here.
1893         (read_section_stabs): And here.
1894         (read_section_stabs): And here.
1895         (dump_bfd): And here.
1896         (main): And here.
1897         (objdump_sprintf): Use fatal instead of fprintf, exit.
1898         (disassemble_data): Same here.
1899
1900         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1901         (parse_coff_struct_type): Same here.
1902         (parse_coff_enum_type): And here.
1903         (parse_coff): And here.
1904         * rddbg.c (read_debugging_info): And here.
1905         * size.c (main): And here.
1906         * windres.c (format_from_name): And here.
1907         * wrstabs.c (stab_write_symbol): Here too.
1908         (write_stabs_in_sections_debugging_info): And here.
1909         (stab_int_type): And here.
1910         (stab_struct_field): And here.
1911         (stab_typdef): And here.
1912
1913         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1914         * srconv.c (main): Same here.
1915         * strings.c (main): And here.
1916         (integer_arg): And here.
1917         * sysdump.c (main): And here.
1918
1919 2000-04-06  Timothy Wall  <twall@cygnus.com>
1920
1921         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1922
1923 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1924
1925         * readelf.c (decode_location_expression): Loop through multiple
1926         operations.
1927         (read_and_display_attr): Pass in length.
1928
1929         * readelf.c (read_and_display_attr): Add CU offset to references.
1930         (display_debug_info): Pass it in.
1931
1932 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1933
1934         * readelf.c (decode_ARM_machine_flags): New function.
1935         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1936         targets.
1937
1938         (get_machine_name): Catch EM_AVR
1939
1940 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1941
1942         * binutils.texi: Remove optional `=' from long options that have
1943         an `=' in the argument.
1944         * objcopy.1: Here too.  Remove extra space on discard-all.
1945
1946         * binutils.texi (objcopy): Mention --redefine-sym.
1947         * objcopy.1: Here too.
1948         * NEWS: And here.
1949
1950         * objcopy.c (parse_flags): Split off flag names from error message
1951         gettext as they are not translated.
1952         (copy_main): Similarly split off option name for --add-section,
1953         --set-section-flags, --change-section-vma, --change-section-lma
1954         error messages.
1955         Some white space changes.
1956
1957         from Matthew Benjamin <matt@linuxbox.nu>
1958         * objcopy.c (struct redefine_node): New.
1959         (redefine_sym_list): New.
1960         (redefine_list_append): New.
1961         (lookup_sym_redefinition): New.
1962         (OPTION_REDEFINE_SYM): New.
1963         (copy_options): Add --redefine-sym option.
1964         (copy_usage): Mention it.
1965         (filter_symbols): Rename symbols on redefine_sym_list.
1966         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1967         (copy_main): Handle OPTION_REDEFINE_SYM.
1968
1969 2000-04-04  H.J. Lu  <hjl@gnu.org>
1970
1971         * readelf.c (process_symbol_table): Correctly read in symbol
1972         versioning information.
1973
1974 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1975
1976         * po/binutils.pot: Regenerate.
1977
1978         * addr2line.c (usage): Restore translated part of bug string.
1979         * ar.c (usage): Likewise.
1980         * nlmconv.c (show_usage): Likewise.
1981         * nm.c (usage): Likewise.
1982         * objcopy.c (copy_usage): Likewise.
1983         (strip_usage): Likewise.
1984         * objdump.c (usage): Likewise.
1985         * readelf.c (usage): Likewise.
1986         * size.c (usage): Likewise.
1987         * strings.c (usage): Likewise.
1988         * windres.c (usage): Likewise.
1989
1990         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1991         (DEP): Quote when passing vars to sub-make.  Add warning
1992         message to end.
1993         (DEP1): Rewrite for "gcc -MM".
1994         (CLEANFILES): Add DEP2.
1995         Update dependencies.
1996         * Makefile.in: Regenerate.
1997
1998 2000-04-04  H.J. Lu  <hjl@gnu.org>
1999
2000         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2001         (arparse.h): Depend on arparse.c
2002         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2003
2004 2000-04-03  H.J. Lu  (hjl@gnu.org)
2005
2006         * size.c (usage): Use REPORT_BUGS_TO.
2007
2008 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2009
2010         * bucomm.h: #include "bin-bugs.h"
2011         * addr2line.c (usage): Use REPORT_BUGS_TO.
2012         * ar.c (usage): Likewise.
2013         * nlmconv.c (show_usage): Likewise.
2014         * nm.c (usage): Likewise.
2015         (OPTION_TARGET): Define.
2016         (long_options): Use OPTION_TARGET rather than 200.
2017         (main): Likewise.
2018
2019         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2020         (strip_usage): Likewise.
2021         * objdump.c (usage): Likewise.
2022         * readelf.c (usage): Likewise.
2023         * strings.c (usage): Likewise.
2024         * windres.c (usage): Likewise.
2025
2026 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2027
2028         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2029
2030 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2031
2032         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2033         string offsets in corrupt stabs entries.
2034
2035 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2036
2037         * readelf.c: Include elf/avr.h
2038         (dump_relocations): Add EM_AVR case.
2039
2040 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2041
2042         * strings.1: Correct '-bytes' to '--bytes'.
2043
2044 2000-03-08  H.J. Lu  <hjl@gnu.org>
2045
2046         * Makefile.am (install-exec-local): Depend on
2047         install-binPROGRAMS for parallel make.
2048         * Makefile.in: Regenerated.
2049
2050 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2051
2052         From Brad Lucier <lucier@math.purdue.edu>:
2053         * readelf.c (process_dynamic_segment): Add cast to make sure
2054         argument to %* is int.
2055
2056 2000-02-25  H.J. Lu  <hjl@gnu.org>
2057
2058         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2059
2060 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2061
2062         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2063         * configure: Regenerate.
2064
2065         * dlltool.c: Add support for sh-pe and mips-pe targets.
2066         * rescoff.c: Add support for sh-pe and mips-pe targets.
2067
2068 2000-02-23  H.J. Lu  <hjl@gnu.org>
2069
2070         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2071
2072 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2073
2074         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2075
2076 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2077
2078         From Brad Lucier <lucier@math.purdue.edu>:
2079         * readelf.c (process_version_sections): Add casts to make sure
2080         argument to %* is an int.
2081         (process_mips_specific): Add casts to make printf arguments match
2082         format.
2083
2084 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2085
2086         * objdump.c (dump_section_header): Change `opb' to unsigned.
2087         (find_symbol_for_address): Same here.
2088         (disassemble_data): And here.  Change `addr_offset',
2089         `stop_offset', `nextstop_offset' to unsigned long.
2090         (dump_data): Change opb to unsigned.
2091
2092 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2093
2094         * resrc.c: Remove unmatched #if for cygwin.
2095
2096 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2097
2098         * binutils.texi: Document the change of flavor name from atpcs-special
2099         to special-atpcs to prevent name conflict in gdb.
2100
2101 2000-02-08  Timothy Wall  <twall@redhat.com>
2102
2103         * objdump.c (show_line): Fix bug preventing printing of the very
2104         first line (line zero) of a file when interlisting source and
2105         assembly.  Added option to print entire context from start of file
2106         when the first line from that file is encountered.
2107
2108 2000-02-03  Timothy Wall <twall@redhat.com>
2109
2110         * objdump.c (dump_section_header, find_symbol_for_address,
2111         show_line, disassemble_bytes, disassemble_data, dump_data):
2112         distinguish between octets and bytes.
2113
2114 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2115
2116         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2117         check to unresolved symbols.
2118         (print_symbol_info_sysv):  Ditto.
2119         (print_symbol_info_posix):  Ditto.
2120
2121         * binutils.texi: Document new 'V' symclass flag for nm.
2122
2123 2000-01-27  Nick Clifton  <nickc@redhat.com>
2124
2125         * binutils.texi (objdump): Document new ARM specific
2126         disassembler options.
2127
2128         * objdump.c (usage): Call disassembler_usage().
2129
2130 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2131
2132         * readelf.c (get_dynamic_flags): Return buff.
2133         (process_dynamic_segment): Don't pass error strings to printf
2134         as format arg.
2135         (read_and_display_attr): Use lx and ld to print longs.
2136         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2137         before printing.
2138         Update copyright.
2139
2140 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2141
2142         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2143
2144 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2145
2146         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2147         false.
2148         (debug_tag_type): Here too.
2149         * ieee.c (ieee_builtin_type): And here.
2150         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2151
2152 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2153
2154         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2155         System/370".
2156
2157 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2158
2159         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2160
2161 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2162
2163         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2164
2165 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2166
2167         * windres.c (long_options): Add --use-temp-file and
2168         --no-use-temp-file options.
2169         (usage): Document.
2170         (main): Handle.
2171
2172         * windres.h: Update read_rc_file prototype.
2173
2174         * resrc.c (cpp_temp_file): New static variable.
2175         (istream_type): New static variable.
2176         (close_pipe): Delete function.
2177         (run_cmd): New static function.
2178         (open_input_stream): New static function.
2179         (close_input_stream): New static function.
2180         (look_for_default): Handle DOS directory separator. Use
2181         open_input_stream instead of popen.
2182         (read_rc_file): Likewise.
2183
2184         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2185         options.
2186
2187 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2188
2189         * dlltool.c (create_compat_implib): New variable.
2190         (gen_exp_file): Use.
2191         (make_one_lib_file): Use.
2192         (long_options): Add --compat-implib option.
2193         (usage): Handle.
2194         (main): Handle.
2195
2196         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2197         (main): Use. Don't look for "32" in cygwin and mingw target names.
2198
2199 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2200
2201         * binutils.texi: Document new, ARM specific disassembler
2202         command line switch "-M force-thumb".
2203
2204 For older changes see ChangeLog-9899
2205 \f
2206 Local Variables:
2207 mode: change-log
2208 left-margin: 8
2209 fill-column: 74
2210 version-control: never
2211 End: