1 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
3 * readelf.c (dump_relocations): Fix typo.
5 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
7 * NEWS: Mark 2.12 branch.
9 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
11 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
12 types for 64-bit MIPS. Narrow some fields for 80-char
14 (dump_relocations): Change spelling from 'unrecognised'
16 (decode_ARM_machine_flags): Likewise.
17 (parse_args): Likewise.
18 (read_and_display_attr_value): Likewise.
19 (display_debug_section): Likewise.
21 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
23 * NEWS: Mention support for MMIX.
25 2002-02-13 Matt Fredette <fredette@netbsd.org>
27 * readelf.c (get_machine_flags): Recognize EF_M68000.
29 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
31 * MAINTAINERS: Added self as MN10300 co-maintainer.
33 2002-02-12 Alan Modra <amodra@bigpond.net.au>
35 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
38 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
40 * MAINTAINERS: List myself as branch maintainer.
42 2002-02-11 Alan Modra <amodra@bigpond.net.au>
44 * configure: Regenerate.
45 * objcopy.c: Update copyright date.
46 * doc/Makefile.in: Regenerate.
48 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
50 * nlmconv.c: Back out localtime PARAMS change.
52 2002-02-11 Alan Modra <amodra@bigpond.net.au>
54 * objcopy.c (MKDIR): Define.
55 (copy_archive): Make name_list.name const. Use MKDIR.
56 Handle duplicate files in archives by making more temp dirs.
58 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
60 * coffdump.c: Include "getopt.h" after "bucomm.h"
61 so that macros are defined correctly.
62 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
63 prototype. Prototype main.
64 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
66 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
68 * MAINTAINERS: Added self as SH co-maintainer.
70 2002-02-05 Nick Clifton <nickc@redhat.com>
72 * po/tr.po: Updated translation.
74 2002-02-01 Alan Modra <amodra@bigpond.net.au>
76 * Makefile.am: Run "make dep-am"
77 * Makefile.in: Regenerate.
79 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
81 * nm.c (print_value): Mark abfd unused.
83 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
85 * unwind-ia64.c (unw_decoder): Change second argument
86 to unsigned int, to match function prototypes.
88 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
90 * objdump.c: Include "getopt.h" after "bucomm.h" so that
91 __GNU_LIBRARY__ will be defined.
94 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
96 * configure: Regenerated.
98 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
100 * doc/Makefile.am (install): Depend on install-info.
101 * doc/Makefile.in: Regenerate.
103 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
105 * objcopy.c (strip_usage): Document -d as an alias
108 * size.c (usage): Document [-t | --totals] options.
109 (long_options): Add --totals option.
110 (main): If the [-t | --totals] option is specified and
111 the output format is Berkeley-style, print the total
112 text, data, and bss sizes of all objects listed.
113 (print_berkeley_format): If the [-t | --totals] option
114 is specified, track the total text, data, and bss
116 * doc/binutils.texi (size): Document [-t | --totals] options.
117 (strip): Document -d as an alias for --strip-debug.
118 * NEWS: Mention new feature of size.
120 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
122 * po/fr.po: Updated version.
123 * po/es.po: Updated version.
125 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
127 * addr2line.c (usage): Update text to provide verbose
128 description of the command line options.
129 * ar.c (usage): Update text to provide verbose
130 description of the command line options.
131 (main): Accept -h and -H when running as ranlib.
132 * coffdump.c (show_usage): Update text to provide verbose
133 description of the command line options.
134 * dlltool.c (main): Accept -H as an alias for --help.
135 * nlmconv.c (show_usage): Update text to provide verbose
136 description of the command line options.
137 * nm.c (usage): Replace OPTIONS with option(s).
138 (main): Accept -H as an alias for --help.
139 * objcopy.c (strip_main): Accept -H as an alias for --help.
140 * objdump.c (main): Accept -v as an alias for --verbose.
141 * readelf.c (usage): Adjust format to match style used in
143 * size.c (usage): Update text to provide verbose description
144 of the command line options.
145 (main): Accept -v, -h and -H as command line options.
146 * srconv.c (show_usage): Update text to provide verbose
147 description of the command line options.
148 * strings.c (main): Accept -H and -v as command line options.
149 (usage): Update text to provide verbose description of the
150 command line options.
151 * sysdump.c (show_usage): Update text to provide verbose
152 description of the command line options.
153 * windres.c (usage): Adjust format to match style used in
156 * coffdump.c: Fix formatting.
157 * nlmconv.c: Fix formatting.
158 * srconv.c: Fix formatting.
159 * sysdump.c: Fix formatting.
161 2002-01-22 Alan Modra <amodra@bigpond.net.au>
163 * Makefile.am: Run "make dep-am".
164 * Makefile.in: Regenerate.
166 2002-01-18 Andreas Jaeger <aj@suse.de>
168 * version.c (print_version): Update year.
170 2002-01-17 Alan Modra <amodra@bigpond.net.au>
172 * readelf.c (get_machine_name): Handle EM_PPC64.
173 (guess_is_rela): Here too.
175 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
177 * po/binutils.pot: Regenerate.
178 * po/fr.po: Regenerate.
179 * po/tr.po: Regenerate.
181 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
183 * po/tr.po: Import new version.
185 2002-01-16 Alan Modra <amodra@bigpond.net.au>
187 * readelf.c (get_ppc64_dynamic_type): New.
188 (get_dynamic_type): Call it.
190 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
192 * objcopy.c (copy_usage): Use "options" instead of "switches".
193 (strip_usage): Use "options" instead of "switches".
194 * doc/binutils.texi (dlltool): Refer to "options" instead of
197 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
199 * MAINTAINERS: Add self as co-maintainer for the ARM code.
201 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
203 * po/es.po: Import from translation project.
204 * configure.in (ALL_LINGUAS): Add es.
205 * configure: Regenerate.
207 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
209 * readelf.c (get_netbsd_elfcore_note_type): Use
210 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
212 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
214 * readelf.c: Update copyright years.
215 (get_note_type): Return a const char *.
216 (get_netbsd_elfcore_note_type): New function.
217 (process_note): Use get_netbsd_elfcore_note_type to get
218 the note type string for NetBSD ELF core files.
220 2002-01-06 Steve Ellcey <sje@cup.hp.com>
222 * readelf.c (get_ia64_segment_type): Add support for macros.
223 (get_segment_type): Add support for IA64 specific macros.
225 2001-12-20 Julian v. Bock <julian@wongr.net>
227 * readelf.c (print_symbol): New function: Print a formatted symbol
228 name. If --wide is specified do not truncate it.
229 (dump_relocations): Use print_symbol() to print symbol names.
230 (process_symbol_table): Likewise.
231 (process_syminfo): Likewise.
232 (process_mips_specific): Likewise.
233 (usage): Document new feature of --wide switch.
234 * doc/binutils.texi (objdump): Document additional behaviour of
237 2001-12-18 Michael Snyder <msnyder@redhat.com>
239 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
240 (copy_object): Don't set the start address or flags of a core file.
241 (copy_section): Don't relocate a core file. Don't copy contents
242 if the input section has the contents flag set, but the output
243 section does not (which happens with the fake 'note' pseudo-
244 sections that BFD creates for corefiles).
246 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
248 * readelf.c (get_machine_flags): Recognize header flags for ABI and
249 ASE extensions. More robust code for ISA checking. Ignore empty fields
250 in header flags for GNU extensions.
252 2001-12-18 Alan Modra <amodra@bigpond.net.au>
254 * objcopy.c (copy_archive): Set output bfd format outside the loop.
256 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
258 * po/ja.po: Import from translation project.
259 * configure.in (ALL_LINGUAS): Add ja.
260 * configure: Regenerate.
262 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
264 * addr2line.c (main): Protoype.
265 * ar.c (main): Protoype.
266 * nm.c (main): Protoype.
267 * objcopy.c (main): Protoype.
268 * objdump.c (main): Protoype.
269 * size.c (main): Protoype.
270 * strings.c (main): Protoype.
272 2001-12-17 Alan Modra <amodra@bigpond.net.au>
274 * readelf.c (symtab_shndx_hdr): New global.
275 (SECTION_HEADER_INDEX): Define.
276 (SECTION_HEADER_NUM): Define.
277 (SECTION_HEADER): Define.
278 (GET_ELF_SYMBOLS): Pass two params rather than three.
279 (get_32bit_elf_symbols): Take file and section args. Read and
280 use SHT_SYMTAB_SHNDX.
281 (get_64bit_elf_symbols): Likewise.
282 (dump_relocations): Use SECTION_HEADER to index "section_headers".
283 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
284 Remember symtab_shdx_hdr.
285 (process_program_headers): Scan from index 1 for segment map.
286 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
288 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
289 (process_unwind): Likewise.
290 (process_version_sections): Likewise.
291 (process_symbol_table): Likewise.
292 (display_debug_info): Likewise.
293 (process_dynamic_segment): Fake up a symtab section for changed
295 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
296 (process_program_headers): Kill signed/unsigned warning.
297 (load_debug_str): Likewise.
298 (display_debug_info): Likewise.
300 2001-12-13 Jakub Jelinek <jakub@redhat.com>
302 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
304 2001-12-11 Alan Modra <amodra@bigpond.net.au>
306 * readelf.c (process_file_header): Print extended e_shnum and
307 e_shdtrndx values. Set elf_header values for same.
308 (get_32bit_section_headers): Add "num" arg to read "num" headers.
309 (get_64bit_section_headers): Likewise.
310 (process_section_headers): Update calls.
311 (get_file_header): Call get_32bit_section_headers or 64bit variant.
313 2001-12-10 Jakub Jelinek <jakub@redhat.com>
315 * objcopy.c (setup_section): Copy entsize.
317 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
319 * readelf.c (guess_is_rela): Add support for stormy16.
320 (dump_relocations): Likewise.
321 (get_machine_name): Likewise.
323 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
325 * dllwrap.c (main) Replace multiple strings describing a
326 single error with a single, newline escaped sentence to permit
327 better translation into foreign languages.
329 * readelf.c (get_elf_class): Remove internalionalisation of ELF
332 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
334 * strings.c (get_char): Initialize value.
336 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
338 * arlex.l: Silence compile warnings.
339 * arsup.h: Likewise. Fix formatting.
341 2001-12-04 Jakub Jelinek <jakub@redhat.com>
343 * strings.c: Include config.h before bfd.h.
344 (file_off): New type.
346 (print_strings): Use file_off instead of file_ptr. Print addresses
347 which don't fit into long correctly.
348 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
350 (strings_file): Use file_off instead of file_ptr. Use file_open.
351 * configure.in: Check for getc_unlocked.
352 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
354 * configure: Rebuilt.
355 * config.h.in: Rebuilt.
357 2001-11-29 H.J. Lu <hjl@gnu.org>
359 * bucomm.c (make_tempname): Revert the changes made on
360 2001-11-14 and 2001-11-12. They won't work with directories.
362 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
364 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
365 CFLAGS_FOR_TARGET to runtest in environment.
366 * Makefile.in: Rebuild.
367 * doc/Makefile.in: Rebuild.
369 2001-11-28 Mike Stump <mrs@wrs.com>
371 * objcopy.c (setup_section): Preserve SEC_RELOC when
372 --set-section-flags is used.
374 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
376 * readelf.c (do_debug_str): New variable.
377 (display_debug_str): New function: Display the contents of a
379 (load_debug_str): New function: Load in the contents of a
381 (free_debug_str): New function: Free the memory used by
383 (fetch_indirect_string): Retrieve a string from the .debug_str
386 (parse_args): Accept -ws.
387 (process_section_headers): Allow the display of the .debug_str
389 (read_and_display_attr_value): Use fetch_indirect_string. Show
390 offset into .debug_str section.
391 (display_debug_info): Use load_debug_str and free_debug_str.
392 (debug_displays): Add .debug_str.
393 * doc/binutils.texi: Document -ws.
395 2001-11-19 Andreas Jaeger <aj@suse.de>
397 * testsuite/binutils-all/objdump.exp: Add x86-64.
399 2001-11-15 Andreas Schwab <schwab@suse.de>
401 * readelf.c: Fix warnings without terminating newline.
403 2001-11-15 Alan Modra <amodra@bigpond.net.au>
405 * doc/binutils.texi (objdump): Document ppc -M options.
407 2001-11-14 Andreas Jaeger <aj@suse.de>
409 * doc/binutils.texi (objdump): Fix description to use x86-64.
411 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
413 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
414 not all systems provide mkstemp.
416 2001-11-14 Alan Modra <amodra@bigpond.net.au>
418 * doc/binutils.texi (objdump): Document x86 -M options.
420 2001-11-13 Keith Walker <keith.walker@arm.com>
422 * readelf.c (read_and_display_attr_value): New function to
423 handle DW_FORM_indirect.
424 (read_and_display_attr): Use it.
426 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
428 * readelf.c (display_debug_lines): Deal with unknown standard
429 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
432 2001-11-13 Timothy Wall <twall@alum.mit.edu>
434 * MAINTAINERS: Add self as tic54x maintainer. This target
435 includes the IBM C54XDSP clone.
437 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
439 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
441 2001-11-09 Jeffrey A Law (law@cygnus.com)
443 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
444 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
445 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
446 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
447 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
448 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
449 (unw_decode_b2, unw_decode_b3_b4): Likewise.
451 * readelf.c (get_elf_class): Fix ISO portability glitch.
452 (get_data_encoding, get_osabi_name, request_dump): Likewise.
454 2001-11-07 Jakub Jelinek <jakub@redhat.com>
456 * readelf.c (debug_str, debug_str_size): New.
457 (display_debug_abbrev): If no abbrevs were read, skip the CU.
459 (read_and_display_addr): Handle DW_FORM_strp.
460 (display_debug_info): Read .debug_str section if present,
461 so that DW_FORM_strp can be handled.
462 Fix test for non-existant .debug_abbrev section.
464 2001-11-05 Jakub Jelinek <jakub@redhat.com>
466 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
468 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
470 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
472 * MAINTAINERS: Add self as s390/s390x maintainer.
474 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
476 * MAINTAINERS: Add self as PPC XCOFF maintainer.
478 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
480 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
481 * configure: Regernate.
482 * po/fr.po: New file.
483 * po/tr.po: New file.
485 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
487 * MAINTAINERS: Add self as MMIX port maintainer.
488 * readelf.c: Include elf/mmix.h.
489 (guess_is_rela): MMIX is RELA.
490 (dump_relocations): Handle MMIX relocations.
491 * Makefile.am: Regenerate dependencies.
492 * Makefile.in: Regenerate.
494 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
496 * readelf.c (parse_args): Handle multiple options to the -w
499 2001-10-12 Jakub Jelinek <jakub@redhat.com>
501 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
502 LOPROC, LOOS and LOUSER.
504 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
506 * MAINTAINERS: Update my email address.
508 2001-10-03 Alan Modra <amodra@bigpond.net.au>
510 * doc/Makefile.in: Regenerate.
511 * configure: Regenerate.
513 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
515 * readelf.c (display_debug_line, display_debug_pubnames,
516 display_debug_info, display_debug_frames): Detect and warn
517 about 64-bit format entries.
518 (display_debug_aranges): Reword 64-bit warning.
519 (debug_displays): Add .debug_pubtypes as a known, but not yet
520 supported, debug section.
522 2001-10-02 Alan Modra <amodra@bigpond.net.au>
524 * coffdump.c (PROGRAM_VERSION): Delete.
525 (main <'V'>): Call print_version.
526 * srconv.c: Likewise.
527 * sysdump.c: Likewise.
528 * version.c (program_version): Remove.
529 (print_version): Use BFD_VERSION_STRING. Just print the current
530 year in copyright message.
531 * addr2line.c (program_version): Remove unused declaration.
532 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
533 place of BFD_VERSION.
534 * Makefile.am (Makefile): Depend on bfd/configure.in.
535 (cplus-dem.o): Depend on Makefile.
537 * Makefile.in: Regenerate.
539 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
541 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
542 format .debug_arange sections.
543 (main): Add missing prototype.
545 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
547 * Makefile.am: Update dependencies with "make dep-am".
548 * Makefile.in: Regenerate.
550 2001-09-28 Richard Henderson <rth@redhat.com>
552 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
554 2001-09-26 Alan Modra <amodra@bigpond.net.au>
556 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
558 (non_fatal): Likewise.
559 * objdump.c (objdump_sprintf): Likewise.
560 * readelf.c (error): Likewise.
563 2001-09-25 Jakub Jelinek <jakub@redhat.com>
565 * readelf.c (do_wide): New.
566 (options): Add --wide.
567 (usage, parse_args): Likewise.
568 (process_program_headers): Put each segment on a single line if
570 (process_section_headers): Put each section on a single line if
572 * doc/binutils.texi: Document it.
575 2001-09-25 Alan Modra <amodra@bigpond.net.au>
577 * readelf.c (print_vma): Print 8 digits of low hex value.
579 2001-09-24 Andreas Jaeger <aj@suse.de>
581 * nlmconv.c: Fix warnings about unused attributes and function
584 * strings.c: Add prototype for get_char.
586 2000-09-19 H.J. Lu <hjl@gnu.org>
588 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
589 $(srcdir)/cxxfilt.man.
590 * doc/Makefile.in: Rebuild.
592 2001-09-19 Alan Modra <amodra@bigpond.net.au>
594 * objcopy.c (copy_main): Correct rename-section string parsing.
595 Consolidate new_name parsing, and error messages.
597 2001-09-18 Bruno Haible <haible@clisp.cons.org>
599 * addr2line.c: Don't include <ctype.h>.
600 (main): For gettext, also set the LC_CTYPE locate facet.
601 * ar.c (main): Likewise.
602 * coffdump.c (main): Likewise.
603 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
604 (main): For gettext, also set the LC_CTYPE locate facet.
605 Use ISALNUM instead of isalpha/isdigit.
606 * dllwrap.c: Don't include <ctype.h>.
607 (main): For gettext, also set the LC_CTYPE locate facet.
608 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
609 (main): For gettext, also set the LC_CTYPE locate facet.
610 Use TOUPPER instead of islower/toupper.
611 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
612 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
613 Use TOUPPER instead of islower/toupper.
614 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
615 * objcopy.c (main): Likewise.
616 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
617 (disassemble_bytes): Use ISPRINT instead of isprint.
618 (dump_section_stabs): Use ISDIGIT instead of isdigit.
619 (dump_data): Use ISPRINT instead of isprint.
620 (main): For gettext, also set the LC_CTYPE locate facet.
621 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
622 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
623 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
624 Use TOUPPER instead of islower/toupper.
625 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
626 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
627 (write_rc_accelerators): Use ISPRINT instead of isprint.
628 (write_rc_rcdata): Likewise.
629 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
630 * srconv.c (main): Likewise.
631 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
632 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
633 isdigit/isupper/islower.
634 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
635 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
636 stab_demangle_prefix, stab_demangle_qualified,
637 stab_demangle_template, stab_demangle_type,
638 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
639 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
640 (isgraphic): Use ISPRINT instead of isascii/isprint.
641 (main): Remove HAVE_LC_MESSAGES dependency.
642 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
643 (pbarray): Use ISPRINT instead of isprint.
644 (main): For gettext, also set the LC_CTYPE locate facet.
645 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
646 (format_from_filename): Use ISPRINT instead of isprint.
647 (main): For gettext, also set the LC_CTYPE locate facet.
648 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
649 (unicode_print): Use ISPRINT instead of isprint.
650 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
651 (stab_variable): Use ISDIGIT instead of isdigit.
653 2001-09-18 Alan Modra <amodra@bigpond.net.au>
655 * ar.c (print_contents): Cast args of bfd_seek to the right types.
656 Replace bfd_read call with call to bfd_bread.
657 (extract_file): Likewise.
659 * objdump.c (dump_section_header): Cast section->filepos to
660 unsigned long to suit printf format string.
661 * readelf.c (process_section_headers): Similarly for sh_offset.
662 (process_unwind): Likewise.
664 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
666 * strings.c (encoding, encoding_bytes): New variables.
667 (long_options): Add --encoding.
668 (main): Accept -e and --encoding.
669 (get_char): New function. Read a, possibly wide, character from
671 (print_strings): Use get_char().
672 (usage): Document new command line option.
673 * doc/binutils.texi: Document new command line option.
674 * NEWS: Announce new command line option.
676 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
678 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
679 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
680 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
681 Removed EM_CYGNUS_ARC.
683 2001-09-04 Jeffrey A Law (law@cygnus.com)
685 * readelf.c: Include elf/h8 for H8 series definitions.
686 (guess_is_rela): H8 series if RELA.
687 (dump_relocations): Handle H8 series relocations.
689 2001-08-31 Eric Christopher <echristo@redhat.com>
691 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
693 2001-08-29 Peter Targett <peter.targett@arccores.com>
695 * MAINTAINERS: Include ARC Maintainer.
697 2001-08-29 Ben Elliston <bje@redhat.com>
699 * stabs.c (stab_demangle_template): Initialise s4.
701 2001-08-27 Alan Modra <amodra@bigpond.net.au>
703 * readelf.c (dump_relocations): Recognise EM_PPC64.
705 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
707 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
709 2001-08-25 H.J. Lu <hjl@gnu.org>
711 * nm.c (print_width): New.
712 (display_rel_file): Set `print_width' according to
714 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
716 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
718 * objcopy.c (use_alt_mach_code): New variable.
719 (OPTION_ALT_MACH_CODE): Define.
720 (copy_options): Added --alt-machine-code.
721 (copy_main): Handle it.
722 (copy_object): Switch to alternate machine code if requested.
723 * doc/binutils.texi: Document new option.
726 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
728 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
730 2001-08-21 H.J. Lu <hjl@gnu.org>
732 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
733 (display_debug_info): Cast for 64bit hosts.
734 (display_debug_frames): Likewise.
735 (process_mips_specific): Likewise.
737 2001-08-21 Andreas Jaeger <aj@suse.de>
739 * coffgrok.h: Add missing parameter for prototype of coff_grok.
741 * sysdump.c: Add missing prototypes.
742 * srconv.c: Likewise.
743 * unwind-ia64.c: Likewise.
744 * coffdump.c: Likewise.
746 * sysinfo.y: Print prototypes, include <ansidecl.h>.
748 * coffgrok.c: Add missing prototypes, include libiberty.h instead
749 of declaring xcalloc.
751 2001-08-10 H.J. Lu <hjl@gnu.org>
753 * nm.c (print_value): Add one arg, bfd *.
754 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
755 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
756 (print_symbol_info_sysv): Likewise.
757 (print_symbol_info_posix): Likewise.
759 * objdump.c (dump_section_header): Replace printf_vma with
761 (print_section_stabs): Likewise.
762 (dump_bfd_header): Likewise.
763 (objdump_print_value): Replace sprintf_vma with
765 (disassemble_bytes): Likewise.
766 (dump_reloc_set): Likewise.
768 2001-08-10 Andreas Jaeger <aj@suse.de>
770 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
772 * configure: Regenerate.
774 2001-08-09 Alan Modra <amodra@bigpond.net.au>
776 * readelf.c: Add missing prototypes.
777 * objdump.c: Likewise. Format existing prototypes.
779 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
781 * readelf.c (display_debug_info): Add to abbrev_offset the addend
782 of any RELA relocation for the abbrev_offset memory location that
783 refers to the .debug_abbrev section symbol.
785 2001-08-07 H.J. Lu <hjl@gnu.org>
787 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
788 (main): Return process_file ().
790 2001-08-05 Philip Blundell <philb@gnu.org>
792 * doc/binutils.texi: Use "Thumb" not "THUMB".
794 2001-08-03 John Healy <jhealy@redhat.com>
796 Patch suggested by Frank Eigler <fche@redhat.com>.
797 * objdump.c (disassemble_data): Fill in section member of the
798 disasm_info structure.
800 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
802 * configure.in: Added --with-windres option.
803 * configure: Regenerated.
805 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
807 * doc/binutils.texi: Use @command{name} for commands;
808 use @option{-opt} for options; use @table @env for list of options;
809 remove spaces arround [ | ] in synopsis.
811 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
814 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
816 * objcopy.c: Fix formatting.
817 (section_rename): New structure.
818 (OPTION_RENAME_SECTION): New switch.
819 (copy_usage): Document new switch.
820 (add_section_rename): New function: Add a node to the section
822 (find_section_rename): New function: Find the new name and
824 (setup_section): Call find_section_name to determine the name
825 of the output section.
826 (copy_main): Handle OPTION_RENAME_SECTION.
827 * binutils.texi: Document new switch.
828 * NEWS: Mention new switch.
830 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
832 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
833 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
834 bug-binutils@gcc.org.
836 2001-07-28 Matthias Kramm <kramm@quiss.org>
838 * bucomm.c (list_supported_architectures): New function.
839 * bucomm.h (list_supported_architectures): Declare.
840 * objdump.c (usage): Call the above.
842 2001-07-25 Dave Brolley <brolley@redhat.com>
844 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
845 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
847 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
849 * README: Update for 2.11. Change bug reporting email address.
850 * MAINTAINERS: Tidy up. Change bug reporting email address.
852 2001-07-16 DJ Delorie <dj@redhat.com>
854 * resres.c (write_res_header): Align header size.
855 (res_align_file): Calculate alignment correctly.
857 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
859 * resrc.c (write_rc_resource): Likewise.
860 * windres.h (SUBLANG_SHIFT): Define - as 10.
862 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
864 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
866 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
868 * MAINTAINERS: Add notes about branch checkins.
870 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
872 * readelf.c (display_debug_macinfo): New function, display
873 .debug_macinfo section.
874 (do_debug_macinfo): New variable.
875 (parse_args): Handle "-w[mM]" to mean display macro info.
876 (process_section_headers): Handle debug_macinfo.
877 (debug_displays): Replace unsupported function with macinfo
878 function for .debug_macinfo display.
879 * doc/binutils.texi: Document new command line switch.
880 * NEWS: Document new feature of readelf.
882 2001-07-05 H.J. Lu <hjl@gnu.org>
884 * objcopy.c (filter_symbols): Don't turn undefined symbols
887 2001-07-03 H.J. Lu <hjl@gnu.org>
889 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
892 (dlltool.1): Likewise.
893 (nlmconv.1): Likewise.
895 (objcopy.1): Likewise.
896 (objdump.1): Likewise.
897 (ranlib.1): Likewise.
898 (readelf.1): Likewise.
900 (strings.1): Likewise.
902 (windres.1): Likewise.
903 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
904 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
907 * doc/Makefile.in: Regenerated.
909 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
911 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
913 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
915 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
917 2001-06-29 James Cownie <jcownie@etnus.com>
919 * readelf.c: Support DWARF 2.1 attributes.
921 2001-06-28 Alan Modra <amodra@bigpond.net.au>
923 * readelf.c (GET_DATA_ALLOC): Remove.
925 (get_data): New function combining above macros, with an extra
927 (slurp_rela_relocs): Use get_data, and catch error return.
928 (slurp_rel_relocs): Likewise.
929 (get_32bit_program_headers): Likewise.
930 (get_64bit_program_headers): Likewise.
931 (get_32bit_section_headers): Likewise.
932 (get_64bit_section_headers): Likewise.
933 (get_32bit_elf_symbols): Likewise.
934 (get_64bit_elf_symbols): Likewise.
935 (process_section_headers): Likewise.
936 (process_relocs): Likewise.
937 (slurp_ia64_unwind_table): Likewise.
938 (process_unwind): Likewise.
939 (get_32bit_dynamic_segment): Likewise.
940 (get_64bit_dynamic_segment): Likewise.
941 (process_dynamic_segment): Likewise.
942 (process_version_sections): Likewise.
943 (process_symbol_table): Likewise.
944 (dump_section): Likewise.
945 (display_debug_info): Likewise.
946 (display_debug_section): Likewise.
947 (process_section_contents): Likewise.
948 (process_corefile_note_segment): Likewise.
949 (process_mips_specific): Likewise. Also free econf32, econf64.
951 2001-06-25 Alan Modra <amodra@bigpond.net.au>
953 * readelf.c (dump_relocations): Print "bad symbol index" if
954 symtab == NULL with non-zero symtab_index.
955 (process_relocs): Don't bomb if reloc section has no symsec.
957 2001-06-24 H.J. Lu <hjl@gnu.org>
959 * objcopy.c (strip_main): Revert the change made on 2001-05-30
961 (copy_main): Apply the the change made to strip_main on
962 2001-05-30 by accident.
964 2001-06-23 Andreas Jaeger <aj@suse.de>
966 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
968 (unw_decode_x2): Likewise.
969 (unw_decode_x3): Likewise.
970 (unw_decode_x4): Likewise.
972 2001-06-23 Ben Elliston <bje@redhat.com>
974 * MAINTAINERS: Add myself as M88k maintainer.
976 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
978 * objcopy.c (strip_main): Support -o or --output-file command lien
981 2001-06-19 H.J. Lu <hjl@gnu.org>
983 * doc/Makefile.in: Regenerated.
985 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
987 * readelf.c: Restore formatting.
989 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
991 * Makefile.am: Move documentation into doc subdirectory.
992 * Makefile.in: Regenerated.
993 * binutils.texi: Move into doc subdirectory.
994 * addr2line.1: Removed.
996 * dlltool.1: Likewise.
997 * nlmconv.1: Likewise.
999 * objcopy.1: Likewise.
1000 * objdump.1: Likewise.
1001 * ranlib.1: Likewise.
1002 * readelf.1: Likewise.
1004 * strings.1: Likewise.
1005 * strip.1: Likewise.
1006 * windres.1: Likewise.
1007 * cxxfilt.man: Likewise.
1008 * doc: New Directory.
1009 * doc/Makefile.am: New file.
1010 * doc/Makefile.in: Generate.
1012 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1014 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1016 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1018 * MAINTAINERS: Update my email address.
1020 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1022 * objcopy.c: Add new switches: --keep-global-symbol,
1023 --keep-symbols, --localize-symbols, --keep-global-symbols and
1025 * binutils.texi: Document new switches.
1026 * objcopy.1: Regenerate.
1027 * NEWS: Announce new feature.
1029 2001-05-28 Andreas Jaeger <aj@suse.de>
1031 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1032 variables, fix format strings.
1034 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1036 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1037 when computing the address of the line to show.
1039 2001-05-16 Richard Henderson <rth@redhat.com>
1041 * readelf.c (do_debug_frames_interp): New.
1042 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1043 (byte_get_big_endian): Likewise.
1044 (parse_args) ['F']: Set do_debug_frames_interp.
1045 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1046 (frame_display_row): Don't trunc pc_begin to int.
1047 (size_of_encoded_value): New.
1048 (display_debug_frames): Handle 64-bit targets. Print raw data
1049 unless do_debug_frames_interp.
1050 (debug_displays): Remove duplicate .debug_frame.
1052 2001-05-15 Ralf Baechle <ralf@gnu.org>
1054 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1055 The former constant was never in active use and is used otherwise
1058 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1060 * readelf.c (process_unwind): Print all unwind sections, not just
1063 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1065 * readelf.c (process_unwind): Remove const specifier.
1067 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1069 * strings.c (isgraphic): Do not use isascii() unless it is needed
1070 for isprint() to work.
1071 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1073 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1075 * NEWS: Announce support for OpenRISC.
1077 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1079 * dlltool.c (do_default_excludes): Initialise to true.
1081 2001-04-10 Alan Modra <amodra@one.net.au>
1083 * MAINTAINERS: Update my email address
1084 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1086 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1088 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1090 2001-03-30 H.J. Lu <hjl@gnu.org>
1092 * readelf.c (process_unwind): Just return if do_unwind is 0.
1094 2001-03-28 Roger Sayle <roger@metaphorics.com>
1096 * dlltool.c (make_one_lib_file): Fix section flags for
1097 .text, .data and .bss in stub ds*.o files to match those
1100 2001-03-29 H.J. Lu <hjl@gnu.org>
1102 * readelf.c (process_unwind): Only do unwind sections for
1105 2001-03-28 H.J. Lu <hjl@gnu.org>
1107 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1108 * Makefile.in: Regenerate.
1110 2001-03-26 Andreas Jaeger <aj@suse.de>
1112 * binutils.texi (nm): Fix texi syntax.
1114 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1116 * binutils.texi: Put @c man begin and @c man end indications
1117 to generate man pages using texi2pod and pod2man. Put @c man title
1118 to identify each man. Add SEEALSO entries.
1119 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1120 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1122 (*.1): Build the man pages from binutils.texi.
1123 * Makefile.in: Regenerate.
1125 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1127 * defparse.y (opt_equal_name): allow "." in name.
1128 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1129 (gen_exp_file): Likewise.
1131 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1133 * NEWS: Document addition of -B switch to objcopy.
1134 * binutils.texi: Document addition of -B switch to objcopy.
1135 * objcopy.c: (copy_options): Add --binary-architecture.
1136 (copy_usage): Document -B/--binary-architecture.
1137 (copy_main): Support -B/--binary-architecture. Set
1138 bfd_external_binary_architecture.
1140 2001-03-11 Andreas Jaeger <aj@suse.de>
1142 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1143 (dump_relocations): Likewise.
1144 (get_machine_name): Likewise.
1146 2001-02-28 Nick Clifton <nickc@redhat.com>
1148 * readelf.c: (struct unw_aux_info): Remove const modifier for
1150 (process_unwind): Remove non-K&R compliant LHS type cast in call
1151 to GET_DATA_ALLOC macro.
1153 2001-02-28 Philip Blundell <pb@futuretv.com>
1155 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1156 ABI is in use; remove ambiguity between the "unknown" EABI and
1157 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1158 renamed EF_xx constants.
1160 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1162 * configure.in (BFD_VERSION): New.
1163 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1164 * configure: Regenerate.
1165 * Makefile.am: Run "make dep-am"
1166 * Makefile.in: Regenerate.
1168 2001-02-14 Nick Clifton <nickc@redhat.com>
1170 * MAINTAINERS: Add "Obvious Fix" rule.
1172 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1174 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1175 literal concatenation.
1177 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1179 * readelf.c (struct unw_aux_info): Remove const from the info member.
1180 (process_unwind): Don't type-cast the third argument to the
1181 GET_DATA_ALLOC macro.
1183 2001-02-11 Nick Clifton <nickc@redhat.com>
1185 * readelf.c (dump_relocations): Free corrected allocated
1187 (process_unwind): Fix compile time warning.
1189 2001-02-10 Nick Clifton <nickc@redhat.com>
1191 * binutils.texi: Document new --unwind option to readelf.
1193 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1195 * readelf.c: Add linux target for S/390.
1197 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1199 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1202 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1204 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1205 * aclocal.m4: Regenerate.
1206 * configure: Regenerate.
1208 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1210 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1211 * objdump.c (bfd_target_vector): Likewise.
1213 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1215 * readelf.c (process_unwind): New function.
1216 (slurp_ia64_unwind_table): Ditto.
1217 (dump_ia64_unwind): Ditto.
1218 (find_symbol_for_address): Ditto.
1219 (slurp_rela_relocs): New function (split off from dump_relocations()).
1220 (slurp_rel_relocs): Ditto.
1221 (parse_args): Handle '-u' option.
1223 * unwind-ia64.c: New file.
1224 * unwind-ia64.h: New file.
1225 * Makefile.am: Include unwind-ia64.c in readelf build.
1226 * Makefile.in: Regenerate.
1227 * po/binutils.pot: Regenerate.
1229 2001-02-04 Philip Blundell <philb@gnu.org>
1231 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1232 * configure: Regenerate.
1234 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1236 * ieee.c (ieee_add_bb11): Don't check for backslashes
1237 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1239 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1241 * ieee.c: Update copyright.
1242 (ieee_start_compilation_unit): Don't check for backslashes
1243 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1245 * stabs.c: Update copyright. Include "filenames.h".
1246 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1248 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1250 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1251 sections are present before using them. Remove code duplication.
1252 (process_symbol_table): Check if VERDEF or VERNEED sections are
1253 present before using them.
1255 2001-01-17 Nick Clifton <nickc@redhat.com>
1257 * objcopy.c (copy_object): Fail if attempting to convert the
1258 endianness of the input object file.
1260 * binutils.texi: Explain that objcopy cannot convert endianness.
1262 2001-01-16 Nick Clifton <nickc@redhat.com>
1264 * readelf.c (string_table_length): New variable.
1265 (SECTION_NAME): Catch out of range indices and missing section
1267 (process_section_headers): Delete useless local variable
1268 string_table_offset. Set the value of string_table_length
1269 after loading the string table.
1270 (process_mips_specific): Use SECTION_NAME macro.
1271 (process_file): Set string_table_length to 0 when it is freed.
1273 2001-01-12 Nick Clifton <nickc@redhat.com>
1275 * version.c (print_version): Update copyright date.
1277 2001-01-11 Peter Targett <peter.targett@arccores.com>
1279 * readelf.c (dump_relocations): Include selection with EM_ARC.
1280 (get_machine_name) Update name to "ARC".
1282 2001-01-09 Nick Clifton <nickc@redhat.com>
1284 * Makefile.am: Add rule to build objdump.o from objdump.c and
1286 * Makefile.in: Regenerate.
1288 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1289 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1290 -DDISASSEMBLER_NEEDS_RELOCS.
1291 * configure: Regenerate.
1293 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1294 is defined read in the relocs even if dump_reloc_info is
1297 2001-01-07 Philip Blundell <philb@gnu.org>
1299 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1303 2000-12-19 Nick Clifton <nickc@redhat.com>
1305 * dlltool.c: Add missing support for arm-epoc-pe.
1306 * configure.in: Add missing support for arm-epoc-pe.
1307 * configure: Regenerate.
1309 2000-12-15 Nick Clifton <nickc@redhat.com>
1311 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1312 Mode parts of the x86 port.
1314 2000-12-04 Andreas Jaeger <aj@suse.de>
1316 * readelf.c (guess_is_rela): Add EM_X86_64.
1317 (dump_relocations): Add EM_X86_64.
1318 (get_machine_name): Add EM_X86_64.
1319 Include "elf/x86-64.h".
1321 2000-12-12 Nick Clifton <nickc@redhat.com>
1323 * readelf.c: Fix formatting.
1325 2000-12-11 Jan Hubicka <jh@suse.cz>
1327 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1329 2000-12-07 Andrew Haley <aph@redhat.com>
1331 * readelf.c (display_debug_frames): Only display columns that are
1332 referenced by the frame debug info.
1334 2000-12-05 Nick Clifton <nickc@redhat.com>
1336 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1338 2000-12-04 Jason Merrill <jason@redhat.com>
1340 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1341 (display_debug_section): Likewise.
1342 (display_debug_info): Display CU header before bailing.
1344 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1346 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1347 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1348 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1350 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1353 * readelf.c (get_machine_flags): Add case for
1356 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1358 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1360 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1362 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1363 Change sourceware.cygnus.com to sources.redhat.com.
1364 Fix typo for "amongst".
1366 2000-11-28 Nick Clifton <nickc@redhat.com>
1368 * strip.1 (COPYING): Mention that the GNU Free Documentation
1369 License is present in the sources, but not the output, and
1370 also available from the GNU website.
1371 (GNU Free Documentation License): Comment out this section.
1380 * addr2line.1: Ditto.
1382 2000-11-27 DJ Delorie <dj@redhat.com>
1384 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1385 (parse_args): Support -wf option.
1386 (process_section_headers): Ditto.
1387 (debug_displays): Ditto.
1388 (display_debug_frames): New, dump *_frame sections.
1389 (frame_need_space): Support for above.
1390 (frame_display_row): Ditto.
1391 * binutils.texi: Document it.
1393 2000-11-24 Nick Clifton <nickc@redhat.com>
1395 * NEWS: Announce support for v5t, v5te and XScale.
1397 2000-11-22 Nick Clifton <nickc@redhat.com>
1399 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1400 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1401 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1402 (get_elf_section_flags: Add SHF_GROUP.
1403 (process_section_headers): Adjust output for 32-bit binaries
1404 to look nice on an 80 column terminal.
1406 2000-11-20 H.J. Lu <hjl@gnu.org>
1408 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1411 2000-11-17 Richard Henderson <rth@redhat.com>
1413 * readelf.c (display_debug_lines): Adjust last change to
1414 use sizeof (external->li_length).
1416 2000-11-17 Richard Henderson <rth@redhat.com>
1418 * readelf.c (display_debug_lines): Fix section length check
1419 and end_of_sequence computation.
1421 2000-11-06 Nick Clifton <nickc@redhat.com>
1423 * binutils.texi: Add GNU Free Documentation License.
1424 * objcopy.1: Add GNU Free Documentation License.
1425 * objdump.1: Add GNU Free Documentation License.
1426 * addr2line.1: Add GNU Free Documentation License.
1427 * ar.1: Add GNU Free Documentation License.
1428 * nlmconv.1: Add GNU Free Documentation License.
1429 * nm.1: Add GNU Free Documentation License.
1430 * ranlib.1: Add GNU Free Documentation License.
1431 * size.1: Add GNU Free Documentation License.
1432 * strings.1: Add GNU Free Documentation License.
1433 * strip.1: Add GNU Free Documentation License.
1435 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1437 * objcopy.c (--srec-len=nn): New parameter to set the
1438 maximum length of generated Srecords.
1439 (--srec-forceS3): New parameter that restricts the generation of
1440 Srecords to type S3 only.
1441 * binutils.texi: Document new command line switches.
1442 * objcopy.1: Docuemnt the new command line switches.
1443 * NEWS: Announce the existence of the new command line switches.
1445 2000-10-31 Nick Clifton <nickc@redhat.com>
1447 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1448 code. Add Eric Chrisopher as maintainer of MN10300 port.
1450 2000-10-12 Roger Sayle <roger@metaphorics.com>
1452 * Make comma after string after icon/control optional.
1454 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1456 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1458 * NEWS: Mention support for MIPS32.
1460 2000-09-08 Nick Clifton <nickc@redhat.com>
1462 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1464 2000-09-07 H.J. Lu <hjl@gnu.org>
1466 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1467 * configure: Rebuild.
1469 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1471 * configure: Rebuilt with new libtool.m4.
1473 2000-09-05 Nick Clifton <nickc@redhat.com>
1475 * aclocal.m4: Regenerate.
1476 * config.in: Regenerate.
1477 * configure: Regenerate.
1479 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1481 * strip.1: Fix stray '\' in -o formatting.
1483 2000-09-02 Nick Clifton <nickc@redhat.com>
1485 * configure.in: Increase version number to 2.10.91.
1486 * configure: Regenerate.
1487 * aclocal.m4: Regenerate.
1488 * config.in: Regenerate.
1489 * po/binutils.pot: Regenerate.
1491 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1493 * acinclude.m4: Include libtool and gettext macros from the
1495 * aclocal.m4, configure: Rebuilt.
1497 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1499 * resrc.c (close_input_stream): Delete extraneous logic
1501 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1503 * NEWS: Mention support for CRIS.
1505 2000-08-21 Nick Clifton <nickc@redhat.com>
1507 * addr2line.c: Changed email address for Ulrich Lauther.
1509 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1511 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1513 2000-08-17 Nick Clifton <nickc@redhat.com>
1515 * readelf.c (display_debug_pubnames): Only issue warning
1516 message once. Terminate message with a new line.
1517 (display_debug_aranges): Only display version 2 debug info.
1519 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1521 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1522 for compatability with old BSD systems.
1524 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1526 * NEWS: Mention i860 support.
1528 2000-08-11 Carlo Wood <carlo@alinoe.com>
1530 * addr2line.c (main): Add const to char *.
1532 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1534 * ar.c (main): Don't crash if called with no arguments
1535 or only '-X32_64' as an argument.
1537 2000-08-08 DJ Delorie <dj@redhat.com>
1539 * resrc.c: use "gcc -xc" instead of -xc-header
1541 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1543 * readelf.c (elf/i860.h): Include.
1544 (dump_relocations): Add recognition of i860 architecture.
1545 (guess_is_rela): Add recognition of i860 architecture.
1547 2000-08-03 Nick Clifton <nickc@cygnus.com>
1549 * MAINTAINERS: Add information about CGEN maintainers.
1551 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1553 * nm.c (main): Ignore '-X32_64' as an option.
1554 * ar.c (main): Likewise.
1555 * binutils.texi (nm): Document new option.
1558 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1560 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1562 2000-07-20 H.J. Lu <hjl@gnu.org>
1564 * binutils.texi: Put back "@end table" deleted by
1567 2000-07-05 Kenneth Block <krblock@computer.org>
1569 * nm.c: Add optional style to demangle switch.
1570 * objdump.c: Add optional style to demangle switch.
1571 * addr2line.c: Add optional style to demangle switch.
1572 * binutils.texi: Document optional style to demangle
1575 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1577 * MAINTAINERS: Add self as CRIS port maintainer.
1578 * readelf.c: Include elf/cris.h.
1579 (guess_is_rela): Handle EM_CRIS.
1580 (dump_relocations): Ditto.
1581 (get_machine_name): Ditto.
1582 * Makefile.am: Rebuild dependencies.
1583 * Makefile.in: Regenerate.
1584 * po/binutils.pot: Regenerate.
1586 2000-07-19 H.J. Lu <hjl@gnu.org>
1588 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1590 (process_dynamic_segment): Print out strings for DT_CONFIG,
1591 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1593 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1595 * nm.c (usage): Change output of `nm --help' to include a
1596 description of the purpose of the program and a detailed
1597 description of the accepted options.
1599 2000-07-19 H.J. Lu <hjl@gnu.org>
1601 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1604 2000-07-19 H.J. Lu <hjl@gnu.org>
1606 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1608 2000-07-19 H.J. Lu <hjl@gnu.org>
1610 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1612 (process_dynamic_segment): Likewise.
1614 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1615 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1616 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1617 DF_1_NODUMP and DF_1_CONLFAT.
1619 2000-07-18 Nick Clifton <nickc@cygnus.com>
1621 * binutils.texi (readelf): Fix spelling typo.
1623 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1625 * objdump.c (usage): Make output of `objdump --help' more
1626 consistent with the rest of the GNU world. Add a line describing
1627 the purpose of the program.
1629 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1631 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1634 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1636 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1638 (process_symbol_table): Ditto.
1639 (procesS_extended_line_op): Ditto.
1640 (display_debug_lines): Ditto.
1641 (display_debug_pubnames): Ditto.
1642 (read_and_display_attr): Ditto.
1644 2000-07-09 Nick Clifton <nickc@cygnus.com>
1646 * MAINTAINERS: Add several more port specific maintainers.
1648 2000-07-05 Nick Clifton <nickc@cygnus.com>
1650 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1652 2000-06-05 DJ Delorie <dj@redhat.com>
1656 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1658 * dllwrap.c: Changed mistaken dyn_string_append() calls
1659 to dyn_string_append_cstr().
1661 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1663 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1664 struct debug_type stores size in bytes.
1666 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1668 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1669 (CLEANFILES): Add DEPA.
1670 * Makefile.in: Regenerate.
1672 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1674 * ar.c: Revert incorrect 2000-06-25 patch.
1675 * bucomm.c: Likewise.
1677 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1679 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1680 (external_coff_symbol_p): New function.
1681 (parse_coff): Use it.
1683 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1685 * ar.c (normalize): Advance past both characters in a DOS based
1686 <letter>: filepath prefix.
1688 * bucomm.c (make_tempname): Likewise.
1690 2000-06-24 Nick Clifton <nickc@cygnus.com>
1692 * objdump.c (usage): Fix description of --stabs switch.
1694 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1696 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1698 * Makefile.in: Regenerate.
1700 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1702 * ar.c (normalize): Correct pointer comparison when checking for
1705 * bucomm.c (make_tempname): Likewise.
1707 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1708 and search for backslashes in the original pathname.
1709 (ieee_add_bb11): Likewise.
1711 2000-06-18 Nick Clifton <nickc@redhat.com>
1713 * ar.c (print_contents): Improve verbose message.
1715 2000-06-15 H.J. Lu <hjl@gnu.org>
1717 * dyn-string.c: Removed. Not needed with dyn-string.c in
1719 * dyn-string.h: Likewise.
1721 * Makefile.am: Remove references to dyn-string.c and
1722 dyn-string.h. Rebuild dependency.
1723 * Makefile.in: Rebuild.
1725 2000-06-15 H.J. Lu <hjl@gnu.org>
1727 * binutils.texi: Put a warning on copying relocatable object
1728 files between two different formats.
1730 2000-06-13 DJ Delorie <dj@cygnus.com>
1732 * rcparse.y (control): ICON controls take an id as the first
1733 parameter, not an optional string. Also, call new convenience
1734 function that takes res_id's.
1735 * resrc.c (define_control): missing text means zero-length string,
1737 (define_icon_control): New.
1738 * windres.h: declare define_icon_control.
1740 2000-06-13 H.J. Lu <hjl@gnu.org>
1742 * configure: Regenerate.
1744 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1746 * configure.in (VERSION): Update to show this is the CVS mainline.
1748 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1750 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1751 analogous to <SPACE>.
1753 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1755 * objdump.c (display_target_list): Use bfd_close_all_done, not
1756 bfd_close to fix crash caused by 2000-05-24 change.
1758 2000-05-25 DJ Delorie <dj@cygnus.com>
1760 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1762 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1764 * Makefile.am: Update dependencies with "make dep-am"
1765 * Makefile.in: Regenerate.
1767 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1769 * ar.c: Include filenames.h.
1770 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1771 and drive letters in file names.
1772 (main): Support backslashes and drive letters in argv[0]. Drop
1773 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1774 FILENAME_CMP instead of strcmp to compare file names.
1775 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1777 (do_quick_append) [__GO32__]: Ditto.
1778 (get_pos_bfd, delete_members, move_members, replace_members):
1779 Compare file names with FILENAME_CMP.
1781 * bucomm.c: Include filenames.h.
1782 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1783 forward/backward slashes and drive letters in file names.
1785 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1786 mixed forward/backward slashes and drive letters in file names.
1788 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1789 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1792 * objcopy.c: Include filenames.h.
1793 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1794 before comparing to "strip".
1795 Use FILENAME_CMP to compare file names.
1797 * arsup.c: Include filenames.h.
1798 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1799 FILENAME_CMP to compare file names.
1800 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1801 the temporary file name.
1803 * configure.in: Check for setmode.
1804 * configure: Regenerate.
1806 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1808 * objdump.c (display_target_list): Close the bfd.
1809 (display_info_table): Likewise.
1811 2000-05-14 H.J. Lu (hjl@gnu.org)
1813 * objcopy.c (filter_symbols): Don't strip global symbols in
1814 relocatable object files.
1816 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1818 * size.c (usage): Associate short options with corresponding long
1819 option to give a clue as to their function.
1821 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1823 * size.c (main): Accept and ignore `-f' option.
1825 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1827 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1828 bindtextdomain): Replace defines with those from intl/libgettext.h
1829 to quieten gcc warnings.
1831 2000-05-12 H.J. Lu <hjl@gnu.org>
1833 * nlmconv.c (temp_filename): Removed.
1835 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1836 choose_temp_base ().
1837 * objdump.c (display_target_list): Likewise.
1838 (display_info_table): Likewise.
1840 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1842 * objcopy.c (setup_section): Add const and gettext calls for err.
1844 2000-05-02 H.J. Lu <hjl@gnu.org>
1846 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1847 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1848 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1849 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1850 and ELFOSABI_OPENBSD.
1852 2000-05-02 Kazu Hirata <kazu@hxi.com>
1854 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1855 * srconv.c: Likewise.
1856 * sysdump.c: Likewise.
1858 2000-04-23 Denis Chertykov <denisc@overta.ru>
1860 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1861 (get_machine_name): machine name for EM_AVR added.
1863 2000-04-21 Richard Henderson <rth@cygnus.com>
1864 David Mosberger <davidm@hpl.hp.com>
1866 * Makefile.am (readelf.o): Add elf/ia64.h.
1867 * Makefile.in: Rebuild.
1868 * readelf.c: Include elf/ia64.h.
1869 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1871 2000-04-17 Timothy Wall <twall@cygnus.com>
1873 * objdump.c (disassemble_data): Set octets per byte *after*
1874 resolving arch/mach for binary files.
1876 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1878 * arlex.l: Add directives to increase lex buffer size.
1880 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1881 already included by bucomm.h.
1883 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1885 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1886 `strftime' since strftime is not available on all systems.
1887 (process_mips_specific): Ditto.
1889 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1891 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1892 --enable-build-warnings option.
1893 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1894 * Makefile.in, configure: Re-generate.
1896 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1898 * addr2line.c: Update copyright.
1899 * objcopy.1: Likewise, and title.
1900 * strings.1: Likewise.
1902 * version.c (print_version): Add 2000.
1904 * rddbg.c (read_section_stabs_debugging_info): Don't use
1905 bfd_size_type for strx to avoid printf problems if BFD64.
1907 * bucomm.c: (report): Remove `static'.
1908 Move inclusion of stdarg.h/vararg.h from here.
1909 * bucomm.h: To here.
1910 (CONST): Change all occurences to const.
1911 (report): Declare it.
1912 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1913 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1914 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1916 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1917 Correct a typo in an error message.
1918 (do_quick_append): Use non_fatal instead of fprintf.
1919 (move_members): Use fatal instead of fprintf, exit.
1920 * coffdump.c (main): Same here.
1922 * dlltool.c (display): Delete.
1924 (inform): Use `report' instead of `display'.
1925 (rvaafter): Remove trailing \n from fatal error msg.
1927 (asm_prefix): Ditto.
1928 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1929 (def_name): Likewise.
1931 (scan_all_symbols): Likewise.
1932 (gen_lib_file): Likewise.
1933 (def_library): Likewise. Remove extra program_name too.
1934 (run): Remove \n from inform strings.
1935 (scan_drectve_symbols): Likewise.
1936 (add_excludes): Likewise.
1937 (scan_open_obj_file): Likewise.
1938 (gen_exp_file): Likewise.
1939 (gen_lib_file): Likewise.
1940 (process_duplicates): Likewise.
1942 * Makefile.am (dllwrap_SOURCES): Add version.c.
1943 * dllwrap.c (program_version): Delete.
1944 (print_version): Delete.
1945 (display): Always print trailing \n.
1947 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1950 (usage): gettext'ify.
1951 (long_options): Add missing initialisers.
1953 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1954 (select_output_format): Likewise.
1955 (powerpc_mangle_relocs): Likewise.
1956 (link_inputs): Likewise.
1958 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1959 (set_output_format): Likewise.
1960 (main): Use non_fatal instead of fprintf.
1961 (display_rel_file): Likewise.
1963 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1964 (slurp_dynamic_symtab): Same here.
1965 (disassemble_data): And here.
1966 (read_section_stabs): And here.
1967 (read_section_stabs): And here.
1968 (dump_bfd): And here.
1970 (objdump_sprintf): Use fatal instead of fprintf, exit.
1971 (disassemble_data): Same here.
1973 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1974 (parse_coff_struct_type): Same here.
1975 (parse_coff_enum_type): And here.
1976 (parse_coff): And here.
1977 * rddbg.c (read_debugging_info): And here.
1978 * size.c (main): And here.
1979 * windres.c (format_from_name): And here.
1980 * wrstabs.c (stab_write_symbol): Here too.
1981 (write_stabs_in_sections_debugging_info): And here.
1982 (stab_int_type): And here.
1983 (stab_struct_field): And here.
1984 (stab_typdef): And here.
1986 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1987 * srconv.c (main): Same here.
1988 * strings.c (main): And here.
1989 (integer_arg): And here.
1990 * sysdump.c (main): And here.
1992 2000-04-06 Timothy Wall <twall@cygnus.com>
1994 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1996 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1998 * readelf.c (decode_location_expression): Loop through multiple
2000 (read_and_display_attr): Pass in length.
2002 * readelf.c (read_and_display_attr): Add CU offset to references.
2003 (display_debug_info): Pass it in.
2005 2000-04-06 Nick Clifton <nickc@cygnus.com>
2007 * readelf.c (decode_ARM_machine_flags): New function.
2008 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2011 (get_machine_name): Catch EM_AVR
2013 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2015 * binutils.texi: Remove optional `=' from long options that have
2016 an `=' in the argument.
2017 * objcopy.1: Here too. Remove extra space on discard-all.
2019 * binutils.texi (objcopy): Mention --redefine-sym.
2020 * objcopy.1: Here too.
2023 * objcopy.c (parse_flags): Split off flag names from error message
2024 gettext as they are not translated.
2025 (copy_main): Similarly split off option name for --add-section,
2026 --set-section-flags, --change-section-vma, --change-section-lma
2028 Some white space changes.
2030 from Matthew Benjamin <matt@linuxbox.nu>
2031 * objcopy.c (struct redefine_node): New.
2032 (redefine_sym_list): New.
2033 (redefine_list_append): New.
2034 (lookup_sym_redefinition): New.
2035 (OPTION_REDEFINE_SYM): New.
2036 (copy_options): Add --redefine-sym option.
2037 (copy_usage): Mention it.
2038 (filter_symbols): Rename symbols on redefine_sym_list.
2039 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2040 (copy_main): Handle OPTION_REDEFINE_SYM.
2042 2000-04-04 H.J. Lu <hjl@gnu.org>
2044 * readelf.c (process_symbol_table): Correctly read in symbol
2045 versioning information.
2047 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2049 * po/binutils.pot: Regenerate.
2051 * addr2line.c (usage): Restore translated part of bug string.
2052 * ar.c (usage): Likewise.
2053 * nlmconv.c (show_usage): Likewise.
2054 * nm.c (usage): Likewise.
2055 * objcopy.c (copy_usage): Likewise.
2056 (strip_usage): Likewise.
2057 * objdump.c (usage): Likewise.
2058 * readelf.c (usage): Likewise.
2059 * size.c (usage): Likewise.
2060 * strings.c (usage): Likewise.
2061 * windres.c (usage): Likewise.
2063 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2064 (DEP): Quote when passing vars to sub-make. Add warning
2066 (DEP1): Rewrite for "gcc -MM".
2067 (CLEANFILES): Add DEP2.
2068 Update dependencies.
2069 * Makefile.in: Regenerate.
2071 2000-04-04 H.J. Lu <hjl@gnu.org>
2073 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2074 (arparse.h): Depend on arparse.c
2075 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2077 2000-04-03 H.J. Lu (hjl@gnu.org)
2079 * size.c (usage): Use REPORT_BUGS_TO.
2081 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2083 * bucomm.h: #include "bin-bugs.h"
2084 * addr2line.c (usage): Use REPORT_BUGS_TO.
2085 * ar.c (usage): Likewise.
2086 * nlmconv.c (show_usage): Likewise.
2087 * nm.c (usage): Likewise.
2088 (OPTION_TARGET): Define.
2089 (long_options): Use OPTION_TARGET rather than 200.
2092 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2093 (strip_usage): Likewise.
2094 * objdump.c (usage): Likewise.
2095 * readelf.c (usage): Likewise.
2096 * strings.c (usage): Likewise.
2097 * windres.c (usage): Likewise.
2099 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2101 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2103 2000-03-27 Nick Clifton <nickc@cygnus.com>
2105 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2106 string offsets in corrupt stabs entries.
2108 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2110 * readelf.c: Include elf/avr.h
2111 (dump_relocations): Add EM_AVR case.
2113 2000-03-09 Tim Waugh <twaugh@redhat.com>
2115 * strings.1: Correct '-bytes' to '--bytes'.
2117 2000-03-08 H.J. Lu <hjl@gnu.org>
2119 * Makefile.am (install-exec-local): Depend on
2120 install-binPROGRAMS for parallel make.
2121 * Makefile.in: Regenerated.
2123 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2125 From Brad Lucier <lucier@math.purdue.edu>:
2126 * readelf.c (process_dynamic_segment): Add cast to make sure
2127 argument to %* is int.
2129 2000-02-25 H.J. Lu <hjl@gnu.org>
2131 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2133 2000-02-24 Nick Clifton <nickc@cygnus.com>
2135 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2136 * configure: Regenerate.
2138 * dlltool.c: Add support for sh-pe and mips-pe targets.
2139 * rescoff.c: Add support for sh-pe and mips-pe targets.
2141 2000-02-23 H.J. Lu <hjl@gnu.org>
2143 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2145 2000-02-22 Nick Clifton <nickc@cygnus.com>
2147 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2149 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2151 From Brad Lucier <lucier@math.purdue.edu>:
2152 * readelf.c (process_version_sections): Add casts to make sure
2153 argument to %* is an int.
2154 (process_mips_specific): Add casts to make printf arguments match
2157 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2159 * objdump.c (dump_section_header): Change `opb' to unsigned.
2160 (find_symbol_for_address): Same here.
2161 (disassemble_data): And here. Change `addr_offset',
2162 `stop_offset', `nextstop_offset' to unsigned long.
2163 (dump_data): Change opb to unsigned.
2165 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2167 * resrc.c: Remove unmatched #if for cygwin.
2169 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2171 * binutils.texi: Document the change of flavor name from atpcs-special
2172 to special-atpcs to prevent name conflict in gdb.
2174 2000-02-08 Timothy Wall <twall@redhat.com>
2176 * objdump.c (show_line): Fix bug preventing printing of the very
2177 first line (line zero) of a file when interlisting source and
2178 assembly. Added option to print entire context from start of file
2179 when the first line from that file is encountered.
2181 2000-02-03 Timothy Wall <twall@redhat.com>
2183 * objdump.c (dump_section_header, find_symbol_for_address,
2184 show_line, disassemble_bytes, disassemble_data, dump_data):
2185 distinguish between octets and bytes.
2187 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2189 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2190 check to unresolved symbols.
2191 (print_symbol_info_sysv): Ditto.
2192 (print_symbol_info_posix): Ditto.
2194 * binutils.texi: Document new 'V' symclass flag for nm.
2196 2000-01-27 Nick Clifton <nickc@redhat.com>
2198 * binutils.texi (objdump): Document new ARM specific
2199 disassembler options.
2201 * objdump.c (usage): Call disassembler_usage().
2203 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2205 * readelf.c (get_dynamic_flags): Return buff.
2206 (process_dynamic_segment): Don't pass error strings to printf
2208 (read_and_display_attr): Use lx and ld to print longs.
2209 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2213 2000-01-17 Nick Clifton <nickc@cygnus.com>
2215 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2217 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2219 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2221 (debug_tag_type): Here too.
2222 * ieee.c (ieee_builtin_type): And here.
2223 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2225 2000-01-13 Nick Clifton <nickc@cygnus.com>
2227 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2230 2000-01-11 Nick Clifton <nickc@cygnus.com>
2232 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2234 2000-01-10 Nick Clifton <nickc@cygnus.com>
2236 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2238 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2240 * windres.c (long_options): Add --use-temp-file and
2241 --no-use-temp-file options.
2245 * windres.h: Update read_rc_file prototype.
2247 * resrc.c (cpp_temp_file): New static variable.
2248 (istream_type): New static variable.
2249 (close_pipe): Delete function.
2250 (run_cmd): New static function.
2251 (open_input_stream): New static function.
2252 (close_input_stream): New static function.
2253 (look_for_default): Handle DOS directory separator. Use
2254 open_input_stream instead of popen.
2255 (read_rc_file): Likewise.
2257 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2260 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2262 * dlltool.c (create_compat_implib): New variable.
2263 (gen_exp_file): Use.
2264 (make_one_lib_file): Use.
2265 (long_options): Add --compat-implib option.
2269 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2270 (main): Use. Don't look for "32" in cygwin and mingw target names.
2272 2000-01-03 Nick Clifton <nickc@cygnus.com>
2274 * binutils.texi: Document new, ARM specific disassembler
2275 command line switch "-M force-thumb".
2277 For older changes see ChangeLog-9899
2283 version-control: never