1 2002-03-20 Daniel Berlin <dan@dberlin.org>
3 * readelf.c: Add support for displaying dwarf2 location lists.
4 (do_debug_loc, debug_loc_section, debug_loc_size): New.
5 (parse_args): Use 'O' as shorthand for displaying location list
7 (process_section_headers): Handle debug_loc as well.
10 (fetch_location_list): New.
11 (display_debug_loc): New.
12 (display_debug_info): Call load_debug_loc and free_debug_loc.
13 (debug_displays): We can display .debug_loc now, too.
14 (usage): Update usage string.
15 (read_and_display_attr_value): Note location lists, but don't
18 2002-03-18 Tom Rix <trix@redhat.com>
20 * Makefile.am: Add binutils emulation support.
22 * configure.tgt: New file. Same.
23 * ar.c (main): Use ar_emul_parse_arg.
24 (usage): Use ar_emul_usage.
25 (replace_members): Use ar_emul_replace, ar_emul_append.
26 * binemul.c: New file. Define the binutils emulation
27 layer. Define default methods.
28 * binemul.h: New file. Binutils emulation layer header file.
29 * emul_aix.c: New file. AIX binutils emulation.
30 * emul_vanilla.c: New file. Default binutils emulation.
31 * Makefile.in: Regenerate.
34 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
36 * po/fr.po: Updated version.
38 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
40 * po/fr.po: Updated version.
42 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
44 * README: Update some version numbers.
46 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
48 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
49 (Architecture Selection): Likewise.
51 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
53 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
56 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
58 * readelf.c (dump_relocations): Fix typo.
60 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
62 * NEWS: Mark 2.12 branch.
64 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
66 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
67 types for 64-bit MIPS. Narrow some fields for 80-char
69 (dump_relocations): Change spelling from 'unrecognised'
71 (decode_ARM_machine_flags): Likewise.
72 (parse_args): Likewise.
73 (read_and_display_attr_value): Likewise.
74 (display_debug_section): Likewise.
76 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
78 * NEWS: Mention support for MMIX.
80 2002-02-13 Matt Fredette <fredette@netbsd.org>
82 * readelf.c (get_machine_flags): Recognize EF_M68000.
84 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
86 * MAINTAINERS: Added self as MN10300 co-maintainer.
88 2002-02-12 Alan Modra <amodra@bigpond.net.au>
90 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
93 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
95 * MAINTAINERS: List myself as branch maintainer.
97 2002-02-11 Alan Modra <amodra@bigpond.net.au>
99 * configure: Regenerate.
100 * objcopy.c: Update copyright date.
101 * doc/Makefile.in: Regenerate.
103 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
105 * nlmconv.c: Back out localtime PARAMS change.
107 2002-02-11 Alan Modra <amodra@bigpond.net.au>
109 * objcopy.c (MKDIR): Define.
110 (copy_archive): Make name_list.name const. Use MKDIR.
111 Handle duplicate files in archives by making more temp dirs.
113 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
115 * coffdump.c: Include "getopt.h" after "bucomm.h"
116 so that macros are defined correctly.
117 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
118 prototype. Prototype main.
119 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
121 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
123 * MAINTAINERS: Added self as SH co-maintainer.
125 2002-02-05 Nick Clifton <nickc@redhat.com>
127 * po/tr.po: Updated translation.
129 2002-02-01 Alan Modra <amodra@bigpond.net.au>
131 * Makefile.am: Run "make dep-am"
132 * Makefile.in: Regenerate.
134 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
136 * nm.c (print_value): Mark abfd unused.
138 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
140 * unwind-ia64.c (unw_decoder): Change second argument
141 to unsigned int, to match function prototypes.
143 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
145 * objdump.c: Include "getopt.h" after "bucomm.h" so that
146 __GNU_LIBRARY__ will be defined.
149 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
151 * configure: Regenerated.
153 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
155 * doc/Makefile.am (install): Depend on install-info.
156 * doc/Makefile.in: Regenerate.
158 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
160 * objcopy.c (strip_usage): Document -d as an alias
163 * size.c (usage): Document [-t | --totals] options.
164 (long_options): Add --totals option.
165 (main): If the [-t | --totals] option is specified and
166 the output format is Berkeley-style, print the total
167 text, data, and bss sizes of all objects listed.
168 (print_berkeley_format): If the [-t | --totals] option
169 is specified, track the total text, data, and bss
171 * doc/binutils.texi (size): Document [-t | --totals] options.
172 (strip): Document -d as an alias for --strip-debug.
173 * NEWS: Mention new feature of size.
175 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
177 * po/fr.po: Updated version.
178 * po/es.po: Updated version.
180 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
182 * addr2line.c (usage): Update text to provide verbose
183 description of the command line options.
184 * ar.c (usage): Update text to provide verbose
185 description of the command line options.
186 (main): Accept -h and -H when running as ranlib.
187 * coffdump.c (show_usage): Update text to provide verbose
188 description of the command line options.
189 * dlltool.c (main): Accept -H as an alias for --help.
190 * nlmconv.c (show_usage): Update text to provide verbose
191 description of the command line options.
192 * nm.c (usage): Replace OPTIONS with option(s).
193 (main): Accept -H as an alias for --help.
194 * objcopy.c (strip_main): Accept -H as an alias for --help.
195 * objdump.c (main): Accept -v as an alias for --verbose.
196 * readelf.c (usage): Adjust format to match style used in
198 * size.c (usage): Update text to provide verbose description
199 of the command line options.
200 (main): Accept -v, -h and -H as command line options.
201 * srconv.c (show_usage): Update text to provide verbose
202 description of the command line options.
203 * strings.c (main): Accept -H and -v as command line options.
204 (usage): Update text to provide verbose description of the
205 command line options.
206 * sysdump.c (show_usage): Update text to provide verbose
207 description of the command line options.
208 * windres.c (usage): Adjust format to match style used in
211 * coffdump.c: Fix formatting.
212 * nlmconv.c: Fix formatting.
213 * srconv.c: Fix formatting.
214 * sysdump.c: Fix formatting.
216 2002-01-22 Alan Modra <amodra@bigpond.net.au>
218 * Makefile.am: Run "make dep-am".
219 * Makefile.in: Regenerate.
221 2002-01-18 Andreas Jaeger <aj@suse.de>
223 * version.c (print_version): Update year.
225 2002-01-17 Alan Modra <amodra@bigpond.net.au>
227 * readelf.c (get_machine_name): Handle EM_PPC64.
228 (guess_is_rela): Here too.
230 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
232 * po/binutils.pot: Regenerate.
233 * po/fr.po: Regenerate.
234 * po/tr.po: Regenerate.
236 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
238 * po/tr.po: Import new version.
240 2002-01-16 Alan Modra <amodra@bigpond.net.au>
242 * readelf.c (get_ppc64_dynamic_type): New.
243 (get_dynamic_type): Call it.
245 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
247 * objcopy.c (copy_usage): Use "options" instead of "switches".
248 (strip_usage): Use "options" instead of "switches".
249 * doc/binutils.texi (dlltool): Refer to "options" instead of
252 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
254 * MAINTAINERS: Add self as co-maintainer for the ARM code.
256 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
258 * po/es.po: Import from translation project.
259 * configure.in (ALL_LINGUAS): Add es.
260 * configure: Regenerate.
262 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
264 * readelf.c (get_netbsd_elfcore_note_type): Use
265 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
267 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
269 * readelf.c: Update copyright years.
270 (get_note_type): Return a const char *.
271 (get_netbsd_elfcore_note_type): New function.
272 (process_note): Use get_netbsd_elfcore_note_type to get
273 the note type string for NetBSD ELF core files.
275 2002-01-06 Steve Ellcey <sje@cup.hp.com>
277 * readelf.c (get_ia64_segment_type): Add support for macros.
278 (get_segment_type): Add support for IA64 specific macros.
280 2001-12-20 Julian v. Bock <julian@wongr.net>
282 * readelf.c (print_symbol): New function: Print a formatted symbol
283 name. If --wide is specified do not truncate it.
284 (dump_relocations): Use print_symbol() to print symbol names.
285 (process_symbol_table): Likewise.
286 (process_syminfo): Likewise.
287 (process_mips_specific): Likewise.
288 (usage): Document new feature of --wide switch.
289 * doc/binutils.texi (objdump): Document additional behaviour of
292 2001-12-18 Michael Snyder <msnyder@redhat.com>
294 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
295 (copy_object): Don't set the start address or flags of a core file.
296 (copy_section): Don't relocate a core file. Don't copy contents
297 if the input section has the contents flag set, but the output
298 section does not (which happens with the fake 'note' pseudo-
299 sections that BFD creates for corefiles).
301 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
303 * readelf.c (get_machine_flags): Recognize header flags for ABI and
304 ASE extensions. More robust code for ISA checking. Ignore empty fields
305 in header flags for GNU extensions.
307 2001-12-18 Alan Modra <amodra@bigpond.net.au>
309 * objcopy.c (copy_archive): Set output bfd format outside the loop.
311 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
313 * po/ja.po: Import from translation project.
314 * configure.in (ALL_LINGUAS): Add ja.
315 * configure: Regenerate.
317 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
319 * addr2line.c (main): Protoype.
320 * ar.c (main): Protoype.
321 * nm.c (main): Protoype.
322 * objcopy.c (main): Protoype.
323 * objdump.c (main): Protoype.
324 * size.c (main): Protoype.
325 * strings.c (main): Protoype.
327 2001-12-17 Alan Modra <amodra@bigpond.net.au>
329 * readelf.c (symtab_shndx_hdr): New global.
330 (SECTION_HEADER_INDEX): Define.
331 (SECTION_HEADER_NUM): Define.
332 (SECTION_HEADER): Define.
333 (GET_ELF_SYMBOLS): Pass two params rather than three.
334 (get_32bit_elf_symbols): Take file and section args. Read and
335 use SHT_SYMTAB_SHNDX.
336 (get_64bit_elf_symbols): Likewise.
337 (dump_relocations): Use SECTION_HEADER to index "section_headers".
338 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
339 Remember symtab_shdx_hdr.
340 (process_program_headers): Scan from index 1 for segment map.
341 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
343 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
344 (process_unwind): Likewise.
345 (process_version_sections): Likewise.
346 (process_symbol_table): Likewise.
347 (display_debug_info): Likewise.
348 (process_dynamic_segment): Fake up a symtab section for changed
350 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
351 (process_program_headers): Kill signed/unsigned warning.
352 (load_debug_str): Likewise.
353 (display_debug_info): Likewise.
355 2001-12-13 Jakub Jelinek <jakub@redhat.com>
357 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
359 2001-12-11 Alan Modra <amodra@bigpond.net.au>
361 * readelf.c (process_file_header): Print extended e_shnum and
362 e_shdtrndx values. Set elf_header values for same.
363 (get_32bit_section_headers): Add "num" arg to read "num" headers.
364 (get_64bit_section_headers): Likewise.
365 (process_section_headers): Update calls.
366 (get_file_header): Call get_32bit_section_headers or 64bit variant.
368 2001-12-10 Jakub Jelinek <jakub@redhat.com>
370 * objcopy.c (setup_section): Copy entsize.
372 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
374 * readelf.c (guess_is_rela): Add support for stormy16.
375 (dump_relocations): Likewise.
376 (get_machine_name): Likewise.
378 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
380 * dllwrap.c (main) Replace multiple strings describing a
381 single error with a single, newline escaped sentence to permit
382 better translation into foreign languages.
384 * readelf.c (get_elf_class): Remove internalionalisation of ELF
387 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
389 * strings.c (get_char): Initialize value.
391 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
393 * arlex.l: Silence compile warnings.
394 * arsup.h: Likewise. Fix formatting.
396 2001-12-04 Jakub Jelinek <jakub@redhat.com>
398 * strings.c: Include config.h before bfd.h.
399 (file_off): New type.
401 (print_strings): Use file_off instead of file_ptr. Print addresses
402 which don't fit into long correctly.
403 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
405 (strings_file): Use file_off instead of file_ptr. Use file_open.
406 * configure.in: Check for getc_unlocked.
407 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
409 * configure: Rebuilt.
410 * config.h.in: Rebuilt.
412 2001-11-29 H.J. Lu <hjl@gnu.org>
414 * bucomm.c (make_tempname): Revert the changes made on
415 2001-11-14 and 2001-11-12. They won't work with directories.
417 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
419 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
420 CFLAGS_FOR_TARGET to runtest in environment.
421 * Makefile.in: Rebuild.
422 * doc/Makefile.in: Rebuild.
424 2001-11-28 Mike Stump <mrs@wrs.com>
426 * objcopy.c (setup_section): Preserve SEC_RELOC when
427 --set-section-flags is used.
429 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
431 * readelf.c (do_debug_str): New variable.
432 (display_debug_str): New function: Display the contents of a
434 (load_debug_str): New function: Load in the contents of a
436 (free_debug_str): New function: Free the memory used by
438 (fetch_indirect_string): Retrieve a string from the .debug_str
441 (parse_args): Accept -ws.
442 (process_section_headers): Allow the display of the .debug_str
444 (read_and_display_attr_value): Use fetch_indirect_string. Show
445 offset into .debug_str section.
446 (display_debug_info): Use load_debug_str and free_debug_str.
447 (debug_displays): Add .debug_str.
448 * doc/binutils.texi: Document -ws.
450 2001-11-19 Andreas Jaeger <aj@suse.de>
452 * testsuite/binutils-all/objdump.exp: Add x86-64.
454 2001-11-15 Andreas Schwab <schwab@suse.de>
456 * readelf.c: Fix warnings without terminating newline.
458 2001-11-15 Alan Modra <amodra@bigpond.net.au>
460 * doc/binutils.texi (objdump): Document ppc -M options.
462 2001-11-14 Andreas Jaeger <aj@suse.de>
464 * doc/binutils.texi (objdump): Fix description to use x86-64.
466 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
468 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
469 not all systems provide mkstemp.
471 2001-11-14 Alan Modra <amodra@bigpond.net.au>
473 * doc/binutils.texi (objdump): Document x86 -M options.
475 2001-11-13 Keith Walker <keith.walker@arm.com>
477 * readelf.c (read_and_display_attr_value): New function to
478 handle DW_FORM_indirect.
479 (read_and_display_attr): Use it.
481 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
483 * readelf.c (display_debug_lines): Deal with unknown standard
484 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
487 2001-11-13 Timothy Wall <twall@alum.mit.edu>
489 * MAINTAINERS: Add self as tic54x maintainer. This target
490 includes the IBM C54XDSP clone.
492 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
494 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
496 2001-11-09 Jeffrey A Law (law@cygnus.com)
498 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
499 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
500 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
501 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
502 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
503 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
504 (unw_decode_b2, unw_decode_b3_b4): Likewise.
506 * readelf.c (get_elf_class): Fix ISO portability glitch.
507 (get_data_encoding, get_osabi_name, request_dump): Likewise.
509 2001-11-07 Jakub Jelinek <jakub@redhat.com>
511 * readelf.c (debug_str, debug_str_size): New.
512 (display_debug_abbrev): If no abbrevs were read, skip the CU.
514 (read_and_display_addr): Handle DW_FORM_strp.
515 (display_debug_info): Read .debug_str section if present,
516 so that DW_FORM_strp can be handled.
517 Fix test for non-existant .debug_abbrev section.
519 2001-11-05 Jakub Jelinek <jakub@redhat.com>
521 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
523 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
525 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
527 * MAINTAINERS: Add self as s390/s390x maintainer.
529 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
531 * MAINTAINERS: Add self as PPC XCOFF maintainer.
533 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
535 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
536 * configure: Regernate.
537 * po/fr.po: New file.
538 * po/tr.po: New file.
540 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
542 * MAINTAINERS: Add self as MMIX port maintainer.
543 * readelf.c: Include elf/mmix.h.
544 (guess_is_rela): MMIX is RELA.
545 (dump_relocations): Handle MMIX relocations.
546 * Makefile.am: Regenerate dependencies.
547 * Makefile.in: Regenerate.
549 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
551 * readelf.c (parse_args): Handle multiple options to the -w
554 2001-10-12 Jakub Jelinek <jakub@redhat.com>
556 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
557 LOPROC, LOOS and LOUSER.
559 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
561 * MAINTAINERS: Update my email address.
563 2001-10-03 Alan Modra <amodra@bigpond.net.au>
565 * doc/Makefile.in: Regenerate.
566 * configure: Regenerate.
568 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
570 * readelf.c (display_debug_line, display_debug_pubnames,
571 display_debug_info, display_debug_frames): Detect and warn
572 about 64-bit format entries.
573 (display_debug_aranges): Reword 64-bit warning.
574 (debug_displays): Add .debug_pubtypes as a known, but not yet
575 supported, debug section.
577 2001-10-02 Alan Modra <amodra@bigpond.net.au>
579 * coffdump.c (PROGRAM_VERSION): Delete.
580 (main <'V'>): Call print_version.
581 * srconv.c: Likewise.
582 * sysdump.c: Likewise.
583 * version.c (program_version): Remove.
584 (print_version): Use BFD_VERSION_STRING. Just print the current
585 year in copyright message.
586 * addr2line.c (program_version): Remove unused declaration.
587 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
588 place of BFD_VERSION.
589 * Makefile.am (Makefile): Depend on bfd/configure.in.
590 (cplus-dem.o): Depend on Makefile.
592 * Makefile.in: Regenerate.
594 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
596 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
597 format .debug_arange sections.
598 (main): Add missing prototype.
600 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
602 * Makefile.am: Update dependencies with "make dep-am".
603 * Makefile.in: Regenerate.
605 2001-09-28 Richard Henderson <rth@redhat.com>
607 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
609 2001-09-26 Alan Modra <amodra@bigpond.net.au>
611 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
613 (non_fatal): Likewise.
614 * objdump.c (objdump_sprintf): Likewise.
615 * readelf.c (error): Likewise.
618 2001-09-25 Jakub Jelinek <jakub@redhat.com>
620 * readelf.c (do_wide): New.
621 (options): Add --wide.
622 (usage, parse_args): Likewise.
623 (process_program_headers): Put each segment on a single line if
625 (process_section_headers): Put each section on a single line if
627 * doc/binutils.texi: Document it.
630 2001-09-25 Alan Modra <amodra@bigpond.net.au>
632 * readelf.c (print_vma): Print 8 digits of low hex value.
634 2001-09-24 Andreas Jaeger <aj@suse.de>
636 * nlmconv.c: Fix warnings about unused attributes and function
639 * strings.c: Add prototype for get_char.
641 2000-09-19 H.J. Lu <hjl@gnu.org>
643 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
644 $(srcdir)/cxxfilt.man.
645 * doc/Makefile.in: Rebuild.
647 2001-09-19 Alan Modra <amodra@bigpond.net.au>
649 * objcopy.c (copy_main): Correct rename-section string parsing.
650 Consolidate new_name parsing, and error messages.
652 2001-09-18 Bruno Haible <haible@clisp.cons.org>
654 * addr2line.c: Don't include <ctype.h>.
655 (main): For gettext, also set the LC_CTYPE locate facet.
656 * ar.c (main): Likewise.
657 * coffdump.c (main): Likewise.
658 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
659 (main): For gettext, also set the LC_CTYPE locate facet.
660 Use ISALNUM instead of isalpha/isdigit.
661 * dllwrap.c: Don't include <ctype.h>.
662 (main): For gettext, also set the LC_CTYPE locate facet.
663 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
664 (main): For gettext, also set the LC_CTYPE locate facet.
665 Use TOUPPER instead of islower/toupper.
666 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
667 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
668 Use TOUPPER instead of islower/toupper.
669 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
670 * objcopy.c (main): Likewise.
671 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
672 (disassemble_bytes): Use ISPRINT instead of isprint.
673 (dump_section_stabs): Use ISDIGIT instead of isdigit.
674 (dump_data): Use ISPRINT instead of isprint.
675 (main): For gettext, also set the LC_CTYPE locate facet.
676 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
677 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
678 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
679 Use TOUPPER instead of islower/toupper.
680 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
681 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
682 (write_rc_accelerators): Use ISPRINT instead of isprint.
683 (write_rc_rcdata): Likewise.
684 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
685 * srconv.c (main): Likewise.
686 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
687 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
688 isdigit/isupper/islower.
689 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
690 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
691 stab_demangle_prefix, stab_demangle_qualified,
692 stab_demangle_template, stab_demangle_type,
693 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
694 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
695 (isgraphic): Use ISPRINT instead of isascii/isprint.
696 (main): Remove HAVE_LC_MESSAGES dependency.
697 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
698 (pbarray): Use ISPRINT instead of isprint.
699 (main): For gettext, also set the LC_CTYPE locate facet.
700 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
701 (format_from_filename): Use ISPRINT instead of isprint.
702 (main): For gettext, also set the LC_CTYPE locate facet.
703 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
704 (unicode_print): Use ISPRINT instead of isprint.
705 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
706 (stab_variable): Use ISDIGIT instead of isdigit.
708 2001-09-18 Alan Modra <amodra@bigpond.net.au>
710 * ar.c (print_contents): Cast args of bfd_seek to the right types.
711 Replace bfd_read call with call to bfd_bread.
712 (extract_file): Likewise.
714 * objdump.c (dump_section_header): Cast section->filepos to
715 unsigned long to suit printf format string.
716 * readelf.c (process_section_headers): Similarly for sh_offset.
717 (process_unwind): Likewise.
719 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
721 * strings.c (encoding, encoding_bytes): New variables.
722 (long_options): Add --encoding.
723 (main): Accept -e and --encoding.
724 (get_char): New function. Read a, possibly wide, character from
726 (print_strings): Use get_char().
727 (usage): Document new command line option.
728 * doc/binutils.texi: Document new command line option.
729 * NEWS: Announce new command line option.
731 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
733 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
734 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
735 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
736 Removed EM_CYGNUS_ARC.
738 2001-09-04 Jeffrey A Law (law@cygnus.com)
740 * readelf.c: Include elf/h8 for H8 series definitions.
741 (guess_is_rela): H8 series if RELA.
742 (dump_relocations): Handle H8 series relocations.
744 2001-08-31 Eric Christopher <echristo@redhat.com>
746 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
748 2001-08-29 Peter Targett <peter.targett@arccores.com>
750 * MAINTAINERS: Include ARC Maintainer.
752 2001-08-29 Ben Elliston <bje@redhat.com>
754 * stabs.c (stab_demangle_template): Initialise s4.
756 2001-08-27 Alan Modra <amodra@bigpond.net.au>
758 * readelf.c (dump_relocations): Recognise EM_PPC64.
760 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
762 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
764 2001-08-25 H.J. Lu <hjl@gnu.org>
766 * nm.c (print_width): New.
767 (display_rel_file): Set `print_width' according to
769 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
771 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
773 * objcopy.c (use_alt_mach_code): New variable.
774 (OPTION_ALT_MACH_CODE): Define.
775 (copy_options): Added --alt-machine-code.
776 (copy_main): Handle it.
777 (copy_object): Switch to alternate machine code if requested.
778 * doc/binutils.texi: Document new option.
781 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
783 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
785 2001-08-21 H.J. Lu <hjl@gnu.org>
787 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
788 (display_debug_info): Cast for 64bit hosts.
789 (display_debug_frames): Likewise.
790 (process_mips_specific): Likewise.
792 2001-08-21 Andreas Jaeger <aj@suse.de>
794 * coffgrok.h: Add missing parameter for prototype of coff_grok.
796 * sysdump.c: Add missing prototypes.
797 * srconv.c: Likewise.
798 * unwind-ia64.c: Likewise.
799 * coffdump.c: Likewise.
801 * sysinfo.y: Print prototypes, include <ansidecl.h>.
803 * coffgrok.c: Add missing prototypes, include libiberty.h instead
804 of declaring xcalloc.
806 2001-08-10 H.J. Lu <hjl@gnu.org>
808 * nm.c (print_value): Add one arg, bfd *.
809 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
810 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
811 (print_symbol_info_sysv): Likewise.
812 (print_symbol_info_posix): Likewise.
814 * objdump.c (dump_section_header): Replace printf_vma with
816 (print_section_stabs): Likewise.
817 (dump_bfd_header): Likewise.
818 (objdump_print_value): Replace sprintf_vma with
820 (disassemble_bytes): Likewise.
821 (dump_reloc_set): Likewise.
823 2001-08-10 Andreas Jaeger <aj@suse.de>
825 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
827 * configure: Regenerate.
829 2001-08-09 Alan Modra <amodra@bigpond.net.au>
831 * readelf.c: Add missing prototypes.
832 * objdump.c: Likewise. Format existing prototypes.
834 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
836 * readelf.c (display_debug_info): Add to abbrev_offset the addend
837 of any RELA relocation for the abbrev_offset memory location that
838 refers to the .debug_abbrev section symbol.
840 2001-08-07 H.J. Lu <hjl@gnu.org>
842 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
843 (main): Return process_file ().
845 2001-08-05 Philip Blundell <philb@gnu.org>
847 * doc/binutils.texi: Use "Thumb" not "THUMB".
849 2001-08-03 John Healy <jhealy@redhat.com>
851 Patch suggested by Frank Eigler <fche@redhat.com>.
852 * objdump.c (disassemble_data): Fill in section member of the
853 disasm_info structure.
855 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
857 * configure.in: Added --with-windres option.
858 * configure: Regenerated.
860 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
862 * doc/binutils.texi: Use @command{name} for commands;
863 use @option{-opt} for options; use @table @env for list of options;
864 remove spaces arround [ | ] in synopsis.
866 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
869 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
871 * objcopy.c: Fix formatting.
872 (section_rename): New structure.
873 (OPTION_RENAME_SECTION): New switch.
874 (copy_usage): Document new switch.
875 (add_section_rename): New function: Add a node to the section
877 (find_section_rename): New function: Find the new name and
879 (setup_section): Call find_section_name to determine the name
880 of the output section.
881 (copy_main): Handle OPTION_RENAME_SECTION.
882 * binutils.texi: Document new switch.
883 * NEWS: Mention new switch.
885 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
887 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
888 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
889 bug-binutils@gcc.org.
891 2001-07-28 Matthias Kramm <kramm@quiss.org>
893 * bucomm.c (list_supported_architectures): New function.
894 * bucomm.h (list_supported_architectures): Declare.
895 * objdump.c (usage): Call the above.
897 2001-07-25 Dave Brolley <brolley@redhat.com>
899 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
900 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
902 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
904 * README: Update for 2.11. Change bug reporting email address.
905 * MAINTAINERS: Tidy up. Change bug reporting email address.
907 2001-07-16 DJ Delorie <dj@redhat.com>
909 * resres.c (write_res_header): Align header size.
910 (res_align_file): Calculate alignment correctly.
912 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
914 * resrc.c (write_rc_resource): Likewise.
915 * windres.h (SUBLANG_SHIFT): Define - as 10.
917 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
919 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
921 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
923 * MAINTAINERS: Add notes about branch checkins.
925 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
927 * readelf.c (display_debug_macinfo): New function, display
928 .debug_macinfo section.
929 (do_debug_macinfo): New variable.
930 (parse_args): Handle "-w[mM]" to mean display macro info.
931 (process_section_headers): Handle debug_macinfo.
932 (debug_displays): Replace unsupported function with macinfo
933 function for .debug_macinfo display.
934 * doc/binutils.texi: Document new command line switch.
935 * NEWS: Document new feature of readelf.
937 2001-07-05 H.J. Lu <hjl@gnu.org>
939 * objcopy.c (filter_symbols): Don't turn undefined symbols
942 2001-07-03 H.J. Lu <hjl@gnu.org>
944 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
947 (dlltool.1): Likewise.
948 (nlmconv.1): Likewise.
950 (objcopy.1): Likewise.
951 (objdump.1): Likewise.
952 (ranlib.1): Likewise.
953 (readelf.1): Likewise.
955 (strings.1): Likewise.
957 (windres.1): Likewise.
958 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
959 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
962 * doc/Makefile.in: Regenerated.
964 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
966 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
968 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
970 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
972 2001-06-29 James Cownie <jcownie@etnus.com>
974 * readelf.c: Support DWARF 2.1 attributes.
976 2001-06-28 Alan Modra <amodra@bigpond.net.au>
978 * readelf.c (GET_DATA_ALLOC): Remove.
980 (get_data): New function combining above macros, with an extra
982 (slurp_rela_relocs): Use get_data, and catch error return.
983 (slurp_rel_relocs): Likewise.
984 (get_32bit_program_headers): Likewise.
985 (get_64bit_program_headers): Likewise.
986 (get_32bit_section_headers): Likewise.
987 (get_64bit_section_headers): Likewise.
988 (get_32bit_elf_symbols): Likewise.
989 (get_64bit_elf_symbols): Likewise.
990 (process_section_headers): Likewise.
991 (process_relocs): Likewise.
992 (slurp_ia64_unwind_table): Likewise.
993 (process_unwind): Likewise.
994 (get_32bit_dynamic_segment): Likewise.
995 (get_64bit_dynamic_segment): Likewise.
996 (process_dynamic_segment): Likewise.
997 (process_version_sections): Likewise.
998 (process_symbol_table): Likewise.
999 (dump_section): Likewise.
1000 (display_debug_info): Likewise.
1001 (display_debug_section): Likewise.
1002 (process_section_contents): Likewise.
1003 (process_corefile_note_segment): Likewise.
1004 (process_mips_specific): Likewise. Also free econf32, econf64.
1006 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1008 * readelf.c (dump_relocations): Print "bad symbol index" if
1009 symtab == NULL with non-zero symtab_index.
1010 (process_relocs): Don't bomb if reloc section has no symsec.
1012 2001-06-24 H.J. Lu <hjl@gnu.org>
1014 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1016 (copy_main): Apply the the change made to strip_main on
1017 2001-05-30 by accident.
1019 2001-06-23 Andreas Jaeger <aj@suse.de>
1021 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1023 (unw_decode_x2): Likewise.
1024 (unw_decode_x3): Likewise.
1025 (unw_decode_x4): Likewise.
1027 2001-06-23 Ben Elliston <bje@redhat.com>
1029 * MAINTAINERS: Add myself as M88k maintainer.
1031 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1033 * objcopy.c (strip_main): Support -o or --output-file command lien
1036 2001-06-19 H.J. Lu <hjl@gnu.org>
1038 * doc/Makefile.in: Regenerated.
1040 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1042 * readelf.c: Restore formatting.
1044 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1046 * Makefile.am: Move documentation into doc subdirectory.
1047 * Makefile.in: Regenerated.
1048 * binutils.texi: Move into doc subdirectory.
1049 * addr2line.1: Removed.
1051 * dlltool.1: Likewise.
1052 * nlmconv.1: Likewise.
1054 * objcopy.1: Likewise.
1055 * objdump.1: Likewise.
1056 * ranlib.1: Likewise.
1057 * readelf.1: Likewise.
1059 * strings.1: Likewise.
1060 * strip.1: Likewise.
1061 * windres.1: Likewise.
1062 * cxxfilt.man: Likewise.
1063 * doc: New Directory.
1064 * doc/Makefile.am: New file.
1065 * doc/Makefile.in: Generate.
1067 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1069 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1071 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1073 * MAINTAINERS: Update my email address.
1075 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1077 * objcopy.c: Add new switches: --keep-global-symbol,
1078 --keep-symbols, --localize-symbols, --keep-global-symbols and
1080 * binutils.texi: Document new switches.
1081 * objcopy.1: Regenerate.
1082 * NEWS: Announce new feature.
1084 2001-05-28 Andreas Jaeger <aj@suse.de>
1086 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1087 variables, fix format strings.
1089 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1091 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1092 when computing the address of the line to show.
1094 2001-05-16 Richard Henderson <rth@redhat.com>
1096 * readelf.c (do_debug_frames_interp): New.
1097 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1098 (byte_get_big_endian): Likewise.
1099 (parse_args) ['F']: Set do_debug_frames_interp.
1100 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1101 (frame_display_row): Don't trunc pc_begin to int.
1102 (size_of_encoded_value): New.
1103 (display_debug_frames): Handle 64-bit targets. Print raw data
1104 unless do_debug_frames_interp.
1105 (debug_displays): Remove duplicate .debug_frame.
1107 2001-05-15 Ralf Baechle <ralf@gnu.org>
1109 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1110 The former constant was never in active use and is used otherwise
1113 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1115 * readelf.c (process_unwind): Print all unwind sections, not just
1118 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1120 * readelf.c (process_unwind): Remove const specifier.
1122 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1124 * strings.c (isgraphic): Do not use isascii() unless it is needed
1125 for isprint() to work.
1126 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1128 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1130 * NEWS: Announce support for OpenRISC.
1132 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1134 * dlltool.c (do_default_excludes): Initialise to true.
1136 2001-04-10 Alan Modra <amodra@one.net.au>
1138 * MAINTAINERS: Update my email address
1139 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1141 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1143 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1145 2001-03-30 H.J. Lu <hjl@gnu.org>
1147 * readelf.c (process_unwind): Just return if do_unwind is 0.
1149 2001-03-28 Roger Sayle <roger@metaphorics.com>
1151 * dlltool.c (make_one_lib_file): Fix section flags for
1152 .text, .data and .bss in stub ds*.o files to match those
1155 2001-03-29 H.J. Lu <hjl@gnu.org>
1157 * readelf.c (process_unwind): Only do unwind sections for
1160 2001-03-28 H.J. Lu <hjl@gnu.org>
1162 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1163 * Makefile.in: Regenerate.
1165 2001-03-26 Andreas Jaeger <aj@suse.de>
1167 * binutils.texi (nm): Fix texi syntax.
1169 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1171 * binutils.texi: Put @c man begin and @c man end indications
1172 to generate man pages using texi2pod and pod2man. Put @c man title
1173 to identify each man. Add SEEALSO entries.
1174 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1175 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1177 (*.1): Build the man pages from binutils.texi.
1178 * Makefile.in: Regenerate.
1180 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1182 * defparse.y (opt_equal_name): allow "." in name.
1183 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1184 (gen_exp_file): Likewise.
1186 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1188 * NEWS: Document addition of -B switch to objcopy.
1189 * binutils.texi: Document addition of -B switch to objcopy.
1190 * objcopy.c: (copy_options): Add --binary-architecture.
1191 (copy_usage): Document -B/--binary-architecture.
1192 (copy_main): Support -B/--binary-architecture. Set
1193 bfd_external_binary_architecture.
1195 2001-03-11 Andreas Jaeger <aj@suse.de>
1197 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1198 (dump_relocations): Likewise.
1199 (get_machine_name): Likewise.
1201 2001-02-28 Nick Clifton <nickc@redhat.com>
1203 * readelf.c: (struct unw_aux_info): Remove const modifier for
1205 (process_unwind): Remove non-K&R compliant LHS type cast in call
1206 to GET_DATA_ALLOC macro.
1208 2001-02-28 Philip Blundell <pb@futuretv.com>
1210 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1211 ABI is in use; remove ambiguity between the "unknown" EABI and
1212 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1213 renamed EF_xx constants.
1215 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1217 * configure.in (BFD_VERSION): New.
1218 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1219 * configure: Regenerate.
1220 * Makefile.am: Run "make dep-am"
1221 * Makefile.in: Regenerate.
1223 2001-02-14 Nick Clifton <nickc@redhat.com>
1225 * MAINTAINERS: Add "Obvious Fix" rule.
1227 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1229 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1230 literal concatenation.
1232 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1234 * readelf.c (struct unw_aux_info): Remove const from the info member.
1235 (process_unwind): Don't type-cast the third argument to the
1236 GET_DATA_ALLOC macro.
1238 2001-02-11 Nick Clifton <nickc@redhat.com>
1240 * readelf.c (dump_relocations): Free corrected allocated
1242 (process_unwind): Fix compile time warning.
1244 2001-02-10 Nick Clifton <nickc@redhat.com>
1246 * binutils.texi: Document new --unwind option to readelf.
1248 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1250 * readelf.c: Add linux target for S/390.
1252 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1254 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1257 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1259 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1260 * aclocal.m4: Regenerate.
1261 * configure: Regenerate.
1263 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1265 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1266 * objdump.c (bfd_target_vector): Likewise.
1268 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1270 * readelf.c (process_unwind): New function.
1271 (slurp_ia64_unwind_table): Ditto.
1272 (dump_ia64_unwind): Ditto.
1273 (find_symbol_for_address): Ditto.
1274 (slurp_rela_relocs): New function (split off from dump_relocations()).
1275 (slurp_rel_relocs): Ditto.
1276 (parse_args): Handle '-u' option.
1278 * unwind-ia64.c: New file.
1279 * unwind-ia64.h: New file.
1280 * Makefile.am: Include unwind-ia64.c in readelf build.
1281 * Makefile.in: Regenerate.
1282 * po/binutils.pot: Regenerate.
1284 2001-02-04 Philip Blundell <philb@gnu.org>
1286 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1287 * configure: Regenerate.
1289 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1291 * ieee.c (ieee_add_bb11): Don't check for backslashes
1292 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1294 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1296 * ieee.c: Update copyright.
1297 (ieee_start_compilation_unit): Don't check for backslashes
1298 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1300 * stabs.c: Update copyright. Include "filenames.h".
1301 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1303 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1305 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1306 sections are present before using them. Remove code duplication.
1307 (process_symbol_table): Check if VERDEF or VERNEED sections are
1308 present before using them.
1310 2001-01-17 Nick Clifton <nickc@redhat.com>
1312 * objcopy.c (copy_object): Fail if attempting to convert the
1313 endianness of the input object file.
1315 * binutils.texi: Explain that objcopy cannot convert endianness.
1317 2001-01-16 Nick Clifton <nickc@redhat.com>
1319 * readelf.c (string_table_length): New variable.
1320 (SECTION_NAME): Catch out of range indices and missing section
1322 (process_section_headers): Delete useless local variable
1323 string_table_offset. Set the value of string_table_length
1324 after loading the string table.
1325 (process_mips_specific): Use SECTION_NAME macro.
1326 (process_file): Set string_table_length to 0 when it is freed.
1328 2001-01-12 Nick Clifton <nickc@redhat.com>
1330 * version.c (print_version): Update copyright date.
1332 2001-01-11 Peter Targett <peter.targett@arccores.com>
1334 * readelf.c (dump_relocations): Include selection with EM_ARC.
1335 (get_machine_name) Update name to "ARC".
1337 2001-01-09 Nick Clifton <nickc@redhat.com>
1339 * Makefile.am: Add rule to build objdump.o from objdump.c and
1341 * Makefile.in: Regenerate.
1343 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1344 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1345 -DDISASSEMBLER_NEEDS_RELOCS.
1346 * configure: Regenerate.
1348 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1349 is defined read in the relocs even if dump_reloc_info is
1352 2001-01-07 Philip Blundell <philb@gnu.org>
1354 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1358 2000-12-19 Nick Clifton <nickc@redhat.com>
1360 * dlltool.c: Add missing support for arm-epoc-pe.
1361 * configure.in: Add missing support for arm-epoc-pe.
1362 * configure: Regenerate.
1364 2000-12-15 Nick Clifton <nickc@redhat.com>
1366 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1367 Mode parts of the x86 port.
1369 2000-12-04 Andreas Jaeger <aj@suse.de>
1371 * readelf.c (guess_is_rela): Add EM_X86_64.
1372 (dump_relocations): Add EM_X86_64.
1373 (get_machine_name): Add EM_X86_64.
1374 Include "elf/x86-64.h".
1376 2000-12-12 Nick Clifton <nickc@redhat.com>
1378 * readelf.c: Fix formatting.
1380 2000-12-11 Jan Hubicka <jh@suse.cz>
1382 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1384 2000-12-07 Andrew Haley <aph@redhat.com>
1386 * readelf.c (display_debug_frames): Only display columns that are
1387 referenced by the frame debug info.
1389 2000-12-05 Nick Clifton <nickc@redhat.com>
1391 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1393 2000-12-04 Jason Merrill <jason@redhat.com>
1395 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1396 (display_debug_section): Likewise.
1397 (display_debug_info): Display CU header before bailing.
1399 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1401 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1402 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1403 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1405 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1408 * readelf.c (get_machine_flags): Add case for
1411 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1413 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1415 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1417 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1418 Change sourceware.cygnus.com to sources.redhat.com.
1419 Fix typo for "amongst".
1421 2000-11-28 Nick Clifton <nickc@redhat.com>
1423 * strip.1 (COPYING): Mention that the GNU Free Documentation
1424 License is present in the sources, but not the output, and
1425 also available from the GNU website.
1426 (GNU Free Documentation License): Comment out this section.
1435 * addr2line.1: Ditto.
1437 2000-11-27 DJ Delorie <dj@redhat.com>
1439 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1440 (parse_args): Support -wf option.
1441 (process_section_headers): Ditto.
1442 (debug_displays): Ditto.
1443 (display_debug_frames): New, dump *_frame sections.
1444 (frame_need_space): Support for above.
1445 (frame_display_row): Ditto.
1446 * binutils.texi: Document it.
1448 2000-11-24 Nick Clifton <nickc@redhat.com>
1450 * NEWS: Announce support for v5t, v5te and XScale.
1452 2000-11-22 Nick Clifton <nickc@redhat.com>
1454 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1455 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1456 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1457 (get_elf_section_flags: Add SHF_GROUP.
1458 (process_section_headers): Adjust output for 32-bit binaries
1459 to look nice on an 80 column terminal.
1461 2000-11-20 H.J. Lu <hjl@gnu.org>
1463 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1466 2000-11-17 Richard Henderson <rth@redhat.com>
1468 * readelf.c (display_debug_lines): Adjust last change to
1469 use sizeof (external->li_length).
1471 2000-11-17 Richard Henderson <rth@redhat.com>
1473 * readelf.c (display_debug_lines): Fix section length check
1474 and end_of_sequence computation.
1476 2000-11-06 Nick Clifton <nickc@redhat.com>
1478 * binutils.texi: Add GNU Free Documentation License.
1479 * objcopy.1: Add GNU Free Documentation License.
1480 * objdump.1: Add GNU Free Documentation License.
1481 * addr2line.1: Add GNU Free Documentation License.
1482 * ar.1: Add GNU Free Documentation License.
1483 * nlmconv.1: Add GNU Free Documentation License.
1484 * nm.1: Add GNU Free Documentation License.
1485 * ranlib.1: Add GNU Free Documentation License.
1486 * size.1: Add GNU Free Documentation License.
1487 * strings.1: Add GNU Free Documentation License.
1488 * strip.1: Add GNU Free Documentation License.
1490 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1492 * objcopy.c (--srec-len=nn): New parameter to set the
1493 maximum length of generated Srecords.
1494 (--srec-forceS3): New parameter that restricts the generation of
1495 Srecords to type S3 only.
1496 * binutils.texi: Document new command line switches.
1497 * objcopy.1: Docuemnt the new command line switches.
1498 * NEWS: Announce the existence of the new command line switches.
1500 2000-10-31 Nick Clifton <nickc@redhat.com>
1502 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1503 code. Add Eric Chrisopher as maintainer of MN10300 port.
1505 2000-10-12 Roger Sayle <roger@metaphorics.com>
1507 * Make comma after string after icon/control optional.
1509 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1511 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1513 * NEWS: Mention support for MIPS32.
1515 2000-09-08 Nick Clifton <nickc@redhat.com>
1517 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1519 2000-09-07 H.J. Lu <hjl@gnu.org>
1521 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1522 * configure: Rebuild.
1524 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1526 * configure: Rebuilt with new libtool.m4.
1528 2000-09-05 Nick Clifton <nickc@redhat.com>
1530 * aclocal.m4: Regenerate.
1531 * config.in: Regenerate.
1532 * configure: Regenerate.
1534 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1536 * strip.1: Fix stray '\' in -o formatting.
1538 2000-09-02 Nick Clifton <nickc@redhat.com>
1540 * configure.in: Increase version number to 2.10.91.
1541 * configure: Regenerate.
1542 * aclocal.m4: Regenerate.
1543 * config.in: Regenerate.
1544 * po/binutils.pot: Regenerate.
1546 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1548 * acinclude.m4: Include libtool and gettext macros from the
1550 * aclocal.m4, configure: Rebuilt.
1552 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1554 * resrc.c (close_input_stream): Delete extraneous logic
1556 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1558 * NEWS: Mention support for CRIS.
1560 2000-08-21 Nick Clifton <nickc@redhat.com>
1562 * addr2line.c: Changed email address for Ulrich Lauther.
1564 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1566 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1568 2000-08-17 Nick Clifton <nickc@redhat.com>
1570 * readelf.c (display_debug_pubnames): Only issue warning
1571 message once. Terminate message with a new line.
1572 (display_debug_aranges): Only display version 2 debug info.
1574 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1576 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1577 for compatability with old BSD systems.
1579 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1581 * NEWS: Mention i860 support.
1583 2000-08-11 Carlo Wood <carlo@alinoe.com>
1585 * addr2line.c (main): Add const to char *.
1587 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1589 * ar.c (main): Don't crash if called with no arguments
1590 or only '-X32_64' as an argument.
1592 2000-08-08 DJ Delorie <dj@redhat.com>
1594 * resrc.c: use "gcc -xc" instead of -xc-header
1596 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1598 * readelf.c (elf/i860.h): Include.
1599 (dump_relocations): Add recognition of i860 architecture.
1600 (guess_is_rela): Add recognition of i860 architecture.
1602 2000-08-03 Nick Clifton <nickc@cygnus.com>
1604 * MAINTAINERS: Add information about CGEN maintainers.
1606 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1608 * nm.c (main): Ignore '-X32_64' as an option.
1609 * ar.c (main): Likewise.
1610 * binutils.texi (nm): Document new option.
1613 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1615 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1617 2000-07-20 H.J. Lu <hjl@gnu.org>
1619 * binutils.texi: Put back "@end table" deleted by
1622 2000-07-05 Kenneth Block <krblock@computer.org>
1624 * nm.c: Add optional style to demangle switch.
1625 * objdump.c: Add optional style to demangle switch.
1626 * addr2line.c: Add optional style to demangle switch.
1627 * binutils.texi: Document optional style to demangle
1630 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1632 * MAINTAINERS: Add self as CRIS port maintainer.
1633 * readelf.c: Include elf/cris.h.
1634 (guess_is_rela): Handle EM_CRIS.
1635 (dump_relocations): Ditto.
1636 (get_machine_name): Ditto.
1637 * Makefile.am: Rebuild dependencies.
1638 * Makefile.in: Regenerate.
1639 * po/binutils.pot: Regenerate.
1641 2000-07-19 H.J. Lu <hjl@gnu.org>
1643 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1645 (process_dynamic_segment): Print out strings for DT_CONFIG,
1646 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1648 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1650 * nm.c (usage): Change output of `nm --help' to include a
1651 description of the purpose of the program and a detailed
1652 description of the accepted options.
1654 2000-07-19 H.J. Lu <hjl@gnu.org>
1656 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1659 2000-07-19 H.J. Lu <hjl@gnu.org>
1661 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1663 2000-07-19 H.J. Lu <hjl@gnu.org>
1665 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1667 (process_dynamic_segment): Likewise.
1669 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1670 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1671 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1672 DF_1_NODUMP and DF_1_CONLFAT.
1674 2000-07-18 Nick Clifton <nickc@cygnus.com>
1676 * binutils.texi (readelf): Fix spelling typo.
1678 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1680 * objdump.c (usage): Make output of `objdump --help' more
1681 consistent with the rest of the GNU world. Add a line describing
1682 the purpose of the program.
1684 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1686 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1689 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1691 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1693 (process_symbol_table): Ditto.
1694 (procesS_extended_line_op): Ditto.
1695 (display_debug_lines): Ditto.
1696 (display_debug_pubnames): Ditto.
1697 (read_and_display_attr): Ditto.
1699 2000-07-09 Nick Clifton <nickc@cygnus.com>
1701 * MAINTAINERS: Add several more port specific maintainers.
1703 2000-07-05 Nick Clifton <nickc@cygnus.com>
1705 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1707 2000-06-05 DJ Delorie <dj@redhat.com>
1711 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1713 * dllwrap.c: Changed mistaken dyn_string_append() calls
1714 to dyn_string_append_cstr().
1716 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1718 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1719 struct debug_type stores size in bytes.
1721 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1723 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1724 (CLEANFILES): Add DEPA.
1725 * Makefile.in: Regenerate.
1727 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1729 * ar.c: Revert incorrect 2000-06-25 patch.
1730 * bucomm.c: Likewise.
1732 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1734 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1735 (external_coff_symbol_p): New function.
1736 (parse_coff): Use it.
1738 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1740 * ar.c (normalize): Advance past both characters in a DOS based
1741 <letter>: filepath prefix.
1743 * bucomm.c (make_tempname): Likewise.
1745 2000-06-24 Nick Clifton <nickc@cygnus.com>
1747 * objdump.c (usage): Fix description of --stabs switch.
1749 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1751 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1753 * Makefile.in: Regenerate.
1755 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1757 * ar.c (normalize): Correct pointer comparison when checking for
1760 * bucomm.c (make_tempname): Likewise.
1762 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1763 and search for backslashes in the original pathname.
1764 (ieee_add_bb11): Likewise.
1766 2000-06-18 Nick Clifton <nickc@redhat.com>
1768 * ar.c (print_contents): Improve verbose message.
1770 2000-06-15 H.J. Lu <hjl@gnu.org>
1772 * dyn-string.c: Removed. Not needed with dyn-string.c in
1774 * dyn-string.h: Likewise.
1776 * Makefile.am: Remove references to dyn-string.c and
1777 dyn-string.h. Rebuild dependency.
1778 * Makefile.in: Rebuild.
1780 2000-06-15 H.J. Lu <hjl@gnu.org>
1782 * binutils.texi: Put a warning on copying relocatable object
1783 files between two different formats.
1785 2000-06-13 DJ Delorie <dj@cygnus.com>
1787 * rcparse.y (control): ICON controls take an id as the first
1788 parameter, not an optional string. Also, call new convenience
1789 function that takes res_id's.
1790 * resrc.c (define_control): missing text means zero-length string,
1792 (define_icon_control): New.
1793 * windres.h: declare define_icon_control.
1795 2000-06-13 H.J. Lu <hjl@gnu.org>
1797 * configure: Regenerate.
1799 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1801 * configure.in (VERSION): Update to show this is the CVS mainline.
1803 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1805 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1806 analogous to <SPACE>.
1808 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1810 * objdump.c (display_target_list): Use bfd_close_all_done, not
1811 bfd_close to fix crash caused by 2000-05-24 change.
1813 2000-05-25 DJ Delorie <dj@cygnus.com>
1815 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1817 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1819 * Makefile.am: Update dependencies with "make dep-am"
1820 * Makefile.in: Regenerate.
1822 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1824 * ar.c: Include filenames.h.
1825 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1826 and drive letters in file names.
1827 (main): Support backslashes and drive letters in argv[0]. Drop
1828 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1829 FILENAME_CMP instead of strcmp to compare file names.
1830 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1832 (do_quick_append) [__GO32__]: Ditto.
1833 (get_pos_bfd, delete_members, move_members, replace_members):
1834 Compare file names with FILENAME_CMP.
1836 * bucomm.c: Include filenames.h.
1837 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1838 forward/backward slashes and drive letters in file names.
1840 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1841 mixed forward/backward slashes and drive letters in file names.
1843 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1844 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1847 * objcopy.c: Include filenames.h.
1848 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1849 before comparing to "strip".
1850 Use FILENAME_CMP to compare file names.
1852 * arsup.c: Include filenames.h.
1853 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1854 FILENAME_CMP to compare file names.
1855 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1856 the temporary file name.
1858 * configure.in: Check for setmode.
1859 * configure: Regenerate.
1861 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1863 * objdump.c (display_target_list): Close the bfd.
1864 (display_info_table): Likewise.
1866 2000-05-14 H.J. Lu (hjl@gnu.org)
1868 * objcopy.c (filter_symbols): Don't strip global symbols in
1869 relocatable object files.
1871 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1873 * size.c (usage): Associate short options with corresponding long
1874 option to give a clue as to their function.
1876 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1878 * size.c (main): Accept and ignore `-f' option.
1880 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1882 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1883 bindtextdomain): Replace defines with those from intl/libgettext.h
1884 to quieten gcc warnings.
1886 2000-05-12 H.J. Lu <hjl@gnu.org>
1888 * nlmconv.c (temp_filename): Removed.
1890 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1891 choose_temp_base ().
1892 * objdump.c (display_target_list): Likewise.
1893 (display_info_table): Likewise.
1895 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1897 * objcopy.c (setup_section): Add const and gettext calls for err.
1899 2000-05-02 H.J. Lu <hjl@gnu.org>
1901 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1902 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1903 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1904 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1905 and ELFOSABI_OPENBSD.
1907 2000-05-02 Kazu Hirata <kazu@hxi.com>
1909 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1910 * srconv.c: Likewise.
1911 * sysdump.c: Likewise.
1913 2000-04-23 Denis Chertykov <denisc@overta.ru>
1915 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1916 (get_machine_name): machine name for EM_AVR added.
1918 2000-04-21 Richard Henderson <rth@cygnus.com>
1919 David Mosberger <davidm@hpl.hp.com>
1921 * Makefile.am (readelf.o): Add elf/ia64.h.
1922 * Makefile.in: Rebuild.
1923 * readelf.c: Include elf/ia64.h.
1924 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1926 2000-04-17 Timothy Wall <twall@cygnus.com>
1928 * objdump.c (disassemble_data): Set octets per byte *after*
1929 resolving arch/mach for binary files.
1931 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1933 * arlex.l: Add directives to increase lex buffer size.
1935 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1936 already included by bucomm.h.
1938 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1940 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1941 `strftime' since strftime is not available on all systems.
1942 (process_mips_specific): Ditto.
1944 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1946 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1947 --enable-build-warnings option.
1948 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1949 * Makefile.in, configure: Re-generate.
1951 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1953 * addr2line.c: Update copyright.
1954 * objcopy.1: Likewise, and title.
1955 * strings.1: Likewise.
1957 * version.c (print_version): Add 2000.
1959 * rddbg.c (read_section_stabs_debugging_info): Don't use
1960 bfd_size_type for strx to avoid printf problems if BFD64.
1962 * bucomm.c: (report): Remove `static'.
1963 Move inclusion of stdarg.h/vararg.h from here.
1964 * bucomm.h: To here.
1965 (CONST): Change all occurences to const.
1966 (report): Declare it.
1967 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1968 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1969 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1971 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1972 Correct a typo in an error message.
1973 (do_quick_append): Use non_fatal instead of fprintf.
1974 (move_members): Use fatal instead of fprintf, exit.
1975 * coffdump.c (main): Same here.
1977 * dlltool.c (display): Delete.
1979 (inform): Use `report' instead of `display'.
1980 (rvaafter): Remove trailing \n from fatal error msg.
1982 (asm_prefix): Ditto.
1983 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1984 (def_name): Likewise.
1986 (scan_all_symbols): Likewise.
1987 (gen_lib_file): Likewise.
1988 (def_library): Likewise. Remove extra program_name too.
1989 (run): Remove \n from inform strings.
1990 (scan_drectve_symbols): Likewise.
1991 (add_excludes): Likewise.
1992 (scan_open_obj_file): Likewise.
1993 (gen_exp_file): Likewise.
1994 (gen_lib_file): Likewise.
1995 (process_duplicates): Likewise.
1997 * Makefile.am (dllwrap_SOURCES): Add version.c.
1998 * dllwrap.c (program_version): Delete.
1999 (print_version): Delete.
2000 (display): Always print trailing \n.
2002 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2005 (usage): gettext'ify.
2006 (long_options): Add missing initialisers.
2008 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2009 (select_output_format): Likewise.
2010 (powerpc_mangle_relocs): Likewise.
2011 (link_inputs): Likewise.
2013 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2014 (set_output_format): Likewise.
2015 (main): Use non_fatal instead of fprintf.
2016 (display_rel_file): Likewise.
2018 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2019 (slurp_dynamic_symtab): Same here.
2020 (disassemble_data): And here.
2021 (read_section_stabs): And here.
2022 (read_section_stabs): And here.
2023 (dump_bfd): And here.
2025 (objdump_sprintf): Use fatal instead of fprintf, exit.
2026 (disassemble_data): Same here.
2028 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2029 (parse_coff_struct_type): Same here.
2030 (parse_coff_enum_type): And here.
2031 (parse_coff): And here.
2032 * rddbg.c (read_debugging_info): And here.
2033 * size.c (main): And here.
2034 * windres.c (format_from_name): And here.
2035 * wrstabs.c (stab_write_symbol): Here too.
2036 (write_stabs_in_sections_debugging_info): And here.
2037 (stab_int_type): And here.
2038 (stab_struct_field): And here.
2039 (stab_typdef): And here.
2041 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2042 * srconv.c (main): Same here.
2043 * strings.c (main): And here.
2044 (integer_arg): And here.
2045 * sysdump.c (main): And here.
2047 2000-04-06 Timothy Wall <twall@cygnus.com>
2049 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2051 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2053 * readelf.c (decode_location_expression): Loop through multiple
2055 (read_and_display_attr): Pass in length.
2057 * readelf.c (read_and_display_attr): Add CU offset to references.
2058 (display_debug_info): Pass it in.
2060 2000-04-06 Nick Clifton <nickc@cygnus.com>
2062 * readelf.c (decode_ARM_machine_flags): New function.
2063 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2066 (get_machine_name): Catch EM_AVR
2068 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2070 * binutils.texi: Remove optional `=' from long options that have
2071 an `=' in the argument.
2072 * objcopy.1: Here too. Remove extra space on discard-all.
2074 * binutils.texi (objcopy): Mention --redefine-sym.
2075 * objcopy.1: Here too.
2078 * objcopy.c (parse_flags): Split off flag names from error message
2079 gettext as they are not translated.
2080 (copy_main): Similarly split off option name for --add-section,
2081 --set-section-flags, --change-section-vma, --change-section-lma
2083 Some white space changes.
2085 from Matthew Benjamin <matt@linuxbox.nu>
2086 * objcopy.c (struct redefine_node): New.
2087 (redefine_sym_list): New.
2088 (redefine_list_append): New.
2089 (lookup_sym_redefinition): New.
2090 (OPTION_REDEFINE_SYM): New.
2091 (copy_options): Add --redefine-sym option.
2092 (copy_usage): Mention it.
2093 (filter_symbols): Rename symbols on redefine_sym_list.
2094 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2095 (copy_main): Handle OPTION_REDEFINE_SYM.
2097 2000-04-04 H.J. Lu <hjl@gnu.org>
2099 * readelf.c (process_symbol_table): Correctly read in symbol
2100 versioning information.
2102 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2104 * po/binutils.pot: Regenerate.
2106 * addr2line.c (usage): Restore translated part of bug string.
2107 * ar.c (usage): Likewise.
2108 * nlmconv.c (show_usage): Likewise.
2109 * nm.c (usage): Likewise.
2110 * objcopy.c (copy_usage): Likewise.
2111 (strip_usage): Likewise.
2112 * objdump.c (usage): Likewise.
2113 * readelf.c (usage): Likewise.
2114 * size.c (usage): Likewise.
2115 * strings.c (usage): Likewise.
2116 * windres.c (usage): Likewise.
2118 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2119 (DEP): Quote when passing vars to sub-make. Add warning
2121 (DEP1): Rewrite for "gcc -MM".
2122 (CLEANFILES): Add DEP2.
2123 Update dependencies.
2124 * Makefile.in: Regenerate.
2126 2000-04-04 H.J. Lu <hjl@gnu.org>
2128 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2129 (arparse.h): Depend on arparse.c
2130 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2132 2000-04-03 H.J. Lu (hjl@gnu.org)
2134 * size.c (usage): Use REPORT_BUGS_TO.
2136 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2138 * bucomm.h: #include "bin-bugs.h"
2139 * addr2line.c (usage): Use REPORT_BUGS_TO.
2140 * ar.c (usage): Likewise.
2141 * nlmconv.c (show_usage): Likewise.
2142 * nm.c (usage): Likewise.
2143 (OPTION_TARGET): Define.
2144 (long_options): Use OPTION_TARGET rather than 200.
2147 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2148 (strip_usage): Likewise.
2149 * objdump.c (usage): Likewise.
2150 * readelf.c (usage): Likewise.
2151 * strings.c (usage): Likewise.
2152 * windres.c (usage): Likewise.
2154 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2156 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2158 2000-03-27 Nick Clifton <nickc@cygnus.com>
2160 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2161 string offsets in corrupt stabs entries.
2163 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2165 * readelf.c: Include elf/avr.h
2166 (dump_relocations): Add EM_AVR case.
2168 2000-03-09 Tim Waugh <twaugh@redhat.com>
2170 * strings.1: Correct '-bytes' to '--bytes'.
2172 2000-03-08 H.J. Lu <hjl@gnu.org>
2174 * Makefile.am (install-exec-local): Depend on
2175 install-binPROGRAMS for parallel make.
2176 * Makefile.in: Regenerated.
2178 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2180 From Brad Lucier <lucier@math.purdue.edu>:
2181 * readelf.c (process_dynamic_segment): Add cast to make sure
2182 argument to %* is int.
2184 2000-02-25 H.J. Lu <hjl@gnu.org>
2186 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2188 2000-02-24 Nick Clifton <nickc@cygnus.com>
2190 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2191 * configure: Regenerate.
2193 * dlltool.c: Add support for sh-pe and mips-pe targets.
2194 * rescoff.c: Add support for sh-pe and mips-pe targets.
2196 2000-02-23 H.J. Lu <hjl@gnu.org>
2198 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2200 2000-02-22 Nick Clifton <nickc@cygnus.com>
2202 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2204 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2206 From Brad Lucier <lucier@math.purdue.edu>:
2207 * readelf.c (process_version_sections): Add casts to make sure
2208 argument to %* is an int.
2209 (process_mips_specific): Add casts to make printf arguments match
2212 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2214 * objdump.c (dump_section_header): Change `opb' to unsigned.
2215 (find_symbol_for_address): Same here.
2216 (disassemble_data): And here. Change `addr_offset',
2217 `stop_offset', `nextstop_offset' to unsigned long.
2218 (dump_data): Change opb to unsigned.
2220 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2222 * resrc.c: Remove unmatched #if for cygwin.
2224 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2226 * binutils.texi: Document the change of flavor name from atpcs-special
2227 to special-atpcs to prevent name conflict in gdb.
2229 2000-02-08 Timothy Wall <twall@redhat.com>
2231 * objdump.c (show_line): Fix bug preventing printing of the very
2232 first line (line zero) of a file when interlisting source and
2233 assembly. Added option to print entire context from start of file
2234 when the first line from that file is encountered.
2236 2000-02-03 Timothy Wall <twall@redhat.com>
2238 * objdump.c (dump_section_header, find_symbol_for_address,
2239 show_line, disassemble_bytes, disassemble_data, dump_data):
2240 distinguish between octets and bytes.
2242 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2244 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2245 check to unresolved symbols.
2246 (print_symbol_info_sysv): Ditto.
2247 (print_symbol_info_posix): Ditto.
2249 * binutils.texi: Document new 'V' symclass flag for nm.
2251 2000-01-27 Nick Clifton <nickc@redhat.com>
2253 * binutils.texi (objdump): Document new ARM specific
2254 disassembler options.
2256 * objdump.c (usage): Call disassembler_usage().
2258 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2260 * readelf.c (get_dynamic_flags): Return buff.
2261 (process_dynamic_segment): Don't pass error strings to printf
2263 (read_and_display_attr): Use lx and ld to print longs.
2264 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2268 2000-01-17 Nick Clifton <nickc@cygnus.com>
2270 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2272 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2274 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2276 (debug_tag_type): Here too.
2277 * ieee.c (ieee_builtin_type): And here.
2278 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2280 2000-01-13 Nick Clifton <nickc@cygnus.com>
2282 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2285 2000-01-11 Nick Clifton <nickc@cygnus.com>
2287 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2289 2000-01-10 Nick Clifton <nickc@cygnus.com>
2291 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2293 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2295 * windres.c (long_options): Add --use-temp-file and
2296 --no-use-temp-file options.
2300 * windres.h: Update read_rc_file prototype.
2302 * resrc.c (cpp_temp_file): New static variable.
2303 (istream_type): New static variable.
2304 (close_pipe): Delete function.
2305 (run_cmd): New static function.
2306 (open_input_stream): New static function.
2307 (close_input_stream): New static function.
2308 (look_for_default): Handle DOS directory separator. Use
2309 open_input_stream instead of popen.
2310 (read_rc_file): Likewise.
2312 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2315 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2317 * dlltool.c (create_compat_implib): New variable.
2318 (gen_exp_file): Use.
2319 (make_one_lib_file): Use.
2320 (long_options): Add --compat-implib option.
2324 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2325 (main): Use. Don't look for "32" in cygwin and mingw target names.
2327 2000-01-03 Nick Clifton <nickc@cygnus.com>
2329 * binutils.texi: Document new, ARM specific disassembler
2330 command line switch "-M force-thumb".
2332 For older changes see ChangeLog-9899
2338 version-control: never