1 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
3 * README: Update some version numbers.
5 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
7 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
8 (Architecture Selection): Likewise.
10 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
12 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
15 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
17 * readelf.c (dump_relocations): Fix typo.
19 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
21 * NEWS: Mark 2.12 branch.
23 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
25 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
26 types for 64-bit MIPS. Narrow some fields for 80-char
28 (dump_relocations): Change spelling from 'unrecognised'
30 (decode_ARM_machine_flags): Likewise.
31 (parse_args): Likewise.
32 (read_and_display_attr_value): Likewise.
33 (display_debug_section): Likewise.
35 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
37 * NEWS: Mention support for MMIX.
39 2002-02-13 Matt Fredette <fredette@netbsd.org>
41 * readelf.c (get_machine_flags): Recognize EF_M68000.
43 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
45 * MAINTAINERS: Added self as MN10300 co-maintainer.
47 2002-02-12 Alan Modra <amodra@bigpond.net.au>
49 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
52 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
54 * MAINTAINERS: List myself as branch maintainer.
56 2002-02-11 Alan Modra <amodra@bigpond.net.au>
58 * configure: Regenerate.
59 * objcopy.c: Update copyright date.
60 * doc/Makefile.in: Regenerate.
62 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
64 * nlmconv.c: Back out localtime PARAMS change.
66 2002-02-11 Alan Modra <amodra@bigpond.net.au>
68 * objcopy.c (MKDIR): Define.
69 (copy_archive): Make name_list.name const. Use MKDIR.
70 Handle duplicate files in archives by making more temp dirs.
72 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
74 * coffdump.c: Include "getopt.h" after "bucomm.h"
75 so that macros are defined correctly.
76 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
77 prototype. Prototype main.
78 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
80 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
82 * MAINTAINERS: Added self as SH co-maintainer.
84 2002-02-05 Nick Clifton <nickc@redhat.com>
86 * po/tr.po: Updated translation.
88 2002-02-01 Alan Modra <amodra@bigpond.net.au>
90 * Makefile.am: Run "make dep-am"
91 * Makefile.in: Regenerate.
93 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
95 * nm.c (print_value): Mark abfd unused.
97 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
99 * unwind-ia64.c (unw_decoder): Change second argument
100 to unsigned int, to match function prototypes.
102 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
104 * objdump.c: Include "getopt.h" after "bucomm.h" so that
105 __GNU_LIBRARY__ will be defined.
108 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
110 * configure: Regenerated.
112 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
114 * doc/Makefile.am (install): Depend on install-info.
115 * doc/Makefile.in: Regenerate.
117 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
119 * objcopy.c (strip_usage): Document -d as an alias
122 * size.c (usage): Document [-t | --totals] options.
123 (long_options): Add --totals option.
124 (main): If the [-t | --totals] option is specified and
125 the output format is Berkeley-style, print the total
126 text, data, and bss sizes of all objects listed.
127 (print_berkeley_format): If the [-t | --totals] option
128 is specified, track the total text, data, and bss
130 * doc/binutils.texi (size): Document [-t | --totals] options.
131 (strip): Document -d as an alias for --strip-debug.
132 * NEWS: Mention new feature of size.
134 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
136 * po/fr.po: Updated version.
137 * po/es.po: Updated version.
139 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
141 * addr2line.c (usage): Update text to provide verbose
142 description of the command line options.
143 * ar.c (usage): Update text to provide verbose
144 description of the command line options.
145 (main): Accept -h and -H when running as ranlib.
146 * coffdump.c (show_usage): Update text to provide verbose
147 description of the command line options.
148 * dlltool.c (main): Accept -H as an alias for --help.
149 * nlmconv.c (show_usage): Update text to provide verbose
150 description of the command line options.
151 * nm.c (usage): Replace OPTIONS with option(s).
152 (main): Accept -H as an alias for --help.
153 * objcopy.c (strip_main): Accept -H as an alias for --help.
154 * objdump.c (main): Accept -v as an alias for --verbose.
155 * readelf.c (usage): Adjust format to match style used in
157 * size.c (usage): Update text to provide verbose description
158 of the command line options.
159 (main): Accept -v, -h and -H as command line options.
160 * srconv.c (show_usage): Update text to provide verbose
161 description of the command line options.
162 * strings.c (main): Accept -H and -v as command line options.
163 (usage): Update text to provide verbose description of the
164 command line options.
165 * sysdump.c (show_usage): Update text to provide verbose
166 description of the command line options.
167 * windres.c (usage): Adjust format to match style used in
170 * coffdump.c: Fix formatting.
171 * nlmconv.c: Fix formatting.
172 * srconv.c: Fix formatting.
173 * sysdump.c: Fix formatting.
175 2002-01-22 Alan Modra <amodra@bigpond.net.au>
177 * Makefile.am: Run "make dep-am".
178 * Makefile.in: Regenerate.
180 2002-01-18 Andreas Jaeger <aj@suse.de>
182 * version.c (print_version): Update year.
184 2002-01-17 Alan Modra <amodra@bigpond.net.au>
186 * readelf.c (get_machine_name): Handle EM_PPC64.
187 (guess_is_rela): Here too.
189 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
191 * po/binutils.pot: Regenerate.
192 * po/fr.po: Regenerate.
193 * po/tr.po: Regenerate.
195 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
197 * po/tr.po: Import new version.
199 2002-01-16 Alan Modra <amodra@bigpond.net.au>
201 * readelf.c (get_ppc64_dynamic_type): New.
202 (get_dynamic_type): Call it.
204 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
206 * objcopy.c (copy_usage): Use "options" instead of "switches".
207 (strip_usage): Use "options" instead of "switches".
208 * doc/binutils.texi (dlltool): Refer to "options" instead of
211 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
213 * MAINTAINERS: Add self as co-maintainer for the ARM code.
215 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
217 * po/es.po: Import from translation project.
218 * configure.in (ALL_LINGUAS): Add es.
219 * configure: Regenerate.
221 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
223 * readelf.c (get_netbsd_elfcore_note_type): Use
224 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
226 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
228 * readelf.c: Update copyright years.
229 (get_note_type): Return a const char *.
230 (get_netbsd_elfcore_note_type): New function.
231 (process_note): Use get_netbsd_elfcore_note_type to get
232 the note type string for NetBSD ELF core files.
234 2002-01-06 Steve Ellcey <sje@cup.hp.com>
236 * readelf.c (get_ia64_segment_type): Add support for macros.
237 (get_segment_type): Add support for IA64 specific macros.
239 2001-12-20 Julian v. Bock <julian@wongr.net>
241 * readelf.c (print_symbol): New function: Print a formatted symbol
242 name. If --wide is specified do not truncate it.
243 (dump_relocations): Use print_symbol() to print symbol names.
244 (process_symbol_table): Likewise.
245 (process_syminfo): Likewise.
246 (process_mips_specific): Likewise.
247 (usage): Document new feature of --wide switch.
248 * doc/binutils.texi (objdump): Document additional behaviour of
251 2001-12-18 Michael Snyder <msnyder@redhat.com>
253 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
254 (copy_object): Don't set the start address or flags of a core file.
255 (copy_section): Don't relocate a core file. Don't copy contents
256 if the input section has the contents flag set, but the output
257 section does not (which happens with the fake 'note' pseudo-
258 sections that BFD creates for corefiles).
260 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
262 * readelf.c (get_machine_flags): Recognize header flags for ABI and
263 ASE extensions. More robust code for ISA checking. Ignore empty fields
264 in header flags for GNU extensions.
266 2001-12-18 Alan Modra <amodra@bigpond.net.au>
268 * objcopy.c (copy_archive): Set output bfd format outside the loop.
270 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
272 * po/ja.po: Import from translation project.
273 * configure.in (ALL_LINGUAS): Add ja.
274 * configure: Regenerate.
276 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
278 * addr2line.c (main): Protoype.
279 * ar.c (main): Protoype.
280 * nm.c (main): Protoype.
281 * objcopy.c (main): Protoype.
282 * objdump.c (main): Protoype.
283 * size.c (main): Protoype.
284 * strings.c (main): Protoype.
286 2001-12-17 Alan Modra <amodra@bigpond.net.au>
288 * readelf.c (symtab_shndx_hdr): New global.
289 (SECTION_HEADER_INDEX): Define.
290 (SECTION_HEADER_NUM): Define.
291 (SECTION_HEADER): Define.
292 (GET_ELF_SYMBOLS): Pass two params rather than three.
293 (get_32bit_elf_symbols): Take file and section args. Read and
294 use SHT_SYMTAB_SHNDX.
295 (get_64bit_elf_symbols): Likewise.
296 (dump_relocations): Use SECTION_HEADER to index "section_headers".
297 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
298 Remember symtab_shdx_hdr.
299 (process_program_headers): Scan from index 1 for segment map.
300 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
302 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
303 (process_unwind): Likewise.
304 (process_version_sections): Likewise.
305 (process_symbol_table): Likewise.
306 (display_debug_info): Likewise.
307 (process_dynamic_segment): Fake up a symtab section for changed
309 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
310 (process_program_headers): Kill signed/unsigned warning.
311 (load_debug_str): Likewise.
312 (display_debug_info): Likewise.
314 2001-12-13 Jakub Jelinek <jakub@redhat.com>
316 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
318 2001-12-11 Alan Modra <amodra@bigpond.net.au>
320 * readelf.c (process_file_header): Print extended e_shnum and
321 e_shdtrndx values. Set elf_header values for same.
322 (get_32bit_section_headers): Add "num" arg to read "num" headers.
323 (get_64bit_section_headers): Likewise.
324 (process_section_headers): Update calls.
325 (get_file_header): Call get_32bit_section_headers or 64bit variant.
327 2001-12-10 Jakub Jelinek <jakub@redhat.com>
329 * objcopy.c (setup_section): Copy entsize.
331 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
333 * readelf.c (guess_is_rela): Add support for stormy16.
334 (dump_relocations): Likewise.
335 (get_machine_name): Likewise.
337 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
339 * dllwrap.c (main) Replace multiple strings describing a
340 single error with a single, newline escaped sentence to permit
341 better translation into foreign languages.
343 * readelf.c (get_elf_class): Remove internalionalisation of ELF
346 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
348 * strings.c (get_char): Initialize value.
350 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
352 * arlex.l: Silence compile warnings.
353 * arsup.h: Likewise. Fix formatting.
355 2001-12-04 Jakub Jelinek <jakub@redhat.com>
357 * strings.c: Include config.h before bfd.h.
358 (file_off): New type.
360 (print_strings): Use file_off instead of file_ptr. Print addresses
361 which don't fit into long correctly.
362 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
364 (strings_file): Use file_off instead of file_ptr. Use file_open.
365 * configure.in: Check for getc_unlocked.
366 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
368 * configure: Rebuilt.
369 * config.h.in: Rebuilt.
371 2001-11-29 H.J. Lu <hjl@gnu.org>
373 * bucomm.c (make_tempname): Revert the changes made on
374 2001-11-14 and 2001-11-12. They won't work with directories.
376 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
378 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
379 CFLAGS_FOR_TARGET to runtest in environment.
380 * Makefile.in: Rebuild.
381 * doc/Makefile.in: Rebuild.
383 2001-11-28 Mike Stump <mrs@wrs.com>
385 * objcopy.c (setup_section): Preserve SEC_RELOC when
386 --set-section-flags is used.
388 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
390 * readelf.c (do_debug_str): New variable.
391 (display_debug_str): New function: Display the contents of a
393 (load_debug_str): New function: Load in the contents of a
395 (free_debug_str): New function: Free the memory used by
397 (fetch_indirect_string): Retrieve a string from the .debug_str
400 (parse_args): Accept -ws.
401 (process_section_headers): Allow the display of the .debug_str
403 (read_and_display_attr_value): Use fetch_indirect_string. Show
404 offset into .debug_str section.
405 (display_debug_info): Use load_debug_str and free_debug_str.
406 (debug_displays): Add .debug_str.
407 * doc/binutils.texi: Document -ws.
409 2001-11-19 Andreas Jaeger <aj@suse.de>
411 * testsuite/binutils-all/objdump.exp: Add x86-64.
413 2001-11-15 Andreas Schwab <schwab@suse.de>
415 * readelf.c: Fix warnings without terminating newline.
417 2001-11-15 Alan Modra <amodra@bigpond.net.au>
419 * doc/binutils.texi (objdump): Document ppc -M options.
421 2001-11-14 Andreas Jaeger <aj@suse.de>
423 * doc/binutils.texi (objdump): Fix description to use x86-64.
425 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
427 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
428 not all systems provide mkstemp.
430 2001-11-14 Alan Modra <amodra@bigpond.net.au>
432 * doc/binutils.texi (objdump): Document x86 -M options.
434 2001-11-13 Keith Walker <keith.walker@arm.com>
436 * readelf.c (read_and_display_attr_value): New function to
437 handle DW_FORM_indirect.
438 (read_and_display_attr): Use it.
440 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
442 * readelf.c (display_debug_lines): Deal with unknown standard
443 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
446 2001-11-13 Timothy Wall <twall@alum.mit.edu>
448 * MAINTAINERS: Add self as tic54x maintainer. This target
449 includes the IBM C54XDSP clone.
451 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
453 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
455 2001-11-09 Jeffrey A Law (law@cygnus.com)
457 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
458 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
459 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
460 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
461 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
462 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
463 (unw_decode_b2, unw_decode_b3_b4): Likewise.
465 * readelf.c (get_elf_class): Fix ISO portability glitch.
466 (get_data_encoding, get_osabi_name, request_dump): Likewise.
468 2001-11-07 Jakub Jelinek <jakub@redhat.com>
470 * readelf.c (debug_str, debug_str_size): New.
471 (display_debug_abbrev): If no abbrevs were read, skip the CU.
473 (read_and_display_addr): Handle DW_FORM_strp.
474 (display_debug_info): Read .debug_str section if present,
475 so that DW_FORM_strp can be handled.
476 Fix test for non-existant .debug_abbrev section.
478 2001-11-05 Jakub Jelinek <jakub@redhat.com>
480 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
482 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
484 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
486 * MAINTAINERS: Add self as s390/s390x maintainer.
488 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
490 * MAINTAINERS: Add self as PPC XCOFF maintainer.
492 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
494 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
495 * configure: Regernate.
496 * po/fr.po: New file.
497 * po/tr.po: New file.
499 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
501 * MAINTAINERS: Add self as MMIX port maintainer.
502 * readelf.c: Include elf/mmix.h.
503 (guess_is_rela): MMIX is RELA.
504 (dump_relocations): Handle MMIX relocations.
505 * Makefile.am: Regenerate dependencies.
506 * Makefile.in: Regenerate.
508 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
510 * readelf.c (parse_args): Handle multiple options to the -w
513 2001-10-12 Jakub Jelinek <jakub@redhat.com>
515 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
516 LOPROC, LOOS and LOUSER.
518 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
520 * MAINTAINERS: Update my email address.
522 2001-10-03 Alan Modra <amodra@bigpond.net.au>
524 * doc/Makefile.in: Regenerate.
525 * configure: Regenerate.
527 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
529 * readelf.c (display_debug_line, display_debug_pubnames,
530 display_debug_info, display_debug_frames): Detect and warn
531 about 64-bit format entries.
532 (display_debug_aranges): Reword 64-bit warning.
533 (debug_displays): Add .debug_pubtypes as a known, but not yet
534 supported, debug section.
536 2001-10-02 Alan Modra <amodra@bigpond.net.au>
538 * coffdump.c (PROGRAM_VERSION): Delete.
539 (main <'V'>): Call print_version.
540 * srconv.c: Likewise.
541 * sysdump.c: Likewise.
542 * version.c (program_version): Remove.
543 (print_version): Use BFD_VERSION_STRING. Just print the current
544 year in copyright message.
545 * addr2line.c (program_version): Remove unused declaration.
546 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
547 place of BFD_VERSION.
548 * Makefile.am (Makefile): Depend on bfd/configure.in.
549 (cplus-dem.o): Depend on Makefile.
551 * Makefile.in: Regenerate.
553 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
555 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
556 format .debug_arange sections.
557 (main): Add missing prototype.
559 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
561 * Makefile.am: Update dependencies with "make dep-am".
562 * Makefile.in: Regenerate.
564 2001-09-28 Richard Henderson <rth@redhat.com>
566 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
568 2001-09-26 Alan Modra <amodra@bigpond.net.au>
570 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
572 (non_fatal): Likewise.
573 * objdump.c (objdump_sprintf): Likewise.
574 * readelf.c (error): Likewise.
577 2001-09-25 Jakub Jelinek <jakub@redhat.com>
579 * readelf.c (do_wide): New.
580 (options): Add --wide.
581 (usage, parse_args): Likewise.
582 (process_program_headers): Put each segment on a single line if
584 (process_section_headers): Put each section on a single line if
586 * doc/binutils.texi: Document it.
589 2001-09-25 Alan Modra <amodra@bigpond.net.au>
591 * readelf.c (print_vma): Print 8 digits of low hex value.
593 2001-09-24 Andreas Jaeger <aj@suse.de>
595 * nlmconv.c: Fix warnings about unused attributes and function
598 * strings.c: Add prototype for get_char.
600 2000-09-19 H.J. Lu <hjl@gnu.org>
602 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
603 $(srcdir)/cxxfilt.man.
604 * doc/Makefile.in: Rebuild.
606 2001-09-19 Alan Modra <amodra@bigpond.net.au>
608 * objcopy.c (copy_main): Correct rename-section string parsing.
609 Consolidate new_name parsing, and error messages.
611 2001-09-18 Bruno Haible <haible@clisp.cons.org>
613 * addr2line.c: Don't include <ctype.h>.
614 (main): For gettext, also set the LC_CTYPE locate facet.
615 * ar.c (main): Likewise.
616 * coffdump.c (main): Likewise.
617 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
618 (main): For gettext, also set the LC_CTYPE locate facet.
619 Use ISALNUM instead of isalpha/isdigit.
620 * dllwrap.c: Don't include <ctype.h>.
621 (main): For gettext, also set the LC_CTYPE locate facet.
622 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
623 (main): For gettext, also set the LC_CTYPE locate facet.
624 Use TOUPPER instead of islower/toupper.
625 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
626 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
627 Use TOUPPER instead of islower/toupper.
628 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
629 * objcopy.c (main): Likewise.
630 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
631 (disassemble_bytes): Use ISPRINT instead of isprint.
632 (dump_section_stabs): Use ISDIGIT instead of isdigit.
633 (dump_data): Use ISPRINT instead of isprint.
634 (main): For gettext, also set the LC_CTYPE locate facet.
635 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
636 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
637 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
638 Use TOUPPER instead of islower/toupper.
639 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
640 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
641 (write_rc_accelerators): Use ISPRINT instead of isprint.
642 (write_rc_rcdata): Likewise.
643 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
644 * srconv.c (main): Likewise.
645 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
646 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
647 isdigit/isupper/islower.
648 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
649 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
650 stab_demangle_prefix, stab_demangle_qualified,
651 stab_demangle_template, stab_demangle_type,
652 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
653 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
654 (isgraphic): Use ISPRINT instead of isascii/isprint.
655 (main): Remove HAVE_LC_MESSAGES dependency.
656 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
657 (pbarray): Use ISPRINT instead of isprint.
658 (main): For gettext, also set the LC_CTYPE locate facet.
659 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
660 (format_from_filename): Use ISPRINT instead of isprint.
661 (main): For gettext, also set the LC_CTYPE locate facet.
662 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
663 (unicode_print): Use ISPRINT instead of isprint.
664 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
665 (stab_variable): Use ISDIGIT instead of isdigit.
667 2001-09-18 Alan Modra <amodra@bigpond.net.au>
669 * ar.c (print_contents): Cast args of bfd_seek to the right types.
670 Replace bfd_read call with call to bfd_bread.
671 (extract_file): Likewise.
673 * objdump.c (dump_section_header): Cast section->filepos to
674 unsigned long to suit printf format string.
675 * readelf.c (process_section_headers): Similarly for sh_offset.
676 (process_unwind): Likewise.
678 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
680 * strings.c (encoding, encoding_bytes): New variables.
681 (long_options): Add --encoding.
682 (main): Accept -e and --encoding.
683 (get_char): New function. Read a, possibly wide, character from
685 (print_strings): Use get_char().
686 (usage): Document new command line option.
687 * doc/binutils.texi: Document new command line option.
688 * NEWS: Announce new command line option.
690 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
692 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
693 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
694 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
695 Removed EM_CYGNUS_ARC.
697 2001-09-04 Jeffrey A Law (law@cygnus.com)
699 * readelf.c: Include elf/h8 for H8 series definitions.
700 (guess_is_rela): H8 series if RELA.
701 (dump_relocations): Handle H8 series relocations.
703 2001-08-31 Eric Christopher <echristo@redhat.com>
705 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
707 2001-08-29 Peter Targett <peter.targett@arccores.com>
709 * MAINTAINERS: Include ARC Maintainer.
711 2001-08-29 Ben Elliston <bje@redhat.com>
713 * stabs.c (stab_demangle_template): Initialise s4.
715 2001-08-27 Alan Modra <amodra@bigpond.net.au>
717 * readelf.c (dump_relocations): Recognise EM_PPC64.
719 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
721 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
723 2001-08-25 H.J. Lu <hjl@gnu.org>
725 * nm.c (print_width): New.
726 (display_rel_file): Set `print_width' according to
728 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
730 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
732 * objcopy.c (use_alt_mach_code): New variable.
733 (OPTION_ALT_MACH_CODE): Define.
734 (copy_options): Added --alt-machine-code.
735 (copy_main): Handle it.
736 (copy_object): Switch to alternate machine code if requested.
737 * doc/binutils.texi: Document new option.
740 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
742 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
744 2001-08-21 H.J. Lu <hjl@gnu.org>
746 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
747 (display_debug_info): Cast for 64bit hosts.
748 (display_debug_frames): Likewise.
749 (process_mips_specific): Likewise.
751 2001-08-21 Andreas Jaeger <aj@suse.de>
753 * coffgrok.h: Add missing parameter for prototype of coff_grok.
755 * sysdump.c: Add missing prototypes.
756 * srconv.c: Likewise.
757 * unwind-ia64.c: Likewise.
758 * coffdump.c: Likewise.
760 * sysinfo.y: Print prototypes, include <ansidecl.h>.
762 * coffgrok.c: Add missing prototypes, include libiberty.h instead
763 of declaring xcalloc.
765 2001-08-10 H.J. Lu <hjl@gnu.org>
767 * nm.c (print_value): Add one arg, bfd *.
768 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
769 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
770 (print_symbol_info_sysv): Likewise.
771 (print_symbol_info_posix): Likewise.
773 * objdump.c (dump_section_header): Replace printf_vma with
775 (print_section_stabs): Likewise.
776 (dump_bfd_header): Likewise.
777 (objdump_print_value): Replace sprintf_vma with
779 (disassemble_bytes): Likewise.
780 (dump_reloc_set): Likewise.
782 2001-08-10 Andreas Jaeger <aj@suse.de>
784 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
786 * configure: Regenerate.
788 2001-08-09 Alan Modra <amodra@bigpond.net.au>
790 * readelf.c: Add missing prototypes.
791 * objdump.c: Likewise. Format existing prototypes.
793 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
795 * readelf.c (display_debug_info): Add to abbrev_offset the addend
796 of any RELA relocation for the abbrev_offset memory location that
797 refers to the .debug_abbrev section symbol.
799 2001-08-07 H.J. Lu <hjl@gnu.org>
801 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
802 (main): Return process_file ().
804 2001-08-05 Philip Blundell <philb@gnu.org>
806 * doc/binutils.texi: Use "Thumb" not "THUMB".
808 2001-08-03 John Healy <jhealy@redhat.com>
810 Patch suggested by Frank Eigler <fche@redhat.com>.
811 * objdump.c (disassemble_data): Fill in section member of the
812 disasm_info structure.
814 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
816 * configure.in: Added --with-windres option.
817 * configure: Regenerated.
819 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
821 * doc/binutils.texi: Use @command{name} for commands;
822 use @option{-opt} for options; use @table @env for list of options;
823 remove spaces arround [ | ] in synopsis.
825 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
828 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
830 * objcopy.c: Fix formatting.
831 (section_rename): New structure.
832 (OPTION_RENAME_SECTION): New switch.
833 (copy_usage): Document new switch.
834 (add_section_rename): New function: Add a node to the section
836 (find_section_rename): New function: Find the new name and
838 (setup_section): Call find_section_name to determine the name
839 of the output section.
840 (copy_main): Handle OPTION_RENAME_SECTION.
841 * binutils.texi: Document new switch.
842 * NEWS: Mention new switch.
844 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
846 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
847 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
848 bug-binutils@gcc.org.
850 2001-07-28 Matthias Kramm <kramm@quiss.org>
852 * bucomm.c (list_supported_architectures): New function.
853 * bucomm.h (list_supported_architectures): Declare.
854 * objdump.c (usage): Call the above.
856 2001-07-25 Dave Brolley <brolley@redhat.com>
858 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
859 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
861 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
863 * README: Update for 2.11. Change bug reporting email address.
864 * MAINTAINERS: Tidy up. Change bug reporting email address.
866 2001-07-16 DJ Delorie <dj@redhat.com>
868 * resres.c (write_res_header): Align header size.
869 (res_align_file): Calculate alignment correctly.
871 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
873 * resrc.c (write_rc_resource): Likewise.
874 * windres.h (SUBLANG_SHIFT): Define - as 10.
876 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
878 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
880 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
882 * MAINTAINERS: Add notes about branch checkins.
884 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
886 * readelf.c (display_debug_macinfo): New function, display
887 .debug_macinfo section.
888 (do_debug_macinfo): New variable.
889 (parse_args): Handle "-w[mM]" to mean display macro info.
890 (process_section_headers): Handle debug_macinfo.
891 (debug_displays): Replace unsupported function with macinfo
892 function for .debug_macinfo display.
893 * doc/binutils.texi: Document new command line switch.
894 * NEWS: Document new feature of readelf.
896 2001-07-05 H.J. Lu <hjl@gnu.org>
898 * objcopy.c (filter_symbols): Don't turn undefined symbols
901 2001-07-03 H.J. Lu <hjl@gnu.org>
903 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
906 (dlltool.1): Likewise.
907 (nlmconv.1): Likewise.
909 (objcopy.1): Likewise.
910 (objdump.1): Likewise.
911 (ranlib.1): Likewise.
912 (readelf.1): Likewise.
914 (strings.1): Likewise.
916 (windres.1): Likewise.
917 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
918 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
921 * doc/Makefile.in: Regenerated.
923 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
925 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
927 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
929 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
931 2001-06-29 James Cownie <jcownie@etnus.com>
933 * readelf.c: Support DWARF 2.1 attributes.
935 2001-06-28 Alan Modra <amodra@bigpond.net.au>
937 * readelf.c (GET_DATA_ALLOC): Remove.
939 (get_data): New function combining above macros, with an extra
941 (slurp_rela_relocs): Use get_data, and catch error return.
942 (slurp_rel_relocs): Likewise.
943 (get_32bit_program_headers): Likewise.
944 (get_64bit_program_headers): Likewise.
945 (get_32bit_section_headers): Likewise.
946 (get_64bit_section_headers): Likewise.
947 (get_32bit_elf_symbols): Likewise.
948 (get_64bit_elf_symbols): Likewise.
949 (process_section_headers): Likewise.
950 (process_relocs): Likewise.
951 (slurp_ia64_unwind_table): Likewise.
952 (process_unwind): Likewise.
953 (get_32bit_dynamic_segment): Likewise.
954 (get_64bit_dynamic_segment): Likewise.
955 (process_dynamic_segment): Likewise.
956 (process_version_sections): Likewise.
957 (process_symbol_table): Likewise.
958 (dump_section): Likewise.
959 (display_debug_info): Likewise.
960 (display_debug_section): Likewise.
961 (process_section_contents): Likewise.
962 (process_corefile_note_segment): Likewise.
963 (process_mips_specific): Likewise. Also free econf32, econf64.
965 2001-06-25 Alan Modra <amodra@bigpond.net.au>
967 * readelf.c (dump_relocations): Print "bad symbol index" if
968 symtab == NULL with non-zero symtab_index.
969 (process_relocs): Don't bomb if reloc section has no symsec.
971 2001-06-24 H.J. Lu <hjl@gnu.org>
973 * objcopy.c (strip_main): Revert the change made on 2001-05-30
975 (copy_main): Apply the the change made to strip_main on
976 2001-05-30 by accident.
978 2001-06-23 Andreas Jaeger <aj@suse.de>
980 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
982 (unw_decode_x2): Likewise.
983 (unw_decode_x3): Likewise.
984 (unw_decode_x4): Likewise.
986 2001-06-23 Ben Elliston <bje@redhat.com>
988 * MAINTAINERS: Add myself as M88k maintainer.
990 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
992 * objcopy.c (strip_main): Support -o or --output-file command lien
995 2001-06-19 H.J. Lu <hjl@gnu.org>
997 * doc/Makefile.in: Regenerated.
999 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1001 * readelf.c: Restore formatting.
1003 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1005 * Makefile.am: Move documentation into doc subdirectory.
1006 * Makefile.in: Regenerated.
1007 * binutils.texi: Move into doc subdirectory.
1008 * addr2line.1: Removed.
1010 * dlltool.1: Likewise.
1011 * nlmconv.1: Likewise.
1013 * objcopy.1: Likewise.
1014 * objdump.1: Likewise.
1015 * ranlib.1: Likewise.
1016 * readelf.1: Likewise.
1018 * strings.1: Likewise.
1019 * strip.1: Likewise.
1020 * windres.1: Likewise.
1021 * cxxfilt.man: Likewise.
1022 * doc: New Directory.
1023 * doc/Makefile.am: New file.
1024 * doc/Makefile.in: Generate.
1026 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1028 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1030 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1032 * MAINTAINERS: Update my email address.
1034 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1036 * objcopy.c: Add new switches: --keep-global-symbol,
1037 --keep-symbols, --localize-symbols, --keep-global-symbols and
1039 * binutils.texi: Document new switches.
1040 * objcopy.1: Regenerate.
1041 * NEWS: Announce new feature.
1043 2001-05-28 Andreas Jaeger <aj@suse.de>
1045 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1046 variables, fix format strings.
1048 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1050 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1051 when computing the address of the line to show.
1053 2001-05-16 Richard Henderson <rth@redhat.com>
1055 * readelf.c (do_debug_frames_interp): New.
1056 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1057 (byte_get_big_endian): Likewise.
1058 (parse_args) ['F']: Set do_debug_frames_interp.
1059 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1060 (frame_display_row): Don't trunc pc_begin to int.
1061 (size_of_encoded_value): New.
1062 (display_debug_frames): Handle 64-bit targets. Print raw data
1063 unless do_debug_frames_interp.
1064 (debug_displays): Remove duplicate .debug_frame.
1066 2001-05-15 Ralf Baechle <ralf@gnu.org>
1068 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1069 The former constant was never in active use and is used otherwise
1072 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1074 * readelf.c (process_unwind): Print all unwind sections, not just
1077 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1079 * readelf.c (process_unwind): Remove const specifier.
1081 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1083 * strings.c (isgraphic): Do not use isascii() unless it is needed
1084 for isprint() to work.
1085 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1087 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1089 * NEWS: Announce support for OpenRISC.
1091 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1093 * dlltool.c (do_default_excludes): Initialise to true.
1095 2001-04-10 Alan Modra <amodra@one.net.au>
1097 * MAINTAINERS: Update my email address
1098 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1100 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1102 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1104 2001-03-30 H.J. Lu <hjl@gnu.org>
1106 * readelf.c (process_unwind): Just return if do_unwind is 0.
1108 2001-03-28 Roger Sayle <roger@metaphorics.com>
1110 * dlltool.c (make_one_lib_file): Fix section flags for
1111 .text, .data and .bss in stub ds*.o files to match those
1114 2001-03-29 H.J. Lu <hjl@gnu.org>
1116 * readelf.c (process_unwind): Only do unwind sections for
1119 2001-03-28 H.J. Lu <hjl@gnu.org>
1121 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1122 * Makefile.in: Regenerate.
1124 2001-03-26 Andreas Jaeger <aj@suse.de>
1126 * binutils.texi (nm): Fix texi syntax.
1128 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1130 * binutils.texi: Put @c man begin and @c man end indications
1131 to generate man pages using texi2pod and pod2man. Put @c man title
1132 to identify each man. Add SEEALSO entries.
1133 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1134 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1136 (*.1): Build the man pages from binutils.texi.
1137 * Makefile.in: Regenerate.
1139 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1141 * defparse.y (opt_equal_name): allow "." in name.
1142 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1143 (gen_exp_file): Likewise.
1145 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1147 * NEWS: Document addition of -B switch to objcopy.
1148 * binutils.texi: Document addition of -B switch to objcopy.
1149 * objcopy.c: (copy_options): Add --binary-architecture.
1150 (copy_usage): Document -B/--binary-architecture.
1151 (copy_main): Support -B/--binary-architecture. Set
1152 bfd_external_binary_architecture.
1154 2001-03-11 Andreas Jaeger <aj@suse.de>
1156 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1157 (dump_relocations): Likewise.
1158 (get_machine_name): Likewise.
1160 2001-02-28 Nick Clifton <nickc@redhat.com>
1162 * readelf.c: (struct unw_aux_info): Remove const modifier for
1164 (process_unwind): Remove non-K&R compliant LHS type cast in call
1165 to GET_DATA_ALLOC macro.
1167 2001-02-28 Philip Blundell <pb@futuretv.com>
1169 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1170 ABI is in use; remove ambiguity between the "unknown" EABI and
1171 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1172 renamed EF_xx constants.
1174 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1176 * configure.in (BFD_VERSION): New.
1177 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1178 * configure: Regenerate.
1179 * Makefile.am: Run "make dep-am"
1180 * Makefile.in: Regenerate.
1182 2001-02-14 Nick Clifton <nickc@redhat.com>
1184 * MAINTAINERS: Add "Obvious Fix" rule.
1186 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1188 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1189 literal concatenation.
1191 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1193 * readelf.c (struct unw_aux_info): Remove const from the info member.
1194 (process_unwind): Don't type-cast the third argument to the
1195 GET_DATA_ALLOC macro.
1197 2001-02-11 Nick Clifton <nickc@redhat.com>
1199 * readelf.c (dump_relocations): Free corrected allocated
1201 (process_unwind): Fix compile time warning.
1203 2001-02-10 Nick Clifton <nickc@redhat.com>
1205 * binutils.texi: Document new --unwind option to readelf.
1207 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1209 * readelf.c: Add linux target for S/390.
1211 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1213 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1216 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1218 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1219 * aclocal.m4: Regenerate.
1220 * configure: Regenerate.
1222 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1224 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1225 * objdump.c (bfd_target_vector): Likewise.
1227 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1229 * readelf.c (process_unwind): New function.
1230 (slurp_ia64_unwind_table): Ditto.
1231 (dump_ia64_unwind): Ditto.
1232 (find_symbol_for_address): Ditto.
1233 (slurp_rela_relocs): New function (split off from dump_relocations()).
1234 (slurp_rel_relocs): Ditto.
1235 (parse_args): Handle '-u' option.
1237 * unwind-ia64.c: New file.
1238 * unwind-ia64.h: New file.
1239 * Makefile.am: Include unwind-ia64.c in readelf build.
1240 * Makefile.in: Regenerate.
1241 * po/binutils.pot: Regenerate.
1243 2001-02-04 Philip Blundell <philb@gnu.org>
1245 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1246 * configure: Regenerate.
1248 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1250 * ieee.c (ieee_add_bb11): Don't check for backslashes
1251 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1253 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1255 * ieee.c: Update copyright.
1256 (ieee_start_compilation_unit): Don't check for backslashes
1257 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1259 * stabs.c: Update copyright. Include "filenames.h".
1260 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1262 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1264 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1265 sections are present before using them. Remove code duplication.
1266 (process_symbol_table): Check if VERDEF or VERNEED sections are
1267 present before using them.
1269 2001-01-17 Nick Clifton <nickc@redhat.com>
1271 * objcopy.c (copy_object): Fail if attempting to convert the
1272 endianness of the input object file.
1274 * binutils.texi: Explain that objcopy cannot convert endianness.
1276 2001-01-16 Nick Clifton <nickc@redhat.com>
1278 * readelf.c (string_table_length): New variable.
1279 (SECTION_NAME): Catch out of range indices and missing section
1281 (process_section_headers): Delete useless local variable
1282 string_table_offset. Set the value of string_table_length
1283 after loading the string table.
1284 (process_mips_specific): Use SECTION_NAME macro.
1285 (process_file): Set string_table_length to 0 when it is freed.
1287 2001-01-12 Nick Clifton <nickc@redhat.com>
1289 * version.c (print_version): Update copyright date.
1291 2001-01-11 Peter Targett <peter.targett@arccores.com>
1293 * readelf.c (dump_relocations): Include selection with EM_ARC.
1294 (get_machine_name) Update name to "ARC".
1296 2001-01-09 Nick Clifton <nickc@redhat.com>
1298 * Makefile.am: Add rule to build objdump.o from objdump.c and
1300 * Makefile.in: Regenerate.
1302 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1303 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1304 -DDISASSEMBLER_NEEDS_RELOCS.
1305 * configure: Regenerate.
1307 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1308 is defined read in the relocs even if dump_reloc_info is
1311 2001-01-07 Philip Blundell <philb@gnu.org>
1313 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1317 2000-12-19 Nick Clifton <nickc@redhat.com>
1319 * dlltool.c: Add missing support for arm-epoc-pe.
1320 * configure.in: Add missing support for arm-epoc-pe.
1321 * configure: Regenerate.
1323 2000-12-15 Nick Clifton <nickc@redhat.com>
1325 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1326 Mode parts of the x86 port.
1328 2000-12-04 Andreas Jaeger <aj@suse.de>
1330 * readelf.c (guess_is_rela): Add EM_X86_64.
1331 (dump_relocations): Add EM_X86_64.
1332 (get_machine_name): Add EM_X86_64.
1333 Include "elf/x86-64.h".
1335 2000-12-12 Nick Clifton <nickc@redhat.com>
1337 * readelf.c: Fix formatting.
1339 2000-12-11 Jan Hubicka <jh@suse.cz>
1341 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1343 2000-12-07 Andrew Haley <aph@redhat.com>
1345 * readelf.c (display_debug_frames): Only display columns that are
1346 referenced by the frame debug info.
1348 2000-12-05 Nick Clifton <nickc@redhat.com>
1350 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1352 2000-12-04 Jason Merrill <jason@redhat.com>
1354 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1355 (display_debug_section): Likewise.
1356 (display_debug_info): Display CU header before bailing.
1358 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1360 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1361 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1362 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1364 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1367 * readelf.c (get_machine_flags): Add case for
1370 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1372 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1374 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1376 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1377 Change sourceware.cygnus.com to sources.redhat.com.
1378 Fix typo for "amongst".
1380 2000-11-28 Nick Clifton <nickc@redhat.com>
1382 * strip.1 (COPYING): Mention that the GNU Free Documentation
1383 License is present in the sources, but not the output, and
1384 also available from the GNU website.
1385 (GNU Free Documentation License): Comment out this section.
1394 * addr2line.1: Ditto.
1396 2000-11-27 DJ Delorie <dj@redhat.com>
1398 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1399 (parse_args): Support -wf option.
1400 (process_section_headers): Ditto.
1401 (debug_displays): Ditto.
1402 (display_debug_frames): New, dump *_frame sections.
1403 (frame_need_space): Support for above.
1404 (frame_display_row): Ditto.
1405 * binutils.texi: Document it.
1407 2000-11-24 Nick Clifton <nickc@redhat.com>
1409 * NEWS: Announce support for v5t, v5te and XScale.
1411 2000-11-22 Nick Clifton <nickc@redhat.com>
1413 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1414 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1415 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1416 (get_elf_section_flags: Add SHF_GROUP.
1417 (process_section_headers): Adjust output for 32-bit binaries
1418 to look nice on an 80 column terminal.
1420 2000-11-20 H.J. Lu <hjl@gnu.org>
1422 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1425 2000-11-17 Richard Henderson <rth@redhat.com>
1427 * readelf.c (display_debug_lines): Adjust last change to
1428 use sizeof (external->li_length).
1430 2000-11-17 Richard Henderson <rth@redhat.com>
1432 * readelf.c (display_debug_lines): Fix section length check
1433 and end_of_sequence computation.
1435 2000-11-06 Nick Clifton <nickc@redhat.com>
1437 * binutils.texi: Add GNU Free Documentation License.
1438 * objcopy.1: Add GNU Free Documentation License.
1439 * objdump.1: Add GNU Free Documentation License.
1440 * addr2line.1: Add GNU Free Documentation License.
1441 * ar.1: Add GNU Free Documentation License.
1442 * nlmconv.1: Add GNU Free Documentation License.
1443 * nm.1: Add GNU Free Documentation License.
1444 * ranlib.1: Add GNU Free Documentation License.
1445 * size.1: Add GNU Free Documentation License.
1446 * strings.1: Add GNU Free Documentation License.
1447 * strip.1: Add GNU Free Documentation License.
1449 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1451 * objcopy.c (--srec-len=nn): New parameter to set the
1452 maximum length of generated Srecords.
1453 (--srec-forceS3): New parameter that restricts the generation of
1454 Srecords to type S3 only.
1455 * binutils.texi: Document new command line switches.
1456 * objcopy.1: Docuemnt the new command line switches.
1457 * NEWS: Announce the existence of the new command line switches.
1459 2000-10-31 Nick Clifton <nickc@redhat.com>
1461 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1462 code. Add Eric Chrisopher as maintainer of MN10300 port.
1464 2000-10-12 Roger Sayle <roger@metaphorics.com>
1466 * Make comma after string after icon/control optional.
1468 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1470 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1472 * NEWS: Mention support for MIPS32.
1474 2000-09-08 Nick Clifton <nickc@redhat.com>
1476 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1478 2000-09-07 H.J. Lu <hjl@gnu.org>
1480 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1481 * configure: Rebuild.
1483 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1485 * configure: Rebuilt with new libtool.m4.
1487 2000-09-05 Nick Clifton <nickc@redhat.com>
1489 * aclocal.m4: Regenerate.
1490 * config.in: Regenerate.
1491 * configure: Regenerate.
1493 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1495 * strip.1: Fix stray '\' in -o formatting.
1497 2000-09-02 Nick Clifton <nickc@redhat.com>
1499 * configure.in: Increase version number to 2.10.91.
1500 * configure: Regenerate.
1501 * aclocal.m4: Regenerate.
1502 * config.in: Regenerate.
1503 * po/binutils.pot: Regenerate.
1505 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1507 * acinclude.m4: Include libtool and gettext macros from the
1509 * aclocal.m4, configure: Rebuilt.
1511 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1513 * resrc.c (close_input_stream): Delete extraneous logic
1515 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1517 * NEWS: Mention support for CRIS.
1519 2000-08-21 Nick Clifton <nickc@redhat.com>
1521 * addr2line.c: Changed email address for Ulrich Lauther.
1523 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1525 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1527 2000-08-17 Nick Clifton <nickc@redhat.com>
1529 * readelf.c (display_debug_pubnames): Only issue warning
1530 message once. Terminate message with a new line.
1531 (display_debug_aranges): Only display version 2 debug info.
1533 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1535 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1536 for compatability with old BSD systems.
1538 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1540 * NEWS: Mention i860 support.
1542 2000-08-11 Carlo Wood <carlo@alinoe.com>
1544 * addr2line.c (main): Add const to char *.
1546 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1548 * ar.c (main): Don't crash if called with no arguments
1549 or only '-X32_64' as an argument.
1551 2000-08-08 DJ Delorie <dj@redhat.com>
1553 * resrc.c: use "gcc -xc" instead of -xc-header
1555 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1557 * readelf.c (elf/i860.h): Include.
1558 (dump_relocations): Add recognition of i860 architecture.
1559 (guess_is_rela): Add recognition of i860 architecture.
1561 2000-08-03 Nick Clifton <nickc@cygnus.com>
1563 * MAINTAINERS: Add information about CGEN maintainers.
1565 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1567 * nm.c (main): Ignore '-X32_64' as an option.
1568 * ar.c (main): Likewise.
1569 * binutils.texi (nm): Document new option.
1572 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1574 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1576 2000-07-20 H.J. Lu <hjl@gnu.org>
1578 * binutils.texi: Put back "@end table" deleted by
1581 2000-07-05 Kenneth Block <krblock@computer.org>
1583 * nm.c: Add optional style to demangle switch.
1584 * objdump.c: Add optional style to demangle switch.
1585 * addr2line.c: Add optional style to demangle switch.
1586 * binutils.texi: Document optional style to demangle
1589 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1591 * MAINTAINERS: Add self as CRIS port maintainer.
1592 * readelf.c: Include elf/cris.h.
1593 (guess_is_rela): Handle EM_CRIS.
1594 (dump_relocations): Ditto.
1595 (get_machine_name): Ditto.
1596 * Makefile.am: Rebuild dependencies.
1597 * Makefile.in: Regenerate.
1598 * po/binutils.pot: Regenerate.
1600 2000-07-19 H.J. Lu <hjl@gnu.org>
1602 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1604 (process_dynamic_segment): Print out strings for DT_CONFIG,
1605 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1607 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1609 * nm.c (usage): Change output of `nm --help' to include a
1610 description of the purpose of the program and a detailed
1611 description of the accepted options.
1613 2000-07-19 H.J. Lu <hjl@gnu.org>
1615 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1618 2000-07-19 H.J. Lu <hjl@gnu.org>
1620 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1622 2000-07-19 H.J. Lu <hjl@gnu.org>
1624 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1626 (process_dynamic_segment): Likewise.
1628 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1629 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1630 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1631 DF_1_NODUMP and DF_1_CONLFAT.
1633 2000-07-18 Nick Clifton <nickc@cygnus.com>
1635 * binutils.texi (readelf): Fix spelling typo.
1637 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1639 * objdump.c (usage): Make output of `objdump --help' more
1640 consistent with the rest of the GNU world. Add a line describing
1641 the purpose of the program.
1643 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1645 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1648 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1650 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1652 (process_symbol_table): Ditto.
1653 (procesS_extended_line_op): Ditto.
1654 (display_debug_lines): Ditto.
1655 (display_debug_pubnames): Ditto.
1656 (read_and_display_attr): Ditto.
1658 2000-07-09 Nick Clifton <nickc@cygnus.com>
1660 * MAINTAINERS: Add several more port specific maintainers.
1662 2000-07-05 Nick Clifton <nickc@cygnus.com>
1664 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1666 2000-06-05 DJ Delorie <dj@redhat.com>
1670 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1672 * dllwrap.c: Changed mistaken dyn_string_append() calls
1673 to dyn_string_append_cstr().
1675 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1677 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1678 struct debug_type stores size in bytes.
1680 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1682 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1683 (CLEANFILES): Add DEPA.
1684 * Makefile.in: Regenerate.
1686 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1688 * ar.c: Revert incorrect 2000-06-25 patch.
1689 * bucomm.c: Likewise.
1691 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1693 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1694 (external_coff_symbol_p): New function.
1695 (parse_coff): Use it.
1697 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1699 * ar.c (normalize): Advance past both characters in a DOS based
1700 <letter>: filepath prefix.
1702 * bucomm.c (make_tempname): Likewise.
1704 2000-06-24 Nick Clifton <nickc@cygnus.com>
1706 * objdump.c (usage): Fix description of --stabs switch.
1708 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1710 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1712 * Makefile.in: Regenerate.
1714 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1716 * ar.c (normalize): Correct pointer comparison when checking for
1719 * bucomm.c (make_tempname): Likewise.
1721 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1722 and search for backslashes in the original pathname.
1723 (ieee_add_bb11): Likewise.
1725 2000-06-18 Nick Clifton <nickc@redhat.com>
1727 * ar.c (print_contents): Improve verbose message.
1729 2000-06-15 H.J. Lu <hjl@gnu.org>
1731 * dyn-string.c: Removed. Not needed with dyn-string.c in
1733 * dyn-string.h: Likewise.
1735 * Makefile.am: Remove references to dyn-string.c and
1736 dyn-string.h. Rebuild dependency.
1737 * Makefile.in: Rebuild.
1739 2000-06-15 H.J. Lu <hjl@gnu.org>
1741 * binutils.texi: Put a warning on copying relocatable object
1742 files between two different formats.
1744 2000-06-13 DJ Delorie <dj@cygnus.com>
1746 * rcparse.y (control): ICON controls take an id as the first
1747 parameter, not an optional string. Also, call new convenience
1748 function that takes res_id's.
1749 * resrc.c (define_control): missing text means zero-length string,
1751 (define_icon_control): New.
1752 * windres.h: declare define_icon_control.
1754 2000-06-13 H.J. Lu <hjl@gnu.org>
1756 * configure: Regenerate.
1758 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1760 * configure.in (VERSION): Update to show this is the CVS mainline.
1762 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1764 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1765 analogous to <SPACE>.
1767 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1769 * objdump.c (display_target_list): Use bfd_close_all_done, not
1770 bfd_close to fix crash caused by 2000-05-24 change.
1772 2000-05-25 DJ Delorie <dj@cygnus.com>
1774 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1776 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1778 * Makefile.am: Update dependencies with "make dep-am"
1779 * Makefile.in: Regenerate.
1781 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1783 * ar.c: Include filenames.h.
1784 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1785 and drive letters in file names.
1786 (main): Support backslashes and drive letters in argv[0]. Drop
1787 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1788 FILENAME_CMP instead of strcmp to compare file names.
1789 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1791 (do_quick_append) [__GO32__]: Ditto.
1792 (get_pos_bfd, delete_members, move_members, replace_members):
1793 Compare file names with FILENAME_CMP.
1795 * bucomm.c: Include filenames.h.
1796 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1797 forward/backward slashes and drive letters in file names.
1799 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1800 mixed forward/backward slashes and drive letters in file names.
1802 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1803 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1806 * objcopy.c: Include filenames.h.
1807 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1808 before comparing to "strip".
1809 Use FILENAME_CMP to compare file names.
1811 * arsup.c: Include filenames.h.
1812 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1813 FILENAME_CMP to compare file names.
1814 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1815 the temporary file name.
1817 * configure.in: Check for setmode.
1818 * configure: Regenerate.
1820 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1822 * objdump.c (display_target_list): Close the bfd.
1823 (display_info_table): Likewise.
1825 2000-05-14 H.J. Lu (hjl@gnu.org)
1827 * objcopy.c (filter_symbols): Don't strip global symbols in
1828 relocatable object files.
1830 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1832 * size.c (usage): Associate short options with corresponding long
1833 option to give a clue as to their function.
1835 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1837 * size.c (main): Accept and ignore `-f' option.
1839 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1841 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1842 bindtextdomain): Replace defines with those from intl/libgettext.h
1843 to quieten gcc warnings.
1845 2000-05-12 H.J. Lu <hjl@gnu.org>
1847 * nlmconv.c (temp_filename): Removed.
1849 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1850 choose_temp_base ().
1851 * objdump.c (display_target_list): Likewise.
1852 (display_info_table): Likewise.
1854 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1856 * objcopy.c (setup_section): Add const and gettext calls for err.
1858 2000-05-02 H.J. Lu <hjl@gnu.org>
1860 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1861 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1862 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1863 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1864 and ELFOSABI_OPENBSD.
1866 2000-05-02 Kazu Hirata <kazu@hxi.com>
1868 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1869 * srconv.c: Likewise.
1870 * sysdump.c: Likewise.
1872 2000-04-23 Denis Chertykov <denisc@overta.ru>
1874 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1875 (get_machine_name): machine name for EM_AVR added.
1877 2000-04-21 Richard Henderson <rth@cygnus.com>
1878 David Mosberger <davidm@hpl.hp.com>
1880 * Makefile.am (readelf.o): Add elf/ia64.h.
1881 * Makefile.in: Rebuild.
1882 * readelf.c: Include elf/ia64.h.
1883 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1885 2000-04-17 Timothy Wall <twall@cygnus.com>
1887 * objdump.c (disassemble_data): Set octets per byte *after*
1888 resolving arch/mach for binary files.
1890 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1892 * arlex.l: Add directives to increase lex buffer size.
1894 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1895 already included by bucomm.h.
1897 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1899 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1900 `strftime' since strftime is not available on all systems.
1901 (process_mips_specific): Ditto.
1903 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1905 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1906 --enable-build-warnings option.
1907 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1908 * Makefile.in, configure: Re-generate.
1910 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1912 * addr2line.c: Update copyright.
1913 * objcopy.1: Likewise, and title.
1914 * strings.1: Likewise.
1916 * version.c (print_version): Add 2000.
1918 * rddbg.c (read_section_stabs_debugging_info): Don't use
1919 bfd_size_type for strx to avoid printf problems if BFD64.
1921 * bucomm.c: (report): Remove `static'.
1922 Move inclusion of stdarg.h/vararg.h from here.
1923 * bucomm.h: To here.
1924 (CONST): Change all occurences to const.
1925 (report): Declare it.
1926 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1927 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1928 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1930 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1931 Correct a typo in an error message.
1932 (do_quick_append): Use non_fatal instead of fprintf.
1933 (move_members): Use fatal instead of fprintf, exit.
1934 * coffdump.c (main): Same here.
1936 * dlltool.c (display): Delete.
1938 (inform): Use `report' instead of `display'.
1939 (rvaafter): Remove trailing \n from fatal error msg.
1941 (asm_prefix): Ditto.
1942 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1943 (def_name): Likewise.
1945 (scan_all_symbols): Likewise.
1946 (gen_lib_file): Likewise.
1947 (def_library): Likewise. Remove extra program_name too.
1948 (run): Remove \n from inform strings.
1949 (scan_drectve_symbols): Likewise.
1950 (add_excludes): Likewise.
1951 (scan_open_obj_file): Likewise.
1952 (gen_exp_file): Likewise.
1953 (gen_lib_file): Likewise.
1954 (process_duplicates): Likewise.
1956 * Makefile.am (dllwrap_SOURCES): Add version.c.
1957 * dllwrap.c (program_version): Delete.
1958 (print_version): Delete.
1959 (display): Always print trailing \n.
1961 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1964 (usage): gettext'ify.
1965 (long_options): Add missing initialisers.
1967 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1968 (select_output_format): Likewise.
1969 (powerpc_mangle_relocs): Likewise.
1970 (link_inputs): Likewise.
1972 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1973 (set_output_format): Likewise.
1974 (main): Use non_fatal instead of fprintf.
1975 (display_rel_file): Likewise.
1977 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1978 (slurp_dynamic_symtab): Same here.
1979 (disassemble_data): And here.
1980 (read_section_stabs): And here.
1981 (read_section_stabs): And here.
1982 (dump_bfd): And here.
1984 (objdump_sprintf): Use fatal instead of fprintf, exit.
1985 (disassemble_data): Same here.
1987 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1988 (parse_coff_struct_type): Same here.
1989 (parse_coff_enum_type): And here.
1990 (parse_coff): And here.
1991 * rddbg.c (read_debugging_info): And here.
1992 * size.c (main): And here.
1993 * windres.c (format_from_name): And here.
1994 * wrstabs.c (stab_write_symbol): Here too.
1995 (write_stabs_in_sections_debugging_info): And here.
1996 (stab_int_type): And here.
1997 (stab_struct_field): And here.
1998 (stab_typdef): And here.
2000 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2001 * srconv.c (main): Same here.
2002 * strings.c (main): And here.
2003 (integer_arg): And here.
2004 * sysdump.c (main): And here.
2006 2000-04-06 Timothy Wall <twall@cygnus.com>
2008 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2010 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2012 * readelf.c (decode_location_expression): Loop through multiple
2014 (read_and_display_attr): Pass in length.
2016 * readelf.c (read_and_display_attr): Add CU offset to references.
2017 (display_debug_info): Pass it in.
2019 2000-04-06 Nick Clifton <nickc@cygnus.com>
2021 * readelf.c (decode_ARM_machine_flags): New function.
2022 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2025 (get_machine_name): Catch EM_AVR
2027 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2029 * binutils.texi: Remove optional `=' from long options that have
2030 an `=' in the argument.
2031 * objcopy.1: Here too. Remove extra space on discard-all.
2033 * binutils.texi (objcopy): Mention --redefine-sym.
2034 * objcopy.1: Here too.
2037 * objcopy.c (parse_flags): Split off flag names from error message
2038 gettext as they are not translated.
2039 (copy_main): Similarly split off option name for --add-section,
2040 --set-section-flags, --change-section-vma, --change-section-lma
2042 Some white space changes.
2044 from Matthew Benjamin <matt@linuxbox.nu>
2045 * objcopy.c (struct redefine_node): New.
2046 (redefine_sym_list): New.
2047 (redefine_list_append): New.
2048 (lookup_sym_redefinition): New.
2049 (OPTION_REDEFINE_SYM): New.
2050 (copy_options): Add --redefine-sym option.
2051 (copy_usage): Mention it.
2052 (filter_symbols): Rename symbols on redefine_sym_list.
2053 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2054 (copy_main): Handle OPTION_REDEFINE_SYM.
2056 2000-04-04 H.J. Lu <hjl@gnu.org>
2058 * readelf.c (process_symbol_table): Correctly read in symbol
2059 versioning information.
2061 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2063 * po/binutils.pot: Regenerate.
2065 * addr2line.c (usage): Restore translated part of bug string.
2066 * ar.c (usage): Likewise.
2067 * nlmconv.c (show_usage): Likewise.
2068 * nm.c (usage): Likewise.
2069 * objcopy.c (copy_usage): Likewise.
2070 (strip_usage): Likewise.
2071 * objdump.c (usage): Likewise.
2072 * readelf.c (usage): Likewise.
2073 * size.c (usage): Likewise.
2074 * strings.c (usage): Likewise.
2075 * windres.c (usage): Likewise.
2077 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2078 (DEP): Quote when passing vars to sub-make. Add warning
2080 (DEP1): Rewrite for "gcc -MM".
2081 (CLEANFILES): Add DEP2.
2082 Update dependencies.
2083 * Makefile.in: Regenerate.
2085 2000-04-04 H.J. Lu <hjl@gnu.org>
2087 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2088 (arparse.h): Depend on arparse.c
2089 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2091 2000-04-03 H.J. Lu (hjl@gnu.org)
2093 * size.c (usage): Use REPORT_BUGS_TO.
2095 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2097 * bucomm.h: #include "bin-bugs.h"
2098 * addr2line.c (usage): Use REPORT_BUGS_TO.
2099 * ar.c (usage): Likewise.
2100 * nlmconv.c (show_usage): Likewise.
2101 * nm.c (usage): Likewise.
2102 (OPTION_TARGET): Define.
2103 (long_options): Use OPTION_TARGET rather than 200.
2106 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2107 (strip_usage): Likewise.
2108 * objdump.c (usage): Likewise.
2109 * readelf.c (usage): Likewise.
2110 * strings.c (usage): Likewise.
2111 * windres.c (usage): Likewise.
2113 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2115 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2117 2000-03-27 Nick Clifton <nickc@cygnus.com>
2119 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2120 string offsets in corrupt stabs entries.
2122 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2124 * readelf.c: Include elf/avr.h
2125 (dump_relocations): Add EM_AVR case.
2127 2000-03-09 Tim Waugh <twaugh@redhat.com>
2129 * strings.1: Correct '-bytes' to '--bytes'.
2131 2000-03-08 H.J. Lu <hjl@gnu.org>
2133 * Makefile.am (install-exec-local): Depend on
2134 install-binPROGRAMS for parallel make.
2135 * Makefile.in: Regenerated.
2137 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2139 From Brad Lucier <lucier@math.purdue.edu>:
2140 * readelf.c (process_dynamic_segment): Add cast to make sure
2141 argument to %* is int.
2143 2000-02-25 H.J. Lu <hjl@gnu.org>
2145 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2147 2000-02-24 Nick Clifton <nickc@cygnus.com>
2149 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2150 * configure: Regenerate.
2152 * dlltool.c: Add support for sh-pe and mips-pe targets.
2153 * rescoff.c: Add support for sh-pe and mips-pe targets.
2155 2000-02-23 H.J. Lu <hjl@gnu.org>
2157 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2159 2000-02-22 Nick Clifton <nickc@cygnus.com>
2161 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2163 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2165 From Brad Lucier <lucier@math.purdue.edu>:
2166 * readelf.c (process_version_sections): Add casts to make sure
2167 argument to %* is an int.
2168 (process_mips_specific): Add casts to make printf arguments match
2171 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2173 * objdump.c (dump_section_header): Change `opb' to unsigned.
2174 (find_symbol_for_address): Same here.
2175 (disassemble_data): And here. Change `addr_offset',
2176 `stop_offset', `nextstop_offset' to unsigned long.
2177 (dump_data): Change opb to unsigned.
2179 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2181 * resrc.c: Remove unmatched #if for cygwin.
2183 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2185 * binutils.texi: Document the change of flavor name from atpcs-special
2186 to special-atpcs to prevent name conflict in gdb.
2188 2000-02-08 Timothy Wall <twall@redhat.com>
2190 * objdump.c (show_line): Fix bug preventing printing of the very
2191 first line (line zero) of a file when interlisting source and
2192 assembly. Added option to print entire context from start of file
2193 when the first line from that file is encountered.
2195 2000-02-03 Timothy Wall <twall@redhat.com>
2197 * objdump.c (dump_section_header, find_symbol_for_address,
2198 show_line, disassemble_bytes, disassemble_data, dump_data):
2199 distinguish between octets and bytes.
2201 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2203 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2204 check to unresolved symbols.
2205 (print_symbol_info_sysv): Ditto.
2206 (print_symbol_info_posix): Ditto.
2208 * binutils.texi: Document new 'V' symclass flag for nm.
2210 2000-01-27 Nick Clifton <nickc@redhat.com>
2212 * binutils.texi (objdump): Document new ARM specific
2213 disassembler options.
2215 * objdump.c (usage): Call disassembler_usage().
2217 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2219 * readelf.c (get_dynamic_flags): Return buff.
2220 (process_dynamic_segment): Don't pass error strings to printf
2222 (read_and_display_attr): Use lx and ld to print longs.
2223 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2227 2000-01-17 Nick Clifton <nickc@cygnus.com>
2229 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2231 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2233 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2235 (debug_tag_type): Here too.
2236 * ieee.c (ieee_builtin_type): And here.
2237 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2239 2000-01-13 Nick Clifton <nickc@cygnus.com>
2241 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2244 2000-01-11 Nick Clifton <nickc@cygnus.com>
2246 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2248 2000-01-10 Nick Clifton <nickc@cygnus.com>
2250 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2252 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2254 * windres.c (long_options): Add --use-temp-file and
2255 --no-use-temp-file options.
2259 * windres.h: Update read_rc_file prototype.
2261 * resrc.c (cpp_temp_file): New static variable.
2262 (istream_type): New static variable.
2263 (close_pipe): Delete function.
2264 (run_cmd): New static function.
2265 (open_input_stream): New static function.
2266 (close_input_stream): New static function.
2267 (look_for_default): Handle DOS directory separator. Use
2268 open_input_stream instead of popen.
2269 (read_rc_file): Likewise.
2271 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2274 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2276 * dlltool.c (create_compat_implib): New variable.
2277 (gen_exp_file): Use.
2278 (make_one_lib_file): Use.
2279 (long_options): Add --compat-implib option.
2283 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2284 (main): Use. Don't look for "32" in cygwin and mingw target names.
2286 2000-01-03 Nick Clifton <nickc@cygnus.com>
2288 * binutils.texi: Document new, ARM specific disassembler
2289 command line switch "-M force-thumb".
2291 For older changes see ChangeLog-9899
2297 version-control: never