1 2002-04-09 Bernd Herd <info@herdsoft.com>
3 * rcparse.y: CLASS definitions in DIALOG resources
5 Fix typo in BEDIT warning.
7 * rclex.l: "\xhex" encoding in strings corrected.
8 "\a" escape (used for right justified key definitions in menus) is
11 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
13 * resrc.c: print CLASS names in quotes
15 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
17 * MAINTAINERS: Update my email address.
19 2002-04-04 Alan Modra <amodra@bigpond.net.au>
21 * dep-in.sed: Cope with absolute paths.
22 * Makefile.am (dep.sed): Subst TOPDIR.
24 * Makefile.in: Regenerate.
26 2002-03-27 Peter Targett <peter.targett@arc.com>
28 * MAINTAINERS: Update my email address.
30 2002-03-21 Alan Modra <amodra@bigpond.net.au>
32 * Makefile.am: Run "make dep-am".
33 * Makefile.in: Regenerate.
34 * doc/Makefile.in: Regenerate.
35 * po/POTFILES.in: Regenerate.
36 * aclocal.m4: Regenerate.
37 * config.in: Regenerate.
38 * configure: Regenerate.
40 2002-03-20 Daniel Berlin <dan@dberlin.org>
42 * readelf.c: Add support for displaying dwarf2 location lists.
43 (do_debug_loc, debug_loc_section, debug_loc_size): New.
44 (parse_args): Use 'O' as shorthand for displaying location list
46 (process_section_headers): Handle debug_loc as well.
47 (load_debug_loc): New.
48 (free_debug_loc): New.
49 (fetch_location_list): New.
50 (display_debug_loc): New.
51 (display_debug_info): Call load_debug_loc and free_debug_loc.
52 (debug_displays): We can display .debug_loc now, too.
53 (usage): Update usage string.
54 (read_and_display_attr_value): Note location lists, but don't
57 2002-03-18 Tom Rix <trix@redhat.com>
59 * Makefile.am: Add binutils emulation support.
61 * configure.tgt: New file. Same.
62 * ar.c (main): Use ar_emul_parse_arg.
63 (usage): Use ar_emul_usage.
64 (replace_members): Use ar_emul_replace, ar_emul_append.
65 * binemul.c: New file. Define the binutils emulation
66 layer. Define default methods.
67 * binemul.h: New file. Binutils emulation layer header file.
68 * emul_aix.c: New file. AIX binutils emulation.
69 * emul_vanilla.c: New file. Default binutils emulation.
70 * Makefile.in: Regenerate.
73 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
75 * po/fr.po: Updated version.
77 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
79 * po/fr.po: Updated version.
81 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
83 * README: Update some version numbers.
85 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
87 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
88 (Architecture Selection): Likewise.
90 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
92 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
95 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
97 * readelf.c (dump_relocations): Fix typo.
99 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
101 * NEWS: Mark 2.12 branch.
103 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
105 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
106 types for 64-bit MIPS. Narrow some fields for 80-char
108 (dump_relocations): Change spelling from 'unrecognised'
110 (decode_ARM_machine_flags): Likewise.
111 (parse_args): Likewise.
112 (read_and_display_attr_value): Likewise.
113 (display_debug_section): Likewise.
115 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
117 * NEWS: Mention support for MMIX.
119 2002-02-13 Matt Fredette <fredette@netbsd.org>
121 * readelf.c (get_machine_flags): Recognize EF_M68000.
123 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
125 * MAINTAINERS: Added self as MN10300 co-maintainer.
127 2002-02-12 Alan Modra <amodra@bigpond.net.au>
129 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
132 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
134 * MAINTAINERS: List myself as branch maintainer.
136 2002-02-11 Alan Modra <amodra@bigpond.net.au>
138 * configure: Regenerate.
139 * objcopy.c: Update copyright date.
140 * doc/Makefile.in: Regenerate.
142 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
144 * nlmconv.c: Back out localtime PARAMS change.
146 2002-02-11 Alan Modra <amodra@bigpond.net.au>
148 * objcopy.c (MKDIR): Define.
149 (copy_archive): Make name_list.name const. Use MKDIR.
150 Handle duplicate files in archives by making more temp dirs.
152 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
154 * coffdump.c: Include "getopt.h" after "bucomm.h"
155 so that macros are defined correctly.
156 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
157 prototype. Prototype main.
158 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
160 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
162 * MAINTAINERS: Added self as SH co-maintainer.
164 2002-02-05 Nick Clifton <nickc@redhat.com>
166 * po/tr.po: Updated translation.
168 2002-02-01 Alan Modra <amodra@bigpond.net.au>
170 * Makefile.am: Run "make dep-am"
171 * Makefile.in: Regenerate.
173 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
175 * nm.c (print_value): Mark abfd unused.
177 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
179 * unwind-ia64.c (unw_decoder): Change second argument
180 to unsigned int, to match function prototypes.
182 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
184 * objdump.c: Include "getopt.h" after "bucomm.h" so that
185 __GNU_LIBRARY__ will be defined.
188 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
190 * configure: Regenerated.
192 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
194 * doc/Makefile.am (install): Depend on install-info.
195 * doc/Makefile.in: Regenerate.
197 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
199 * objcopy.c (strip_usage): Document -d as an alias
202 * size.c (usage): Document [-t | --totals] options.
203 (long_options): Add --totals option.
204 (main): If the [-t | --totals] option is specified and
205 the output format is Berkeley-style, print the total
206 text, data, and bss sizes of all objects listed.
207 (print_berkeley_format): If the [-t | --totals] option
208 is specified, track the total text, data, and bss
210 * doc/binutils.texi (size): Document [-t | --totals] options.
211 (strip): Document -d as an alias for --strip-debug.
212 * NEWS: Mention new feature of size.
214 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
216 * po/fr.po: Updated version.
217 * po/es.po: Updated version.
219 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
221 * addr2line.c (usage): Update text to provide verbose
222 description of the command line options.
223 * ar.c (usage): Update text to provide verbose
224 description of the command line options.
225 (main): Accept -h and -H when running as ranlib.
226 * coffdump.c (show_usage): Update text to provide verbose
227 description of the command line options.
228 * dlltool.c (main): Accept -H as an alias for --help.
229 * nlmconv.c (show_usage): Update text to provide verbose
230 description of the command line options.
231 * nm.c (usage): Replace OPTIONS with option(s).
232 (main): Accept -H as an alias for --help.
233 * objcopy.c (strip_main): Accept -H as an alias for --help.
234 * objdump.c (main): Accept -v as an alias for --verbose.
235 * readelf.c (usage): Adjust format to match style used in
237 * size.c (usage): Update text to provide verbose description
238 of the command line options.
239 (main): Accept -v, -h and -H as command line options.
240 * srconv.c (show_usage): Update text to provide verbose
241 description of the command line options.
242 * strings.c (main): Accept -H and -v as command line options.
243 (usage): Update text to provide verbose description of the
244 command line options.
245 * sysdump.c (show_usage): Update text to provide verbose
246 description of the command line options.
247 * windres.c (usage): Adjust format to match style used in
250 * coffdump.c: Fix formatting.
251 * nlmconv.c: Fix formatting.
252 * srconv.c: Fix formatting.
253 * sysdump.c: Fix formatting.
255 2002-01-22 Alan Modra <amodra@bigpond.net.au>
257 * Makefile.am: Run "make dep-am".
258 * Makefile.in: Regenerate.
260 2002-01-18 Andreas Jaeger <aj@suse.de>
262 * version.c (print_version): Update year.
264 2002-01-17 Alan Modra <amodra@bigpond.net.au>
266 * readelf.c (get_machine_name): Handle EM_PPC64.
267 (guess_is_rela): Here too.
269 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
271 * po/binutils.pot: Regenerate.
272 * po/fr.po: Regenerate.
273 * po/tr.po: Regenerate.
275 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
277 * po/tr.po: Import new version.
279 2002-01-16 Alan Modra <amodra@bigpond.net.au>
281 * readelf.c (get_ppc64_dynamic_type): New.
282 (get_dynamic_type): Call it.
284 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
286 * objcopy.c (copy_usage): Use "options" instead of "switches".
287 (strip_usage): Use "options" instead of "switches".
288 * doc/binutils.texi (dlltool): Refer to "options" instead of
291 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
293 * MAINTAINERS: Add self as co-maintainer for the ARM code.
295 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
297 * po/es.po: Import from translation project.
298 * configure.in (ALL_LINGUAS): Add es.
299 * configure: Regenerate.
301 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
303 * readelf.c (get_netbsd_elfcore_note_type): Use
304 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
306 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
308 * readelf.c: Update copyright years.
309 (get_note_type): Return a const char *.
310 (get_netbsd_elfcore_note_type): New function.
311 (process_note): Use get_netbsd_elfcore_note_type to get
312 the note type string for NetBSD ELF core files.
314 2002-01-06 Steve Ellcey <sje@cup.hp.com>
316 * readelf.c (get_ia64_segment_type): Add support for macros.
317 (get_segment_type): Add support for IA64 specific macros.
319 2001-12-20 Julian v. Bock <julian@wongr.net>
321 * readelf.c (print_symbol): New function: Print a formatted symbol
322 name. If --wide is specified do not truncate it.
323 (dump_relocations): Use print_symbol() to print symbol names.
324 (process_symbol_table): Likewise.
325 (process_syminfo): Likewise.
326 (process_mips_specific): Likewise.
327 (usage): Document new feature of --wide switch.
328 * doc/binutils.texi (objdump): Document additional behaviour of
331 2001-12-18 Michael Snyder <msnyder@redhat.com>
333 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
334 (copy_object): Don't set the start address or flags of a core file.
335 (copy_section): Don't relocate a core file. Don't copy contents
336 if the input section has the contents flag set, but the output
337 section does not (which happens with the fake 'note' pseudo-
338 sections that BFD creates for corefiles).
340 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
342 * readelf.c (get_machine_flags): Recognize header flags for ABI and
343 ASE extensions. More robust code for ISA checking. Ignore empty fields
344 in header flags for GNU extensions.
346 2001-12-18 Alan Modra <amodra@bigpond.net.au>
348 * objcopy.c (copy_archive): Set output bfd format outside the loop.
350 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
352 * po/ja.po: Import from translation project.
353 * configure.in (ALL_LINGUAS): Add ja.
354 * configure: Regenerate.
356 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
358 * addr2line.c (main): Protoype.
359 * ar.c (main): Protoype.
360 * nm.c (main): Protoype.
361 * objcopy.c (main): Protoype.
362 * objdump.c (main): Protoype.
363 * size.c (main): Protoype.
364 * strings.c (main): Protoype.
366 2001-12-17 Alan Modra <amodra@bigpond.net.au>
368 * readelf.c (symtab_shndx_hdr): New global.
369 (SECTION_HEADER_INDEX): Define.
370 (SECTION_HEADER_NUM): Define.
371 (SECTION_HEADER): Define.
372 (GET_ELF_SYMBOLS): Pass two params rather than three.
373 (get_32bit_elf_symbols): Take file and section args. Read and
374 use SHT_SYMTAB_SHNDX.
375 (get_64bit_elf_symbols): Likewise.
376 (dump_relocations): Use SECTION_HEADER to index "section_headers".
377 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
378 Remember symtab_shdx_hdr.
379 (process_program_headers): Scan from index 1 for segment map.
380 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
382 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
383 (process_unwind): Likewise.
384 (process_version_sections): Likewise.
385 (process_symbol_table): Likewise.
386 (display_debug_info): Likewise.
387 (process_dynamic_segment): Fake up a symtab section for changed
389 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
390 (process_program_headers): Kill signed/unsigned warning.
391 (load_debug_str): Likewise.
392 (display_debug_info): Likewise.
394 2001-12-13 Jakub Jelinek <jakub@redhat.com>
396 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
398 2001-12-11 Alan Modra <amodra@bigpond.net.au>
400 * readelf.c (process_file_header): Print extended e_shnum and
401 e_shdtrndx values. Set elf_header values for same.
402 (get_32bit_section_headers): Add "num" arg to read "num" headers.
403 (get_64bit_section_headers): Likewise.
404 (process_section_headers): Update calls.
405 (get_file_header): Call get_32bit_section_headers or 64bit variant.
407 2001-12-10 Jakub Jelinek <jakub@redhat.com>
409 * objcopy.c (setup_section): Copy entsize.
411 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
413 * readelf.c (guess_is_rela): Add support for stormy16.
414 (dump_relocations): Likewise.
415 (get_machine_name): Likewise.
417 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
419 * dllwrap.c (main) Replace multiple strings describing a
420 single error with a single, newline escaped sentence to permit
421 better translation into foreign languages.
423 * readelf.c (get_elf_class): Remove internalionalisation of ELF
426 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
428 * strings.c (get_char): Initialize value.
430 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
432 * arlex.l: Silence compile warnings.
433 * arsup.h: Likewise. Fix formatting.
435 2001-12-04 Jakub Jelinek <jakub@redhat.com>
437 * strings.c: Include config.h before bfd.h.
438 (file_off): New type.
440 (print_strings): Use file_off instead of file_ptr. Print addresses
441 which don't fit into long correctly.
442 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
444 (strings_file): Use file_off instead of file_ptr. Use file_open.
445 * configure.in: Check for getc_unlocked.
446 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
448 * configure: Rebuilt.
449 * config.h.in: Rebuilt.
451 2001-11-29 H.J. Lu <hjl@gnu.org>
453 * bucomm.c (make_tempname): Revert the changes made on
454 2001-11-14 and 2001-11-12. They won't work with directories.
456 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
458 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
459 CFLAGS_FOR_TARGET to runtest in environment.
460 * Makefile.in: Rebuild.
461 * doc/Makefile.in: Rebuild.
463 2001-11-28 Mike Stump <mrs@wrs.com>
465 * objcopy.c (setup_section): Preserve SEC_RELOC when
466 --set-section-flags is used.
468 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
470 * readelf.c (do_debug_str): New variable.
471 (display_debug_str): New function: Display the contents of a
473 (load_debug_str): New function: Load in the contents of a
475 (free_debug_str): New function: Free the memory used by
477 (fetch_indirect_string): Retrieve a string from the .debug_str
480 (parse_args): Accept -ws.
481 (process_section_headers): Allow the display of the .debug_str
483 (read_and_display_attr_value): Use fetch_indirect_string. Show
484 offset into .debug_str section.
485 (display_debug_info): Use load_debug_str and free_debug_str.
486 (debug_displays): Add .debug_str.
487 * doc/binutils.texi: Document -ws.
489 2001-11-19 Andreas Jaeger <aj@suse.de>
491 * testsuite/binutils-all/objdump.exp: Add x86-64.
493 2001-11-15 Andreas Schwab <schwab@suse.de>
495 * readelf.c: Fix warnings without terminating newline.
497 2001-11-15 Alan Modra <amodra@bigpond.net.au>
499 * doc/binutils.texi (objdump): Document ppc -M options.
501 2001-11-14 Andreas Jaeger <aj@suse.de>
503 * doc/binutils.texi (objdump): Fix description to use x86-64.
505 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
507 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
508 not all systems provide mkstemp.
510 2001-11-14 Alan Modra <amodra@bigpond.net.au>
512 * doc/binutils.texi (objdump): Document x86 -M options.
514 2001-11-13 Keith Walker <keith.walker@arm.com>
516 * readelf.c (read_and_display_attr_value): New function to
517 handle DW_FORM_indirect.
518 (read_and_display_attr): Use it.
520 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
522 * readelf.c (display_debug_lines): Deal with unknown standard
523 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
526 2001-11-13 Timothy Wall <twall@alum.mit.edu>
528 * MAINTAINERS: Add self as tic54x maintainer. This target
529 includes the IBM C54XDSP clone.
531 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
533 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
535 2001-11-09 Jeffrey A Law (law@cygnus.com)
537 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
538 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
539 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
540 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
541 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
542 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
543 (unw_decode_b2, unw_decode_b3_b4): Likewise.
545 * readelf.c (get_elf_class): Fix ISO portability glitch.
546 (get_data_encoding, get_osabi_name, request_dump): Likewise.
548 2001-11-07 Jakub Jelinek <jakub@redhat.com>
550 * readelf.c (debug_str, debug_str_size): New.
551 (display_debug_abbrev): If no abbrevs were read, skip the CU.
553 (read_and_display_addr): Handle DW_FORM_strp.
554 (display_debug_info): Read .debug_str section if present,
555 so that DW_FORM_strp can be handled.
556 Fix test for non-existant .debug_abbrev section.
558 2001-11-05 Jakub Jelinek <jakub@redhat.com>
560 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
562 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
564 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
566 * MAINTAINERS: Add self as s390/s390x maintainer.
568 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
570 * MAINTAINERS: Add self as PPC XCOFF maintainer.
572 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
574 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
575 * configure: Regernate.
576 * po/fr.po: New file.
577 * po/tr.po: New file.
579 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
581 * MAINTAINERS: Add self as MMIX port maintainer.
582 * readelf.c: Include elf/mmix.h.
583 (guess_is_rela): MMIX is RELA.
584 (dump_relocations): Handle MMIX relocations.
585 * Makefile.am: Regenerate dependencies.
586 * Makefile.in: Regenerate.
588 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
590 * readelf.c (parse_args): Handle multiple options to the -w
593 2001-10-12 Jakub Jelinek <jakub@redhat.com>
595 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
596 LOPROC, LOOS and LOUSER.
598 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
600 * MAINTAINERS: Update my email address.
602 2001-10-03 Alan Modra <amodra@bigpond.net.au>
604 * doc/Makefile.in: Regenerate.
605 * configure: Regenerate.
607 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
609 * readelf.c (display_debug_line, display_debug_pubnames,
610 display_debug_info, display_debug_frames): Detect and warn
611 about 64-bit format entries.
612 (display_debug_aranges): Reword 64-bit warning.
613 (debug_displays): Add .debug_pubtypes as a known, but not yet
614 supported, debug section.
616 2001-10-02 Alan Modra <amodra@bigpond.net.au>
618 * coffdump.c (PROGRAM_VERSION): Delete.
619 (main <'V'>): Call print_version.
620 * srconv.c: Likewise.
621 * sysdump.c: Likewise.
622 * version.c (program_version): Remove.
623 (print_version): Use BFD_VERSION_STRING. Just print the current
624 year in copyright message.
625 * addr2line.c (program_version): Remove unused declaration.
626 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
627 place of BFD_VERSION.
628 * Makefile.am (Makefile): Depend on bfd/configure.in.
629 (cplus-dem.o): Depend on Makefile.
631 * Makefile.in: Regenerate.
633 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
635 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
636 format .debug_arange sections.
637 (main): Add missing prototype.
639 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
641 * Makefile.am: Update dependencies with "make dep-am".
642 * Makefile.in: Regenerate.
644 2001-09-28 Richard Henderson <rth@redhat.com>
646 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
648 2001-09-26 Alan Modra <amodra@bigpond.net.au>
650 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
652 (non_fatal): Likewise.
653 * objdump.c (objdump_sprintf): Likewise.
654 * readelf.c (error): Likewise.
657 2001-09-25 Jakub Jelinek <jakub@redhat.com>
659 * readelf.c (do_wide): New.
660 (options): Add --wide.
661 (usage, parse_args): Likewise.
662 (process_program_headers): Put each segment on a single line if
664 (process_section_headers): Put each section on a single line if
666 * doc/binutils.texi: Document it.
669 2001-09-25 Alan Modra <amodra@bigpond.net.au>
671 * readelf.c (print_vma): Print 8 digits of low hex value.
673 2001-09-24 Andreas Jaeger <aj@suse.de>
675 * nlmconv.c: Fix warnings about unused attributes and function
678 * strings.c: Add prototype for get_char.
680 2000-09-19 H.J. Lu <hjl@gnu.org>
682 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
683 $(srcdir)/cxxfilt.man.
684 * doc/Makefile.in: Rebuild.
686 2001-09-19 Alan Modra <amodra@bigpond.net.au>
688 * objcopy.c (copy_main): Correct rename-section string parsing.
689 Consolidate new_name parsing, and error messages.
691 2001-09-18 Bruno Haible <haible@clisp.cons.org>
693 * addr2line.c: Don't include <ctype.h>.
694 (main): For gettext, also set the LC_CTYPE locate facet.
695 * ar.c (main): Likewise.
696 * coffdump.c (main): Likewise.
697 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
698 (main): For gettext, also set the LC_CTYPE locate facet.
699 Use ISALNUM instead of isalpha/isdigit.
700 * dllwrap.c: Don't include <ctype.h>.
701 (main): For gettext, also set the LC_CTYPE locate facet.
702 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
703 (main): For gettext, also set the LC_CTYPE locate facet.
704 Use TOUPPER instead of islower/toupper.
705 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
706 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
707 Use TOUPPER instead of islower/toupper.
708 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
709 * objcopy.c (main): Likewise.
710 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
711 (disassemble_bytes): Use ISPRINT instead of isprint.
712 (dump_section_stabs): Use ISDIGIT instead of isdigit.
713 (dump_data): Use ISPRINT instead of isprint.
714 (main): For gettext, also set the LC_CTYPE locate facet.
715 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
716 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
717 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
718 Use TOUPPER instead of islower/toupper.
719 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
720 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
721 (write_rc_accelerators): Use ISPRINT instead of isprint.
722 (write_rc_rcdata): Likewise.
723 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
724 * srconv.c (main): Likewise.
725 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
726 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
727 isdigit/isupper/islower.
728 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
729 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
730 stab_demangle_prefix, stab_demangle_qualified,
731 stab_demangle_template, stab_demangle_type,
732 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
733 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
734 (isgraphic): Use ISPRINT instead of isascii/isprint.
735 (main): Remove HAVE_LC_MESSAGES dependency.
736 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
737 (pbarray): Use ISPRINT instead of isprint.
738 (main): For gettext, also set the LC_CTYPE locate facet.
739 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
740 (format_from_filename): Use ISPRINT instead of isprint.
741 (main): For gettext, also set the LC_CTYPE locate facet.
742 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
743 (unicode_print): Use ISPRINT instead of isprint.
744 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
745 (stab_variable): Use ISDIGIT instead of isdigit.
747 2001-09-18 Alan Modra <amodra@bigpond.net.au>
749 * ar.c (print_contents): Cast args of bfd_seek to the right types.
750 Replace bfd_read call with call to bfd_bread.
751 (extract_file): Likewise.
753 * objdump.c (dump_section_header): Cast section->filepos to
754 unsigned long to suit printf format string.
755 * readelf.c (process_section_headers): Similarly for sh_offset.
756 (process_unwind): Likewise.
758 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
760 * strings.c (encoding, encoding_bytes): New variables.
761 (long_options): Add --encoding.
762 (main): Accept -e and --encoding.
763 (get_char): New function. Read a, possibly wide, character from
765 (print_strings): Use get_char().
766 (usage): Document new command line option.
767 * doc/binutils.texi: Document new command line option.
768 * NEWS: Announce new command line option.
770 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
772 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
773 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
774 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
775 Removed EM_CYGNUS_ARC.
777 2001-09-04 Jeffrey A Law (law@cygnus.com)
779 * readelf.c: Include elf/h8 for H8 series definitions.
780 (guess_is_rela): H8 series if RELA.
781 (dump_relocations): Handle H8 series relocations.
783 2001-08-31 Eric Christopher <echristo@redhat.com>
785 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
787 2001-08-29 Peter Targett <peter.targett@arccores.com>
789 * MAINTAINERS: Include ARC Maintainer.
791 2001-08-29 Ben Elliston <bje@redhat.com>
793 * stabs.c (stab_demangle_template): Initialise s4.
795 2001-08-27 Alan Modra <amodra@bigpond.net.au>
797 * readelf.c (dump_relocations): Recognise EM_PPC64.
799 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
801 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
803 2001-08-25 H.J. Lu <hjl@gnu.org>
805 * nm.c (print_width): New.
806 (display_rel_file): Set `print_width' according to
808 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
810 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
812 * objcopy.c (use_alt_mach_code): New variable.
813 (OPTION_ALT_MACH_CODE): Define.
814 (copy_options): Added --alt-machine-code.
815 (copy_main): Handle it.
816 (copy_object): Switch to alternate machine code if requested.
817 * doc/binutils.texi: Document new option.
820 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
822 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
824 2001-08-21 H.J. Lu <hjl@gnu.org>
826 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
827 (display_debug_info): Cast for 64bit hosts.
828 (display_debug_frames): Likewise.
829 (process_mips_specific): Likewise.
831 2001-08-21 Andreas Jaeger <aj@suse.de>
833 * coffgrok.h: Add missing parameter for prototype of coff_grok.
835 * sysdump.c: Add missing prototypes.
836 * srconv.c: Likewise.
837 * unwind-ia64.c: Likewise.
838 * coffdump.c: Likewise.
840 * sysinfo.y: Print prototypes, include <ansidecl.h>.
842 * coffgrok.c: Add missing prototypes, include libiberty.h instead
843 of declaring xcalloc.
845 2001-08-10 H.J. Lu <hjl@gnu.org>
847 * nm.c (print_value): Add one arg, bfd *.
848 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
849 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
850 (print_symbol_info_sysv): Likewise.
851 (print_symbol_info_posix): Likewise.
853 * objdump.c (dump_section_header): Replace printf_vma with
855 (print_section_stabs): Likewise.
856 (dump_bfd_header): Likewise.
857 (objdump_print_value): Replace sprintf_vma with
859 (disassemble_bytes): Likewise.
860 (dump_reloc_set): Likewise.
862 2001-08-10 Andreas Jaeger <aj@suse.de>
864 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
866 * configure: Regenerate.
868 2001-08-09 Alan Modra <amodra@bigpond.net.au>
870 * readelf.c: Add missing prototypes.
871 * objdump.c: Likewise. Format existing prototypes.
873 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
875 * readelf.c (display_debug_info): Add to abbrev_offset the addend
876 of any RELA relocation for the abbrev_offset memory location that
877 refers to the .debug_abbrev section symbol.
879 2001-08-07 H.J. Lu <hjl@gnu.org>
881 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
882 (main): Return process_file ().
884 2001-08-05 Philip Blundell <philb@gnu.org>
886 * doc/binutils.texi: Use "Thumb" not "THUMB".
888 2001-08-03 John Healy <jhealy@redhat.com>
890 Patch suggested by Frank Eigler <fche@redhat.com>.
891 * objdump.c (disassemble_data): Fill in section member of the
892 disasm_info structure.
894 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
896 * configure.in: Added --with-windres option.
897 * configure: Regenerated.
899 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
901 * doc/binutils.texi: Use @command{name} for commands;
902 use @option{-opt} for options; use @table @env for list of options;
903 remove spaces arround [ | ] in synopsis.
905 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
908 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
910 * objcopy.c: Fix formatting.
911 (section_rename): New structure.
912 (OPTION_RENAME_SECTION): New switch.
913 (copy_usage): Document new switch.
914 (add_section_rename): New function: Add a node to the section
916 (find_section_rename): New function: Find the new name and
918 (setup_section): Call find_section_name to determine the name
919 of the output section.
920 (copy_main): Handle OPTION_RENAME_SECTION.
921 * binutils.texi: Document new switch.
922 * NEWS: Mention new switch.
924 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
926 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
927 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
928 bug-binutils@gcc.org.
930 2001-07-28 Matthias Kramm <kramm@quiss.org>
932 * bucomm.c (list_supported_architectures): New function.
933 * bucomm.h (list_supported_architectures): Declare.
934 * objdump.c (usage): Call the above.
936 2001-07-25 Dave Brolley <brolley@redhat.com>
938 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
939 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
941 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
943 * README: Update for 2.11. Change bug reporting email address.
944 * MAINTAINERS: Tidy up. Change bug reporting email address.
946 2001-07-16 DJ Delorie <dj@redhat.com>
948 * resres.c (write_res_header): Align header size.
949 (res_align_file): Calculate alignment correctly.
951 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
953 * resrc.c (write_rc_resource): Likewise.
954 * windres.h (SUBLANG_SHIFT): Define - as 10.
956 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
958 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
960 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
962 * MAINTAINERS: Add notes about branch checkins.
964 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
966 * readelf.c (display_debug_macinfo): New function, display
967 .debug_macinfo section.
968 (do_debug_macinfo): New variable.
969 (parse_args): Handle "-w[mM]" to mean display macro info.
970 (process_section_headers): Handle debug_macinfo.
971 (debug_displays): Replace unsupported function with macinfo
972 function for .debug_macinfo display.
973 * doc/binutils.texi: Document new command line switch.
974 * NEWS: Document new feature of readelf.
976 2001-07-05 H.J. Lu <hjl@gnu.org>
978 * objcopy.c (filter_symbols): Don't turn undefined symbols
981 2001-07-03 H.J. Lu <hjl@gnu.org>
983 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
986 (dlltool.1): Likewise.
987 (nlmconv.1): Likewise.
989 (objcopy.1): Likewise.
990 (objdump.1): Likewise.
991 (ranlib.1): Likewise.
992 (readelf.1): Likewise.
994 (strings.1): Likewise.
996 (windres.1): Likewise.
997 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
998 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1001 * doc/Makefile.in: Regenerated.
1003 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1005 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1007 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1009 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1011 2001-06-29 James Cownie <jcownie@etnus.com>
1013 * readelf.c: Support DWARF 2.1 attributes.
1015 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1017 * readelf.c (GET_DATA_ALLOC): Remove.
1019 (get_data): New function combining above macros, with an extra
1021 (slurp_rela_relocs): Use get_data, and catch error return.
1022 (slurp_rel_relocs): Likewise.
1023 (get_32bit_program_headers): Likewise.
1024 (get_64bit_program_headers): Likewise.
1025 (get_32bit_section_headers): Likewise.
1026 (get_64bit_section_headers): Likewise.
1027 (get_32bit_elf_symbols): Likewise.
1028 (get_64bit_elf_symbols): Likewise.
1029 (process_section_headers): Likewise.
1030 (process_relocs): Likewise.
1031 (slurp_ia64_unwind_table): Likewise.
1032 (process_unwind): Likewise.
1033 (get_32bit_dynamic_segment): Likewise.
1034 (get_64bit_dynamic_segment): Likewise.
1035 (process_dynamic_segment): Likewise.
1036 (process_version_sections): Likewise.
1037 (process_symbol_table): Likewise.
1038 (dump_section): Likewise.
1039 (display_debug_info): Likewise.
1040 (display_debug_section): Likewise.
1041 (process_section_contents): Likewise.
1042 (process_corefile_note_segment): Likewise.
1043 (process_mips_specific): Likewise. Also free econf32, econf64.
1045 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1047 * readelf.c (dump_relocations): Print "bad symbol index" if
1048 symtab == NULL with non-zero symtab_index.
1049 (process_relocs): Don't bomb if reloc section has no symsec.
1051 2001-06-24 H.J. Lu <hjl@gnu.org>
1053 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1055 (copy_main): Apply the the change made to strip_main on
1056 2001-05-30 by accident.
1058 2001-06-23 Andreas Jaeger <aj@suse.de>
1060 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1062 (unw_decode_x2): Likewise.
1063 (unw_decode_x3): Likewise.
1064 (unw_decode_x4): Likewise.
1066 2001-06-23 Ben Elliston <bje@redhat.com>
1068 * MAINTAINERS: Add myself as M88k maintainer.
1070 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1072 * objcopy.c (strip_main): Support -o or --output-file command lien
1075 2001-06-19 H.J. Lu <hjl@gnu.org>
1077 * doc/Makefile.in: Regenerated.
1079 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1081 * readelf.c: Restore formatting.
1083 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1085 * Makefile.am: Move documentation into doc subdirectory.
1086 * Makefile.in: Regenerated.
1087 * binutils.texi: Move into doc subdirectory.
1088 * addr2line.1: Removed.
1090 * dlltool.1: Likewise.
1091 * nlmconv.1: Likewise.
1093 * objcopy.1: Likewise.
1094 * objdump.1: Likewise.
1095 * ranlib.1: Likewise.
1096 * readelf.1: Likewise.
1098 * strings.1: Likewise.
1099 * strip.1: Likewise.
1100 * windres.1: Likewise.
1101 * cxxfilt.man: Likewise.
1102 * doc: New Directory.
1103 * doc/Makefile.am: New file.
1104 * doc/Makefile.in: Generate.
1106 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1108 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1110 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1112 * MAINTAINERS: Update my email address.
1114 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1116 * objcopy.c: Add new switches: --keep-global-symbol,
1117 --keep-symbols, --localize-symbols, --keep-global-symbols and
1119 * binutils.texi: Document new switches.
1120 * objcopy.1: Regenerate.
1121 * NEWS: Announce new feature.
1123 2001-05-28 Andreas Jaeger <aj@suse.de>
1125 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1126 variables, fix format strings.
1128 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1130 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1131 when computing the address of the line to show.
1133 2001-05-16 Richard Henderson <rth@redhat.com>
1135 * readelf.c (do_debug_frames_interp): New.
1136 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1137 (byte_get_big_endian): Likewise.
1138 (parse_args) ['F']: Set do_debug_frames_interp.
1139 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1140 (frame_display_row): Don't trunc pc_begin to int.
1141 (size_of_encoded_value): New.
1142 (display_debug_frames): Handle 64-bit targets. Print raw data
1143 unless do_debug_frames_interp.
1144 (debug_displays): Remove duplicate .debug_frame.
1146 2001-05-15 Ralf Baechle <ralf@gnu.org>
1148 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1149 The former constant was never in active use and is used otherwise
1152 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1154 * readelf.c (process_unwind): Print all unwind sections, not just
1157 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1159 * readelf.c (process_unwind): Remove const specifier.
1161 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1163 * strings.c (isgraphic): Do not use isascii() unless it is needed
1164 for isprint() to work.
1165 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1167 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1169 * NEWS: Announce support for OpenRISC.
1171 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1173 * dlltool.c (do_default_excludes): Initialise to true.
1175 2001-04-10 Alan Modra <amodra@one.net.au>
1177 * MAINTAINERS: Update my email address
1178 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1180 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1182 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1184 2001-03-30 H.J. Lu <hjl@gnu.org>
1186 * readelf.c (process_unwind): Just return if do_unwind is 0.
1188 2001-03-28 Roger Sayle <roger@metaphorics.com>
1190 * dlltool.c (make_one_lib_file): Fix section flags for
1191 .text, .data and .bss in stub ds*.o files to match those
1194 2001-03-29 H.J. Lu <hjl@gnu.org>
1196 * readelf.c (process_unwind): Only do unwind sections for
1199 2001-03-28 H.J. Lu <hjl@gnu.org>
1201 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1202 * Makefile.in: Regenerate.
1204 2001-03-26 Andreas Jaeger <aj@suse.de>
1206 * binutils.texi (nm): Fix texi syntax.
1208 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1210 * binutils.texi: Put @c man begin and @c man end indications
1211 to generate man pages using texi2pod and pod2man. Put @c man title
1212 to identify each man. Add SEEALSO entries.
1213 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1214 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1216 (*.1): Build the man pages from binutils.texi.
1217 * Makefile.in: Regenerate.
1219 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1221 * defparse.y (opt_equal_name): allow "." in name.
1222 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1223 (gen_exp_file): Likewise.
1225 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1227 * NEWS: Document addition of -B switch to objcopy.
1228 * binutils.texi: Document addition of -B switch to objcopy.
1229 * objcopy.c: (copy_options): Add --binary-architecture.
1230 (copy_usage): Document -B/--binary-architecture.
1231 (copy_main): Support -B/--binary-architecture. Set
1232 bfd_external_binary_architecture.
1234 2001-03-11 Andreas Jaeger <aj@suse.de>
1236 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1237 (dump_relocations): Likewise.
1238 (get_machine_name): Likewise.
1240 2001-02-28 Nick Clifton <nickc@redhat.com>
1242 * readelf.c: (struct unw_aux_info): Remove const modifier for
1244 (process_unwind): Remove non-K&R compliant LHS type cast in call
1245 to GET_DATA_ALLOC macro.
1247 2001-02-28 Philip Blundell <pb@futuretv.com>
1249 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1250 ABI is in use; remove ambiguity between the "unknown" EABI and
1251 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1252 renamed EF_xx constants.
1254 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1256 * configure.in (BFD_VERSION): New.
1257 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1258 * configure: Regenerate.
1259 * Makefile.am: Run "make dep-am"
1260 * Makefile.in: Regenerate.
1262 2001-02-14 Nick Clifton <nickc@redhat.com>
1264 * MAINTAINERS: Add "Obvious Fix" rule.
1266 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1268 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1269 literal concatenation.
1271 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1273 * readelf.c (struct unw_aux_info): Remove const from the info member.
1274 (process_unwind): Don't type-cast the third argument to the
1275 GET_DATA_ALLOC macro.
1277 2001-02-11 Nick Clifton <nickc@redhat.com>
1279 * readelf.c (dump_relocations): Free corrected allocated
1281 (process_unwind): Fix compile time warning.
1283 2001-02-10 Nick Clifton <nickc@redhat.com>
1285 * binutils.texi: Document new --unwind option to readelf.
1287 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1289 * readelf.c: Add linux target for S/390.
1291 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1293 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1296 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1298 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1299 * aclocal.m4: Regenerate.
1300 * configure: Regenerate.
1302 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1304 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1305 * objdump.c (bfd_target_vector): Likewise.
1307 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1309 * readelf.c (process_unwind): New function.
1310 (slurp_ia64_unwind_table): Ditto.
1311 (dump_ia64_unwind): Ditto.
1312 (find_symbol_for_address): Ditto.
1313 (slurp_rela_relocs): New function (split off from dump_relocations()).
1314 (slurp_rel_relocs): Ditto.
1315 (parse_args): Handle '-u' option.
1317 * unwind-ia64.c: New file.
1318 * unwind-ia64.h: New file.
1319 * Makefile.am: Include unwind-ia64.c in readelf build.
1320 * Makefile.in: Regenerate.
1321 * po/binutils.pot: Regenerate.
1323 2001-02-04 Philip Blundell <philb@gnu.org>
1325 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1326 * configure: Regenerate.
1328 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1330 * ieee.c (ieee_add_bb11): Don't check for backslashes
1331 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1333 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1335 * ieee.c: Update copyright.
1336 (ieee_start_compilation_unit): Don't check for backslashes
1337 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1339 * stabs.c: Update copyright. Include "filenames.h".
1340 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1342 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1344 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1345 sections are present before using them. Remove code duplication.
1346 (process_symbol_table): Check if VERDEF or VERNEED sections are
1347 present before using them.
1349 2001-01-17 Nick Clifton <nickc@redhat.com>
1351 * objcopy.c (copy_object): Fail if attempting to convert the
1352 endianness of the input object file.
1354 * binutils.texi: Explain that objcopy cannot convert endianness.
1356 2001-01-16 Nick Clifton <nickc@redhat.com>
1358 * readelf.c (string_table_length): New variable.
1359 (SECTION_NAME): Catch out of range indices and missing section
1361 (process_section_headers): Delete useless local variable
1362 string_table_offset. Set the value of string_table_length
1363 after loading the string table.
1364 (process_mips_specific): Use SECTION_NAME macro.
1365 (process_file): Set string_table_length to 0 when it is freed.
1367 2001-01-12 Nick Clifton <nickc@redhat.com>
1369 * version.c (print_version): Update copyright date.
1371 2001-01-11 Peter Targett <peter.targett@arccores.com>
1373 * readelf.c (dump_relocations): Include selection with EM_ARC.
1374 (get_machine_name) Update name to "ARC".
1376 2001-01-09 Nick Clifton <nickc@redhat.com>
1378 * Makefile.am: Add rule to build objdump.o from objdump.c and
1380 * Makefile.in: Regenerate.
1382 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1383 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1384 -DDISASSEMBLER_NEEDS_RELOCS.
1385 * configure: Regenerate.
1387 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1388 is defined read in the relocs even if dump_reloc_info is
1391 2001-01-07 Philip Blundell <philb@gnu.org>
1393 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1397 2000-12-19 Nick Clifton <nickc@redhat.com>
1399 * dlltool.c: Add missing support for arm-epoc-pe.
1400 * configure.in: Add missing support for arm-epoc-pe.
1401 * configure: Regenerate.
1403 2000-12-15 Nick Clifton <nickc@redhat.com>
1405 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1406 Mode parts of the x86 port.
1408 2000-12-04 Andreas Jaeger <aj@suse.de>
1410 * readelf.c (guess_is_rela): Add EM_X86_64.
1411 (dump_relocations): Add EM_X86_64.
1412 (get_machine_name): Add EM_X86_64.
1413 Include "elf/x86-64.h".
1415 2000-12-12 Nick Clifton <nickc@redhat.com>
1417 * readelf.c: Fix formatting.
1419 2000-12-11 Jan Hubicka <jh@suse.cz>
1421 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1423 2000-12-07 Andrew Haley <aph@redhat.com>
1425 * readelf.c (display_debug_frames): Only display columns that are
1426 referenced by the frame debug info.
1428 2000-12-05 Nick Clifton <nickc@redhat.com>
1430 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1432 2000-12-04 Jason Merrill <jason@redhat.com>
1434 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1435 (display_debug_section): Likewise.
1436 (display_debug_info): Display CU header before bailing.
1438 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1440 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1441 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1442 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1444 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1447 * readelf.c (get_machine_flags): Add case for
1450 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1452 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1454 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1456 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1457 Change sourceware.cygnus.com to sources.redhat.com.
1458 Fix typo for "amongst".
1460 2000-11-28 Nick Clifton <nickc@redhat.com>
1462 * strip.1 (COPYING): Mention that the GNU Free Documentation
1463 License is present in the sources, but not the output, and
1464 also available from the GNU website.
1465 (GNU Free Documentation License): Comment out this section.
1474 * addr2line.1: Ditto.
1476 2000-11-27 DJ Delorie <dj@redhat.com>
1478 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1479 (parse_args): Support -wf option.
1480 (process_section_headers): Ditto.
1481 (debug_displays): Ditto.
1482 (display_debug_frames): New, dump *_frame sections.
1483 (frame_need_space): Support for above.
1484 (frame_display_row): Ditto.
1485 * binutils.texi: Document it.
1487 2000-11-24 Nick Clifton <nickc@redhat.com>
1489 * NEWS: Announce support for v5t, v5te and XScale.
1491 2000-11-22 Nick Clifton <nickc@redhat.com>
1493 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1494 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1495 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1496 (get_elf_section_flags: Add SHF_GROUP.
1497 (process_section_headers): Adjust output for 32-bit binaries
1498 to look nice on an 80 column terminal.
1500 2000-11-20 H.J. Lu <hjl@gnu.org>
1502 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1505 2000-11-17 Richard Henderson <rth@redhat.com>
1507 * readelf.c (display_debug_lines): Adjust last change to
1508 use sizeof (external->li_length).
1510 2000-11-17 Richard Henderson <rth@redhat.com>
1512 * readelf.c (display_debug_lines): Fix section length check
1513 and end_of_sequence computation.
1515 2000-11-06 Nick Clifton <nickc@redhat.com>
1517 * binutils.texi: Add GNU Free Documentation License.
1518 * objcopy.1: Add GNU Free Documentation License.
1519 * objdump.1: Add GNU Free Documentation License.
1520 * addr2line.1: Add GNU Free Documentation License.
1521 * ar.1: Add GNU Free Documentation License.
1522 * nlmconv.1: Add GNU Free Documentation License.
1523 * nm.1: Add GNU Free Documentation License.
1524 * ranlib.1: Add GNU Free Documentation License.
1525 * size.1: Add GNU Free Documentation License.
1526 * strings.1: Add GNU Free Documentation License.
1527 * strip.1: Add GNU Free Documentation License.
1529 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1531 * objcopy.c (--srec-len=nn): New parameter to set the
1532 maximum length of generated Srecords.
1533 (--srec-forceS3): New parameter that restricts the generation of
1534 Srecords to type S3 only.
1535 * binutils.texi: Document new command line switches.
1536 * objcopy.1: Docuemnt the new command line switches.
1537 * NEWS: Announce the existence of the new command line switches.
1539 2000-10-31 Nick Clifton <nickc@redhat.com>
1541 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1542 code. Add Eric Chrisopher as maintainer of MN10300 port.
1544 2000-10-12 Roger Sayle <roger@metaphorics.com>
1546 * Make comma after string after icon/control optional.
1548 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1550 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1552 * NEWS: Mention support for MIPS32.
1554 2000-09-08 Nick Clifton <nickc@redhat.com>
1556 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1558 2000-09-07 H.J. Lu <hjl@gnu.org>
1560 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1561 * configure: Rebuild.
1563 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1565 * configure: Rebuilt with new libtool.m4.
1567 2000-09-05 Nick Clifton <nickc@redhat.com>
1569 * aclocal.m4: Regenerate.
1570 * config.in: Regenerate.
1571 * configure: Regenerate.
1573 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1575 * strip.1: Fix stray '\' in -o formatting.
1577 2000-09-02 Nick Clifton <nickc@redhat.com>
1579 * configure.in: Increase version number to 2.10.91.
1580 * configure: Regenerate.
1581 * aclocal.m4: Regenerate.
1582 * config.in: Regenerate.
1583 * po/binutils.pot: Regenerate.
1585 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1587 * acinclude.m4: Include libtool and gettext macros from the
1589 * aclocal.m4, configure: Rebuilt.
1591 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1593 * resrc.c (close_input_stream): Delete extraneous logic
1595 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1597 * NEWS: Mention support for CRIS.
1599 2000-08-21 Nick Clifton <nickc@redhat.com>
1601 * addr2line.c: Changed email address for Ulrich Lauther.
1603 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1605 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1607 2000-08-17 Nick Clifton <nickc@redhat.com>
1609 * readelf.c (display_debug_pubnames): Only issue warning
1610 message once. Terminate message with a new line.
1611 (display_debug_aranges): Only display version 2 debug info.
1613 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1615 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1616 for compatability with old BSD systems.
1618 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1620 * NEWS: Mention i860 support.
1622 2000-08-11 Carlo Wood <carlo@alinoe.com>
1624 * addr2line.c (main): Add const to char *.
1626 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1628 * ar.c (main): Don't crash if called with no arguments
1629 or only '-X32_64' as an argument.
1631 2000-08-08 DJ Delorie <dj@redhat.com>
1633 * resrc.c: use "gcc -xc" instead of -xc-header
1635 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1637 * readelf.c (elf/i860.h): Include.
1638 (dump_relocations): Add recognition of i860 architecture.
1639 (guess_is_rela): Add recognition of i860 architecture.
1641 2000-08-03 Nick Clifton <nickc@cygnus.com>
1643 * MAINTAINERS: Add information about CGEN maintainers.
1645 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1647 * nm.c (main): Ignore '-X32_64' as an option.
1648 * ar.c (main): Likewise.
1649 * binutils.texi (nm): Document new option.
1652 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1654 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1656 2000-07-20 H.J. Lu <hjl@gnu.org>
1658 * binutils.texi: Put back "@end table" deleted by
1661 2000-07-05 Kenneth Block <krblock@computer.org>
1663 * nm.c: Add optional style to demangle switch.
1664 * objdump.c: Add optional style to demangle switch.
1665 * addr2line.c: Add optional style to demangle switch.
1666 * binutils.texi: Document optional style to demangle
1669 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1671 * MAINTAINERS: Add self as CRIS port maintainer.
1672 * readelf.c: Include elf/cris.h.
1673 (guess_is_rela): Handle EM_CRIS.
1674 (dump_relocations): Ditto.
1675 (get_machine_name): Ditto.
1676 * Makefile.am: Rebuild dependencies.
1677 * Makefile.in: Regenerate.
1678 * po/binutils.pot: Regenerate.
1680 2000-07-19 H.J. Lu <hjl@gnu.org>
1682 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1684 (process_dynamic_segment): Print out strings for DT_CONFIG,
1685 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1687 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1689 * nm.c (usage): Change output of `nm --help' to include a
1690 description of the purpose of the program and a detailed
1691 description of the accepted options.
1693 2000-07-19 H.J. Lu <hjl@gnu.org>
1695 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1698 2000-07-19 H.J. Lu <hjl@gnu.org>
1700 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1702 2000-07-19 H.J. Lu <hjl@gnu.org>
1704 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1706 (process_dynamic_segment): Likewise.
1708 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1709 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1710 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1711 DF_1_NODUMP and DF_1_CONLFAT.
1713 2000-07-18 Nick Clifton <nickc@cygnus.com>
1715 * binutils.texi (readelf): Fix spelling typo.
1717 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1719 * objdump.c (usage): Make output of `objdump --help' more
1720 consistent with the rest of the GNU world. Add a line describing
1721 the purpose of the program.
1723 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1725 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1728 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1730 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1732 (process_symbol_table): Ditto.
1733 (procesS_extended_line_op): Ditto.
1734 (display_debug_lines): Ditto.
1735 (display_debug_pubnames): Ditto.
1736 (read_and_display_attr): Ditto.
1738 2000-07-09 Nick Clifton <nickc@cygnus.com>
1740 * MAINTAINERS: Add several more port specific maintainers.
1742 2000-07-05 Nick Clifton <nickc@cygnus.com>
1744 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1746 2000-06-05 DJ Delorie <dj@redhat.com>
1750 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1752 * dllwrap.c: Changed mistaken dyn_string_append() calls
1753 to dyn_string_append_cstr().
1755 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1757 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1758 struct debug_type stores size in bytes.
1760 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1762 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1763 (CLEANFILES): Add DEPA.
1764 * Makefile.in: Regenerate.
1766 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1768 * ar.c: Revert incorrect 2000-06-25 patch.
1769 * bucomm.c: Likewise.
1771 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1773 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1774 (external_coff_symbol_p): New function.
1775 (parse_coff): Use it.
1777 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1779 * ar.c (normalize): Advance past both characters in a DOS based
1780 <letter>: filepath prefix.
1782 * bucomm.c (make_tempname): Likewise.
1784 2000-06-24 Nick Clifton <nickc@cygnus.com>
1786 * objdump.c (usage): Fix description of --stabs switch.
1788 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1790 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1792 * Makefile.in: Regenerate.
1794 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1796 * ar.c (normalize): Correct pointer comparison when checking for
1799 * bucomm.c (make_tempname): Likewise.
1801 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1802 and search for backslashes in the original pathname.
1803 (ieee_add_bb11): Likewise.
1805 2000-06-18 Nick Clifton <nickc@redhat.com>
1807 * ar.c (print_contents): Improve verbose message.
1809 2000-06-15 H.J. Lu <hjl@gnu.org>
1811 * dyn-string.c: Removed. Not needed with dyn-string.c in
1813 * dyn-string.h: Likewise.
1815 * Makefile.am: Remove references to dyn-string.c and
1816 dyn-string.h. Rebuild dependency.
1817 * Makefile.in: Rebuild.
1819 2000-06-15 H.J. Lu <hjl@gnu.org>
1821 * binutils.texi: Put a warning on copying relocatable object
1822 files between two different formats.
1824 2000-06-13 DJ Delorie <dj@cygnus.com>
1826 * rcparse.y (control): ICON controls take an id as the first
1827 parameter, not an optional string. Also, call new convenience
1828 function that takes res_id's.
1829 * resrc.c (define_control): missing text means zero-length string,
1831 (define_icon_control): New.
1832 * windres.h: declare define_icon_control.
1834 2000-06-13 H.J. Lu <hjl@gnu.org>
1836 * configure: Regenerate.
1838 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1840 * configure.in (VERSION): Update to show this is the CVS mainline.
1842 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1844 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1845 analogous to <SPACE>.
1847 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1849 * objdump.c (display_target_list): Use bfd_close_all_done, not
1850 bfd_close to fix crash caused by 2000-05-24 change.
1852 2000-05-25 DJ Delorie <dj@cygnus.com>
1854 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1856 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1858 * Makefile.am: Update dependencies with "make dep-am"
1859 * Makefile.in: Regenerate.
1861 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1863 * ar.c: Include filenames.h.
1864 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1865 and drive letters in file names.
1866 (main): Support backslashes and drive letters in argv[0]. Drop
1867 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1868 FILENAME_CMP instead of strcmp to compare file names.
1869 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1871 (do_quick_append) [__GO32__]: Ditto.
1872 (get_pos_bfd, delete_members, move_members, replace_members):
1873 Compare file names with FILENAME_CMP.
1875 * bucomm.c: Include filenames.h.
1876 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1877 forward/backward slashes and drive letters in file names.
1879 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1880 mixed forward/backward slashes and drive letters in file names.
1882 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1883 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1886 * objcopy.c: Include filenames.h.
1887 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1888 before comparing to "strip".
1889 Use FILENAME_CMP to compare file names.
1891 * arsup.c: Include filenames.h.
1892 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1893 FILENAME_CMP to compare file names.
1894 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1895 the temporary file name.
1897 * configure.in: Check for setmode.
1898 * configure: Regenerate.
1900 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1902 * objdump.c (display_target_list): Close the bfd.
1903 (display_info_table): Likewise.
1905 2000-05-14 H.J. Lu (hjl@gnu.org)
1907 * objcopy.c (filter_symbols): Don't strip global symbols in
1908 relocatable object files.
1910 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1912 * size.c (usage): Associate short options with corresponding long
1913 option to give a clue as to their function.
1915 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1917 * size.c (main): Accept and ignore `-f' option.
1919 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1921 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1922 bindtextdomain): Replace defines with those from intl/libgettext.h
1923 to quieten gcc warnings.
1925 2000-05-12 H.J. Lu <hjl@gnu.org>
1927 * nlmconv.c (temp_filename): Removed.
1929 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1930 choose_temp_base ().
1931 * objdump.c (display_target_list): Likewise.
1932 (display_info_table): Likewise.
1934 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1936 * objcopy.c (setup_section): Add const and gettext calls for err.
1938 2000-05-02 H.J. Lu <hjl@gnu.org>
1940 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1941 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1942 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1943 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1944 and ELFOSABI_OPENBSD.
1946 2000-05-02 Kazu Hirata <kazu@hxi.com>
1948 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1949 * srconv.c: Likewise.
1950 * sysdump.c: Likewise.
1952 2000-04-23 Denis Chertykov <denisc@overta.ru>
1954 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1955 (get_machine_name): machine name for EM_AVR added.
1957 2000-04-21 Richard Henderson <rth@cygnus.com>
1958 David Mosberger <davidm@hpl.hp.com>
1960 * Makefile.am (readelf.o): Add elf/ia64.h.
1961 * Makefile.in: Rebuild.
1962 * readelf.c: Include elf/ia64.h.
1963 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1965 2000-04-17 Timothy Wall <twall@cygnus.com>
1967 * objdump.c (disassemble_data): Set octets per byte *after*
1968 resolving arch/mach for binary files.
1970 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1972 * arlex.l: Add directives to increase lex buffer size.
1974 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1975 already included by bucomm.h.
1977 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1979 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1980 `strftime' since strftime is not available on all systems.
1981 (process_mips_specific): Ditto.
1983 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1985 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1986 --enable-build-warnings option.
1987 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1988 * Makefile.in, configure: Re-generate.
1990 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1992 * addr2line.c: Update copyright.
1993 * objcopy.1: Likewise, and title.
1994 * strings.1: Likewise.
1996 * version.c (print_version): Add 2000.
1998 * rddbg.c (read_section_stabs_debugging_info): Don't use
1999 bfd_size_type for strx to avoid printf problems if BFD64.
2001 * bucomm.c: (report): Remove `static'.
2002 Move inclusion of stdarg.h/vararg.h from here.
2003 * bucomm.h: To here.
2004 (CONST): Change all occurences to const.
2005 (report): Declare it.
2006 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2007 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2008 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2010 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2011 Correct a typo in an error message.
2012 (do_quick_append): Use non_fatal instead of fprintf.
2013 (move_members): Use fatal instead of fprintf, exit.
2014 * coffdump.c (main): Same here.
2016 * dlltool.c (display): Delete.
2018 (inform): Use `report' instead of `display'.
2019 (rvaafter): Remove trailing \n from fatal error msg.
2021 (asm_prefix): Ditto.
2022 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2023 (def_name): Likewise.
2025 (scan_all_symbols): Likewise.
2026 (gen_lib_file): Likewise.
2027 (def_library): Likewise. Remove extra program_name too.
2028 (run): Remove \n from inform strings.
2029 (scan_drectve_symbols): Likewise.
2030 (add_excludes): Likewise.
2031 (scan_open_obj_file): Likewise.
2032 (gen_exp_file): Likewise.
2033 (gen_lib_file): Likewise.
2034 (process_duplicates): Likewise.
2036 * Makefile.am (dllwrap_SOURCES): Add version.c.
2037 * dllwrap.c (program_version): Delete.
2038 (print_version): Delete.
2039 (display): Always print trailing \n.
2041 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2044 (usage): gettext'ify.
2045 (long_options): Add missing initialisers.
2047 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2048 (select_output_format): Likewise.
2049 (powerpc_mangle_relocs): Likewise.
2050 (link_inputs): Likewise.
2052 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2053 (set_output_format): Likewise.
2054 (main): Use non_fatal instead of fprintf.
2055 (display_rel_file): Likewise.
2057 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2058 (slurp_dynamic_symtab): Same here.
2059 (disassemble_data): And here.
2060 (read_section_stabs): And here.
2061 (read_section_stabs): And here.
2062 (dump_bfd): And here.
2064 (objdump_sprintf): Use fatal instead of fprintf, exit.
2065 (disassemble_data): Same here.
2067 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2068 (parse_coff_struct_type): Same here.
2069 (parse_coff_enum_type): And here.
2070 (parse_coff): And here.
2071 * rddbg.c (read_debugging_info): And here.
2072 * size.c (main): And here.
2073 * windres.c (format_from_name): And here.
2074 * wrstabs.c (stab_write_symbol): Here too.
2075 (write_stabs_in_sections_debugging_info): And here.
2076 (stab_int_type): And here.
2077 (stab_struct_field): And here.
2078 (stab_typdef): And here.
2080 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2081 * srconv.c (main): Same here.
2082 * strings.c (main): And here.
2083 (integer_arg): And here.
2084 * sysdump.c (main): And here.
2086 2000-04-06 Timothy Wall <twall@cygnus.com>
2088 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2090 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2092 * readelf.c (decode_location_expression): Loop through multiple
2094 (read_and_display_attr): Pass in length.
2096 * readelf.c (read_and_display_attr): Add CU offset to references.
2097 (display_debug_info): Pass it in.
2099 2000-04-06 Nick Clifton <nickc@cygnus.com>
2101 * readelf.c (decode_ARM_machine_flags): New function.
2102 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2105 (get_machine_name): Catch EM_AVR
2107 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2109 * binutils.texi: Remove optional `=' from long options that have
2110 an `=' in the argument.
2111 * objcopy.1: Here too. Remove extra space on discard-all.
2113 * binutils.texi (objcopy): Mention --redefine-sym.
2114 * objcopy.1: Here too.
2117 * objcopy.c (parse_flags): Split off flag names from error message
2118 gettext as they are not translated.
2119 (copy_main): Similarly split off option name for --add-section,
2120 --set-section-flags, --change-section-vma, --change-section-lma
2122 Some white space changes.
2124 from Matthew Benjamin <matt@linuxbox.nu>
2125 * objcopy.c (struct redefine_node): New.
2126 (redefine_sym_list): New.
2127 (redefine_list_append): New.
2128 (lookup_sym_redefinition): New.
2129 (OPTION_REDEFINE_SYM): New.
2130 (copy_options): Add --redefine-sym option.
2131 (copy_usage): Mention it.
2132 (filter_symbols): Rename symbols on redefine_sym_list.
2133 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2134 (copy_main): Handle OPTION_REDEFINE_SYM.
2136 2000-04-04 H.J. Lu <hjl@gnu.org>
2138 * readelf.c (process_symbol_table): Correctly read in symbol
2139 versioning information.
2141 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2143 * po/binutils.pot: Regenerate.
2145 * addr2line.c (usage): Restore translated part of bug string.
2146 * ar.c (usage): Likewise.
2147 * nlmconv.c (show_usage): Likewise.
2148 * nm.c (usage): Likewise.
2149 * objcopy.c (copy_usage): Likewise.
2150 (strip_usage): Likewise.
2151 * objdump.c (usage): Likewise.
2152 * readelf.c (usage): Likewise.
2153 * size.c (usage): Likewise.
2154 * strings.c (usage): Likewise.
2155 * windres.c (usage): Likewise.
2157 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2158 (DEP): Quote when passing vars to sub-make. Add warning
2160 (DEP1): Rewrite for "gcc -MM".
2161 (CLEANFILES): Add DEP2.
2162 Update dependencies.
2163 * Makefile.in: Regenerate.
2165 2000-04-04 H.J. Lu <hjl@gnu.org>
2167 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2168 (arparse.h): Depend on arparse.c
2169 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2171 2000-04-03 H.J. Lu (hjl@gnu.org)
2173 * size.c (usage): Use REPORT_BUGS_TO.
2175 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2177 * bucomm.h: #include "bin-bugs.h"
2178 * addr2line.c (usage): Use REPORT_BUGS_TO.
2179 * ar.c (usage): Likewise.
2180 * nlmconv.c (show_usage): Likewise.
2181 * nm.c (usage): Likewise.
2182 (OPTION_TARGET): Define.
2183 (long_options): Use OPTION_TARGET rather than 200.
2186 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2187 (strip_usage): Likewise.
2188 * objdump.c (usage): Likewise.
2189 * readelf.c (usage): Likewise.
2190 * strings.c (usage): Likewise.
2191 * windres.c (usage): Likewise.
2193 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2195 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2197 2000-03-27 Nick Clifton <nickc@cygnus.com>
2199 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2200 string offsets in corrupt stabs entries.
2202 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2204 * readelf.c: Include elf/avr.h
2205 (dump_relocations): Add EM_AVR case.
2207 2000-03-09 Tim Waugh <twaugh@redhat.com>
2209 * strings.1: Correct '-bytes' to '--bytes'.
2211 2000-03-08 H.J. Lu <hjl@gnu.org>
2213 * Makefile.am (install-exec-local): Depend on
2214 install-binPROGRAMS for parallel make.
2215 * Makefile.in: Regenerated.
2217 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2219 From Brad Lucier <lucier@math.purdue.edu>:
2220 * readelf.c (process_dynamic_segment): Add cast to make sure
2221 argument to %* is int.
2223 2000-02-25 H.J. Lu <hjl@gnu.org>
2225 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2227 2000-02-24 Nick Clifton <nickc@cygnus.com>
2229 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2230 * configure: Regenerate.
2232 * dlltool.c: Add support for sh-pe and mips-pe targets.
2233 * rescoff.c: Add support for sh-pe and mips-pe targets.
2235 2000-02-23 H.J. Lu <hjl@gnu.org>
2237 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2239 2000-02-22 Nick Clifton <nickc@cygnus.com>
2241 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2243 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2245 From Brad Lucier <lucier@math.purdue.edu>:
2246 * readelf.c (process_version_sections): Add casts to make sure
2247 argument to %* is an int.
2248 (process_mips_specific): Add casts to make printf arguments match
2251 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2253 * objdump.c (dump_section_header): Change `opb' to unsigned.
2254 (find_symbol_for_address): Same here.
2255 (disassemble_data): And here. Change `addr_offset',
2256 `stop_offset', `nextstop_offset' to unsigned long.
2257 (dump_data): Change opb to unsigned.
2259 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2261 * resrc.c: Remove unmatched #if for cygwin.
2263 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2265 * binutils.texi: Document the change of flavor name from atpcs-special
2266 to special-atpcs to prevent name conflict in gdb.
2268 2000-02-08 Timothy Wall <twall@redhat.com>
2270 * objdump.c (show_line): Fix bug preventing printing of the very
2271 first line (line zero) of a file when interlisting source and
2272 assembly. Added option to print entire context from start of file
2273 when the first line from that file is encountered.
2275 2000-02-03 Timothy Wall <twall@redhat.com>
2277 * objdump.c (dump_section_header, find_symbol_for_address,
2278 show_line, disassemble_bytes, disassemble_data, dump_data):
2279 distinguish between octets and bytes.
2281 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2283 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2284 check to unresolved symbols.
2285 (print_symbol_info_sysv): Ditto.
2286 (print_symbol_info_posix): Ditto.
2288 * binutils.texi: Document new 'V' symclass flag for nm.
2290 2000-01-27 Nick Clifton <nickc@redhat.com>
2292 * binutils.texi (objdump): Document new ARM specific
2293 disassembler options.
2295 * objdump.c (usage): Call disassembler_usage().
2297 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2299 * readelf.c (get_dynamic_flags): Return buff.
2300 (process_dynamic_segment): Don't pass error strings to printf
2302 (read_and_display_attr): Use lx and ld to print longs.
2303 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2307 2000-01-17 Nick Clifton <nickc@cygnus.com>
2309 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2311 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2313 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2315 (debug_tag_type): Here too.
2316 * ieee.c (ieee_builtin_type): And here.
2317 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2319 2000-01-13 Nick Clifton <nickc@cygnus.com>
2321 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2324 2000-01-11 Nick Clifton <nickc@cygnus.com>
2326 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2328 2000-01-10 Nick Clifton <nickc@cygnus.com>
2330 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2332 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2334 * windres.c (long_options): Add --use-temp-file and
2335 --no-use-temp-file options.
2339 * windres.h: Update read_rc_file prototype.
2341 * resrc.c (cpp_temp_file): New static variable.
2342 (istream_type): New static variable.
2343 (close_pipe): Delete function.
2344 (run_cmd): New static function.
2345 (open_input_stream): New static function.
2346 (close_input_stream): New static function.
2347 (look_for_default): Handle DOS directory separator. Use
2348 open_input_stream instead of popen.
2349 (read_rc_file): Likewise.
2351 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2354 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2356 * dlltool.c (create_compat_implib): New variable.
2357 (gen_exp_file): Use.
2358 (make_one_lib_file): Use.
2359 (long_options): Add --compat-implib option.
2363 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2364 (main): Use. Don't look for "32" in cygwin and mingw target names.
2366 2000-01-03 Nick Clifton <nickc@cygnus.com>
2368 * binutils.texi: Document new, ARM specific disassembler
2369 command line switch "-M force-thumb".
2371 For older changes see ChangeLog-9899
2377 version-control: never