1 2002-02-01 Alan Modra <amodra@bigpond.net.au>
3 * Makefile.am: Run "make dep-am"
4 * Makefile.in: Regenerate.
6 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
8 * nm.c (print_value): Mark abfd unused.
10 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
12 * unwind-ia64.c (unw_decoder): Change second argument
13 to unsigned int, to match function prototypes.
15 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
17 * objdump.c: Include "getopt.h" after "bucomm.h" so that
18 __GNU_LIBRARY__ will be defined.
21 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
23 * configure: Regenerated.
25 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
27 * doc/Makefile.am (install): Depend on install-info.
28 * doc/Makefile.in: Regenerate.
30 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
32 * objcopy.c (strip_usage): Document -d as an alias
35 * size.c (usage): Document [-t | --totals] options.
36 (long_options): Add --totals option.
37 (main): If the [-t | --totals] option is specified and
38 the output format is Berkeley-style, print the total
39 text, data, and bss sizes of all objects listed.
40 (print_berkeley_format): If the [-t | --totals] option
41 is specified, track the total text, data, and bss
43 * doc/binutils.texi (size): Document [-t | --totals] options.
44 (strip): Document -d as an alias for --strip-debug.
45 * NEWS: Mention new feature of size.
47 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
49 * po/fr.po: Updated version.
50 * po/es.po: Updated version.
52 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
54 * addr2line.c (usage): Update text to provide verbose
55 description of the command line options.
56 * ar.c (usage): Update text to provide verbose
57 description of the command line options.
58 (main): Accept -h and -H when running as ranlib.
59 * coffdump.c (show_usage): Update text to provide verbose
60 description of the command line options.
61 * dlltool.c (main): Accept -H as an alias for --help.
62 * nlmconv.c (show_usage): Update text to provide verbose
63 description of the command line options.
64 * nm.c (usage): Replace OPTIONS with option(s).
65 (main): Accept -H as an alias for --help.
66 * objcopy.c (strip_main): Accept -H as an alias for --help.
67 * objdump.c (main): Accept -v as an alias for --verbose.
68 * readelf.c (usage): Adjust format to match style used in
70 * size.c (usage): Update text to provide verbose description
71 of the command line options.
72 (main): Accept -v, -h and -H as command line options.
73 * srconv.c (show_usage): Update text to provide verbose
74 description of the command line options.
75 * strings.c (main): Accept -H and -v as command line options.
76 (usage): Update text to provide verbose description of the
78 * sysdump.c (show_usage): Update text to provide verbose
79 description of the command line options.
80 * windres.c (usage): Adjust format to match style used in
83 * coffdump.c: Fix formatting.
84 * nlmconv.c: Fix formatting.
85 * srconv.c: Fix formatting.
86 * sysdump.c: Fix formatting.
88 2002-01-22 Alan Modra <amodra@bigpond.net.au>
90 * Makefile.am: Run "make dep-am".
91 * Makefile.in: Regenerate.
93 2002-01-18 Andreas Jaeger <aj@suse.de>
95 * version.c (print_version): Update year.
97 2002-01-17 Alan Modra <amodra@bigpond.net.au>
99 * readelf.c (get_machine_name): Handle EM_PPC64.
100 (guess_is_rela): Here too.
102 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
104 * po/binutils.pot: Regenerate.
105 * po/fr.po: Regenerate.
106 * po/tr.po: Regenerate.
108 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
110 * po/tr.po: Import new version.
112 2002-01-16 Alan Modra <amodra@bigpond.net.au>
114 * readelf.c (get_ppc64_dynamic_type): New.
115 (get_dynamic_type): Call it.
117 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
119 * objcopy.c (copy_usage): Use "options" instead of "switches".
120 (strip_usage): Use "options" instead of "switches".
121 * doc/binutils.texi (dlltool): Refer to "options" instead of
124 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
126 * MAINTAINERS: Add self as co-maintainer for the ARM code.
128 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
130 * po/es.po: Import from translation project.
131 * configure.in (ALL_LINGUAS): Add es.
132 * configure: Regenerate.
134 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
136 * readelf.c (get_netbsd_elfcore_note_type): Use
137 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
139 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
141 * readelf.c: Update copyright years.
142 (get_note_type): Return a const char *.
143 (get_netbsd_elfcore_note_type): New function.
144 (process_note): Use get_netbsd_elfcore_note_type to get
145 the note type string for NetBSD ELF core files.
147 2002-01-06 Steve Ellcey <sje@cup.hp.com>
149 * readelf.c (get_ia64_segment_type): Add support for macros.
150 (get_segment_type): Add support for IA64 specific macros.
152 2001-12-20 Julian v. Bock <julian@wongr.net>
154 * readelf.c (print_symbol): New function: Print a formatted symbol
155 name. If --wide is specified do not truncate it.
156 (dump_relocations): Use print_symbol() to print symbol names.
157 (process_symbol_table): Likewise.
158 (process_syminfo): Likewise.
159 (process_mips_specific): Likewise.
160 (usage): Document new feature of --wide switch.
161 * doc/binutils.texi (objdump): Document additional behaviour of
164 2001-12-18 Michael Snyder <msnyder@redhat.com>
166 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
167 (copy_object): Don't set the start address or flags of a core file.
168 (copy_section): Don't relocate a core file. Don't copy contents
169 if the input section has the contents flag set, but the output
170 section does not (which happens with the fake 'note' pseudo-
171 sections that BFD creates for corefiles).
173 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
175 * readelf.c (get_machine_flags): Recognize header flags for ABI and
176 ASE extensions. More robust code for ISA checking. Ignore empty fields
177 in header flags for GNU extensions.
179 2001-12-18 Alan Modra <amodra@bigpond.net.au>
181 * objcopy.c (copy_archive): Set output bfd format outside the loop.
183 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
185 * po/ja.po: Import from translation project.
186 * configure.in (ALL_LINGUAS): Add ja.
187 * configure: Regenerate.
189 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
191 * addr2line.c (main): Protoype.
192 * ar.c (main): Protoype.
193 * nm.c (main): Protoype.
194 * objcopy.c (main): Protoype.
195 * objdump.c (main): Protoype.
196 * size.c (main): Protoype.
197 * strings.c (main): Protoype.
199 2001-12-17 Alan Modra <amodra@bigpond.net.au>
201 * readelf.c (symtab_shndx_hdr): New global.
202 (SECTION_HEADER_INDEX): Define.
203 (SECTION_HEADER_NUM): Define.
204 (SECTION_HEADER): Define.
205 (GET_ELF_SYMBOLS): Pass two params rather than three.
206 (get_32bit_elf_symbols): Take file and section args. Read and
207 use SHT_SYMTAB_SHNDX.
208 (get_64bit_elf_symbols): Likewise.
209 (dump_relocations): Use SECTION_HEADER to index "section_headers".
210 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
211 Remember symtab_shdx_hdr.
212 (process_program_headers): Scan from index 1 for segment map.
213 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
215 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
216 (process_unwind): Likewise.
217 (process_version_sections): Likewise.
218 (process_symbol_table): Likewise.
219 (display_debug_info): Likewise.
220 (process_dynamic_segment): Fake up a symtab section for changed
222 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
223 (process_program_headers): Kill signed/unsigned warning.
224 (load_debug_str): Likewise.
225 (display_debug_info): Likewise.
227 2001-12-13 Jakub Jelinek <jakub@redhat.com>
229 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
231 2001-12-11 Alan Modra <amodra@bigpond.net.au>
233 * readelf.c (process_file_header): Print extended e_shnum and
234 e_shdtrndx values. Set elf_header values for same.
235 (get_32bit_section_headers): Add "num" arg to read "num" headers.
236 (get_64bit_section_headers): Likewise.
237 (process_section_headers): Update calls.
238 (get_file_header): Call get_32bit_section_headers or 64bit variant.
240 2001-12-10 Jakub Jelinek <jakub@redhat.com>
242 * objcopy.c (setup_section): Copy entsize.
244 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
246 * readelf.c (guess_is_rela): Add support for stormy16.
247 (dump_relocations): Likewise.
248 (get_machine_name): Likewise.
250 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
252 * dllwrap.c (main) Replace multiple strings describing a
253 single error with a single, newline escaped sentence to permit
254 better translation into foreign languages.
256 * readelf.c (get_elf_class): Remove internalionalisation of ELF
259 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
261 * strings.c (get_char): Initialize value.
263 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
265 * arlex.l: Silence compile warnings.
266 * arsup.h: Likewise. Fix formatting.
268 2001-12-04 Jakub Jelinek <jakub@redhat.com>
270 * strings.c: Include config.h before bfd.h.
271 (file_off): New type.
273 (print_strings): Use file_off instead of file_ptr. Print addresses
274 which don't fit into long correctly.
275 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
277 (strings_file): Use file_off instead of file_ptr. Use file_open.
278 * configure.in: Check for getc_unlocked.
279 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
281 * configure: Rebuilt.
282 * config.h.in: Rebuilt.
284 2001-11-29 H.J. Lu <hjl@gnu.org>
286 * bucomm.c (make_tempname): Revert the changes made on
287 2001-11-14 and 2001-11-12. They won't work with directories.
289 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
291 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
292 CFLAGS_FOR_TARGET to runtest in environment.
293 * Makefile.in: Rebuild.
294 * doc/Makefile.in: Rebuild.
296 2001-11-28 Mike Stump <mrs@wrs.com>
298 * objcopy.c (setup_section): Preserve SEC_RELOC when
299 --set-section-flags is used.
301 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
303 * readelf.c (do_debug_str): New variable.
304 (display_debug_str): New function: Display the contents of a
306 (load_debug_str): New function: Load in the contents of a
308 (free_debug_str): New function: Free the memory used by
310 (fetch_indirect_string): Retrieve a string from the .debug_str
313 (parse_args): Accept -ws.
314 (process_section_headers): Allow the display of the .debug_str
316 (read_and_display_attr_value): Use fetch_indirect_string. Show
317 offset into .debug_str section.
318 (display_debug_info): Use load_debug_str and free_debug_str.
319 (debug_displays): Add .debug_str.
320 * doc/binutils.texi: Document -ws.
322 2001-11-19 Andreas Jaeger <aj@suse.de>
324 * testsuite/binutils-all/objdump.exp: Add x86-64.
326 2001-11-15 Andreas Schwab <schwab@suse.de>
328 * readelf.c: Fix warnings without terminating newline.
330 2001-11-15 Alan Modra <amodra@bigpond.net.au>
332 * doc/binutils.texi (objdump): Document ppc -M options.
334 2001-11-14 Andreas Jaeger <aj@suse.de>
336 * doc/binutils.texi (objdump): Fix description to use x86-64.
338 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
340 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
341 not all systems provide mkstemp.
343 2001-11-14 Alan Modra <amodra@bigpond.net.au>
345 * doc/binutils.texi (objdump): Document x86 -M options.
347 2001-11-13 Keith Walker <keith.walker@arm.com>
349 * readelf.c (read_and_display_attr_value): New function to
350 handle DW_FORM_indirect.
351 (read_and_display_attr): Use it.
353 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
355 * readelf.c (display_debug_lines): Deal with unknown standard
356 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
359 2001-11-13 Timothy Wall <twall@alum.mit.edu>
361 * MAINTAINERS: Add self as tic54x maintainer. This target
362 includes the IBM C54XDSP clone.
364 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
366 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
368 2001-11-09 Jeffrey A Law (law@cygnus.com)
370 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
371 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
372 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
373 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
374 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
375 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
376 (unw_decode_b2, unw_decode_b3_b4): Likewise.
378 * readelf.c (get_elf_class): Fix ISO portability glitch.
379 (get_data_encoding, get_osabi_name, request_dump): Likewise.
381 2001-11-07 Jakub Jelinek <jakub@redhat.com>
383 * readelf.c (debug_str, debug_str_size): New.
384 (display_debug_abbrev): If no abbrevs were read, skip the CU.
386 (read_and_display_addr): Handle DW_FORM_strp.
387 (display_debug_info): Read .debug_str section if present,
388 so that DW_FORM_strp can be handled.
389 Fix test for non-existant .debug_abbrev section.
391 2001-11-05 Jakub Jelinek <jakub@redhat.com>
393 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
395 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
397 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
399 * MAINTAINERS: Add self as s390/s390x maintainer.
401 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
403 * MAINTAINERS: Add self as PPC XCOFF maintainer.
405 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
407 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
408 * configure: Regernate.
409 * po/fr.po: New file.
410 * po/tr.po: New file.
412 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
414 * MAINTAINERS: Add self as MMIX port maintainer.
415 * readelf.c: Include elf/mmix.h.
416 (guess_is_rela): MMIX is RELA.
417 (dump_relocations): Handle MMIX relocations.
418 * Makefile.am: Regenerate dependencies.
419 * Makefile.in: Regenerate.
421 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
423 * readelf.c (parse_args): Handle multiple options to the -w
426 2001-10-12 Jakub Jelinek <jakub@redhat.com>
428 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
429 LOPROC, LOOS and LOUSER.
431 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
433 * MAINTAINERS: Update my email address.
435 2001-10-03 Alan Modra <amodra@bigpond.net.au>
437 * doc/Makefile.in: Regenerate.
438 * configure: Regenerate.
440 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
442 * readelf.c (display_debug_line, display_debug_pubnames,
443 display_debug_info, display_debug_frames): Detect and warn
444 about 64-bit format entries.
445 (display_debug_aranges): Reword 64-bit warning.
446 (debug_displays): Add .debug_pubtypes as a known, but not yet
447 supported, debug section.
449 2001-10-02 Alan Modra <amodra@bigpond.net.au>
451 * coffdump.c (PROGRAM_VERSION): Delete.
452 (main <'V'>): Call print_version.
453 * srconv.c: Likewise.
454 * sysdump.c: Likewise.
455 * version.c (program_version): Remove.
456 (print_version): Use BFD_VERSION_STRING. Just print the current
457 year in copyright message.
458 * addr2line.c (program_version): Remove unused declaration.
459 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
460 place of BFD_VERSION.
461 * Makefile.am (Makefile): Depend on bfd/configure.in.
462 (cplus-dem.o): Depend on Makefile.
464 * Makefile.in: Regenerate.
466 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
468 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
469 format .debug_arange sections.
470 (main): Add missing prototype.
472 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
474 * Makefile.am: Update dependencies with "make dep-am".
475 * Makefile.in: Regenerate.
477 2001-09-28 Richard Henderson <rth@redhat.com>
479 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
481 2001-09-26 Alan Modra <amodra@bigpond.net.au>
483 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
485 (non_fatal): Likewise.
486 * objdump.c (objdump_sprintf): Likewise.
487 * readelf.c (error): Likewise.
490 2001-09-25 Jakub Jelinek <jakub@redhat.com>
492 * readelf.c (do_wide): New.
493 (options): Add --wide.
494 (usage, parse_args): Likewise.
495 (process_program_headers): Put each segment on a single line if
497 (process_section_headers): Put each section on a single line if
499 * doc/binutils.texi: Document it.
502 2001-09-25 Alan Modra <amodra@bigpond.net.au>
504 * readelf.c (print_vma): Print 8 digits of low hex value.
506 2001-09-24 Andreas Jaeger <aj@suse.de>
508 * nlmconv.c: Fix warnings about unused attributes and function
511 * strings.c: Add prototype for get_char.
513 2000-09-19 H.J. Lu <hjl@gnu.org>
515 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
516 $(srcdir)/cxxfilt.man.
517 * doc/Makefile.in: Rebuild.
519 2001-09-19 Alan Modra <amodra@bigpond.net.au>
521 * objcopy.c (copy_main): Correct rename-section string parsing.
522 Consolidate new_name parsing, and error messages.
524 2001-09-18 Bruno Haible <haible@clisp.cons.org>
526 * addr2line.c: Don't include <ctype.h>.
527 (main): For gettext, also set the LC_CTYPE locate facet.
528 * ar.c (main): Likewise.
529 * coffdump.c (main): Likewise.
530 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
531 (main): For gettext, also set the LC_CTYPE locate facet.
532 Use ISALNUM instead of isalpha/isdigit.
533 * dllwrap.c: Don't include <ctype.h>.
534 (main): For gettext, also set the LC_CTYPE locate facet.
535 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
536 (main): For gettext, also set the LC_CTYPE locate facet.
537 Use TOUPPER instead of islower/toupper.
538 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
539 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
540 Use TOUPPER instead of islower/toupper.
541 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
542 * objcopy.c (main): Likewise.
543 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
544 (disassemble_bytes): Use ISPRINT instead of isprint.
545 (dump_section_stabs): Use ISDIGIT instead of isdigit.
546 (dump_data): Use ISPRINT instead of isprint.
547 (main): For gettext, also set the LC_CTYPE locate facet.
548 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
549 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
550 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
551 Use TOUPPER instead of islower/toupper.
552 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
553 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
554 (write_rc_accelerators): Use ISPRINT instead of isprint.
555 (write_rc_rcdata): Likewise.
556 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
557 * srconv.c (main): Likewise.
558 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
559 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
560 isdigit/isupper/islower.
561 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
562 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
563 stab_demangle_prefix, stab_demangle_qualified,
564 stab_demangle_template, stab_demangle_type,
565 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
566 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
567 (isgraphic): Use ISPRINT instead of isascii/isprint.
568 (main): Remove HAVE_LC_MESSAGES dependency.
569 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
570 (pbarray): Use ISPRINT instead of isprint.
571 (main): For gettext, also set the LC_CTYPE locate facet.
572 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
573 (format_from_filename): Use ISPRINT instead of isprint.
574 (main): For gettext, also set the LC_CTYPE locate facet.
575 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
576 (unicode_print): Use ISPRINT instead of isprint.
577 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
578 (stab_variable): Use ISDIGIT instead of isdigit.
580 2001-09-18 Alan Modra <amodra@bigpond.net.au>
582 * ar.c (print_contents): Cast args of bfd_seek to the right types.
583 Replace bfd_read call with call to bfd_bread.
584 (extract_file): Likewise.
586 * objdump.c (dump_section_header): Cast section->filepos to
587 unsigned long to suit printf format string.
588 * readelf.c (process_section_headers): Similarly for sh_offset.
589 (process_unwind): Likewise.
591 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
593 * strings.c (encoding, encoding_bytes): New variables.
594 (long_options): Add --encoding.
595 (main): Accept -e and --encoding.
596 (get_char): New function. Read a, possibly wide, character from
598 (print_strings): Use get_char().
599 (usage): Document new command line option.
600 * doc/binutils.texi: Document new command line option.
601 * NEWS: Announce new command line option.
603 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
605 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
606 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
607 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
608 Removed EM_CYGNUS_ARC.
610 2001-09-04 Jeffrey A Law (law@cygnus.com)
612 * readelf.c: Include elf/h8 for H8 series definitions.
613 (guess_is_rela): H8 series if RELA.
614 (dump_relocations): Handle H8 series relocations.
616 2001-08-31 Eric Christopher <echristo@redhat.com>
618 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
620 2001-08-29 Peter Targett <peter.targett@arccores.com>
622 * MAINTAINERS: Include ARC Maintainer.
624 2001-08-29 Ben Elliston <bje@redhat.com>
626 * stabs.c (stab_demangle_template): Initialise s4.
628 2001-08-27 Alan Modra <amodra@bigpond.net.au>
630 * readelf.c (dump_relocations): Recognise EM_PPC64.
632 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
634 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
636 2001-08-25 H.J. Lu <hjl@gnu.org>
638 * nm.c (print_width): New.
639 (display_rel_file): Set `print_width' according to
641 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
643 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
645 * objcopy.c (use_alt_mach_code): New variable.
646 (OPTION_ALT_MACH_CODE): Define.
647 (copy_options): Added --alt-machine-code.
648 (copy_main): Handle it.
649 (copy_object): Switch to alternate machine code if requested.
650 * doc/binutils.texi: Document new option.
653 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
655 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
657 2001-08-21 H.J. Lu <hjl@gnu.org>
659 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
660 (display_debug_info): Cast for 64bit hosts.
661 (display_debug_frames): Likewise.
662 (process_mips_specific): Likewise.
664 2001-08-21 Andreas Jaeger <aj@suse.de>
666 * coffgrok.h: Add missing parameter for prototype of coff_grok.
668 * sysdump.c: Add missing prototypes.
669 * srconv.c: Likewise.
670 * unwind-ia64.c: Likewise.
671 * coffdump.c: Likewise.
673 * sysinfo.y: Print prototypes, include <ansidecl.h>.
675 * coffgrok.c: Add missing prototypes, include libiberty.h instead
676 of declaring xcalloc.
678 2001-08-10 H.J. Lu <hjl@gnu.org>
680 * nm.c (print_value): Add one arg, bfd *.
681 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
682 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
683 (print_symbol_info_sysv): Likewise.
684 (print_symbol_info_posix): Likewise.
686 * objdump.c (dump_section_header): Replace printf_vma with
688 (print_section_stabs): Likewise.
689 (dump_bfd_header): Likewise.
690 (objdump_print_value): Replace sprintf_vma with
692 (disassemble_bytes): Likewise.
693 (dump_reloc_set): Likewise.
695 2001-08-10 Andreas Jaeger <aj@suse.de>
697 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
699 * configure: Regenerate.
701 2001-08-09 Alan Modra <amodra@bigpond.net.au>
703 * readelf.c: Add missing prototypes.
704 * objdump.c: Likewise. Format existing prototypes.
706 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
708 * readelf.c (display_debug_info): Add to abbrev_offset the addend
709 of any RELA relocation for the abbrev_offset memory location that
710 refers to the .debug_abbrev section symbol.
712 2001-08-07 H.J. Lu <hjl@gnu.org>
714 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
715 (main): Return process_file ().
717 2001-08-05 Philip Blundell <philb@gnu.org>
719 * doc/binutils.texi: Use "Thumb" not "THUMB".
721 2001-08-03 John Healy <jhealy@redhat.com>
723 Patch suggested by Frank Eigler <fche@redhat.com>.
724 * objdump.c (disassemble_data): Fill in section member of the
725 disasm_info structure.
727 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
729 * configure.in: Added --with-windres option.
730 * configure: Regenerated.
732 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
734 * doc/binutils.texi: Use @command{name} for commands;
735 use @option{-opt} for options; use @table @env for list of options;
736 remove spaces arround [ | ] in synopsis.
738 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
741 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
743 * objcopy.c: Fix formatting.
744 (section_rename): New structure.
745 (OPTION_RENAME_SECTION): New switch.
746 (copy_usage): Document new switch.
747 (add_section_rename): New function: Add a node to the section
749 (find_section_rename): New function: Find the new name and
751 (setup_section): Call find_section_name to determine the name
752 of the output section.
753 (copy_main): Handle OPTION_RENAME_SECTION.
754 * binutils.texi: Document new switch.
755 * NEWS: Mention new switch.
757 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
759 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
760 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
761 bug-binutils@gcc.org.
763 2001-07-28 Matthias Kramm <kramm@quiss.org>
765 * bucomm.c (list_supported_architectures): New function.
766 * bucomm.h (list_supported_architectures): Declare.
767 * objdump.c (usage): Call the above.
769 2001-07-25 Dave Brolley <brolley@redhat.com>
771 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
772 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
774 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
776 * README: Update for 2.11. Change bug reporting email address.
777 * MAINTAINERS: Tidy up. Change bug reporting email address.
779 2001-07-16 DJ Delorie <dj@redhat.com>
781 * resres.c (write_res_header): Align header size.
782 (res_align_file): Calculate alignment correctly.
784 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
786 * resrc.c (write_rc_resource): Likewise.
787 * windres.h (SUBLANG_SHIFT): Define - as 10.
789 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
791 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
793 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
795 * MAINTAINERS: Add notes about branch checkins.
797 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
799 * readelf.c (display_debug_macinfo): New function, display
800 .debug_macinfo section.
801 (do_debug_macinfo): New variable.
802 (parse_args): Handle "-w[mM]" to mean display macro info.
803 (process_section_headers): Handle debug_macinfo.
804 (debug_displays): Replace unsupported function with macinfo
805 function for .debug_macinfo display.
806 * doc/binutils.texi: Document new command line switch.
807 * NEWS: Document new feature of readelf.
809 2001-07-05 H.J. Lu <hjl@gnu.org>
811 * objcopy.c (filter_symbols): Don't turn undefined symbols
814 2001-07-03 H.J. Lu <hjl@gnu.org>
816 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
819 (dlltool.1): Likewise.
820 (nlmconv.1): Likewise.
822 (objcopy.1): Likewise.
823 (objdump.1): Likewise.
824 (ranlib.1): Likewise.
825 (readelf.1): Likewise.
827 (strings.1): Likewise.
829 (windres.1): Likewise.
830 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
831 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
834 * doc/Makefile.in: Regenerated.
836 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
838 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
840 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
842 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
844 2001-06-29 James Cownie <jcownie@etnus.com>
846 * readelf.c: Support DWARF 2.1 attributes.
848 2001-06-28 Alan Modra <amodra@bigpond.net.au>
850 * readelf.c (GET_DATA_ALLOC): Remove.
852 (get_data): New function combining above macros, with an extra
854 (slurp_rela_relocs): Use get_data, and catch error return.
855 (slurp_rel_relocs): Likewise.
856 (get_32bit_program_headers): Likewise.
857 (get_64bit_program_headers): Likewise.
858 (get_32bit_section_headers): Likewise.
859 (get_64bit_section_headers): Likewise.
860 (get_32bit_elf_symbols): Likewise.
861 (get_64bit_elf_symbols): Likewise.
862 (process_section_headers): Likewise.
863 (process_relocs): Likewise.
864 (slurp_ia64_unwind_table): Likewise.
865 (process_unwind): Likewise.
866 (get_32bit_dynamic_segment): Likewise.
867 (get_64bit_dynamic_segment): Likewise.
868 (process_dynamic_segment): Likewise.
869 (process_version_sections): Likewise.
870 (process_symbol_table): Likewise.
871 (dump_section): Likewise.
872 (display_debug_info): Likewise.
873 (display_debug_section): Likewise.
874 (process_section_contents): Likewise.
875 (process_corefile_note_segment): Likewise.
876 (process_mips_specific): Likewise. Also free econf32, econf64.
878 2001-06-25 Alan Modra <amodra@bigpond.net.au>
880 * readelf.c (dump_relocations): Print "bad symbol index" if
881 symtab == NULL with non-zero symtab_index.
882 (process_relocs): Don't bomb if reloc section has no symsec.
884 2001-06-24 H.J. Lu <hjl@gnu.org>
886 * objcopy.c (strip_main): Revert the change made on 2001-05-30
888 (copy_main): Apply the the change made to strip_main on
889 2001-05-30 by accident.
891 2001-06-23 Andreas Jaeger <aj@suse.de>
893 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
895 (unw_decode_x2): Likewise.
896 (unw_decode_x3): Likewise.
897 (unw_decode_x4): Likewise.
899 2001-06-23 Ben Elliston <bje@redhat.com>
901 * MAINTAINERS: Add myself as M88k maintainer.
903 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
905 * objcopy.c (strip_main): Support -o or --output-file command lien
908 2001-06-19 H.J. Lu <hjl@gnu.org>
910 * doc/Makefile.in: Regenerated.
912 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
914 * readelf.c: Restore formatting.
916 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
918 * Makefile.am: Move documentation into doc subdirectory.
919 * Makefile.in: Regenerated.
920 * binutils.texi: Move into doc subdirectory.
921 * addr2line.1: Removed.
923 * dlltool.1: Likewise.
924 * nlmconv.1: Likewise.
926 * objcopy.1: Likewise.
927 * objdump.1: Likewise.
928 * ranlib.1: Likewise.
929 * readelf.1: Likewise.
931 * strings.1: Likewise.
933 * windres.1: Likewise.
934 * cxxfilt.man: Likewise.
935 * doc: New Directory.
936 * doc/Makefile.am: New file.
937 * doc/Makefile.in: Generate.
939 2001-06-09 Alan Modra <amodra@bigpond.net.au>
941 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
943 2001-06-01 Alan Modra <amodra@bigpond.net.au>
945 * MAINTAINERS: Update my email address.
947 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
949 * objcopy.c: Add new switches: --keep-global-symbol,
950 --keep-symbols, --localize-symbols, --keep-global-symbols and
952 * binutils.texi: Document new switches.
953 * objcopy.1: Regenerate.
954 * NEWS: Announce new feature.
956 2001-05-28 Andreas Jaeger <aj@suse.de>
958 * readelf.c (display_debug_frames): Fix warnings: Remove unused
959 variables, fix format strings.
961 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
963 * objdump.c (disassemble_bytes): Remove section VMA adjustment
964 when computing the address of the line to show.
966 2001-05-16 Richard Henderson <rth@redhat.com>
968 * readelf.c (do_debug_frames_interp): New.
969 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
970 (byte_get_big_endian): Likewise.
971 (parse_args) ['F']: Set do_debug_frames_interp.
972 (Frame_Chunk): Make data_factor signed, add fde_encoding.
973 (frame_display_row): Don't trunc pc_begin to int.
974 (size_of_encoded_value): New.
975 (display_debug_frames): Handle 64-bit targets. Print raw data
976 unless do_debug_frames_interp.
977 (debug_displays): Remove duplicate .debug_frame.
979 2001-05-15 Ralf Baechle <ralf@gnu.org>
981 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
982 The former constant was never in active use and is used otherwise
985 2001-05-11 Jakub Jelinek <jakub@redhat.com>
987 * readelf.c (process_unwind): Print all unwind sections, not just
990 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
992 * readelf.c (process_unwind): Remove const specifier.
994 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
996 * strings.c (isgraphic): Do not use isascii() unless it is needed
997 for isprint() to work.
998 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1000 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1002 * NEWS: Announce support for OpenRISC.
1004 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1006 * dlltool.c (do_default_excludes): Initialise to true.
1008 2001-04-10 Alan Modra <amodra@one.net.au>
1010 * MAINTAINERS: Update my email address
1011 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1013 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1015 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1017 2001-03-30 H.J. Lu <hjl@gnu.org>
1019 * readelf.c (process_unwind): Just return if do_unwind is 0.
1021 2001-03-28 Roger Sayle <roger@metaphorics.com>
1023 * dlltool.c (make_one_lib_file): Fix section flags for
1024 .text, .data and .bss in stub ds*.o files to match those
1027 2001-03-29 H.J. Lu <hjl@gnu.org>
1029 * readelf.c (process_unwind): Only do unwind sections for
1032 2001-03-28 H.J. Lu <hjl@gnu.org>
1034 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1035 * Makefile.in: Regenerate.
1037 2001-03-26 Andreas Jaeger <aj@suse.de>
1039 * binutils.texi (nm): Fix texi syntax.
1041 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1043 * binutils.texi: Put @c man begin and @c man end indications
1044 to generate man pages using texi2pod and pod2man. Put @c man title
1045 to identify each man. Add SEEALSO entries.
1046 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1047 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1049 (*.1): Build the man pages from binutils.texi.
1050 * Makefile.in: Regenerate.
1052 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1054 * defparse.y (opt_equal_name): allow "." in name.
1055 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1056 (gen_exp_file): Likewise.
1058 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1060 * NEWS: Document addition of -B switch to objcopy.
1061 * binutils.texi: Document addition of -B switch to objcopy.
1062 * objcopy.c: (copy_options): Add --binary-architecture.
1063 (copy_usage): Document -B/--binary-architecture.
1064 (copy_main): Support -B/--binary-architecture. Set
1065 bfd_external_binary_architecture.
1067 2001-03-11 Andreas Jaeger <aj@suse.de>
1069 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1070 (dump_relocations): Likewise.
1071 (get_machine_name): Likewise.
1073 2001-02-28 Nick Clifton <nickc@redhat.com>
1075 * readelf.c: (struct unw_aux_info): Remove const modifier for
1077 (process_unwind): Remove non-K&R compliant LHS type cast in call
1078 to GET_DATA_ALLOC macro.
1080 2001-02-28 Philip Blundell <pb@futuretv.com>
1082 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1083 ABI is in use; remove ambiguity between the "unknown" EABI and
1084 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1085 renamed EF_xx constants.
1087 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1089 * configure.in (BFD_VERSION): New.
1090 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1091 * configure: Regenerate.
1092 * Makefile.am: Run "make dep-am"
1093 * Makefile.in: Regenerate.
1095 2001-02-14 Nick Clifton <nickc@redhat.com>
1097 * MAINTAINERS: Add "Obvious Fix" rule.
1099 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1101 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1102 literal concatenation.
1104 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1106 * readelf.c (struct unw_aux_info): Remove const from the info member.
1107 (process_unwind): Don't type-cast the third argument to the
1108 GET_DATA_ALLOC macro.
1110 2001-02-11 Nick Clifton <nickc@redhat.com>
1112 * readelf.c (dump_relocations): Free corrected allocated
1114 (process_unwind): Fix compile time warning.
1116 2001-02-10 Nick Clifton <nickc@redhat.com>
1118 * binutils.texi: Document new --unwind option to readelf.
1120 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1122 * readelf.c: Add linux target for S/390.
1124 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1126 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1129 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1131 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1132 * aclocal.m4: Regenerate.
1133 * configure: Regenerate.
1135 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1137 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1138 * objdump.c (bfd_target_vector): Likewise.
1140 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1142 * readelf.c (process_unwind): New function.
1143 (slurp_ia64_unwind_table): Ditto.
1144 (dump_ia64_unwind): Ditto.
1145 (find_symbol_for_address): Ditto.
1146 (slurp_rela_relocs): New function (split off from dump_relocations()).
1147 (slurp_rel_relocs): Ditto.
1148 (parse_args): Handle '-u' option.
1150 * unwind-ia64.c: New file.
1151 * unwind-ia64.h: New file.
1152 * Makefile.am: Include unwind-ia64.c in readelf build.
1153 * Makefile.in: Regenerate.
1154 * po/binutils.pot: Regenerate.
1156 2001-02-04 Philip Blundell <philb@gnu.org>
1158 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1159 * configure: Regenerate.
1161 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1163 * ieee.c (ieee_add_bb11): Don't check for backslashes
1164 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1166 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1168 * ieee.c: Update copyright.
1169 (ieee_start_compilation_unit): Don't check for backslashes
1170 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1172 * stabs.c: Update copyright. Include "filenames.h".
1173 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1175 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1177 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1178 sections are present before using them. Remove code duplication.
1179 (process_symbol_table): Check if VERDEF or VERNEED sections are
1180 present before using them.
1182 2001-01-17 Nick Clifton <nickc@redhat.com>
1184 * objcopy.c (copy_object): Fail if attempting to convert the
1185 endianness of the input object file.
1187 * binutils.texi: Explain that objcopy cannot convert endianness.
1189 2001-01-16 Nick Clifton <nickc@redhat.com>
1191 * readelf.c (string_table_length): New variable.
1192 (SECTION_NAME): Catch out of range indices and missing section
1194 (process_section_headers): Delete useless local variable
1195 string_table_offset. Set the value of string_table_length
1196 after loading the string table.
1197 (process_mips_specific): Use SECTION_NAME macro.
1198 (process_file): Set string_table_length to 0 when it is freed.
1200 2001-01-12 Nick Clifton <nickc@redhat.com>
1202 * version.c (print_version): Update copyright date.
1204 2001-01-11 Peter Targett <peter.targett@arccores.com>
1206 * readelf.c (dump_relocations): Include selection with EM_ARC.
1207 (get_machine_name) Update name to "ARC".
1209 2001-01-09 Nick Clifton <nickc@redhat.com>
1211 * Makefile.am: Add rule to build objdump.o from objdump.c and
1213 * Makefile.in: Regenerate.
1215 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1216 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1217 -DDISASSEMBLER_NEEDS_RELOCS.
1218 * configure: Regenerate.
1220 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1221 is defined read in the relocs even if dump_reloc_info is
1224 2001-01-07 Philip Blundell <philb@gnu.org>
1226 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1230 2000-12-19 Nick Clifton <nickc@redhat.com>
1232 * dlltool.c: Add missing support for arm-epoc-pe.
1233 * configure.in: Add missing support for arm-epoc-pe.
1234 * configure: Regenerate.
1236 2000-12-15 Nick Clifton <nickc@redhat.com>
1238 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1239 Mode parts of the x86 port.
1241 2000-12-04 Andreas Jaeger <aj@suse.de>
1243 * readelf.c (guess_is_rela): Add EM_X86_64.
1244 (dump_relocations): Add EM_X86_64.
1245 (get_machine_name): Add EM_X86_64.
1246 Include "elf/x86-64.h".
1248 2000-12-12 Nick Clifton <nickc@redhat.com>
1250 * readelf.c: Fix formatting.
1252 2000-12-11 Jan Hubicka <jh@suse.cz>
1254 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1256 2000-12-07 Andrew Haley <aph@redhat.com>
1258 * readelf.c (display_debug_frames): Only display columns that are
1259 referenced by the frame debug info.
1261 2000-12-05 Nick Clifton <nickc@redhat.com>
1263 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1265 2000-12-04 Jason Merrill <jason@redhat.com>
1267 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1268 (display_debug_section): Likewise.
1269 (display_debug_info): Display CU header before bailing.
1271 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1273 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1274 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1275 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1277 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1280 * readelf.c (get_machine_flags): Add case for
1283 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1285 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1287 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1289 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1290 Change sourceware.cygnus.com to sources.redhat.com.
1291 Fix typo for "amongst".
1293 2000-11-28 Nick Clifton <nickc@redhat.com>
1295 * strip.1 (COPYING): Mention that the GNU Free Documentation
1296 License is present in the sources, but not the output, and
1297 also available from the GNU website.
1298 (GNU Free Documentation License): Comment out this section.
1307 * addr2line.1: Ditto.
1309 2000-11-27 DJ Delorie <dj@redhat.com>
1311 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1312 (parse_args): Support -wf option.
1313 (process_section_headers): Ditto.
1314 (debug_displays): Ditto.
1315 (display_debug_frames): New, dump *_frame sections.
1316 (frame_need_space): Support for above.
1317 (frame_display_row): Ditto.
1318 * binutils.texi: Document it.
1320 2000-11-24 Nick Clifton <nickc@redhat.com>
1322 * NEWS: Announce support for v5t, v5te and XScale.
1324 2000-11-22 Nick Clifton <nickc@redhat.com>
1326 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1327 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1328 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1329 (get_elf_section_flags: Add SHF_GROUP.
1330 (process_section_headers): Adjust output for 32-bit binaries
1331 to look nice on an 80 column terminal.
1333 2000-11-20 H.J. Lu <hjl@gnu.org>
1335 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1338 2000-11-17 Richard Henderson <rth@redhat.com>
1340 * readelf.c (display_debug_lines): Adjust last change to
1341 use sizeof (external->li_length).
1343 2000-11-17 Richard Henderson <rth@redhat.com>
1345 * readelf.c (display_debug_lines): Fix section length check
1346 and end_of_sequence computation.
1348 2000-11-06 Nick Clifton <nickc@redhat.com>
1350 * binutils.texi: Add GNU Free Documentation License.
1351 * objcopy.1: Add GNU Free Documentation License.
1352 * objdump.1: Add GNU Free Documentation License.
1353 * addr2line.1: Add GNU Free Documentation License.
1354 * ar.1: Add GNU Free Documentation License.
1355 * nlmconv.1: Add GNU Free Documentation License.
1356 * nm.1: Add GNU Free Documentation License.
1357 * ranlib.1: Add GNU Free Documentation License.
1358 * size.1: Add GNU Free Documentation License.
1359 * strings.1: Add GNU Free Documentation License.
1360 * strip.1: Add GNU Free Documentation License.
1362 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1364 * objcopy.c (--srec-len=nn): New parameter to set the
1365 maximum length of generated Srecords.
1366 (--srec-forceS3): New parameter that restricts the generation of
1367 Srecords to type S3 only.
1368 * binutils.texi: Document new command line switches.
1369 * objcopy.1: Docuemnt the new command line switches.
1370 * NEWS: Announce the existence of the new command line switches.
1372 2000-10-31 Nick Clifton <nickc@redhat.com>
1374 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1375 code. Add Eric Chrisopher as maintainer of MN10300 port.
1377 2000-10-12 Roger Sayle <roger@metaphorics.com>
1379 * Make comma after string after icon/control optional.
1381 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1383 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1385 * NEWS: Mention support for MIPS32.
1387 2000-09-08 Nick Clifton <nickc@redhat.com>
1389 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1391 2000-09-07 H.J. Lu <hjl@gnu.org>
1393 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1394 * configure: Rebuild.
1396 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1398 * configure: Rebuilt with new libtool.m4.
1400 2000-09-05 Nick Clifton <nickc@redhat.com>
1402 * aclocal.m4: Regenerate.
1403 * config.in: Regenerate.
1404 * configure: Regenerate.
1406 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1408 * strip.1: Fix stray '\' in -o formatting.
1410 2000-09-02 Nick Clifton <nickc@redhat.com>
1412 * configure.in: Increase version number to 2.10.91.
1413 * configure: Regenerate.
1414 * aclocal.m4: Regenerate.
1415 * config.in: Regenerate.
1416 * po/binutils.pot: Regenerate.
1418 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1420 * acinclude.m4: Include libtool and gettext macros from the
1422 * aclocal.m4, configure: Rebuilt.
1424 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1426 * resrc.c (close_input_stream): Delete extraneous logic
1428 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1430 * NEWS: Mention support for CRIS.
1432 2000-08-21 Nick Clifton <nickc@redhat.com>
1434 * addr2line.c: Changed email address for Ulrich Lauther.
1436 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1438 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1440 2000-08-17 Nick Clifton <nickc@redhat.com>
1442 * readelf.c (display_debug_pubnames): Only issue warning
1443 message once. Terminate message with a new line.
1444 (display_debug_aranges): Only display version 2 debug info.
1446 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1448 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1449 for compatability with old BSD systems.
1451 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1453 * NEWS: Mention i860 support.
1455 2000-08-11 Carlo Wood <carlo@alinoe.com>
1457 * addr2line.c (main): Add const to char *.
1459 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1461 * ar.c (main): Don't crash if called with no arguments
1462 or only '-X32_64' as an argument.
1464 2000-08-08 DJ Delorie <dj@redhat.com>
1466 * resrc.c: use "gcc -xc" instead of -xc-header
1468 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1470 * readelf.c (elf/i860.h): Include.
1471 (dump_relocations): Add recognition of i860 architecture.
1472 (guess_is_rela): Add recognition of i860 architecture.
1474 2000-08-03 Nick Clifton <nickc@cygnus.com>
1476 * MAINTAINERS: Add information about CGEN maintainers.
1478 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1480 * nm.c (main): Ignore '-X32_64' as an option.
1481 * ar.c (main): Likewise.
1482 * binutils.texi (nm): Document new option.
1485 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1487 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1489 2000-07-20 H.J. Lu <hjl@gnu.org>
1491 * binutils.texi: Put back "@end table" deleted by
1494 2000-07-05 Kenneth Block <krblock@computer.org>
1496 * nm.c: Add optional style to demangle switch.
1497 * objdump.c: Add optional style to demangle switch.
1498 * addr2line.c: Add optional style to demangle switch.
1499 * binutils.texi: Document optional style to demangle
1502 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1504 * MAINTAINERS: Add self as CRIS port maintainer.
1505 * readelf.c: Include elf/cris.h.
1506 (guess_is_rela): Handle EM_CRIS.
1507 (dump_relocations): Ditto.
1508 (get_machine_name): Ditto.
1509 * Makefile.am: Rebuild dependencies.
1510 * Makefile.in: Regenerate.
1511 * po/binutils.pot: Regenerate.
1513 2000-07-19 H.J. Lu <hjl@gnu.org>
1515 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1517 (process_dynamic_segment): Print out strings for DT_CONFIG,
1518 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1520 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1522 * nm.c (usage): Change output of `nm --help' to include a
1523 description of the purpose of the program and a detailed
1524 description of the accepted options.
1526 2000-07-19 H.J. Lu <hjl@gnu.org>
1528 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1531 2000-07-19 H.J. Lu <hjl@gnu.org>
1533 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1535 2000-07-19 H.J. Lu <hjl@gnu.org>
1537 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1539 (process_dynamic_segment): Likewise.
1541 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1542 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1543 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1544 DF_1_NODUMP and DF_1_CONLFAT.
1546 2000-07-18 Nick Clifton <nickc@cygnus.com>
1548 * binutils.texi (readelf): Fix spelling typo.
1550 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1552 * objdump.c (usage): Make output of `objdump --help' more
1553 consistent with the rest of the GNU world. Add a line describing
1554 the purpose of the program.
1556 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1558 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1561 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1563 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1565 (process_symbol_table): Ditto.
1566 (procesS_extended_line_op): Ditto.
1567 (display_debug_lines): Ditto.
1568 (display_debug_pubnames): Ditto.
1569 (read_and_display_attr): Ditto.
1571 2000-07-09 Nick Clifton <nickc@cygnus.com>
1573 * MAINTAINERS: Add several more port specific maintainers.
1575 2000-07-05 Nick Clifton <nickc@cygnus.com>
1577 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1579 2000-06-05 DJ Delorie <dj@redhat.com>
1583 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1585 * dllwrap.c: Changed mistaken dyn_string_append() calls
1586 to dyn_string_append_cstr().
1588 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1590 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1591 struct debug_type stores size in bytes.
1593 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1595 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1596 (CLEANFILES): Add DEPA.
1597 * Makefile.in: Regenerate.
1599 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1601 * ar.c: Revert incorrect 2000-06-25 patch.
1602 * bucomm.c: Likewise.
1604 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1606 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1607 (external_coff_symbol_p): New function.
1608 (parse_coff): Use it.
1610 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1612 * ar.c (normalize): Advance past both characters in a DOS based
1613 <letter>: filepath prefix.
1615 * bucomm.c (make_tempname): Likewise.
1617 2000-06-24 Nick Clifton <nickc@cygnus.com>
1619 * objdump.c (usage): Fix description of --stabs switch.
1621 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1623 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1625 * Makefile.in: Regenerate.
1627 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1629 * ar.c (normalize): Correct pointer comparison when checking for
1632 * bucomm.c (make_tempname): Likewise.
1634 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1635 and search for backslashes in the original pathname.
1636 (ieee_add_bb11): Likewise.
1638 2000-06-18 Nick Clifton <nickc@redhat.com>
1640 * ar.c (print_contents): Improve verbose message.
1642 2000-06-15 H.J. Lu <hjl@gnu.org>
1644 * dyn-string.c: Removed. Not needed with dyn-string.c in
1646 * dyn-string.h: Likewise.
1648 * Makefile.am: Remove references to dyn-string.c and
1649 dyn-string.h. Rebuild dependency.
1650 * Makefile.in: Rebuild.
1652 2000-06-15 H.J. Lu <hjl@gnu.org>
1654 * binutils.texi: Put a warning on copying relocatable object
1655 files between two different formats.
1657 2000-06-13 DJ Delorie <dj@cygnus.com>
1659 * rcparse.y (control): ICON controls take an id as the first
1660 parameter, not an optional string. Also, call new convenience
1661 function that takes res_id's.
1662 * resrc.c (define_control): missing text means zero-length string,
1664 (define_icon_control): New.
1665 * windres.h: declare define_icon_control.
1667 2000-06-13 H.J. Lu <hjl@gnu.org>
1669 * configure: Regenerate.
1671 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1673 * configure.in (VERSION): Update to show this is the CVS mainline.
1675 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1677 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1678 analogous to <SPACE>.
1680 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1682 * objdump.c (display_target_list): Use bfd_close_all_done, not
1683 bfd_close to fix crash caused by 2000-05-24 change.
1685 2000-05-25 DJ Delorie <dj@cygnus.com>
1687 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1689 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1691 * Makefile.am: Update dependencies with "make dep-am"
1692 * Makefile.in: Regenerate.
1694 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1696 * ar.c: Include filenames.h.
1697 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1698 and drive letters in file names.
1699 (main): Support backslashes and drive letters in argv[0]. Drop
1700 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1701 FILENAME_CMP instead of strcmp to compare file names.
1702 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1704 (do_quick_append) [__GO32__]: Ditto.
1705 (get_pos_bfd, delete_members, move_members, replace_members):
1706 Compare file names with FILENAME_CMP.
1708 * bucomm.c: Include filenames.h.
1709 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1710 forward/backward slashes and drive letters in file names.
1712 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1713 mixed forward/backward slashes and drive letters in file names.
1715 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1716 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1719 * objcopy.c: Include filenames.h.
1720 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1721 before comparing to "strip".
1722 Use FILENAME_CMP to compare file names.
1724 * arsup.c: Include filenames.h.
1725 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1726 FILENAME_CMP to compare file names.
1727 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1728 the temporary file name.
1730 * configure.in: Check for setmode.
1731 * configure: Regenerate.
1733 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1735 * objdump.c (display_target_list): Close the bfd.
1736 (display_info_table): Likewise.
1738 2000-05-14 H.J. Lu (hjl@gnu.org)
1740 * objcopy.c (filter_symbols): Don't strip global symbols in
1741 relocatable object files.
1743 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1745 * size.c (usage): Associate short options with corresponding long
1746 option to give a clue as to their function.
1748 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1750 * size.c (main): Accept and ignore `-f' option.
1752 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1754 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1755 bindtextdomain): Replace defines with those from intl/libgettext.h
1756 to quieten gcc warnings.
1758 2000-05-12 H.J. Lu <hjl@gnu.org>
1760 * nlmconv.c (temp_filename): Removed.
1762 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1763 choose_temp_base ().
1764 * objdump.c (display_target_list): Likewise.
1765 (display_info_table): Likewise.
1767 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1769 * objcopy.c (setup_section): Add const and gettext calls for err.
1771 2000-05-02 H.J. Lu <hjl@gnu.org>
1773 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1774 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1775 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1776 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1777 and ELFOSABI_OPENBSD.
1779 2000-05-02 Kazu Hirata <kazu@hxi.com>
1781 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1782 * srconv.c: Likewise.
1783 * sysdump.c: Likewise.
1785 2000-04-23 Denis Chertykov <denisc@overta.ru>
1787 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1788 (get_machine_name): machine name for EM_AVR added.
1790 2000-04-21 Richard Henderson <rth@cygnus.com>
1791 David Mosberger <davidm@hpl.hp.com>
1793 * Makefile.am (readelf.o): Add elf/ia64.h.
1794 * Makefile.in: Rebuild.
1795 * readelf.c: Include elf/ia64.h.
1796 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1798 2000-04-17 Timothy Wall <twall@cygnus.com>
1800 * objdump.c (disassemble_data): Set octets per byte *after*
1801 resolving arch/mach for binary files.
1803 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1805 * arlex.l: Add directives to increase lex buffer size.
1807 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1808 already included by bucomm.h.
1810 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1812 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1813 `strftime' since strftime is not available on all systems.
1814 (process_mips_specific): Ditto.
1816 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1818 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1819 --enable-build-warnings option.
1820 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1821 * Makefile.in, configure: Re-generate.
1823 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1825 * addr2line.c: Update copyright.
1826 * objcopy.1: Likewise, and title.
1827 * strings.1: Likewise.
1829 * version.c (print_version): Add 2000.
1831 * rddbg.c (read_section_stabs_debugging_info): Don't use
1832 bfd_size_type for strx to avoid printf problems if BFD64.
1834 * bucomm.c: (report): Remove `static'.
1835 Move inclusion of stdarg.h/vararg.h from here.
1836 * bucomm.h: To here.
1837 (CONST): Change all occurences to const.
1838 (report): Declare it.
1839 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1840 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1841 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1843 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1844 Correct a typo in an error message.
1845 (do_quick_append): Use non_fatal instead of fprintf.
1846 (move_members): Use fatal instead of fprintf, exit.
1847 * coffdump.c (main): Same here.
1849 * dlltool.c (display): Delete.
1851 (inform): Use `report' instead of `display'.
1852 (rvaafter): Remove trailing \n from fatal error msg.
1854 (asm_prefix): Ditto.
1855 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1856 (def_name): Likewise.
1858 (scan_all_symbols): Likewise.
1859 (gen_lib_file): Likewise.
1860 (def_library): Likewise. Remove extra program_name too.
1861 (run): Remove \n from inform strings.
1862 (scan_drectve_symbols): Likewise.
1863 (add_excludes): Likewise.
1864 (scan_open_obj_file): Likewise.
1865 (gen_exp_file): Likewise.
1866 (gen_lib_file): Likewise.
1867 (process_duplicates): Likewise.
1869 * Makefile.am (dllwrap_SOURCES): Add version.c.
1870 * dllwrap.c (program_version): Delete.
1871 (print_version): Delete.
1872 (display): Always print trailing \n.
1874 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1877 (usage): gettext'ify.
1878 (long_options): Add missing initialisers.
1880 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1881 (select_output_format): Likewise.
1882 (powerpc_mangle_relocs): Likewise.
1883 (link_inputs): Likewise.
1885 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1886 (set_output_format): Likewise.
1887 (main): Use non_fatal instead of fprintf.
1888 (display_rel_file): Likewise.
1890 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1891 (slurp_dynamic_symtab): Same here.
1892 (disassemble_data): And here.
1893 (read_section_stabs): And here.
1894 (read_section_stabs): And here.
1895 (dump_bfd): And here.
1897 (objdump_sprintf): Use fatal instead of fprintf, exit.
1898 (disassemble_data): Same here.
1900 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1901 (parse_coff_struct_type): Same here.
1902 (parse_coff_enum_type): And here.
1903 (parse_coff): And here.
1904 * rddbg.c (read_debugging_info): And here.
1905 * size.c (main): And here.
1906 * windres.c (format_from_name): And here.
1907 * wrstabs.c (stab_write_symbol): Here too.
1908 (write_stabs_in_sections_debugging_info): And here.
1909 (stab_int_type): And here.
1910 (stab_struct_field): And here.
1911 (stab_typdef): And here.
1913 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1914 * srconv.c (main): Same here.
1915 * strings.c (main): And here.
1916 (integer_arg): And here.
1917 * sysdump.c (main): And here.
1919 2000-04-06 Timothy Wall <twall@cygnus.com>
1921 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1923 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1925 * readelf.c (decode_location_expression): Loop through multiple
1927 (read_and_display_attr): Pass in length.
1929 * readelf.c (read_and_display_attr): Add CU offset to references.
1930 (display_debug_info): Pass it in.
1932 2000-04-06 Nick Clifton <nickc@cygnus.com>
1934 * readelf.c (decode_ARM_machine_flags): New function.
1935 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1938 (get_machine_name): Catch EM_AVR
1940 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1942 * binutils.texi: Remove optional `=' from long options that have
1943 an `=' in the argument.
1944 * objcopy.1: Here too. Remove extra space on discard-all.
1946 * binutils.texi (objcopy): Mention --redefine-sym.
1947 * objcopy.1: Here too.
1950 * objcopy.c (parse_flags): Split off flag names from error message
1951 gettext as they are not translated.
1952 (copy_main): Similarly split off option name for --add-section,
1953 --set-section-flags, --change-section-vma, --change-section-lma
1955 Some white space changes.
1957 from Matthew Benjamin <matt@linuxbox.nu>
1958 * objcopy.c (struct redefine_node): New.
1959 (redefine_sym_list): New.
1960 (redefine_list_append): New.
1961 (lookup_sym_redefinition): New.
1962 (OPTION_REDEFINE_SYM): New.
1963 (copy_options): Add --redefine-sym option.
1964 (copy_usage): Mention it.
1965 (filter_symbols): Rename symbols on redefine_sym_list.
1966 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1967 (copy_main): Handle OPTION_REDEFINE_SYM.
1969 2000-04-04 H.J. Lu <hjl@gnu.org>
1971 * readelf.c (process_symbol_table): Correctly read in symbol
1972 versioning information.
1974 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1976 * po/binutils.pot: Regenerate.
1978 * addr2line.c (usage): Restore translated part of bug string.
1979 * ar.c (usage): Likewise.
1980 * nlmconv.c (show_usage): Likewise.
1981 * nm.c (usage): Likewise.
1982 * objcopy.c (copy_usage): Likewise.
1983 (strip_usage): Likewise.
1984 * objdump.c (usage): Likewise.
1985 * readelf.c (usage): Likewise.
1986 * size.c (usage): Likewise.
1987 * strings.c (usage): Likewise.
1988 * windres.c (usage): Likewise.
1990 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1991 (DEP): Quote when passing vars to sub-make. Add warning
1993 (DEP1): Rewrite for "gcc -MM".
1994 (CLEANFILES): Add DEP2.
1995 Update dependencies.
1996 * Makefile.in: Regenerate.
1998 2000-04-04 H.J. Lu <hjl@gnu.org>
2000 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2001 (arparse.h): Depend on arparse.c
2002 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2004 2000-04-03 H.J. Lu (hjl@gnu.org)
2006 * size.c (usage): Use REPORT_BUGS_TO.
2008 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2010 * bucomm.h: #include "bin-bugs.h"
2011 * addr2line.c (usage): Use REPORT_BUGS_TO.
2012 * ar.c (usage): Likewise.
2013 * nlmconv.c (show_usage): Likewise.
2014 * nm.c (usage): Likewise.
2015 (OPTION_TARGET): Define.
2016 (long_options): Use OPTION_TARGET rather than 200.
2019 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2020 (strip_usage): Likewise.
2021 * objdump.c (usage): Likewise.
2022 * readelf.c (usage): Likewise.
2023 * strings.c (usage): Likewise.
2024 * windres.c (usage): Likewise.
2026 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2028 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2030 2000-03-27 Nick Clifton <nickc@cygnus.com>
2032 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2033 string offsets in corrupt stabs entries.
2035 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2037 * readelf.c: Include elf/avr.h
2038 (dump_relocations): Add EM_AVR case.
2040 2000-03-09 Tim Waugh <twaugh@redhat.com>
2042 * strings.1: Correct '-bytes' to '--bytes'.
2044 2000-03-08 H.J. Lu <hjl@gnu.org>
2046 * Makefile.am (install-exec-local): Depend on
2047 install-binPROGRAMS for parallel make.
2048 * Makefile.in: Regenerated.
2050 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2052 From Brad Lucier <lucier@math.purdue.edu>:
2053 * readelf.c (process_dynamic_segment): Add cast to make sure
2054 argument to %* is int.
2056 2000-02-25 H.J. Lu <hjl@gnu.org>
2058 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2060 2000-02-24 Nick Clifton <nickc@cygnus.com>
2062 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2063 * configure: Regenerate.
2065 * dlltool.c: Add support for sh-pe and mips-pe targets.
2066 * rescoff.c: Add support for sh-pe and mips-pe targets.
2068 2000-02-23 H.J. Lu <hjl@gnu.org>
2070 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2072 2000-02-22 Nick Clifton <nickc@cygnus.com>
2074 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2076 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2078 From Brad Lucier <lucier@math.purdue.edu>:
2079 * readelf.c (process_version_sections): Add casts to make sure
2080 argument to %* is an int.
2081 (process_mips_specific): Add casts to make printf arguments match
2084 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2086 * objdump.c (dump_section_header): Change `opb' to unsigned.
2087 (find_symbol_for_address): Same here.
2088 (disassemble_data): And here. Change `addr_offset',
2089 `stop_offset', `nextstop_offset' to unsigned long.
2090 (dump_data): Change opb to unsigned.
2092 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2094 * resrc.c: Remove unmatched #if for cygwin.
2096 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2098 * binutils.texi: Document the change of flavor name from atpcs-special
2099 to special-atpcs to prevent name conflict in gdb.
2101 2000-02-08 Timothy Wall <twall@redhat.com>
2103 * objdump.c (show_line): Fix bug preventing printing of the very
2104 first line (line zero) of a file when interlisting source and
2105 assembly. Added option to print entire context from start of file
2106 when the first line from that file is encountered.
2108 2000-02-03 Timothy Wall <twall@redhat.com>
2110 * objdump.c (dump_section_header, find_symbol_for_address,
2111 show_line, disassemble_bytes, disassemble_data, dump_data):
2112 distinguish between octets and bytes.
2114 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2116 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2117 check to unresolved symbols.
2118 (print_symbol_info_sysv): Ditto.
2119 (print_symbol_info_posix): Ditto.
2121 * binutils.texi: Document new 'V' symclass flag for nm.
2123 2000-01-27 Nick Clifton <nickc@redhat.com>
2125 * binutils.texi (objdump): Document new ARM specific
2126 disassembler options.
2128 * objdump.c (usage): Call disassembler_usage().
2130 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2132 * readelf.c (get_dynamic_flags): Return buff.
2133 (process_dynamic_segment): Don't pass error strings to printf
2135 (read_and_display_attr): Use lx and ld to print longs.
2136 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2140 2000-01-17 Nick Clifton <nickc@cygnus.com>
2142 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2144 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2146 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2148 (debug_tag_type): Here too.
2149 * ieee.c (ieee_builtin_type): And here.
2150 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2152 2000-01-13 Nick Clifton <nickc@cygnus.com>
2154 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2157 2000-01-11 Nick Clifton <nickc@cygnus.com>
2159 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2161 2000-01-10 Nick Clifton <nickc@cygnus.com>
2163 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2165 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2167 * windres.c (long_options): Add --use-temp-file and
2168 --no-use-temp-file options.
2172 * windres.h: Update read_rc_file prototype.
2174 * resrc.c (cpp_temp_file): New static variable.
2175 (istream_type): New static variable.
2176 (close_pipe): Delete function.
2177 (run_cmd): New static function.
2178 (open_input_stream): New static function.
2179 (close_input_stream): New static function.
2180 (look_for_default): Handle DOS directory separator. Use
2181 open_input_stream instead of popen.
2182 (read_rc_file): Likewise.
2184 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2187 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2189 * dlltool.c (create_compat_implib): New variable.
2190 (gen_exp_file): Use.
2191 (make_one_lib_file): Use.
2192 (long_options): Add --compat-implib option.
2196 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2197 (main): Use. Don't look for "32" in cygwin and mingw target names.
2199 2000-01-03 Nick Clifton <nickc@cygnus.com>
2201 * binutils.texi: Document new, ARM specific disassembler
2202 command line switch "-M force-thumb".
2204 For older changes see ChangeLog-9899
2210 version-control: never