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