1 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
3 * NEWS: Mention support for MMIX.
5 2002-02-13 Matt Fredette <fredette@netbsd.org>
7 * readelf.c (get_machine_flags): Recognize EF_M68000.
9 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
11 * MAINTAINERS: Added self as MN10300 co-maintainer.
13 2002-02-12 Alan Modra <amodra@bigpond.net.au>
15 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
18 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
20 * MAINTAINERS: List myself as branch maintainer.
22 2002-02-11 Alan Modra <amodra@bigpond.net.au>
24 * configure: Regenerate.
25 * objcopy.c: Update copyright date.
26 * doc/Makefile.in: Regenerate.
28 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
30 * nlmconv.c: Back out localtime PARAMS change.
32 2002-02-11 Alan Modra <amodra@bigpond.net.au>
34 * objcopy.c (MKDIR): Define.
35 (copy_archive): Make name_list.name const. Use MKDIR.
36 Handle duplicate files in archives by making more temp dirs.
38 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
40 * coffdump.c: Include "getopt.h" after "bucomm.h"
41 so that macros are defined correctly.
42 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
43 prototype. Prototype main.
44 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
46 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
48 * MAINTAINERS: Added self as SH co-maintainer.
50 2002-02-05 Nick Clifton <nickc@redhat.com>
52 * po/tr.po: Updated translation.
54 2002-02-01 Alan Modra <amodra@bigpond.net.au>
56 * Makefile.am: Run "make dep-am"
57 * Makefile.in: Regenerate.
59 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
61 * nm.c (print_value): Mark abfd unused.
63 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
65 * unwind-ia64.c (unw_decoder): Change second argument
66 to unsigned int, to match function prototypes.
68 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
70 * objdump.c: Include "getopt.h" after "bucomm.h" so that
71 __GNU_LIBRARY__ will be defined.
74 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
76 * configure: Regenerated.
78 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
80 * doc/Makefile.am (install): Depend on install-info.
81 * doc/Makefile.in: Regenerate.
83 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
85 * objcopy.c (strip_usage): Document -d as an alias
88 * size.c (usage): Document [-t | --totals] options.
89 (long_options): Add --totals option.
90 (main): If the [-t | --totals] option is specified and
91 the output format is Berkeley-style, print the total
92 text, data, and bss sizes of all objects listed.
93 (print_berkeley_format): If the [-t | --totals] option
94 is specified, track the total text, data, and bss
96 * doc/binutils.texi (size): Document [-t | --totals] options.
97 (strip): Document -d as an alias for --strip-debug.
98 * NEWS: Mention new feature of size.
100 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
102 * po/fr.po: Updated version.
103 * po/es.po: Updated version.
105 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
107 * addr2line.c (usage): Update text to provide verbose
108 description of the command line options.
109 * ar.c (usage): Update text to provide verbose
110 description of the command line options.
111 (main): Accept -h and -H when running as ranlib.
112 * coffdump.c (show_usage): Update text to provide verbose
113 description of the command line options.
114 * dlltool.c (main): Accept -H as an alias for --help.
115 * nlmconv.c (show_usage): Update text to provide verbose
116 description of the command line options.
117 * nm.c (usage): Replace OPTIONS with option(s).
118 (main): Accept -H as an alias for --help.
119 * objcopy.c (strip_main): Accept -H as an alias for --help.
120 * objdump.c (main): Accept -v as an alias for --verbose.
121 * readelf.c (usage): Adjust format to match style used in
123 * size.c (usage): Update text to provide verbose description
124 of the command line options.
125 (main): Accept -v, -h and -H as command line options.
126 * srconv.c (show_usage): Update text to provide verbose
127 description of the command line options.
128 * strings.c (main): Accept -H and -v as command line options.
129 (usage): Update text to provide verbose description of the
130 command line options.
131 * sysdump.c (show_usage): Update text to provide verbose
132 description of the command line options.
133 * windres.c (usage): Adjust format to match style used in
136 * coffdump.c: Fix formatting.
137 * nlmconv.c: Fix formatting.
138 * srconv.c: Fix formatting.
139 * sysdump.c: Fix formatting.
141 2002-01-22 Alan Modra <amodra@bigpond.net.au>
143 * Makefile.am: Run "make dep-am".
144 * Makefile.in: Regenerate.
146 2002-01-18 Andreas Jaeger <aj@suse.de>
148 * version.c (print_version): Update year.
150 2002-01-17 Alan Modra <amodra@bigpond.net.au>
152 * readelf.c (get_machine_name): Handle EM_PPC64.
153 (guess_is_rela): Here too.
155 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
157 * po/binutils.pot: Regenerate.
158 * po/fr.po: Regenerate.
159 * po/tr.po: Regenerate.
161 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
163 * po/tr.po: Import new version.
165 2002-01-16 Alan Modra <amodra@bigpond.net.au>
167 * readelf.c (get_ppc64_dynamic_type): New.
168 (get_dynamic_type): Call it.
170 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
172 * objcopy.c (copy_usage): Use "options" instead of "switches".
173 (strip_usage): Use "options" instead of "switches".
174 * doc/binutils.texi (dlltool): Refer to "options" instead of
177 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
179 * MAINTAINERS: Add self as co-maintainer for the ARM code.
181 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
183 * po/es.po: Import from translation project.
184 * configure.in (ALL_LINGUAS): Add es.
185 * configure: Regenerate.
187 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
189 * readelf.c (get_netbsd_elfcore_note_type): Use
190 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
192 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
194 * readelf.c: Update copyright years.
195 (get_note_type): Return a const char *.
196 (get_netbsd_elfcore_note_type): New function.
197 (process_note): Use get_netbsd_elfcore_note_type to get
198 the note type string for NetBSD ELF core files.
200 2002-01-06 Steve Ellcey <sje@cup.hp.com>
202 * readelf.c (get_ia64_segment_type): Add support for macros.
203 (get_segment_type): Add support for IA64 specific macros.
205 2001-12-20 Julian v. Bock <julian@wongr.net>
207 * readelf.c (print_symbol): New function: Print a formatted symbol
208 name. If --wide is specified do not truncate it.
209 (dump_relocations): Use print_symbol() to print symbol names.
210 (process_symbol_table): Likewise.
211 (process_syminfo): Likewise.
212 (process_mips_specific): Likewise.
213 (usage): Document new feature of --wide switch.
214 * doc/binutils.texi (objdump): Document additional behaviour of
217 2001-12-18 Michael Snyder <msnyder@redhat.com>
219 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
220 (copy_object): Don't set the start address or flags of a core file.
221 (copy_section): Don't relocate a core file. Don't copy contents
222 if the input section has the contents flag set, but the output
223 section does not (which happens with the fake 'note' pseudo-
224 sections that BFD creates for corefiles).
226 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
228 * readelf.c (get_machine_flags): Recognize header flags for ABI and
229 ASE extensions. More robust code for ISA checking. Ignore empty fields
230 in header flags for GNU extensions.
232 2001-12-18 Alan Modra <amodra@bigpond.net.au>
234 * objcopy.c (copy_archive): Set output bfd format outside the loop.
236 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
238 * po/ja.po: Import from translation project.
239 * configure.in (ALL_LINGUAS): Add ja.
240 * configure: Regenerate.
242 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
244 * addr2line.c (main): Protoype.
245 * ar.c (main): Protoype.
246 * nm.c (main): Protoype.
247 * objcopy.c (main): Protoype.
248 * objdump.c (main): Protoype.
249 * size.c (main): Protoype.
250 * strings.c (main): Protoype.
252 2001-12-17 Alan Modra <amodra@bigpond.net.au>
254 * readelf.c (symtab_shndx_hdr): New global.
255 (SECTION_HEADER_INDEX): Define.
256 (SECTION_HEADER_NUM): Define.
257 (SECTION_HEADER): Define.
258 (GET_ELF_SYMBOLS): Pass two params rather than three.
259 (get_32bit_elf_symbols): Take file and section args. Read and
260 use SHT_SYMTAB_SHNDX.
261 (get_64bit_elf_symbols): Likewise.
262 (dump_relocations): Use SECTION_HEADER to index "section_headers".
263 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
264 Remember symtab_shdx_hdr.
265 (process_program_headers): Scan from index 1 for segment map.
266 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
268 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
269 (process_unwind): Likewise.
270 (process_version_sections): Likewise.
271 (process_symbol_table): Likewise.
272 (display_debug_info): Likewise.
273 (process_dynamic_segment): Fake up a symtab section for changed
275 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
276 (process_program_headers): Kill signed/unsigned warning.
277 (load_debug_str): Likewise.
278 (display_debug_info): Likewise.
280 2001-12-13 Jakub Jelinek <jakub@redhat.com>
282 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
284 2001-12-11 Alan Modra <amodra@bigpond.net.au>
286 * readelf.c (process_file_header): Print extended e_shnum and
287 e_shdtrndx values. Set elf_header values for same.
288 (get_32bit_section_headers): Add "num" arg to read "num" headers.
289 (get_64bit_section_headers): Likewise.
290 (process_section_headers): Update calls.
291 (get_file_header): Call get_32bit_section_headers or 64bit variant.
293 2001-12-10 Jakub Jelinek <jakub@redhat.com>
295 * objcopy.c (setup_section): Copy entsize.
297 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
299 * readelf.c (guess_is_rela): Add support for stormy16.
300 (dump_relocations): Likewise.
301 (get_machine_name): Likewise.
303 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
305 * dllwrap.c (main) Replace multiple strings describing a
306 single error with a single, newline escaped sentence to permit
307 better translation into foreign languages.
309 * readelf.c (get_elf_class): Remove internalionalisation of ELF
312 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
314 * strings.c (get_char): Initialize value.
316 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
318 * arlex.l: Silence compile warnings.
319 * arsup.h: Likewise. Fix formatting.
321 2001-12-04 Jakub Jelinek <jakub@redhat.com>
323 * strings.c: Include config.h before bfd.h.
324 (file_off): New type.
326 (print_strings): Use file_off instead of file_ptr. Print addresses
327 which don't fit into long correctly.
328 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
330 (strings_file): Use file_off instead of file_ptr. Use file_open.
331 * configure.in: Check for getc_unlocked.
332 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
334 * configure: Rebuilt.
335 * config.h.in: Rebuilt.
337 2001-11-29 H.J. Lu <hjl@gnu.org>
339 * bucomm.c (make_tempname): Revert the changes made on
340 2001-11-14 and 2001-11-12. They won't work with directories.
342 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
344 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
345 CFLAGS_FOR_TARGET to runtest in environment.
346 * Makefile.in: Rebuild.
347 * doc/Makefile.in: Rebuild.
349 2001-11-28 Mike Stump <mrs@wrs.com>
351 * objcopy.c (setup_section): Preserve SEC_RELOC when
352 --set-section-flags is used.
354 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
356 * readelf.c (do_debug_str): New variable.
357 (display_debug_str): New function: Display the contents of a
359 (load_debug_str): New function: Load in the contents of a
361 (free_debug_str): New function: Free the memory used by
363 (fetch_indirect_string): Retrieve a string from the .debug_str
366 (parse_args): Accept -ws.
367 (process_section_headers): Allow the display of the .debug_str
369 (read_and_display_attr_value): Use fetch_indirect_string. Show
370 offset into .debug_str section.
371 (display_debug_info): Use load_debug_str and free_debug_str.
372 (debug_displays): Add .debug_str.
373 * doc/binutils.texi: Document -ws.
375 2001-11-19 Andreas Jaeger <aj@suse.de>
377 * testsuite/binutils-all/objdump.exp: Add x86-64.
379 2001-11-15 Andreas Schwab <schwab@suse.de>
381 * readelf.c: Fix warnings without terminating newline.
383 2001-11-15 Alan Modra <amodra@bigpond.net.au>
385 * doc/binutils.texi (objdump): Document ppc -M options.
387 2001-11-14 Andreas Jaeger <aj@suse.de>
389 * doc/binutils.texi (objdump): Fix description to use x86-64.
391 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
393 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
394 not all systems provide mkstemp.
396 2001-11-14 Alan Modra <amodra@bigpond.net.au>
398 * doc/binutils.texi (objdump): Document x86 -M options.
400 2001-11-13 Keith Walker <keith.walker@arm.com>
402 * readelf.c (read_and_display_attr_value): New function to
403 handle DW_FORM_indirect.
404 (read_and_display_attr): Use it.
406 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
408 * readelf.c (display_debug_lines): Deal with unknown standard
409 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
412 2001-11-13 Timothy Wall <twall@alum.mit.edu>
414 * MAINTAINERS: Add self as tic54x maintainer. This target
415 includes the IBM C54XDSP clone.
417 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
419 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
421 2001-11-09 Jeffrey A Law (law@cygnus.com)
423 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
424 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
425 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
426 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
427 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
428 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
429 (unw_decode_b2, unw_decode_b3_b4): Likewise.
431 * readelf.c (get_elf_class): Fix ISO portability glitch.
432 (get_data_encoding, get_osabi_name, request_dump): Likewise.
434 2001-11-07 Jakub Jelinek <jakub@redhat.com>
436 * readelf.c (debug_str, debug_str_size): New.
437 (display_debug_abbrev): If no abbrevs were read, skip the CU.
439 (read_and_display_addr): Handle DW_FORM_strp.
440 (display_debug_info): Read .debug_str section if present,
441 so that DW_FORM_strp can be handled.
442 Fix test for non-existant .debug_abbrev section.
444 2001-11-05 Jakub Jelinek <jakub@redhat.com>
446 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
448 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
450 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
452 * MAINTAINERS: Add self as s390/s390x maintainer.
454 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
456 * MAINTAINERS: Add self as PPC XCOFF maintainer.
458 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
460 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
461 * configure: Regernate.
462 * po/fr.po: New file.
463 * po/tr.po: New file.
465 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
467 * MAINTAINERS: Add self as MMIX port maintainer.
468 * readelf.c: Include elf/mmix.h.
469 (guess_is_rela): MMIX is RELA.
470 (dump_relocations): Handle MMIX relocations.
471 * Makefile.am: Regenerate dependencies.
472 * Makefile.in: Regenerate.
474 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
476 * readelf.c (parse_args): Handle multiple options to the -w
479 2001-10-12 Jakub Jelinek <jakub@redhat.com>
481 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
482 LOPROC, LOOS and LOUSER.
484 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
486 * MAINTAINERS: Update my email address.
488 2001-10-03 Alan Modra <amodra@bigpond.net.au>
490 * doc/Makefile.in: Regenerate.
491 * configure: Regenerate.
493 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
495 * readelf.c (display_debug_line, display_debug_pubnames,
496 display_debug_info, display_debug_frames): Detect and warn
497 about 64-bit format entries.
498 (display_debug_aranges): Reword 64-bit warning.
499 (debug_displays): Add .debug_pubtypes as a known, but not yet
500 supported, debug section.
502 2001-10-02 Alan Modra <amodra@bigpond.net.au>
504 * coffdump.c (PROGRAM_VERSION): Delete.
505 (main <'V'>): Call print_version.
506 * srconv.c: Likewise.
507 * sysdump.c: Likewise.
508 * version.c (program_version): Remove.
509 (print_version): Use BFD_VERSION_STRING. Just print the current
510 year in copyright message.
511 * addr2line.c (program_version): Remove unused declaration.
512 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
513 place of BFD_VERSION.
514 * Makefile.am (Makefile): Depend on bfd/configure.in.
515 (cplus-dem.o): Depend on Makefile.
517 * Makefile.in: Regenerate.
519 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
521 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
522 format .debug_arange sections.
523 (main): Add missing prototype.
525 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
527 * Makefile.am: Update dependencies with "make dep-am".
528 * Makefile.in: Regenerate.
530 2001-09-28 Richard Henderson <rth@redhat.com>
532 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
534 2001-09-26 Alan Modra <amodra@bigpond.net.au>
536 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
538 (non_fatal): Likewise.
539 * objdump.c (objdump_sprintf): Likewise.
540 * readelf.c (error): Likewise.
543 2001-09-25 Jakub Jelinek <jakub@redhat.com>
545 * readelf.c (do_wide): New.
546 (options): Add --wide.
547 (usage, parse_args): Likewise.
548 (process_program_headers): Put each segment on a single line if
550 (process_section_headers): Put each section on a single line if
552 * doc/binutils.texi: Document it.
555 2001-09-25 Alan Modra <amodra@bigpond.net.au>
557 * readelf.c (print_vma): Print 8 digits of low hex value.
559 2001-09-24 Andreas Jaeger <aj@suse.de>
561 * nlmconv.c: Fix warnings about unused attributes and function
564 * strings.c: Add prototype for get_char.
566 2000-09-19 H.J. Lu <hjl@gnu.org>
568 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
569 $(srcdir)/cxxfilt.man.
570 * doc/Makefile.in: Rebuild.
572 2001-09-19 Alan Modra <amodra@bigpond.net.au>
574 * objcopy.c (copy_main): Correct rename-section string parsing.
575 Consolidate new_name parsing, and error messages.
577 2001-09-18 Bruno Haible <haible@clisp.cons.org>
579 * addr2line.c: Don't include <ctype.h>.
580 (main): For gettext, also set the LC_CTYPE locate facet.
581 * ar.c (main): Likewise.
582 * coffdump.c (main): Likewise.
583 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
584 (main): For gettext, also set the LC_CTYPE locate facet.
585 Use ISALNUM instead of isalpha/isdigit.
586 * dllwrap.c: Don't include <ctype.h>.
587 (main): For gettext, also set the LC_CTYPE locate facet.
588 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
589 (main): For gettext, also set the LC_CTYPE locate facet.
590 Use TOUPPER instead of islower/toupper.
591 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
592 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
593 Use TOUPPER instead of islower/toupper.
594 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
595 * objcopy.c (main): Likewise.
596 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
597 (disassemble_bytes): Use ISPRINT instead of isprint.
598 (dump_section_stabs): Use ISDIGIT instead of isdigit.
599 (dump_data): Use ISPRINT instead of isprint.
600 (main): For gettext, also set the LC_CTYPE locate facet.
601 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
602 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
603 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
604 Use TOUPPER instead of islower/toupper.
605 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
606 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
607 (write_rc_accelerators): Use ISPRINT instead of isprint.
608 (write_rc_rcdata): Likewise.
609 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
610 * srconv.c (main): Likewise.
611 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
612 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
613 isdigit/isupper/islower.
614 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
615 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
616 stab_demangle_prefix, stab_demangle_qualified,
617 stab_demangle_template, stab_demangle_type,
618 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
619 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
620 (isgraphic): Use ISPRINT instead of isascii/isprint.
621 (main): Remove HAVE_LC_MESSAGES dependency.
622 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
623 (pbarray): Use ISPRINT instead of isprint.
624 (main): For gettext, also set the LC_CTYPE locate facet.
625 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
626 (format_from_filename): Use ISPRINT instead of isprint.
627 (main): For gettext, also set the LC_CTYPE locate facet.
628 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
629 (unicode_print): Use ISPRINT instead of isprint.
630 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
631 (stab_variable): Use ISDIGIT instead of isdigit.
633 2001-09-18 Alan Modra <amodra@bigpond.net.au>
635 * ar.c (print_contents): Cast args of bfd_seek to the right types.
636 Replace bfd_read call with call to bfd_bread.
637 (extract_file): Likewise.
639 * objdump.c (dump_section_header): Cast section->filepos to
640 unsigned long to suit printf format string.
641 * readelf.c (process_section_headers): Similarly for sh_offset.
642 (process_unwind): Likewise.
644 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
646 * strings.c (encoding, encoding_bytes): New variables.
647 (long_options): Add --encoding.
648 (main): Accept -e and --encoding.
649 (get_char): New function. Read a, possibly wide, character from
651 (print_strings): Use get_char().
652 (usage): Document new command line option.
653 * doc/binutils.texi: Document new command line option.
654 * NEWS: Announce new command line option.
656 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
658 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
659 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
660 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
661 Removed EM_CYGNUS_ARC.
663 2001-09-04 Jeffrey A Law (law@cygnus.com)
665 * readelf.c: Include elf/h8 for H8 series definitions.
666 (guess_is_rela): H8 series if RELA.
667 (dump_relocations): Handle H8 series relocations.
669 2001-08-31 Eric Christopher <echristo@redhat.com>
671 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
673 2001-08-29 Peter Targett <peter.targett@arccores.com>
675 * MAINTAINERS: Include ARC Maintainer.
677 2001-08-29 Ben Elliston <bje@redhat.com>
679 * stabs.c (stab_demangle_template): Initialise s4.
681 2001-08-27 Alan Modra <amodra@bigpond.net.au>
683 * readelf.c (dump_relocations): Recognise EM_PPC64.
685 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
687 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
689 2001-08-25 H.J. Lu <hjl@gnu.org>
691 * nm.c (print_width): New.
692 (display_rel_file): Set `print_width' according to
694 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
696 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
698 * objcopy.c (use_alt_mach_code): New variable.
699 (OPTION_ALT_MACH_CODE): Define.
700 (copy_options): Added --alt-machine-code.
701 (copy_main): Handle it.
702 (copy_object): Switch to alternate machine code if requested.
703 * doc/binutils.texi: Document new option.
706 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
708 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
710 2001-08-21 H.J. Lu <hjl@gnu.org>
712 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
713 (display_debug_info): Cast for 64bit hosts.
714 (display_debug_frames): Likewise.
715 (process_mips_specific): Likewise.
717 2001-08-21 Andreas Jaeger <aj@suse.de>
719 * coffgrok.h: Add missing parameter for prototype of coff_grok.
721 * sysdump.c: Add missing prototypes.
722 * srconv.c: Likewise.
723 * unwind-ia64.c: Likewise.
724 * coffdump.c: Likewise.
726 * sysinfo.y: Print prototypes, include <ansidecl.h>.
728 * coffgrok.c: Add missing prototypes, include libiberty.h instead
729 of declaring xcalloc.
731 2001-08-10 H.J. Lu <hjl@gnu.org>
733 * nm.c (print_value): Add one arg, bfd *.
734 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
735 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
736 (print_symbol_info_sysv): Likewise.
737 (print_symbol_info_posix): Likewise.
739 * objdump.c (dump_section_header): Replace printf_vma with
741 (print_section_stabs): Likewise.
742 (dump_bfd_header): Likewise.
743 (objdump_print_value): Replace sprintf_vma with
745 (disassemble_bytes): Likewise.
746 (dump_reloc_set): Likewise.
748 2001-08-10 Andreas Jaeger <aj@suse.de>
750 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
752 * configure: Regenerate.
754 2001-08-09 Alan Modra <amodra@bigpond.net.au>
756 * readelf.c: Add missing prototypes.
757 * objdump.c: Likewise. Format existing prototypes.
759 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
761 * readelf.c (display_debug_info): Add to abbrev_offset the addend
762 of any RELA relocation for the abbrev_offset memory location that
763 refers to the .debug_abbrev section symbol.
765 2001-08-07 H.J. Lu <hjl@gnu.org>
767 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
768 (main): Return process_file ().
770 2001-08-05 Philip Blundell <philb@gnu.org>
772 * doc/binutils.texi: Use "Thumb" not "THUMB".
774 2001-08-03 John Healy <jhealy@redhat.com>
776 Patch suggested by Frank Eigler <fche@redhat.com>.
777 * objdump.c (disassemble_data): Fill in section member of the
778 disasm_info structure.
780 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
782 * configure.in: Added --with-windres option.
783 * configure: Regenerated.
785 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
787 * doc/binutils.texi: Use @command{name} for commands;
788 use @option{-opt} for options; use @table @env for list of options;
789 remove spaces arround [ | ] in synopsis.
791 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
794 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
796 * objcopy.c: Fix formatting.
797 (section_rename): New structure.
798 (OPTION_RENAME_SECTION): New switch.
799 (copy_usage): Document new switch.
800 (add_section_rename): New function: Add a node to the section
802 (find_section_rename): New function: Find the new name and
804 (setup_section): Call find_section_name to determine the name
805 of the output section.
806 (copy_main): Handle OPTION_RENAME_SECTION.
807 * binutils.texi: Document new switch.
808 * NEWS: Mention new switch.
810 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
812 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
813 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
814 bug-binutils@gcc.org.
816 2001-07-28 Matthias Kramm <kramm@quiss.org>
818 * bucomm.c (list_supported_architectures): New function.
819 * bucomm.h (list_supported_architectures): Declare.
820 * objdump.c (usage): Call the above.
822 2001-07-25 Dave Brolley <brolley@redhat.com>
824 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
825 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
827 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
829 * README: Update for 2.11. Change bug reporting email address.
830 * MAINTAINERS: Tidy up. Change bug reporting email address.
832 2001-07-16 DJ Delorie <dj@redhat.com>
834 * resres.c (write_res_header): Align header size.
835 (res_align_file): Calculate alignment correctly.
837 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
839 * resrc.c (write_rc_resource): Likewise.
840 * windres.h (SUBLANG_SHIFT): Define - as 10.
842 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
844 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
846 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
848 * MAINTAINERS: Add notes about branch checkins.
850 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
852 * readelf.c (display_debug_macinfo): New function, display
853 .debug_macinfo section.
854 (do_debug_macinfo): New variable.
855 (parse_args): Handle "-w[mM]" to mean display macro info.
856 (process_section_headers): Handle debug_macinfo.
857 (debug_displays): Replace unsupported function with macinfo
858 function for .debug_macinfo display.
859 * doc/binutils.texi: Document new command line switch.
860 * NEWS: Document new feature of readelf.
862 2001-07-05 H.J. Lu <hjl@gnu.org>
864 * objcopy.c (filter_symbols): Don't turn undefined symbols
867 2001-07-03 H.J. Lu <hjl@gnu.org>
869 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
872 (dlltool.1): Likewise.
873 (nlmconv.1): Likewise.
875 (objcopy.1): Likewise.
876 (objdump.1): Likewise.
877 (ranlib.1): Likewise.
878 (readelf.1): Likewise.
880 (strings.1): Likewise.
882 (windres.1): Likewise.
883 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
884 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
887 * doc/Makefile.in: Regenerated.
889 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
891 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
893 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
895 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
897 2001-06-29 James Cownie <jcownie@etnus.com>
899 * readelf.c: Support DWARF 2.1 attributes.
901 2001-06-28 Alan Modra <amodra@bigpond.net.au>
903 * readelf.c (GET_DATA_ALLOC): Remove.
905 (get_data): New function combining above macros, with an extra
907 (slurp_rela_relocs): Use get_data, and catch error return.
908 (slurp_rel_relocs): Likewise.
909 (get_32bit_program_headers): Likewise.
910 (get_64bit_program_headers): Likewise.
911 (get_32bit_section_headers): Likewise.
912 (get_64bit_section_headers): Likewise.
913 (get_32bit_elf_symbols): Likewise.
914 (get_64bit_elf_symbols): Likewise.
915 (process_section_headers): Likewise.
916 (process_relocs): Likewise.
917 (slurp_ia64_unwind_table): Likewise.
918 (process_unwind): Likewise.
919 (get_32bit_dynamic_segment): Likewise.
920 (get_64bit_dynamic_segment): Likewise.
921 (process_dynamic_segment): Likewise.
922 (process_version_sections): Likewise.
923 (process_symbol_table): Likewise.
924 (dump_section): Likewise.
925 (display_debug_info): Likewise.
926 (display_debug_section): Likewise.
927 (process_section_contents): Likewise.
928 (process_corefile_note_segment): Likewise.
929 (process_mips_specific): Likewise. Also free econf32, econf64.
931 2001-06-25 Alan Modra <amodra@bigpond.net.au>
933 * readelf.c (dump_relocations): Print "bad symbol index" if
934 symtab == NULL with non-zero symtab_index.
935 (process_relocs): Don't bomb if reloc section has no symsec.
937 2001-06-24 H.J. Lu <hjl@gnu.org>
939 * objcopy.c (strip_main): Revert the change made on 2001-05-30
941 (copy_main): Apply the the change made to strip_main on
942 2001-05-30 by accident.
944 2001-06-23 Andreas Jaeger <aj@suse.de>
946 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
948 (unw_decode_x2): Likewise.
949 (unw_decode_x3): Likewise.
950 (unw_decode_x4): Likewise.
952 2001-06-23 Ben Elliston <bje@redhat.com>
954 * MAINTAINERS: Add myself as M88k maintainer.
956 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
958 * objcopy.c (strip_main): Support -o or --output-file command lien
961 2001-06-19 H.J. Lu <hjl@gnu.org>
963 * doc/Makefile.in: Regenerated.
965 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
967 * readelf.c: Restore formatting.
969 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
971 * Makefile.am: Move documentation into doc subdirectory.
972 * Makefile.in: Regenerated.
973 * binutils.texi: Move into doc subdirectory.
974 * addr2line.1: Removed.
976 * dlltool.1: Likewise.
977 * nlmconv.1: Likewise.
979 * objcopy.1: Likewise.
980 * objdump.1: Likewise.
981 * ranlib.1: Likewise.
982 * readelf.1: Likewise.
984 * strings.1: Likewise.
986 * windres.1: Likewise.
987 * cxxfilt.man: Likewise.
988 * doc: New Directory.
989 * doc/Makefile.am: New file.
990 * doc/Makefile.in: Generate.
992 2001-06-09 Alan Modra <amodra@bigpond.net.au>
994 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
996 2001-06-01 Alan Modra <amodra@bigpond.net.au>
998 * MAINTAINERS: Update my email address.
1000 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1002 * objcopy.c: Add new switches: --keep-global-symbol,
1003 --keep-symbols, --localize-symbols, --keep-global-symbols and
1005 * binutils.texi: Document new switches.
1006 * objcopy.1: Regenerate.
1007 * NEWS: Announce new feature.
1009 2001-05-28 Andreas Jaeger <aj@suse.de>
1011 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1012 variables, fix format strings.
1014 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1016 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1017 when computing the address of the line to show.
1019 2001-05-16 Richard Henderson <rth@redhat.com>
1021 * readelf.c (do_debug_frames_interp): New.
1022 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1023 (byte_get_big_endian): Likewise.
1024 (parse_args) ['F']: Set do_debug_frames_interp.
1025 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1026 (frame_display_row): Don't trunc pc_begin to int.
1027 (size_of_encoded_value): New.
1028 (display_debug_frames): Handle 64-bit targets. Print raw data
1029 unless do_debug_frames_interp.
1030 (debug_displays): Remove duplicate .debug_frame.
1032 2001-05-15 Ralf Baechle <ralf@gnu.org>
1034 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1035 The former constant was never in active use and is used otherwise
1038 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1040 * readelf.c (process_unwind): Print all unwind sections, not just
1043 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1045 * readelf.c (process_unwind): Remove const specifier.
1047 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1049 * strings.c (isgraphic): Do not use isascii() unless it is needed
1050 for isprint() to work.
1051 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1053 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1055 * NEWS: Announce support for OpenRISC.
1057 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1059 * dlltool.c (do_default_excludes): Initialise to true.
1061 2001-04-10 Alan Modra <amodra@one.net.au>
1063 * MAINTAINERS: Update my email address
1064 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1066 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1068 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1070 2001-03-30 H.J. Lu <hjl@gnu.org>
1072 * readelf.c (process_unwind): Just return if do_unwind is 0.
1074 2001-03-28 Roger Sayle <roger@metaphorics.com>
1076 * dlltool.c (make_one_lib_file): Fix section flags for
1077 .text, .data and .bss in stub ds*.o files to match those
1080 2001-03-29 H.J. Lu <hjl@gnu.org>
1082 * readelf.c (process_unwind): Only do unwind sections for
1085 2001-03-28 H.J. Lu <hjl@gnu.org>
1087 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1088 * Makefile.in: Regenerate.
1090 2001-03-26 Andreas Jaeger <aj@suse.de>
1092 * binutils.texi (nm): Fix texi syntax.
1094 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1096 * binutils.texi: Put @c man begin and @c man end indications
1097 to generate man pages using texi2pod and pod2man. Put @c man title
1098 to identify each man. Add SEEALSO entries.
1099 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1100 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1102 (*.1): Build the man pages from binutils.texi.
1103 * Makefile.in: Regenerate.
1105 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1107 * defparse.y (opt_equal_name): allow "." in name.
1108 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1109 (gen_exp_file): Likewise.
1111 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1113 * NEWS: Document addition of -B switch to objcopy.
1114 * binutils.texi: Document addition of -B switch to objcopy.
1115 * objcopy.c: (copy_options): Add --binary-architecture.
1116 (copy_usage): Document -B/--binary-architecture.
1117 (copy_main): Support -B/--binary-architecture. Set
1118 bfd_external_binary_architecture.
1120 2001-03-11 Andreas Jaeger <aj@suse.de>
1122 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1123 (dump_relocations): Likewise.
1124 (get_machine_name): Likewise.
1126 2001-02-28 Nick Clifton <nickc@redhat.com>
1128 * readelf.c: (struct unw_aux_info): Remove const modifier for
1130 (process_unwind): Remove non-K&R compliant LHS type cast in call
1131 to GET_DATA_ALLOC macro.
1133 2001-02-28 Philip Blundell <pb@futuretv.com>
1135 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1136 ABI is in use; remove ambiguity between the "unknown" EABI and
1137 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1138 renamed EF_xx constants.
1140 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1142 * configure.in (BFD_VERSION): New.
1143 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1144 * configure: Regenerate.
1145 * Makefile.am: Run "make dep-am"
1146 * Makefile.in: Regenerate.
1148 2001-02-14 Nick Clifton <nickc@redhat.com>
1150 * MAINTAINERS: Add "Obvious Fix" rule.
1152 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1154 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1155 literal concatenation.
1157 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1159 * readelf.c (struct unw_aux_info): Remove const from the info member.
1160 (process_unwind): Don't type-cast the third argument to the
1161 GET_DATA_ALLOC macro.
1163 2001-02-11 Nick Clifton <nickc@redhat.com>
1165 * readelf.c (dump_relocations): Free corrected allocated
1167 (process_unwind): Fix compile time warning.
1169 2001-02-10 Nick Clifton <nickc@redhat.com>
1171 * binutils.texi: Document new --unwind option to readelf.
1173 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1175 * readelf.c: Add linux target for S/390.
1177 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1179 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1182 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1184 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1185 * aclocal.m4: Regenerate.
1186 * configure: Regenerate.
1188 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1190 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1191 * objdump.c (bfd_target_vector): Likewise.
1193 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1195 * readelf.c (process_unwind): New function.
1196 (slurp_ia64_unwind_table): Ditto.
1197 (dump_ia64_unwind): Ditto.
1198 (find_symbol_for_address): Ditto.
1199 (slurp_rela_relocs): New function (split off from dump_relocations()).
1200 (slurp_rel_relocs): Ditto.
1201 (parse_args): Handle '-u' option.
1203 * unwind-ia64.c: New file.
1204 * unwind-ia64.h: New file.
1205 * Makefile.am: Include unwind-ia64.c in readelf build.
1206 * Makefile.in: Regenerate.
1207 * po/binutils.pot: Regenerate.
1209 2001-02-04 Philip Blundell <philb@gnu.org>
1211 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1212 * configure: Regenerate.
1214 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1216 * ieee.c (ieee_add_bb11): Don't check for backslashes
1217 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1219 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1221 * ieee.c: Update copyright.
1222 (ieee_start_compilation_unit): Don't check for backslashes
1223 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1225 * stabs.c: Update copyright. Include "filenames.h".
1226 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1228 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1230 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1231 sections are present before using them. Remove code duplication.
1232 (process_symbol_table): Check if VERDEF or VERNEED sections are
1233 present before using them.
1235 2001-01-17 Nick Clifton <nickc@redhat.com>
1237 * objcopy.c (copy_object): Fail if attempting to convert the
1238 endianness of the input object file.
1240 * binutils.texi: Explain that objcopy cannot convert endianness.
1242 2001-01-16 Nick Clifton <nickc@redhat.com>
1244 * readelf.c (string_table_length): New variable.
1245 (SECTION_NAME): Catch out of range indices and missing section
1247 (process_section_headers): Delete useless local variable
1248 string_table_offset. Set the value of string_table_length
1249 after loading the string table.
1250 (process_mips_specific): Use SECTION_NAME macro.
1251 (process_file): Set string_table_length to 0 when it is freed.
1253 2001-01-12 Nick Clifton <nickc@redhat.com>
1255 * version.c (print_version): Update copyright date.
1257 2001-01-11 Peter Targett <peter.targett@arccores.com>
1259 * readelf.c (dump_relocations): Include selection with EM_ARC.
1260 (get_machine_name) Update name to "ARC".
1262 2001-01-09 Nick Clifton <nickc@redhat.com>
1264 * Makefile.am: Add rule to build objdump.o from objdump.c and
1266 * Makefile.in: Regenerate.
1268 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1269 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1270 -DDISASSEMBLER_NEEDS_RELOCS.
1271 * configure: Regenerate.
1273 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1274 is defined read in the relocs even if dump_reloc_info is
1277 2001-01-07 Philip Blundell <philb@gnu.org>
1279 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1283 2000-12-19 Nick Clifton <nickc@redhat.com>
1285 * dlltool.c: Add missing support for arm-epoc-pe.
1286 * configure.in: Add missing support for arm-epoc-pe.
1287 * configure: Regenerate.
1289 2000-12-15 Nick Clifton <nickc@redhat.com>
1291 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1292 Mode parts of the x86 port.
1294 2000-12-04 Andreas Jaeger <aj@suse.de>
1296 * readelf.c (guess_is_rela): Add EM_X86_64.
1297 (dump_relocations): Add EM_X86_64.
1298 (get_machine_name): Add EM_X86_64.
1299 Include "elf/x86-64.h".
1301 2000-12-12 Nick Clifton <nickc@redhat.com>
1303 * readelf.c: Fix formatting.
1305 2000-12-11 Jan Hubicka <jh@suse.cz>
1307 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1309 2000-12-07 Andrew Haley <aph@redhat.com>
1311 * readelf.c (display_debug_frames): Only display columns that are
1312 referenced by the frame debug info.
1314 2000-12-05 Nick Clifton <nickc@redhat.com>
1316 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1318 2000-12-04 Jason Merrill <jason@redhat.com>
1320 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1321 (display_debug_section): Likewise.
1322 (display_debug_info): Display CU header before bailing.
1324 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1326 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1327 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1328 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1330 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1333 * readelf.c (get_machine_flags): Add case for
1336 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1338 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1340 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1342 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1343 Change sourceware.cygnus.com to sources.redhat.com.
1344 Fix typo for "amongst".
1346 2000-11-28 Nick Clifton <nickc@redhat.com>
1348 * strip.1 (COPYING): Mention that the GNU Free Documentation
1349 License is present in the sources, but not the output, and
1350 also available from the GNU website.
1351 (GNU Free Documentation License): Comment out this section.
1360 * addr2line.1: Ditto.
1362 2000-11-27 DJ Delorie <dj@redhat.com>
1364 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1365 (parse_args): Support -wf option.
1366 (process_section_headers): Ditto.
1367 (debug_displays): Ditto.
1368 (display_debug_frames): New, dump *_frame sections.
1369 (frame_need_space): Support for above.
1370 (frame_display_row): Ditto.
1371 * binutils.texi: Document it.
1373 2000-11-24 Nick Clifton <nickc@redhat.com>
1375 * NEWS: Announce support for v5t, v5te and XScale.
1377 2000-11-22 Nick Clifton <nickc@redhat.com>
1379 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1380 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1381 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1382 (get_elf_section_flags: Add SHF_GROUP.
1383 (process_section_headers): Adjust output for 32-bit binaries
1384 to look nice on an 80 column terminal.
1386 2000-11-20 H.J. Lu <hjl@gnu.org>
1388 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1391 2000-11-17 Richard Henderson <rth@redhat.com>
1393 * readelf.c (display_debug_lines): Adjust last change to
1394 use sizeof (external->li_length).
1396 2000-11-17 Richard Henderson <rth@redhat.com>
1398 * readelf.c (display_debug_lines): Fix section length check
1399 and end_of_sequence computation.
1401 2000-11-06 Nick Clifton <nickc@redhat.com>
1403 * binutils.texi: Add GNU Free Documentation License.
1404 * objcopy.1: Add GNU Free Documentation License.
1405 * objdump.1: Add GNU Free Documentation License.
1406 * addr2line.1: Add GNU Free Documentation License.
1407 * ar.1: Add GNU Free Documentation License.
1408 * nlmconv.1: Add GNU Free Documentation License.
1409 * nm.1: Add GNU Free Documentation License.
1410 * ranlib.1: Add GNU Free Documentation License.
1411 * size.1: Add GNU Free Documentation License.
1412 * strings.1: Add GNU Free Documentation License.
1413 * strip.1: Add GNU Free Documentation License.
1415 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1417 * objcopy.c (--srec-len=nn): New parameter to set the
1418 maximum length of generated Srecords.
1419 (--srec-forceS3): New parameter that restricts the generation of
1420 Srecords to type S3 only.
1421 * binutils.texi: Document new command line switches.
1422 * objcopy.1: Docuemnt the new command line switches.
1423 * NEWS: Announce the existence of the new command line switches.
1425 2000-10-31 Nick Clifton <nickc@redhat.com>
1427 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1428 code. Add Eric Chrisopher as maintainer of MN10300 port.
1430 2000-10-12 Roger Sayle <roger@metaphorics.com>
1432 * Make comma after string after icon/control optional.
1434 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1436 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1438 * NEWS: Mention support for MIPS32.
1440 2000-09-08 Nick Clifton <nickc@redhat.com>
1442 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1444 2000-09-07 H.J. Lu <hjl@gnu.org>
1446 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1447 * configure: Rebuild.
1449 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1451 * configure: Rebuilt with new libtool.m4.
1453 2000-09-05 Nick Clifton <nickc@redhat.com>
1455 * aclocal.m4: Regenerate.
1456 * config.in: Regenerate.
1457 * configure: Regenerate.
1459 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1461 * strip.1: Fix stray '\' in -o formatting.
1463 2000-09-02 Nick Clifton <nickc@redhat.com>
1465 * configure.in: Increase version number to 2.10.91.
1466 * configure: Regenerate.
1467 * aclocal.m4: Regenerate.
1468 * config.in: Regenerate.
1469 * po/binutils.pot: Regenerate.
1471 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1473 * acinclude.m4: Include libtool and gettext macros from the
1475 * aclocal.m4, configure: Rebuilt.
1477 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1479 * resrc.c (close_input_stream): Delete extraneous logic
1481 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1483 * NEWS: Mention support for CRIS.
1485 2000-08-21 Nick Clifton <nickc@redhat.com>
1487 * addr2line.c: Changed email address for Ulrich Lauther.
1489 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1491 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1493 2000-08-17 Nick Clifton <nickc@redhat.com>
1495 * readelf.c (display_debug_pubnames): Only issue warning
1496 message once. Terminate message with a new line.
1497 (display_debug_aranges): Only display version 2 debug info.
1499 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1501 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1502 for compatability with old BSD systems.
1504 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1506 * NEWS: Mention i860 support.
1508 2000-08-11 Carlo Wood <carlo@alinoe.com>
1510 * addr2line.c (main): Add const to char *.
1512 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1514 * ar.c (main): Don't crash if called with no arguments
1515 or only '-X32_64' as an argument.
1517 2000-08-08 DJ Delorie <dj@redhat.com>
1519 * resrc.c: use "gcc -xc" instead of -xc-header
1521 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1523 * readelf.c (elf/i860.h): Include.
1524 (dump_relocations): Add recognition of i860 architecture.
1525 (guess_is_rela): Add recognition of i860 architecture.
1527 2000-08-03 Nick Clifton <nickc@cygnus.com>
1529 * MAINTAINERS: Add information about CGEN maintainers.
1531 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1533 * nm.c (main): Ignore '-X32_64' as an option.
1534 * ar.c (main): Likewise.
1535 * binutils.texi (nm): Document new option.
1538 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1540 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1542 2000-07-20 H.J. Lu <hjl@gnu.org>
1544 * binutils.texi: Put back "@end table" deleted by
1547 2000-07-05 Kenneth Block <krblock@computer.org>
1549 * nm.c: Add optional style to demangle switch.
1550 * objdump.c: Add optional style to demangle switch.
1551 * addr2line.c: Add optional style to demangle switch.
1552 * binutils.texi: Document optional style to demangle
1555 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1557 * MAINTAINERS: Add self as CRIS port maintainer.
1558 * readelf.c: Include elf/cris.h.
1559 (guess_is_rela): Handle EM_CRIS.
1560 (dump_relocations): Ditto.
1561 (get_machine_name): Ditto.
1562 * Makefile.am: Rebuild dependencies.
1563 * Makefile.in: Regenerate.
1564 * po/binutils.pot: Regenerate.
1566 2000-07-19 H.J. Lu <hjl@gnu.org>
1568 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1570 (process_dynamic_segment): Print out strings for DT_CONFIG,
1571 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1573 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1575 * nm.c (usage): Change output of `nm --help' to include a
1576 description of the purpose of the program and a detailed
1577 description of the accepted options.
1579 2000-07-19 H.J. Lu <hjl@gnu.org>
1581 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1584 2000-07-19 H.J. Lu <hjl@gnu.org>
1586 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1588 2000-07-19 H.J. Lu <hjl@gnu.org>
1590 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1592 (process_dynamic_segment): Likewise.
1594 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1595 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1596 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1597 DF_1_NODUMP and DF_1_CONLFAT.
1599 2000-07-18 Nick Clifton <nickc@cygnus.com>
1601 * binutils.texi (readelf): Fix spelling typo.
1603 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1605 * objdump.c (usage): Make output of `objdump --help' more
1606 consistent with the rest of the GNU world. Add a line describing
1607 the purpose of the program.
1609 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1611 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1614 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1616 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1618 (process_symbol_table): Ditto.
1619 (procesS_extended_line_op): Ditto.
1620 (display_debug_lines): Ditto.
1621 (display_debug_pubnames): Ditto.
1622 (read_and_display_attr): Ditto.
1624 2000-07-09 Nick Clifton <nickc@cygnus.com>
1626 * MAINTAINERS: Add several more port specific maintainers.
1628 2000-07-05 Nick Clifton <nickc@cygnus.com>
1630 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1632 2000-06-05 DJ Delorie <dj@redhat.com>
1636 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1638 * dllwrap.c: Changed mistaken dyn_string_append() calls
1639 to dyn_string_append_cstr().
1641 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1643 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1644 struct debug_type stores size in bytes.
1646 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1648 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1649 (CLEANFILES): Add DEPA.
1650 * Makefile.in: Regenerate.
1652 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1654 * ar.c: Revert incorrect 2000-06-25 patch.
1655 * bucomm.c: Likewise.
1657 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1659 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1660 (external_coff_symbol_p): New function.
1661 (parse_coff): Use it.
1663 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1665 * ar.c (normalize): Advance past both characters in a DOS based
1666 <letter>: filepath prefix.
1668 * bucomm.c (make_tempname): Likewise.
1670 2000-06-24 Nick Clifton <nickc@cygnus.com>
1672 * objdump.c (usage): Fix description of --stabs switch.
1674 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1676 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1678 * Makefile.in: Regenerate.
1680 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1682 * ar.c (normalize): Correct pointer comparison when checking for
1685 * bucomm.c (make_tempname): Likewise.
1687 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1688 and search for backslashes in the original pathname.
1689 (ieee_add_bb11): Likewise.
1691 2000-06-18 Nick Clifton <nickc@redhat.com>
1693 * ar.c (print_contents): Improve verbose message.
1695 2000-06-15 H.J. Lu <hjl@gnu.org>
1697 * dyn-string.c: Removed. Not needed with dyn-string.c in
1699 * dyn-string.h: Likewise.
1701 * Makefile.am: Remove references to dyn-string.c and
1702 dyn-string.h. Rebuild dependency.
1703 * Makefile.in: Rebuild.
1705 2000-06-15 H.J. Lu <hjl@gnu.org>
1707 * binutils.texi: Put a warning on copying relocatable object
1708 files between two different formats.
1710 2000-06-13 DJ Delorie <dj@cygnus.com>
1712 * rcparse.y (control): ICON controls take an id as the first
1713 parameter, not an optional string. Also, call new convenience
1714 function that takes res_id's.
1715 * resrc.c (define_control): missing text means zero-length string,
1717 (define_icon_control): New.
1718 * windres.h: declare define_icon_control.
1720 2000-06-13 H.J. Lu <hjl@gnu.org>
1722 * configure: Regenerate.
1724 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1726 * configure.in (VERSION): Update to show this is the CVS mainline.
1728 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1730 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1731 analogous to <SPACE>.
1733 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1735 * objdump.c (display_target_list): Use bfd_close_all_done, not
1736 bfd_close to fix crash caused by 2000-05-24 change.
1738 2000-05-25 DJ Delorie <dj@cygnus.com>
1740 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1742 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1744 * Makefile.am: Update dependencies with "make dep-am"
1745 * Makefile.in: Regenerate.
1747 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1749 * ar.c: Include filenames.h.
1750 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1751 and drive letters in file names.
1752 (main): Support backslashes and drive letters in argv[0]. Drop
1753 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1754 FILENAME_CMP instead of strcmp to compare file names.
1755 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1757 (do_quick_append) [__GO32__]: Ditto.
1758 (get_pos_bfd, delete_members, move_members, replace_members):
1759 Compare file names with FILENAME_CMP.
1761 * bucomm.c: Include filenames.h.
1762 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1763 forward/backward slashes and drive letters in file names.
1765 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1766 mixed forward/backward slashes and drive letters in file names.
1768 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1769 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1772 * objcopy.c: Include filenames.h.
1773 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1774 before comparing to "strip".
1775 Use FILENAME_CMP to compare file names.
1777 * arsup.c: Include filenames.h.
1778 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1779 FILENAME_CMP to compare file names.
1780 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1781 the temporary file name.
1783 * configure.in: Check for setmode.
1784 * configure: Regenerate.
1786 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1788 * objdump.c (display_target_list): Close the bfd.
1789 (display_info_table): Likewise.
1791 2000-05-14 H.J. Lu (hjl@gnu.org)
1793 * objcopy.c (filter_symbols): Don't strip global symbols in
1794 relocatable object files.
1796 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1798 * size.c (usage): Associate short options with corresponding long
1799 option to give a clue as to their function.
1801 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1803 * size.c (main): Accept and ignore `-f' option.
1805 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1807 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1808 bindtextdomain): Replace defines with those from intl/libgettext.h
1809 to quieten gcc warnings.
1811 2000-05-12 H.J. Lu <hjl@gnu.org>
1813 * nlmconv.c (temp_filename): Removed.
1815 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1816 choose_temp_base ().
1817 * objdump.c (display_target_list): Likewise.
1818 (display_info_table): Likewise.
1820 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1822 * objcopy.c (setup_section): Add const and gettext calls for err.
1824 2000-05-02 H.J. Lu <hjl@gnu.org>
1826 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1827 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1828 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1829 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1830 and ELFOSABI_OPENBSD.
1832 2000-05-02 Kazu Hirata <kazu@hxi.com>
1834 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1835 * srconv.c: Likewise.
1836 * sysdump.c: Likewise.
1838 2000-04-23 Denis Chertykov <denisc@overta.ru>
1840 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1841 (get_machine_name): machine name for EM_AVR added.
1843 2000-04-21 Richard Henderson <rth@cygnus.com>
1844 David Mosberger <davidm@hpl.hp.com>
1846 * Makefile.am (readelf.o): Add elf/ia64.h.
1847 * Makefile.in: Rebuild.
1848 * readelf.c: Include elf/ia64.h.
1849 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1851 2000-04-17 Timothy Wall <twall@cygnus.com>
1853 * objdump.c (disassemble_data): Set octets per byte *after*
1854 resolving arch/mach for binary files.
1856 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1858 * arlex.l: Add directives to increase lex buffer size.
1860 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1861 already included by bucomm.h.
1863 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1865 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1866 `strftime' since strftime is not available on all systems.
1867 (process_mips_specific): Ditto.
1869 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1871 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1872 --enable-build-warnings option.
1873 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1874 * Makefile.in, configure: Re-generate.
1876 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1878 * addr2line.c: Update copyright.
1879 * objcopy.1: Likewise, and title.
1880 * strings.1: Likewise.
1882 * version.c (print_version): Add 2000.
1884 * rddbg.c (read_section_stabs_debugging_info): Don't use
1885 bfd_size_type for strx to avoid printf problems if BFD64.
1887 * bucomm.c: (report): Remove `static'.
1888 Move inclusion of stdarg.h/vararg.h from here.
1889 * bucomm.h: To here.
1890 (CONST): Change all occurences to const.
1891 (report): Declare it.
1892 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1893 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1894 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1896 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1897 Correct a typo in an error message.
1898 (do_quick_append): Use non_fatal instead of fprintf.
1899 (move_members): Use fatal instead of fprintf, exit.
1900 * coffdump.c (main): Same here.
1902 * dlltool.c (display): Delete.
1904 (inform): Use `report' instead of `display'.
1905 (rvaafter): Remove trailing \n from fatal error msg.
1907 (asm_prefix): Ditto.
1908 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1909 (def_name): Likewise.
1911 (scan_all_symbols): Likewise.
1912 (gen_lib_file): Likewise.
1913 (def_library): Likewise. Remove extra program_name too.
1914 (run): Remove \n from inform strings.
1915 (scan_drectve_symbols): Likewise.
1916 (add_excludes): Likewise.
1917 (scan_open_obj_file): Likewise.
1918 (gen_exp_file): Likewise.
1919 (gen_lib_file): Likewise.
1920 (process_duplicates): Likewise.
1922 * Makefile.am (dllwrap_SOURCES): Add version.c.
1923 * dllwrap.c (program_version): Delete.
1924 (print_version): Delete.
1925 (display): Always print trailing \n.
1927 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1930 (usage): gettext'ify.
1931 (long_options): Add missing initialisers.
1933 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1934 (select_output_format): Likewise.
1935 (powerpc_mangle_relocs): Likewise.
1936 (link_inputs): Likewise.
1938 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1939 (set_output_format): Likewise.
1940 (main): Use non_fatal instead of fprintf.
1941 (display_rel_file): Likewise.
1943 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1944 (slurp_dynamic_symtab): Same here.
1945 (disassemble_data): And here.
1946 (read_section_stabs): And here.
1947 (read_section_stabs): And here.
1948 (dump_bfd): And here.
1950 (objdump_sprintf): Use fatal instead of fprintf, exit.
1951 (disassemble_data): Same here.
1953 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1954 (parse_coff_struct_type): Same here.
1955 (parse_coff_enum_type): And here.
1956 (parse_coff): And here.
1957 * rddbg.c (read_debugging_info): And here.
1958 * size.c (main): And here.
1959 * windres.c (format_from_name): And here.
1960 * wrstabs.c (stab_write_symbol): Here too.
1961 (write_stabs_in_sections_debugging_info): And here.
1962 (stab_int_type): And here.
1963 (stab_struct_field): And here.
1964 (stab_typdef): And here.
1966 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1967 * srconv.c (main): Same here.
1968 * strings.c (main): And here.
1969 (integer_arg): And here.
1970 * sysdump.c (main): And here.
1972 2000-04-06 Timothy Wall <twall@cygnus.com>
1974 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1976 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1978 * readelf.c (decode_location_expression): Loop through multiple
1980 (read_and_display_attr): Pass in length.
1982 * readelf.c (read_and_display_attr): Add CU offset to references.
1983 (display_debug_info): Pass it in.
1985 2000-04-06 Nick Clifton <nickc@cygnus.com>
1987 * readelf.c (decode_ARM_machine_flags): New function.
1988 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1991 (get_machine_name): Catch EM_AVR
1993 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1995 * binutils.texi: Remove optional `=' from long options that have
1996 an `=' in the argument.
1997 * objcopy.1: Here too. Remove extra space on discard-all.
1999 * binutils.texi (objcopy): Mention --redefine-sym.
2000 * objcopy.1: Here too.
2003 * objcopy.c (parse_flags): Split off flag names from error message
2004 gettext as they are not translated.
2005 (copy_main): Similarly split off option name for --add-section,
2006 --set-section-flags, --change-section-vma, --change-section-lma
2008 Some white space changes.
2010 from Matthew Benjamin <matt@linuxbox.nu>
2011 * objcopy.c (struct redefine_node): New.
2012 (redefine_sym_list): New.
2013 (redefine_list_append): New.
2014 (lookup_sym_redefinition): New.
2015 (OPTION_REDEFINE_SYM): New.
2016 (copy_options): Add --redefine-sym option.
2017 (copy_usage): Mention it.
2018 (filter_symbols): Rename symbols on redefine_sym_list.
2019 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2020 (copy_main): Handle OPTION_REDEFINE_SYM.
2022 2000-04-04 H.J. Lu <hjl@gnu.org>
2024 * readelf.c (process_symbol_table): Correctly read in symbol
2025 versioning information.
2027 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2029 * po/binutils.pot: Regenerate.
2031 * addr2line.c (usage): Restore translated part of bug string.
2032 * ar.c (usage): Likewise.
2033 * nlmconv.c (show_usage): Likewise.
2034 * nm.c (usage): Likewise.
2035 * objcopy.c (copy_usage): Likewise.
2036 (strip_usage): Likewise.
2037 * objdump.c (usage): Likewise.
2038 * readelf.c (usage): Likewise.
2039 * size.c (usage): Likewise.
2040 * strings.c (usage): Likewise.
2041 * windres.c (usage): Likewise.
2043 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2044 (DEP): Quote when passing vars to sub-make. Add warning
2046 (DEP1): Rewrite for "gcc -MM".
2047 (CLEANFILES): Add DEP2.
2048 Update dependencies.
2049 * Makefile.in: Regenerate.
2051 2000-04-04 H.J. Lu <hjl@gnu.org>
2053 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2054 (arparse.h): Depend on arparse.c
2055 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2057 2000-04-03 H.J. Lu (hjl@gnu.org)
2059 * size.c (usage): Use REPORT_BUGS_TO.
2061 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2063 * bucomm.h: #include "bin-bugs.h"
2064 * addr2line.c (usage): Use REPORT_BUGS_TO.
2065 * ar.c (usage): Likewise.
2066 * nlmconv.c (show_usage): Likewise.
2067 * nm.c (usage): Likewise.
2068 (OPTION_TARGET): Define.
2069 (long_options): Use OPTION_TARGET rather than 200.
2072 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2073 (strip_usage): Likewise.
2074 * objdump.c (usage): Likewise.
2075 * readelf.c (usage): Likewise.
2076 * strings.c (usage): Likewise.
2077 * windres.c (usage): Likewise.
2079 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2081 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2083 2000-03-27 Nick Clifton <nickc@cygnus.com>
2085 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2086 string offsets in corrupt stabs entries.
2088 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2090 * readelf.c: Include elf/avr.h
2091 (dump_relocations): Add EM_AVR case.
2093 2000-03-09 Tim Waugh <twaugh@redhat.com>
2095 * strings.1: Correct '-bytes' to '--bytes'.
2097 2000-03-08 H.J. Lu <hjl@gnu.org>
2099 * Makefile.am (install-exec-local): Depend on
2100 install-binPROGRAMS for parallel make.
2101 * Makefile.in: Regenerated.
2103 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2105 From Brad Lucier <lucier@math.purdue.edu>:
2106 * readelf.c (process_dynamic_segment): Add cast to make sure
2107 argument to %* is int.
2109 2000-02-25 H.J. Lu <hjl@gnu.org>
2111 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2113 2000-02-24 Nick Clifton <nickc@cygnus.com>
2115 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2116 * configure: Regenerate.
2118 * dlltool.c: Add support for sh-pe and mips-pe targets.
2119 * rescoff.c: Add support for sh-pe and mips-pe targets.
2121 2000-02-23 H.J. Lu <hjl@gnu.org>
2123 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2125 2000-02-22 Nick Clifton <nickc@cygnus.com>
2127 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2129 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2131 From Brad Lucier <lucier@math.purdue.edu>:
2132 * readelf.c (process_version_sections): Add casts to make sure
2133 argument to %* is an int.
2134 (process_mips_specific): Add casts to make printf arguments match
2137 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2139 * objdump.c (dump_section_header): Change `opb' to unsigned.
2140 (find_symbol_for_address): Same here.
2141 (disassemble_data): And here. Change `addr_offset',
2142 `stop_offset', `nextstop_offset' to unsigned long.
2143 (dump_data): Change opb to unsigned.
2145 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2147 * resrc.c: Remove unmatched #if for cygwin.
2149 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2151 * binutils.texi: Document the change of flavor name from atpcs-special
2152 to special-atpcs to prevent name conflict in gdb.
2154 2000-02-08 Timothy Wall <twall@redhat.com>
2156 * objdump.c (show_line): Fix bug preventing printing of the very
2157 first line (line zero) of a file when interlisting source and
2158 assembly. Added option to print entire context from start of file
2159 when the first line from that file is encountered.
2161 2000-02-03 Timothy Wall <twall@redhat.com>
2163 * objdump.c (dump_section_header, find_symbol_for_address,
2164 show_line, disassemble_bytes, disassemble_data, dump_data):
2165 distinguish between octets and bytes.
2167 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2169 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2170 check to unresolved symbols.
2171 (print_symbol_info_sysv): Ditto.
2172 (print_symbol_info_posix): Ditto.
2174 * binutils.texi: Document new 'V' symclass flag for nm.
2176 2000-01-27 Nick Clifton <nickc@redhat.com>
2178 * binutils.texi (objdump): Document new ARM specific
2179 disassembler options.
2181 * objdump.c (usage): Call disassembler_usage().
2183 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2185 * readelf.c (get_dynamic_flags): Return buff.
2186 (process_dynamic_segment): Don't pass error strings to printf
2188 (read_and_display_attr): Use lx and ld to print longs.
2189 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2193 2000-01-17 Nick Clifton <nickc@cygnus.com>
2195 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2197 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2199 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2201 (debug_tag_type): Here too.
2202 * ieee.c (ieee_builtin_type): And here.
2203 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2205 2000-01-13 Nick Clifton <nickc@cygnus.com>
2207 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2210 2000-01-11 Nick Clifton <nickc@cygnus.com>
2212 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2214 2000-01-10 Nick Clifton <nickc@cygnus.com>
2216 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2218 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2220 * windres.c (long_options): Add --use-temp-file and
2221 --no-use-temp-file options.
2225 * windres.h: Update read_rc_file prototype.
2227 * resrc.c (cpp_temp_file): New static variable.
2228 (istream_type): New static variable.
2229 (close_pipe): Delete function.
2230 (run_cmd): New static function.
2231 (open_input_stream): New static function.
2232 (close_input_stream): New static function.
2233 (look_for_default): Handle DOS directory separator. Use
2234 open_input_stream instead of popen.
2235 (read_rc_file): Likewise.
2237 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2240 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2242 * dlltool.c (create_compat_implib): New variable.
2243 (gen_exp_file): Use.
2244 (make_one_lib_file): Use.
2245 (long_options): Add --compat-implib option.
2249 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2250 (main): Use. Don't look for "32" in cygwin and mingw target names.
2252 2000-01-03 Nick Clifton <nickc@cygnus.com>
2254 * binutils.texi: Document new, ARM specific disassembler
2255 command line switch "-M force-thumb".
2257 For older changes see ChangeLog-9899
2263 version-control: never