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