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