1 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
3 * rdcoff.c: Fix formatting.
11 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
13 * filemode.c: Fix formatting.
15 * is-ranlib.c: Likewise.
16 * is-strip.c: Likewise.
17 * maybe-ranlib.c: Likewise.
18 * maybe-strip.c: Likewise.
19 * nlmconv.c: Likewise.
21 * not-ranlib.c: Likewise.
22 * not-strip.c: Likewise.
23 * objcopy.c: Likewise.
24 * objdump.c: Likewise.
26 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
28 * objdump.c (dump_headers): Fix output formatting for ELF32
29 architectures in a BFD64 enabled toolchain.
31 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
33 * debug.c: Fix formatting.
35 * dlltool.c: Likewise.
36 * dllwrap.c: Likewise.
37 * emul_aix.c: Likewise.
38 * emul_vanilla.c: Likewise.
40 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
42 * addr2line.c: Fix formatting.
46 * binemul.c: Likewise.
47 * binemul.h: Likewise.
49 * coffdump.c: Likewise.
50 * coffgrok.c: Likewise.
51 * coffgrok.h: Likewise.
53 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
55 * MAINTAINERS: Add myself as the second AVR port maintainer.
57 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
59 * MAINTAINERS: Update my email address.
61 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
63 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
65 2002-05-09 Alan Modra <amodra@bigpond.net.au>
67 * configure.in: Replace `*pe' with `pe' throughout.
68 * configure: Regenerate.
70 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
72 * Makefile.am: Honour DESTDIR.
73 * Makefile.in: Regenerate.
75 2002-05-06 Alan Modra <amodra@bigpond.net.au>
77 * dlltool.c (process_def_file): Add missing prototype.
78 (new_directive, assemble_file, main): Likewise.
79 (process_def_file, new_directive): Make static.
80 (inform): Rewrite using VA_FIXEDARG.
81 * dllwrap.c (mybasename): Add missing prototype.
82 (strhash, main): Likewise.
83 (inform): Rewrite using VA_FIXEDARG.
85 (cleanup_and_exit): Use old style function definition.
87 * windres.c (define_resource): Use one memset to clear all of
90 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
91 call to rules that need no lookahead. Check for no lookahead.
93 2002-05-06 Borut Razem <borut.razem@siol.net>
95 * rclex.l (get_string): Correct "strings" list handling.
96 * resrc.c (read_rc_file): Discard strings.
98 2002-05-04 Alan Modra <amodra@bigpond.net.au>
100 * ar.c (replace_members): Remove unused var. Formatting fix.
101 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
103 * MAINTAINERS: Sort port maintainers by CPU.
105 2002-05-04 Bob Byrnes <byrnes@curl.com>
107 * size.c (display_archive): Add last_arfile and code to close archives.
109 2002-05-01 Alan Modra <amodra@bigpond.net.au>
111 * nm.c (print_symbol): Check returned filename from
112 bfd_find_nearest_line is non-NULL.
114 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
116 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
118 2002-04-24 Christian Groessler <chris@groessler.org>
120 * MAINTAINERS: Changed my email address.
122 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
124 * arparse.y: Fix syntax warning.
126 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
128 * readelf.c (fetch_location_list): Remove unused function.
130 * readelf.c (process_corefile_note_segment): Catch corrupt notes
131 and display a warning message, then exit the loop.
133 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
135 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
137 * resrc.c (write_rc_dialog): If charset is non-default value
138 display all of the DIALOGEX parameters.
140 2002-04-15 Eric Kohl <ekohl@rz-online.de>
142 * rcparse.y: Allow two to five parameter in FONT statement of
144 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
146 (res_to_bin_dialog): Likewise.
147 * windres.h: Added misssing charset variable to dialog_ex
150 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
152 * rcparse.y: Set MEMFLAG_PURE by default.
154 2002-04-09 Bernd Herd <info@herdsoft.com>
156 * rcparse.y: CLASS definitions in DIALOG resources
158 Fix typo in BEDIT warning.
159 Don't add default dialog style when explicit style specified.
160 Add WS_CAPTION dialog style if CAPTION is specified.
162 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
163 (handle_quotes) "\a" escape (used for right justified key
164 definitions in menus) is encodes as binary 8.
166 * resrc.c (write_rc_dialog): Print style even if it is 0.
167 (write_rc_directory): Fix overlooked sublang shift bug.
168 (bin_to_res_dialog): Don't print empty dialog caption.
170 * resbin.c (bin_to_res_dialog): Use signature to identify
173 * windres.c (main): Set default LANGUAGE to english/us.
175 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
177 * resrc.c: print CLASS names in quotes
179 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
181 * MAINTAINERS: Update my email address.
183 2002-04-04 Alan Modra <amodra@bigpond.net.au>
185 * dep-in.sed: Cope with absolute paths.
186 * Makefile.am (dep.sed): Subst TOPDIR.
188 * Makefile.in: Regenerate.
190 2002-03-27 Peter Targett <peter.targett@arc.com>
192 * MAINTAINERS: Update my email address.
194 2002-03-21 Alan Modra <amodra@bigpond.net.au>
196 * Makefile.am: Run "make dep-am".
197 * Makefile.in: Regenerate.
198 * doc/Makefile.in: Regenerate.
199 * po/POTFILES.in: Regenerate.
200 * aclocal.m4: Regenerate.
201 * config.in: Regenerate.
202 * configure: Regenerate.
204 2002-03-20 Daniel Berlin <dan@dberlin.org>
206 * readelf.c: Add support for displaying dwarf2 location lists.
207 (do_debug_loc, debug_loc_section, debug_loc_size): New.
208 (parse_args): Use 'O' as shorthand for displaying location list
210 (process_section_headers): Handle debug_loc as well.
211 (load_debug_loc): New.
212 (free_debug_loc): New.
213 (fetch_location_list): New.
214 (display_debug_loc): New.
215 (display_debug_info): Call load_debug_loc and free_debug_loc.
216 (debug_displays): We can display .debug_loc now, too.
217 (usage): Update usage string.
218 (read_and_display_attr_value): Note location lists, but don't
221 2002-03-18 Tom Rix <trix@redhat.com>
223 * Makefile.am: Add binutils emulation support.
224 * configure.in: Same.
225 * configure.tgt: New file. Same.
226 * ar.c (main): Use ar_emul_parse_arg.
227 (usage): Use ar_emul_usage.
228 (replace_members): Use ar_emul_replace, ar_emul_append.
229 * binemul.c: New file. Define the binutils emulation
230 layer. Define default methods.
231 * binemul.h: New file. Binutils emulation layer header file.
232 * emul_aix.c: New file. AIX binutils emulation.
233 * emul_vanilla.c: New file. Default binutils emulation.
234 * Makefile.in: Regenerate.
237 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
239 * po/fr.po: Updated version.
241 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
243 * po/fr.po: Updated version.
245 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
247 * README: Update some version numbers.
249 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
251 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
252 (Architecture Selection): Likewise.
254 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
256 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
257 generating .exp file.
259 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
261 * readelf.c (dump_relocations): Fix typo.
263 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
265 * NEWS: Mark 2.12 branch.
267 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
269 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
270 types for 64-bit MIPS. Narrow some fields for 80-char
272 (dump_relocations): Change spelling from 'unrecognised'
274 (decode_ARM_machine_flags): Likewise.
275 (parse_args): Likewise.
276 (read_and_display_attr_value): Likewise.
277 (display_debug_section): Likewise.
279 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
281 * NEWS: Mention support for MMIX.
283 2002-02-13 Matt Fredette <fredette@netbsd.org>
285 * readelf.c (get_machine_flags): Recognize EF_M68000.
287 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
289 * MAINTAINERS: Added self as MN10300 co-maintainer.
291 2002-02-12 Alan Modra <amodra@bigpond.net.au>
293 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
296 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
298 * MAINTAINERS: List myself as branch maintainer.
300 2002-02-11 Alan Modra <amodra@bigpond.net.au>
302 * configure: Regenerate.
303 * objcopy.c: Update copyright date.
304 * doc/Makefile.in: Regenerate.
306 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
308 * nlmconv.c: Back out localtime PARAMS change.
310 2002-02-11 Alan Modra <amodra@bigpond.net.au>
312 * objcopy.c (MKDIR): Define.
313 (copy_archive): Make name_list.name const. Use MKDIR.
314 Handle duplicate files in archives by making more temp dirs.
316 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
318 * coffdump.c: Include "getopt.h" after "bucomm.h"
319 so that macros are defined correctly.
320 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
321 prototype. Prototype main.
322 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
324 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
326 * MAINTAINERS: Added self as SH co-maintainer.
328 2002-02-05 Nick Clifton <nickc@redhat.com>
330 * po/tr.po: Updated translation.
332 2002-02-01 Alan Modra <amodra@bigpond.net.au>
334 * Makefile.am: Run "make dep-am"
335 * Makefile.in: Regenerate.
337 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
339 * nm.c (print_value): Mark abfd unused.
341 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
343 * unwind-ia64.c (unw_decoder): Change second argument
344 to unsigned int, to match function prototypes.
346 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
348 * objdump.c: Include "getopt.h" after "bucomm.h" so that
349 __GNU_LIBRARY__ will be defined.
352 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
354 * configure: Regenerated.
356 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
358 * doc/Makefile.am (install): Depend on install-info.
359 * doc/Makefile.in: Regenerate.
361 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
363 * objcopy.c (strip_usage): Document -d as an alias
366 * size.c (usage): Document [-t | --totals] options.
367 (long_options): Add --totals option.
368 (main): If the [-t | --totals] option is specified and
369 the output format is Berkeley-style, print the total
370 text, data, and bss sizes of all objects listed.
371 (print_berkeley_format): If the [-t | --totals] option
372 is specified, track the total text, data, and bss
374 * doc/binutils.texi (size): Document [-t | --totals] options.
375 (strip): Document -d as an alias for --strip-debug.
376 * NEWS: Mention new feature of size.
378 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
380 * po/fr.po: Updated version.
381 * po/es.po: Updated version.
383 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
385 * addr2line.c (usage): Update text to provide verbose
386 description of the command line options.
387 * ar.c (usage): Update text to provide verbose
388 description of the command line options.
389 (main): Accept -h and -H when running as ranlib.
390 * coffdump.c (show_usage): Update text to provide verbose
391 description of the command line options.
392 * dlltool.c (main): Accept -H as an alias for --help.
393 * nlmconv.c (show_usage): Update text to provide verbose
394 description of the command line options.
395 * nm.c (usage): Replace OPTIONS with option(s).
396 (main): Accept -H as an alias for --help.
397 * objcopy.c (strip_main): Accept -H as an alias for --help.
398 * objdump.c (main): Accept -v as an alias for --verbose.
399 * readelf.c (usage): Adjust format to match style used in
401 * size.c (usage): Update text to provide verbose description
402 of the command line options.
403 (main): Accept -v, -h and -H as command line options.
404 * srconv.c (show_usage): Update text to provide verbose
405 description of the command line options.
406 * strings.c (main): Accept -H and -v as command line options.
407 (usage): Update text to provide verbose description of the
408 command line options.
409 * sysdump.c (show_usage): Update text to provide verbose
410 description of the command line options.
411 * windres.c (usage): Adjust format to match style used in
414 * coffdump.c: Fix formatting.
415 * nlmconv.c: Fix formatting.
416 * srconv.c: Fix formatting.
417 * sysdump.c: Fix formatting.
419 2002-01-22 Alan Modra <amodra@bigpond.net.au>
421 * Makefile.am: Run "make dep-am".
422 * Makefile.in: Regenerate.
424 2002-01-18 Andreas Jaeger <aj@suse.de>
426 * version.c (print_version): Update year.
428 2002-01-17 Alan Modra <amodra@bigpond.net.au>
430 * readelf.c (get_machine_name): Handle EM_PPC64.
431 (guess_is_rela): Here too.
433 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
435 * po/binutils.pot: Regenerate.
436 * po/fr.po: Regenerate.
437 * po/tr.po: Regenerate.
439 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
441 * po/tr.po: Import new version.
443 2002-01-16 Alan Modra <amodra@bigpond.net.au>
445 * readelf.c (get_ppc64_dynamic_type): New.
446 (get_dynamic_type): Call it.
448 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
450 * objcopy.c (copy_usage): Use "options" instead of "switches".
451 (strip_usage): Use "options" instead of "switches".
452 * doc/binutils.texi (dlltool): Refer to "options" instead of
455 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
457 * MAINTAINERS: Add self as co-maintainer for the ARM code.
459 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
461 * po/es.po: Import from translation project.
462 * configure.in (ALL_LINGUAS): Add es.
463 * configure: Regenerate.
465 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
467 * readelf.c (get_netbsd_elfcore_note_type): Use
468 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
470 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
472 * readelf.c: Update copyright years.
473 (get_note_type): Return a const char *.
474 (get_netbsd_elfcore_note_type): New function.
475 (process_note): Use get_netbsd_elfcore_note_type to get
476 the note type string for NetBSD ELF core files.
478 2002-01-06 Steve Ellcey <sje@cup.hp.com>
480 * readelf.c (get_ia64_segment_type): Add support for macros.
481 (get_segment_type): Add support for IA64 specific macros.
483 2001-12-20 Julian v. Bock <julian@wongr.net>
485 * readelf.c (print_symbol): New function: Print a formatted symbol
486 name. If --wide is specified do not truncate it.
487 (dump_relocations): Use print_symbol() to print symbol names.
488 (process_symbol_table): Likewise.
489 (process_syminfo): Likewise.
490 (process_mips_specific): Likewise.
491 (usage): Document new feature of --wide switch.
492 * doc/binutils.texi (objdump): Document additional behaviour of
495 2001-12-18 Michael Snyder <msnyder@redhat.com>
497 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
498 (copy_object): Don't set the start address or flags of a core file.
499 (copy_section): Don't relocate a core file. Don't copy contents
500 if the input section has the contents flag set, but the output
501 section does not (which happens with the fake 'note' pseudo-
502 sections that BFD creates for corefiles).
504 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
506 * readelf.c (get_machine_flags): Recognize header flags for ABI and
507 ASE extensions. More robust code for ISA checking. Ignore empty fields
508 in header flags for GNU extensions.
510 2001-12-18 Alan Modra <amodra@bigpond.net.au>
512 * objcopy.c (copy_archive): Set output bfd format outside the loop.
514 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
516 * po/ja.po: Import from translation project.
517 * configure.in (ALL_LINGUAS): Add ja.
518 * configure: Regenerate.
520 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
522 * addr2line.c (main): Protoype.
523 * ar.c (main): Protoype.
524 * nm.c (main): Protoype.
525 * objcopy.c (main): Protoype.
526 * objdump.c (main): Protoype.
527 * size.c (main): Protoype.
528 * strings.c (main): Protoype.
530 2001-12-17 Alan Modra <amodra@bigpond.net.au>
532 * readelf.c (symtab_shndx_hdr): New global.
533 (SECTION_HEADER_INDEX): Define.
534 (SECTION_HEADER_NUM): Define.
535 (SECTION_HEADER): Define.
536 (GET_ELF_SYMBOLS): Pass two params rather than three.
537 (get_32bit_elf_symbols): Take file and section args. Read and
538 use SHT_SYMTAB_SHNDX.
539 (get_64bit_elf_symbols): Likewise.
540 (dump_relocations): Use SECTION_HEADER to index "section_headers".
541 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
542 Remember symtab_shdx_hdr.
543 (process_program_headers): Scan from index 1 for segment map.
544 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
546 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
547 (process_unwind): Likewise.
548 (process_version_sections): Likewise.
549 (process_symbol_table): Likewise.
550 (display_debug_info): Likewise.
551 (process_dynamic_segment): Fake up a symtab section for changed
553 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
554 (process_program_headers): Kill signed/unsigned warning.
555 (load_debug_str): Likewise.
556 (display_debug_info): Likewise.
558 2001-12-13 Jakub Jelinek <jakub@redhat.com>
560 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
562 2001-12-11 Alan Modra <amodra@bigpond.net.au>
564 * readelf.c (process_file_header): Print extended e_shnum and
565 e_shdtrndx values. Set elf_header values for same.
566 (get_32bit_section_headers): Add "num" arg to read "num" headers.
567 (get_64bit_section_headers): Likewise.
568 (process_section_headers): Update calls.
569 (get_file_header): Call get_32bit_section_headers or 64bit variant.
571 2001-12-10 Jakub Jelinek <jakub@redhat.com>
573 * objcopy.c (setup_section): Copy entsize.
575 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
577 * readelf.c (guess_is_rela): Add support for stormy16.
578 (dump_relocations): Likewise.
579 (get_machine_name): Likewise.
581 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
583 * dllwrap.c (main) Replace multiple strings describing a
584 single error with a single, newline escaped sentence to permit
585 better translation into foreign languages.
587 * readelf.c (get_elf_class): Remove internalionalisation of ELF
590 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
592 * strings.c (get_char): Initialize value.
594 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
596 * arlex.l: Silence compile warnings.
597 * arsup.h: Likewise. Fix formatting.
599 2001-12-04 Jakub Jelinek <jakub@redhat.com>
601 * strings.c: Include config.h before bfd.h.
602 (file_off): New type.
604 (print_strings): Use file_off instead of file_ptr. Print addresses
605 which don't fit into long correctly.
606 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
608 (strings_file): Use file_off instead of file_ptr. Use file_open.
609 * configure.in: Check for getc_unlocked.
610 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
612 * configure: Rebuilt.
613 * config.h.in: Rebuilt.
615 2001-11-29 H.J. Lu <hjl@gnu.org>
617 * bucomm.c (make_tempname): Revert the changes made on
618 2001-11-14 and 2001-11-12. They won't work with directories.
620 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
622 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
623 CFLAGS_FOR_TARGET to runtest in environment.
624 * Makefile.in: Rebuild.
625 * doc/Makefile.in: Rebuild.
627 2001-11-28 Mike Stump <mrs@wrs.com>
629 * objcopy.c (setup_section): Preserve SEC_RELOC when
630 --set-section-flags is used.
632 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
634 * readelf.c (do_debug_str): New variable.
635 (display_debug_str): New function: Display the contents of a
637 (load_debug_str): New function: Load in the contents of a
639 (free_debug_str): New function: Free the memory used by
641 (fetch_indirect_string): Retrieve a string from the .debug_str
644 (parse_args): Accept -ws.
645 (process_section_headers): Allow the display of the .debug_str
647 (read_and_display_attr_value): Use fetch_indirect_string. Show
648 offset into .debug_str section.
649 (display_debug_info): Use load_debug_str and free_debug_str.
650 (debug_displays): Add .debug_str.
651 * doc/binutils.texi: Document -ws.
653 2001-11-19 Andreas Jaeger <aj@suse.de>
655 * testsuite/binutils-all/objdump.exp: Add x86-64.
657 2001-11-15 Andreas Schwab <schwab@suse.de>
659 * readelf.c: Fix warnings without terminating newline.
661 2001-11-15 Alan Modra <amodra@bigpond.net.au>
663 * doc/binutils.texi (objdump): Document ppc -M options.
665 2001-11-14 Andreas Jaeger <aj@suse.de>
667 * doc/binutils.texi (objdump): Fix description to use x86-64.
669 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
671 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
672 not all systems provide mkstemp.
674 2001-11-14 Alan Modra <amodra@bigpond.net.au>
676 * doc/binutils.texi (objdump): Document x86 -M options.
678 2001-11-13 Keith Walker <keith.walker@arm.com>
680 * readelf.c (read_and_display_attr_value): New function to
681 handle DW_FORM_indirect.
682 (read_and_display_attr): Use it.
684 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
686 * readelf.c (display_debug_lines): Deal with unknown standard
687 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
690 2001-11-13 Timothy Wall <twall@alum.mit.edu>
692 * MAINTAINERS: Add self as tic54x maintainer. This target
693 includes the IBM C54XDSP clone.
695 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
697 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
699 2001-11-09 Jeffrey A Law (law@cygnus.com)
701 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
702 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
703 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
704 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
705 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
706 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
707 (unw_decode_b2, unw_decode_b3_b4): Likewise.
709 * readelf.c (get_elf_class): Fix ISO portability glitch.
710 (get_data_encoding, get_osabi_name, request_dump): Likewise.
712 2001-11-07 Jakub Jelinek <jakub@redhat.com>
714 * readelf.c (debug_str, debug_str_size): New.
715 (display_debug_abbrev): If no abbrevs were read, skip the CU.
717 (read_and_display_addr): Handle DW_FORM_strp.
718 (display_debug_info): Read .debug_str section if present,
719 so that DW_FORM_strp can be handled.
720 Fix test for non-existant .debug_abbrev section.
722 2001-11-05 Jakub Jelinek <jakub@redhat.com>
724 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
726 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
728 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
730 * MAINTAINERS: Add self as s390/s390x maintainer.
732 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
734 * MAINTAINERS: Add self as PPC XCOFF maintainer.
736 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
738 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
739 * configure: Regernate.
740 * po/fr.po: New file.
741 * po/tr.po: New file.
743 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
745 * MAINTAINERS: Add self as MMIX port maintainer.
746 * readelf.c: Include elf/mmix.h.
747 (guess_is_rela): MMIX is RELA.
748 (dump_relocations): Handle MMIX relocations.
749 * Makefile.am: Regenerate dependencies.
750 * Makefile.in: Regenerate.
752 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
754 * readelf.c (parse_args): Handle multiple options to the -w
757 2001-10-12 Jakub Jelinek <jakub@redhat.com>
759 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
760 LOPROC, LOOS and LOUSER.
762 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
764 * MAINTAINERS: Update my email address.
766 2001-10-03 Alan Modra <amodra@bigpond.net.au>
768 * doc/Makefile.in: Regenerate.
769 * configure: Regenerate.
771 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
773 * readelf.c (display_debug_line, display_debug_pubnames,
774 display_debug_info, display_debug_frames): Detect and warn
775 about 64-bit format entries.
776 (display_debug_aranges): Reword 64-bit warning.
777 (debug_displays): Add .debug_pubtypes as a known, but not yet
778 supported, debug section.
780 2001-10-02 Alan Modra <amodra@bigpond.net.au>
782 * coffdump.c (PROGRAM_VERSION): Delete.
783 (main <'V'>): Call print_version.
784 * srconv.c: Likewise.
785 * sysdump.c: Likewise.
786 * version.c (program_version): Remove.
787 (print_version): Use BFD_VERSION_STRING. Just print the current
788 year in copyright message.
789 * addr2line.c (program_version): Remove unused declaration.
790 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
791 place of BFD_VERSION.
792 * Makefile.am (Makefile): Depend on bfd/configure.in.
793 (cplus-dem.o): Depend on Makefile.
795 * Makefile.in: Regenerate.
797 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
799 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
800 format .debug_arange sections.
801 (main): Add missing prototype.
803 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
805 * Makefile.am: Update dependencies with "make dep-am".
806 * Makefile.in: Regenerate.
808 2001-09-28 Richard Henderson <rth@redhat.com>
810 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
812 2001-09-26 Alan Modra <amodra@bigpond.net.au>
814 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
816 (non_fatal): Likewise.
817 * objdump.c (objdump_sprintf): Likewise.
818 * readelf.c (error): Likewise.
821 2001-09-25 Jakub Jelinek <jakub@redhat.com>
823 * readelf.c (do_wide): New.
824 (options): Add --wide.
825 (usage, parse_args): Likewise.
826 (process_program_headers): Put each segment on a single line if
828 (process_section_headers): Put each section on a single line if
830 * doc/binutils.texi: Document it.
833 2001-09-25 Alan Modra <amodra@bigpond.net.au>
835 * readelf.c (print_vma): Print 8 digits of low hex value.
837 2001-09-24 Andreas Jaeger <aj@suse.de>
839 * nlmconv.c: Fix warnings about unused attributes and function
842 * strings.c: Add prototype for get_char.
844 2000-09-19 H.J. Lu <hjl@gnu.org>
846 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
847 $(srcdir)/cxxfilt.man.
848 * doc/Makefile.in: Rebuild.
850 2001-09-19 Alan Modra <amodra@bigpond.net.au>
852 * objcopy.c (copy_main): Correct rename-section string parsing.
853 Consolidate new_name parsing, and error messages.
855 2001-09-18 Bruno Haible <haible@clisp.cons.org>
857 * addr2line.c: Don't include <ctype.h>.
858 (main): For gettext, also set the LC_CTYPE locate facet.
859 * ar.c (main): Likewise.
860 * coffdump.c (main): Likewise.
861 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
862 (main): For gettext, also set the LC_CTYPE locate facet.
863 Use ISALNUM instead of isalpha/isdigit.
864 * dllwrap.c: Don't include <ctype.h>.
865 (main): For gettext, also set the LC_CTYPE locate facet.
866 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
867 (main): For gettext, also set the LC_CTYPE locate facet.
868 Use TOUPPER instead of islower/toupper.
869 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
870 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
871 Use TOUPPER instead of islower/toupper.
872 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
873 * objcopy.c (main): Likewise.
874 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
875 (disassemble_bytes): Use ISPRINT instead of isprint.
876 (dump_section_stabs): Use ISDIGIT instead of isdigit.
877 (dump_data): Use ISPRINT instead of isprint.
878 (main): For gettext, also set the LC_CTYPE locate facet.
879 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
880 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
881 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
882 Use TOUPPER instead of islower/toupper.
883 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
884 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
885 (write_rc_accelerators): Use ISPRINT instead of isprint.
886 (write_rc_rcdata): Likewise.
887 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
888 * srconv.c (main): Likewise.
889 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
890 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
891 isdigit/isupper/islower.
892 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
893 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
894 stab_demangle_prefix, stab_demangle_qualified,
895 stab_demangle_template, stab_demangle_type,
896 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
897 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
898 (isgraphic): Use ISPRINT instead of isascii/isprint.
899 (main): Remove HAVE_LC_MESSAGES dependency.
900 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
901 (pbarray): Use ISPRINT instead of isprint.
902 (main): For gettext, also set the LC_CTYPE locate facet.
903 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
904 (format_from_filename): Use ISPRINT instead of isprint.
905 (main): For gettext, also set the LC_CTYPE locate facet.
906 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
907 (unicode_print): Use ISPRINT instead of isprint.
908 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
909 (stab_variable): Use ISDIGIT instead of isdigit.
911 2001-09-18 Alan Modra <amodra@bigpond.net.au>
913 * ar.c (print_contents): Cast args of bfd_seek to the right types.
914 Replace bfd_read call with call to bfd_bread.
915 (extract_file): Likewise.
917 * objdump.c (dump_section_header): Cast section->filepos to
918 unsigned long to suit printf format string.
919 * readelf.c (process_section_headers): Similarly for sh_offset.
920 (process_unwind): Likewise.
922 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
924 * strings.c (encoding, encoding_bytes): New variables.
925 (long_options): Add --encoding.
926 (main): Accept -e and --encoding.
927 (get_char): New function. Read a, possibly wide, character from
929 (print_strings): Use get_char().
930 (usage): Document new command line option.
931 * doc/binutils.texi: Document new command line option.
932 * NEWS: Announce new command line option.
934 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
936 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
937 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
938 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
939 Removed EM_CYGNUS_ARC.
941 2001-09-04 Jeffrey A Law (law@cygnus.com)
943 * readelf.c: Include elf/h8 for H8 series definitions.
944 (guess_is_rela): H8 series if RELA.
945 (dump_relocations): Handle H8 series relocations.
947 2001-08-31 Eric Christopher <echristo@redhat.com>
949 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
951 2001-08-29 Peter Targett <peter.targett@arccores.com>
953 * MAINTAINERS: Include ARC Maintainer.
955 2001-08-29 Ben Elliston <bje@redhat.com>
957 * stabs.c (stab_demangle_template): Initialise s4.
959 2001-08-27 Alan Modra <amodra@bigpond.net.au>
961 * readelf.c (dump_relocations): Recognise EM_PPC64.
963 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
965 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
967 2001-08-25 H.J. Lu <hjl@gnu.org>
969 * nm.c (print_width): New.
970 (display_rel_file): Set `print_width' according to
972 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
974 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
976 * objcopy.c (use_alt_mach_code): New variable.
977 (OPTION_ALT_MACH_CODE): Define.
978 (copy_options): Added --alt-machine-code.
979 (copy_main): Handle it.
980 (copy_object): Switch to alternate machine code if requested.
981 * doc/binutils.texi: Document new option.
984 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
986 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
988 2001-08-21 H.J. Lu <hjl@gnu.org>
990 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
991 (display_debug_info): Cast for 64bit hosts.
992 (display_debug_frames): Likewise.
993 (process_mips_specific): Likewise.
995 2001-08-21 Andreas Jaeger <aj@suse.de>
997 * coffgrok.h: Add missing parameter for prototype of coff_grok.
999 * sysdump.c: Add missing prototypes.
1000 * srconv.c: Likewise.
1001 * unwind-ia64.c: Likewise.
1002 * coffdump.c: Likewise.
1004 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1006 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1007 of declaring xcalloc.
1009 2001-08-10 H.J. Lu <hjl@gnu.org>
1011 * nm.c (print_value): Add one arg, bfd *.
1012 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1013 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1014 (print_symbol_info_sysv): Likewise.
1015 (print_symbol_info_posix): Likewise.
1017 * objdump.c (dump_section_header): Replace printf_vma with
1019 (print_section_stabs): Likewise.
1020 (dump_bfd_header): Likewise.
1021 (objdump_print_value): Replace sprintf_vma with
1023 (disassemble_bytes): Likewise.
1024 (dump_reloc_set): Likewise.
1026 2001-08-10 Andreas Jaeger <aj@suse.de>
1028 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1030 * configure: Regenerate.
1032 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1034 * readelf.c: Add missing prototypes.
1035 * objdump.c: Likewise. Format existing prototypes.
1037 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1039 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1040 of any RELA relocation for the abbrev_offset memory location that
1041 refers to the .debug_abbrev section symbol.
1043 2001-08-07 H.J. Lu <hjl@gnu.org>
1045 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1046 (main): Return process_file ().
1048 2001-08-05 Philip Blundell <philb@gnu.org>
1050 * doc/binutils.texi: Use "Thumb" not "THUMB".
1052 2001-08-03 John Healy <jhealy@redhat.com>
1054 Patch suggested by Frank Eigler <fche@redhat.com>.
1055 * objdump.c (disassemble_data): Fill in section member of the
1056 disasm_info structure.
1058 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1060 * configure.in: Added --with-windres option.
1061 * configure: Regenerated.
1063 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1065 * doc/binutils.texi: Use @command{name} for commands;
1066 use @option{-opt} for options; use @table @env for list of options;
1067 remove spaces arround [ | ] in synopsis.
1069 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1072 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1074 * objcopy.c: Fix formatting.
1075 (section_rename): New structure.
1076 (OPTION_RENAME_SECTION): New switch.
1077 (copy_usage): Document new switch.
1078 (add_section_rename): New function: Add a node to the section
1080 (find_section_rename): New function: Find the new name and
1081 flags for a section.
1082 (setup_section): Call find_section_name to determine the name
1083 of the output section.
1084 (copy_main): Handle OPTION_RENAME_SECTION.
1085 * binutils.texi: Document new switch.
1086 * NEWS: Mention new switch.
1088 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1090 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1091 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1092 bug-binutils@gcc.org.
1094 2001-07-28 Matthias Kramm <kramm@quiss.org>
1096 * bucomm.c (list_supported_architectures): New function.
1097 * bucomm.h (list_supported_architectures): Declare.
1098 * objdump.c (usage): Call the above.
1100 2001-07-25 Dave Brolley <brolley@redhat.com>
1102 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1103 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1105 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1107 * README: Update for 2.11. Change bug reporting email address.
1108 * MAINTAINERS: Tidy up. Change bug reporting email address.
1110 2001-07-16 DJ Delorie <dj@redhat.com>
1112 * resres.c (write_res_header): Align header size.
1113 (res_align_file): Calculate alignment correctly.
1115 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1117 * resrc.c (write_rc_resource): Likewise.
1118 * windres.h (SUBLANG_SHIFT): Define - as 10.
1120 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1122 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1124 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1126 * MAINTAINERS: Add notes about branch checkins.
1128 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1130 * readelf.c (display_debug_macinfo): New function, display
1131 .debug_macinfo section.
1132 (do_debug_macinfo): New variable.
1133 (parse_args): Handle "-w[mM]" to mean display macro info.
1134 (process_section_headers): Handle debug_macinfo.
1135 (debug_displays): Replace unsupported function with macinfo
1136 function for .debug_macinfo display.
1137 * doc/binutils.texi: Document new command line switch.
1138 * NEWS: Document new feature of readelf.
1140 2001-07-05 H.J. Lu <hjl@gnu.org>
1142 * objcopy.c (filter_symbols): Don't turn undefined symbols
1145 2001-07-03 H.J. Lu <hjl@gnu.org>
1147 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1150 (dlltool.1): Likewise.
1151 (nlmconv.1): Likewise.
1153 (objcopy.1): Likewise.
1154 (objdump.1): Likewise.
1155 (ranlib.1): Likewise.
1156 (readelf.1): Likewise.
1158 (strings.1): Likewise.
1159 (strip.1): Likewise.
1160 (windres.1): Likewise.
1161 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1162 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1165 * doc/Makefile.in: Regenerated.
1167 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1169 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1171 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1173 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1175 2001-06-29 James Cownie <jcownie@etnus.com>
1177 * readelf.c: Support DWARF 2.1 attributes.
1179 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1181 * readelf.c (GET_DATA_ALLOC): Remove.
1183 (get_data): New function combining above macros, with an extra
1185 (slurp_rela_relocs): Use get_data, and catch error return.
1186 (slurp_rel_relocs): Likewise.
1187 (get_32bit_program_headers): Likewise.
1188 (get_64bit_program_headers): Likewise.
1189 (get_32bit_section_headers): Likewise.
1190 (get_64bit_section_headers): Likewise.
1191 (get_32bit_elf_symbols): Likewise.
1192 (get_64bit_elf_symbols): Likewise.
1193 (process_section_headers): Likewise.
1194 (process_relocs): Likewise.
1195 (slurp_ia64_unwind_table): Likewise.
1196 (process_unwind): Likewise.
1197 (get_32bit_dynamic_segment): Likewise.
1198 (get_64bit_dynamic_segment): Likewise.
1199 (process_dynamic_segment): Likewise.
1200 (process_version_sections): Likewise.
1201 (process_symbol_table): Likewise.
1202 (dump_section): Likewise.
1203 (display_debug_info): Likewise.
1204 (display_debug_section): Likewise.
1205 (process_section_contents): Likewise.
1206 (process_corefile_note_segment): Likewise.
1207 (process_mips_specific): Likewise. Also free econf32, econf64.
1209 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1211 * readelf.c (dump_relocations): Print "bad symbol index" if
1212 symtab == NULL with non-zero symtab_index.
1213 (process_relocs): Don't bomb if reloc section has no symsec.
1215 2001-06-24 H.J. Lu <hjl@gnu.org>
1217 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1219 (copy_main): Apply the the change made to strip_main on
1220 2001-05-30 by accident.
1222 2001-06-23 Andreas Jaeger <aj@suse.de>
1224 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1226 (unw_decode_x2): Likewise.
1227 (unw_decode_x3): Likewise.
1228 (unw_decode_x4): Likewise.
1230 2001-06-23 Ben Elliston <bje@redhat.com>
1232 * MAINTAINERS: Add myself as M88k maintainer.
1234 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1236 * objcopy.c (strip_main): Support -o or --output-file command lien
1239 2001-06-19 H.J. Lu <hjl@gnu.org>
1241 * doc/Makefile.in: Regenerated.
1243 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1245 * readelf.c: Restore formatting.
1247 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1249 * Makefile.am: Move documentation into doc subdirectory.
1250 * Makefile.in: Regenerated.
1251 * binutils.texi: Move into doc subdirectory.
1252 * addr2line.1: Removed.
1254 * dlltool.1: Likewise.
1255 * nlmconv.1: Likewise.
1257 * objcopy.1: Likewise.
1258 * objdump.1: Likewise.
1259 * ranlib.1: Likewise.
1260 * readelf.1: Likewise.
1262 * strings.1: Likewise.
1263 * strip.1: Likewise.
1264 * windres.1: Likewise.
1265 * cxxfilt.man: Likewise.
1266 * doc: New Directory.
1267 * doc/Makefile.am: New file.
1268 * doc/Makefile.in: Generate.
1270 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1272 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1274 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1276 * MAINTAINERS: Update my email address.
1278 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1280 * objcopy.c: Add new switches: --keep-global-symbol,
1281 --keep-symbols, --localize-symbols, --keep-global-symbols and
1283 * binutils.texi: Document new switches.
1284 * objcopy.1: Regenerate.
1285 * NEWS: Announce new feature.
1287 2001-05-28 Andreas Jaeger <aj@suse.de>
1289 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1290 variables, fix format strings.
1292 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1294 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1295 when computing the address of the line to show.
1297 2001-05-16 Richard Henderson <rth@redhat.com>
1299 * readelf.c (do_debug_frames_interp): New.
1300 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1301 (byte_get_big_endian): Likewise.
1302 (parse_args) ['F']: Set do_debug_frames_interp.
1303 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1304 (frame_display_row): Don't trunc pc_begin to int.
1305 (size_of_encoded_value): New.
1306 (display_debug_frames): Handle 64-bit targets. Print raw data
1307 unless do_debug_frames_interp.
1308 (debug_displays): Remove duplicate .debug_frame.
1310 2001-05-15 Ralf Baechle <ralf@gnu.org>
1312 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1313 The former constant was never in active use and is used otherwise
1316 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1318 * readelf.c (process_unwind): Print all unwind sections, not just
1321 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1323 * readelf.c (process_unwind): Remove const specifier.
1325 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1327 * strings.c (isgraphic): Do not use isascii() unless it is needed
1328 for isprint() to work.
1329 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1331 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1333 * NEWS: Announce support for OpenRISC.
1335 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1337 * dlltool.c (do_default_excludes): Initialise to true.
1339 2001-04-10 Alan Modra <amodra@one.net.au>
1341 * MAINTAINERS: Update my email address
1342 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1344 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1346 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1348 2001-03-30 H.J. Lu <hjl@gnu.org>
1350 * readelf.c (process_unwind): Just return if do_unwind is 0.
1352 2001-03-28 Roger Sayle <roger@metaphorics.com>
1354 * dlltool.c (make_one_lib_file): Fix section flags for
1355 .text, .data and .bss in stub ds*.o files to match those
1358 2001-03-29 H.J. Lu <hjl@gnu.org>
1360 * readelf.c (process_unwind): Only do unwind sections for
1363 2001-03-28 H.J. Lu <hjl@gnu.org>
1365 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1366 * Makefile.in: Regenerate.
1368 2001-03-26 Andreas Jaeger <aj@suse.de>
1370 * binutils.texi (nm): Fix texi syntax.
1372 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1374 * binutils.texi: Put @c man begin and @c man end indications
1375 to generate man pages using texi2pod and pod2man. Put @c man title
1376 to identify each man. Add SEEALSO entries.
1377 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1378 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1380 (*.1): Build the man pages from binutils.texi.
1381 * Makefile.in: Regenerate.
1383 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1385 * defparse.y (opt_equal_name): allow "." in name.
1386 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1387 (gen_exp_file): Likewise.
1389 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1391 * NEWS: Document addition of -B switch to objcopy.
1392 * binutils.texi: Document addition of -B switch to objcopy.
1393 * objcopy.c: (copy_options): Add --binary-architecture.
1394 (copy_usage): Document -B/--binary-architecture.
1395 (copy_main): Support -B/--binary-architecture. Set
1396 bfd_external_binary_architecture.
1398 2001-03-11 Andreas Jaeger <aj@suse.de>
1400 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1401 (dump_relocations): Likewise.
1402 (get_machine_name): Likewise.
1404 2001-02-28 Nick Clifton <nickc@redhat.com>
1406 * readelf.c: (struct unw_aux_info): Remove const modifier for
1408 (process_unwind): Remove non-K&R compliant LHS type cast in call
1409 to GET_DATA_ALLOC macro.
1411 2001-02-28 Philip Blundell <pb@futuretv.com>
1413 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1414 ABI is in use; remove ambiguity between the "unknown" EABI and
1415 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1416 renamed EF_xx constants.
1418 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1420 * configure.in (BFD_VERSION): New.
1421 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1422 * configure: Regenerate.
1423 * Makefile.am: Run "make dep-am"
1424 * Makefile.in: Regenerate.
1426 2001-02-14 Nick Clifton <nickc@redhat.com>
1428 * MAINTAINERS: Add "Obvious Fix" rule.
1430 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1432 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1433 literal concatenation.
1435 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1437 * readelf.c (struct unw_aux_info): Remove const from the info member.
1438 (process_unwind): Don't type-cast the third argument to the
1439 GET_DATA_ALLOC macro.
1441 2001-02-11 Nick Clifton <nickc@redhat.com>
1443 * readelf.c (dump_relocations): Free corrected allocated
1445 (process_unwind): Fix compile time warning.
1447 2001-02-10 Nick Clifton <nickc@redhat.com>
1449 * binutils.texi: Document new --unwind option to readelf.
1451 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1453 * readelf.c: Add linux target for S/390.
1455 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1457 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1460 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1462 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1463 * aclocal.m4: Regenerate.
1464 * configure: Regenerate.
1466 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1468 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1469 * objdump.c (bfd_target_vector): Likewise.
1471 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1473 * readelf.c (process_unwind): New function.
1474 (slurp_ia64_unwind_table): Ditto.
1475 (dump_ia64_unwind): Ditto.
1476 (find_symbol_for_address): Ditto.
1477 (slurp_rela_relocs): New function (split off from dump_relocations()).
1478 (slurp_rel_relocs): Ditto.
1479 (parse_args): Handle '-u' option.
1481 * unwind-ia64.c: New file.
1482 * unwind-ia64.h: New file.
1483 * Makefile.am: Include unwind-ia64.c in readelf build.
1484 * Makefile.in: Regenerate.
1485 * po/binutils.pot: Regenerate.
1487 2001-02-04 Philip Blundell <philb@gnu.org>
1489 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1490 * configure: Regenerate.
1492 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1494 * ieee.c (ieee_add_bb11): Don't check for backslashes
1495 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1497 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1499 * ieee.c: Update copyright.
1500 (ieee_start_compilation_unit): Don't check for backslashes
1501 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1503 * stabs.c: Update copyright. Include "filenames.h".
1504 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1506 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1508 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1509 sections are present before using them. Remove code duplication.
1510 (process_symbol_table): Check if VERDEF or VERNEED sections are
1511 present before using them.
1513 2001-01-17 Nick Clifton <nickc@redhat.com>
1515 * objcopy.c (copy_object): Fail if attempting to convert the
1516 endianness of the input object file.
1518 * binutils.texi: Explain that objcopy cannot convert endianness.
1520 2001-01-16 Nick Clifton <nickc@redhat.com>
1522 * readelf.c (string_table_length): New variable.
1523 (SECTION_NAME): Catch out of range indices and missing section
1525 (process_section_headers): Delete useless local variable
1526 string_table_offset. Set the value of string_table_length
1527 after loading the string table.
1528 (process_mips_specific): Use SECTION_NAME macro.
1529 (process_file): Set string_table_length to 0 when it is freed.
1531 2001-01-12 Nick Clifton <nickc@redhat.com>
1533 * version.c (print_version): Update copyright date.
1535 2001-01-11 Peter Targett <peter.targett@arccores.com>
1537 * readelf.c (dump_relocations): Include selection with EM_ARC.
1538 (get_machine_name) Update name to "ARC".
1540 2001-01-09 Nick Clifton <nickc@redhat.com>
1542 * Makefile.am: Add rule to build objdump.o from objdump.c and
1544 * Makefile.in: Regenerate.
1546 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1547 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1548 -DDISASSEMBLER_NEEDS_RELOCS.
1549 * configure: Regenerate.
1551 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1552 is defined read in the relocs even if dump_reloc_info is
1555 2001-01-07 Philip Blundell <philb@gnu.org>
1557 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1561 2000-12-19 Nick Clifton <nickc@redhat.com>
1563 * dlltool.c: Add missing support for arm-epoc-pe.
1564 * configure.in: Add missing support for arm-epoc-pe.
1565 * configure: Regenerate.
1567 2000-12-15 Nick Clifton <nickc@redhat.com>
1569 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1570 Mode parts of the x86 port.
1572 2000-12-04 Andreas Jaeger <aj@suse.de>
1574 * readelf.c (guess_is_rela): Add EM_X86_64.
1575 (dump_relocations): Add EM_X86_64.
1576 (get_machine_name): Add EM_X86_64.
1577 Include "elf/x86-64.h".
1579 2000-12-12 Nick Clifton <nickc@redhat.com>
1581 * readelf.c: Fix formatting.
1583 2000-12-11 Jan Hubicka <jh@suse.cz>
1585 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1587 2000-12-07 Andrew Haley <aph@redhat.com>
1589 * readelf.c (display_debug_frames): Only display columns that are
1590 referenced by the frame debug info.
1592 2000-12-05 Nick Clifton <nickc@redhat.com>
1594 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1596 2000-12-04 Jason Merrill <jason@redhat.com>
1598 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1599 (display_debug_section): Likewise.
1600 (display_debug_info): Display CU header before bailing.
1602 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1604 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1605 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1606 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1608 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1611 * readelf.c (get_machine_flags): Add case for
1614 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1616 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1618 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1620 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1621 Change sourceware.cygnus.com to sources.redhat.com.
1622 Fix typo for "amongst".
1624 2000-11-28 Nick Clifton <nickc@redhat.com>
1626 * strip.1 (COPYING): Mention that the GNU Free Documentation
1627 License is present in the sources, but not the output, and
1628 also available from the GNU website.
1629 (GNU Free Documentation License): Comment out this section.
1638 * addr2line.1: Ditto.
1640 2000-11-27 DJ Delorie <dj@redhat.com>
1642 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1643 (parse_args): Support -wf option.
1644 (process_section_headers): Ditto.
1645 (debug_displays): Ditto.
1646 (display_debug_frames): New, dump *_frame sections.
1647 (frame_need_space): Support for above.
1648 (frame_display_row): Ditto.
1649 * binutils.texi: Document it.
1651 2000-11-24 Nick Clifton <nickc@redhat.com>
1653 * NEWS: Announce support for v5t, v5te and XScale.
1655 2000-11-22 Nick Clifton <nickc@redhat.com>
1657 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1658 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1659 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1660 (get_elf_section_flags: Add SHF_GROUP.
1661 (process_section_headers): Adjust output for 32-bit binaries
1662 to look nice on an 80 column terminal.
1664 2000-11-20 H.J. Lu <hjl@gnu.org>
1666 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1669 2000-11-17 Richard Henderson <rth@redhat.com>
1671 * readelf.c (display_debug_lines): Adjust last change to
1672 use sizeof (external->li_length).
1674 2000-11-17 Richard Henderson <rth@redhat.com>
1676 * readelf.c (display_debug_lines): Fix section length check
1677 and end_of_sequence computation.
1679 2000-11-06 Nick Clifton <nickc@redhat.com>
1681 * binutils.texi: Add GNU Free Documentation License.
1682 * objcopy.1: Add GNU Free Documentation License.
1683 * objdump.1: Add GNU Free Documentation License.
1684 * addr2line.1: Add GNU Free Documentation License.
1685 * ar.1: Add GNU Free Documentation License.
1686 * nlmconv.1: Add GNU Free Documentation License.
1687 * nm.1: Add GNU Free Documentation License.
1688 * ranlib.1: Add GNU Free Documentation License.
1689 * size.1: Add GNU Free Documentation License.
1690 * strings.1: Add GNU Free Documentation License.
1691 * strip.1: Add GNU Free Documentation License.
1693 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1695 * objcopy.c (--srec-len=nn): New parameter to set the
1696 maximum length of generated Srecords.
1697 (--srec-forceS3): New parameter that restricts the generation of
1698 Srecords to type S3 only.
1699 * binutils.texi: Document new command line switches.
1700 * objcopy.1: Docuemnt the new command line switches.
1701 * NEWS: Announce the existence of the new command line switches.
1703 2000-10-31 Nick Clifton <nickc@redhat.com>
1705 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1706 code. Add Eric Chrisopher as maintainer of MN10300 port.
1708 2000-10-12 Roger Sayle <roger@metaphorics.com>
1710 * Make comma after string after icon/control optional.
1712 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1714 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1716 * NEWS: Mention support for MIPS32.
1718 2000-09-08 Nick Clifton <nickc@redhat.com>
1720 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1722 2000-09-07 H.J. Lu <hjl@gnu.org>
1724 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1725 * configure: Rebuild.
1727 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1729 * configure: Rebuilt with new libtool.m4.
1731 2000-09-05 Nick Clifton <nickc@redhat.com>
1733 * aclocal.m4: Regenerate.
1734 * config.in: Regenerate.
1735 * configure: Regenerate.
1737 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1739 * strip.1: Fix stray '\' in -o formatting.
1741 2000-09-02 Nick Clifton <nickc@redhat.com>
1743 * configure.in: Increase version number to 2.10.91.
1744 * configure: Regenerate.
1745 * aclocal.m4: Regenerate.
1746 * config.in: Regenerate.
1747 * po/binutils.pot: Regenerate.
1749 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1751 * acinclude.m4: Include libtool and gettext macros from the
1753 * aclocal.m4, configure: Rebuilt.
1755 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1757 * resrc.c (close_input_stream): Delete extraneous logic
1759 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1761 * NEWS: Mention support for CRIS.
1763 2000-08-21 Nick Clifton <nickc@redhat.com>
1765 * addr2line.c: Changed email address for Ulrich Lauther.
1767 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1769 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1771 2000-08-17 Nick Clifton <nickc@redhat.com>
1773 * readelf.c (display_debug_pubnames): Only issue warning
1774 message once. Terminate message with a new line.
1775 (display_debug_aranges): Only display version 2 debug info.
1777 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1779 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1780 for compatability with old BSD systems.
1782 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1784 * NEWS: Mention i860 support.
1786 2000-08-11 Carlo Wood <carlo@alinoe.com>
1788 * addr2line.c (main): Add const to char *.
1790 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1792 * ar.c (main): Don't crash if called with no arguments
1793 or only '-X32_64' as an argument.
1795 2000-08-08 DJ Delorie <dj@redhat.com>
1797 * resrc.c: use "gcc -xc" instead of -xc-header
1799 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1801 * readelf.c (elf/i860.h): Include.
1802 (dump_relocations): Add recognition of i860 architecture.
1803 (guess_is_rela): Add recognition of i860 architecture.
1805 2000-08-03 Nick Clifton <nickc@cygnus.com>
1807 * MAINTAINERS: Add information about CGEN maintainers.
1809 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1811 * nm.c (main): Ignore '-X32_64' as an option.
1812 * ar.c (main): Likewise.
1813 * binutils.texi (nm): Document new option.
1816 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1818 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1820 2000-07-20 H.J. Lu <hjl@gnu.org>
1822 * binutils.texi: Put back "@end table" deleted by
1825 2000-07-05 Kenneth Block <krblock@computer.org>
1827 * nm.c: Add optional style to demangle switch.
1828 * objdump.c: Add optional style to demangle switch.
1829 * addr2line.c: Add optional style to demangle switch.
1830 * binutils.texi: Document optional style to demangle
1833 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1835 * MAINTAINERS: Add self as CRIS port maintainer.
1836 * readelf.c: Include elf/cris.h.
1837 (guess_is_rela): Handle EM_CRIS.
1838 (dump_relocations): Ditto.
1839 (get_machine_name): Ditto.
1840 * Makefile.am: Rebuild dependencies.
1841 * Makefile.in: Regenerate.
1842 * po/binutils.pot: Regenerate.
1844 2000-07-19 H.J. Lu <hjl@gnu.org>
1846 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1848 (process_dynamic_segment): Print out strings for DT_CONFIG,
1849 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1851 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1853 * nm.c (usage): Change output of `nm --help' to include a
1854 description of the purpose of the program and a detailed
1855 description of the accepted options.
1857 2000-07-19 H.J. Lu <hjl@gnu.org>
1859 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1862 2000-07-19 H.J. Lu <hjl@gnu.org>
1864 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1866 2000-07-19 H.J. Lu <hjl@gnu.org>
1868 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1870 (process_dynamic_segment): Likewise.
1872 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1873 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1874 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1875 DF_1_NODUMP and DF_1_CONLFAT.
1877 2000-07-18 Nick Clifton <nickc@cygnus.com>
1879 * binutils.texi (readelf): Fix spelling typo.
1881 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1883 * objdump.c (usage): Make output of `objdump --help' more
1884 consistent with the rest of the GNU world. Add a line describing
1885 the purpose of the program.
1887 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1889 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1892 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1894 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1896 (process_symbol_table): Ditto.
1897 (procesS_extended_line_op): Ditto.
1898 (display_debug_lines): Ditto.
1899 (display_debug_pubnames): Ditto.
1900 (read_and_display_attr): Ditto.
1902 2000-07-09 Nick Clifton <nickc@cygnus.com>
1904 * MAINTAINERS: Add several more port specific maintainers.
1906 2000-07-05 Nick Clifton <nickc@cygnus.com>
1908 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1910 2000-06-05 DJ Delorie <dj@redhat.com>
1914 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1916 * dllwrap.c: Changed mistaken dyn_string_append() calls
1917 to dyn_string_append_cstr().
1919 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1921 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1922 struct debug_type stores size in bytes.
1924 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1926 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1927 (CLEANFILES): Add DEPA.
1928 * Makefile.in: Regenerate.
1930 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1932 * ar.c: Revert incorrect 2000-06-25 patch.
1933 * bucomm.c: Likewise.
1935 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1937 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1938 (external_coff_symbol_p): New function.
1939 (parse_coff): Use it.
1941 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1943 * ar.c (normalize): Advance past both characters in a DOS based
1944 <letter>: filepath prefix.
1946 * bucomm.c (make_tempname): Likewise.
1948 2000-06-24 Nick Clifton <nickc@cygnus.com>
1950 * objdump.c (usage): Fix description of --stabs switch.
1952 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1954 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1956 * Makefile.in: Regenerate.
1958 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1960 * ar.c (normalize): Correct pointer comparison when checking for
1963 * bucomm.c (make_tempname): Likewise.
1965 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1966 and search for backslashes in the original pathname.
1967 (ieee_add_bb11): Likewise.
1969 2000-06-18 Nick Clifton <nickc@redhat.com>
1971 * ar.c (print_contents): Improve verbose message.
1973 2000-06-15 H.J. Lu <hjl@gnu.org>
1975 * dyn-string.c: Removed. Not needed with dyn-string.c in
1977 * dyn-string.h: Likewise.
1979 * Makefile.am: Remove references to dyn-string.c and
1980 dyn-string.h. Rebuild dependency.
1981 * Makefile.in: Rebuild.
1983 2000-06-15 H.J. Lu <hjl@gnu.org>
1985 * binutils.texi: Put a warning on copying relocatable object
1986 files between two different formats.
1988 2000-06-13 DJ Delorie <dj@cygnus.com>
1990 * rcparse.y (control): ICON controls take an id as the first
1991 parameter, not an optional string. Also, call new convenience
1992 function that takes res_id's.
1993 * resrc.c (define_control): missing text means zero-length string,
1995 (define_icon_control): New.
1996 * windres.h: declare define_icon_control.
1998 2000-06-13 H.J. Lu <hjl@gnu.org>
2000 * configure: Regenerate.
2002 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2004 * configure.in (VERSION): Update to show this is the CVS mainline.
2006 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2008 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2009 analogous to <SPACE>.
2011 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2013 * objdump.c (display_target_list): Use bfd_close_all_done, not
2014 bfd_close to fix crash caused by 2000-05-24 change.
2016 2000-05-25 DJ Delorie <dj@cygnus.com>
2018 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2020 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2022 * Makefile.am: Update dependencies with "make dep-am"
2023 * Makefile.in: Regenerate.
2025 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2027 * ar.c: Include filenames.h.
2028 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2029 and drive letters in file names.
2030 (main): Support backslashes and drive letters in argv[0]. Drop
2031 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2032 FILENAME_CMP instead of strcmp to compare file names.
2033 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2035 (do_quick_append) [__GO32__]: Ditto.
2036 (get_pos_bfd, delete_members, move_members, replace_members):
2037 Compare file names with FILENAME_CMP.
2039 * bucomm.c: Include filenames.h.
2040 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2041 forward/backward slashes and drive letters in file names.
2043 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2044 mixed forward/backward slashes and drive letters in file names.
2046 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2047 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2050 * objcopy.c: Include filenames.h.
2051 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2052 before comparing to "strip".
2053 Use FILENAME_CMP to compare file names.
2055 * arsup.c: Include filenames.h.
2056 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2057 FILENAME_CMP to compare file names.
2058 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2059 the temporary file name.
2061 * configure.in: Check for setmode.
2062 * configure: Regenerate.
2064 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2066 * objdump.c (display_target_list): Close the bfd.
2067 (display_info_table): Likewise.
2069 2000-05-14 H.J. Lu (hjl@gnu.org)
2071 * objcopy.c (filter_symbols): Don't strip global symbols in
2072 relocatable object files.
2074 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2076 * size.c (usage): Associate short options with corresponding long
2077 option to give a clue as to their function.
2079 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2081 * size.c (main): Accept and ignore `-f' option.
2083 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2085 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2086 bindtextdomain): Replace defines with those from intl/libgettext.h
2087 to quieten gcc warnings.
2089 2000-05-12 H.J. Lu <hjl@gnu.org>
2091 * nlmconv.c (temp_filename): Removed.
2093 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2094 choose_temp_base ().
2095 * objdump.c (display_target_list): Likewise.
2096 (display_info_table): Likewise.
2098 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2100 * objcopy.c (setup_section): Add const and gettext calls for err.
2102 2000-05-02 H.J. Lu <hjl@gnu.org>
2104 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2105 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2106 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2107 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2108 and ELFOSABI_OPENBSD.
2110 2000-05-02 Kazu Hirata <kazu@hxi.com>
2112 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2113 * srconv.c: Likewise.
2114 * sysdump.c: Likewise.
2116 2000-04-23 Denis Chertykov <denisc@overta.ru>
2118 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2119 (get_machine_name): machine name for EM_AVR added.
2121 2000-04-21 Richard Henderson <rth@cygnus.com>
2122 David Mosberger <davidm@hpl.hp.com>
2124 * Makefile.am (readelf.o): Add elf/ia64.h.
2125 * Makefile.in: Rebuild.
2126 * readelf.c: Include elf/ia64.h.
2127 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2129 2000-04-17 Timothy Wall <twall@cygnus.com>
2131 * objdump.c (disassemble_data): Set octets per byte *after*
2132 resolving arch/mach for binary files.
2134 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2136 * arlex.l: Add directives to increase lex buffer size.
2138 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2139 already included by bucomm.h.
2141 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2143 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2144 `strftime' since strftime is not available on all systems.
2145 (process_mips_specific): Ditto.
2147 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2149 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2150 --enable-build-warnings option.
2151 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2152 * Makefile.in, configure: Re-generate.
2154 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2156 * addr2line.c: Update copyright.
2157 * objcopy.1: Likewise, and title.
2158 * strings.1: Likewise.
2160 * version.c (print_version): Add 2000.
2162 * rddbg.c (read_section_stabs_debugging_info): Don't use
2163 bfd_size_type for strx to avoid printf problems if BFD64.
2165 * bucomm.c: (report): Remove `static'.
2166 Move inclusion of stdarg.h/vararg.h from here.
2167 * bucomm.h: To here.
2168 (CONST): Change all occurences to const.
2169 (report): Declare it.
2170 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2171 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2172 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2174 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2175 Correct a typo in an error message.
2176 (do_quick_append): Use non_fatal instead of fprintf.
2177 (move_members): Use fatal instead of fprintf, exit.
2178 * coffdump.c (main): Same here.
2180 * dlltool.c (display): Delete.
2182 (inform): Use `report' instead of `display'.
2183 (rvaafter): Remove trailing \n from fatal error msg.
2185 (asm_prefix): Ditto.
2186 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2187 (def_name): Likewise.
2189 (scan_all_symbols): Likewise.
2190 (gen_lib_file): Likewise.
2191 (def_library): Likewise. Remove extra program_name too.
2192 (run): Remove \n from inform strings.
2193 (scan_drectve_symbols): Likewise.
2194 (add_excludes): Likewise.
2195 (scan_open_obj_file): Likewise.
2196 (gen_exp_file): Likewise.
2197 (gen_lib_file): Likewise.
2198 (process_duplicates): Likewise.
2200 * Makefile.am (dllwrap_SOURCES): Add version.c.
2201 * dllwrap.c (program_version): Delete.
2202 (print_version): Delete.
2203 (display): Always print trailing \n.
2205 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2208 (usage): gettext'ify.
2209 (long_options): Add missing initialisers.
2211 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2212 (select_output_format): Likewise.
2213 (powerpc_mangle_relocs): Likewise.
2214 (link_inputs): Likewise.
2216 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2217 (set_output_format): Likewise.
2218 (main): Use non_fatal instead of fprintf.
2219 (display_rel_file): Likewise.
2221 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2222 (slurp_dynamic_symtab): Same here.
2223 (disassemble_data): And here.
2224 (read_section_stabs): And here.
2225 (read_section_stabs): And here.
2226 (dump_bfd): And here.
2228 (objdump_sprintf): Use fatal instead of fprintf, exit.
2229 (disassemble_data): Same here.
2231 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2232 (parse_coff_struct_type): Same here.
2233 (parse_coff_enum_type): And here.
2234 (parse_coff): And here.
2235 * rddbg.c (read_debugging_info): And here.
2236 * size.c (main): And here.
2237 * windres.c (format_from_name): And here.
2238 * wrstabs.c (stab_write_symbol): Here too.
2239 (write_stabs_in_sections_debugging_info): And here.
2240 (stab_int_type): And here.
2241 (stab_struct_field): And here.
2242 (stab_typdef): And here.
2244 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2245 * srconv.c (main): Same here.
2246 * strings.c (main): And here.
2247 (integer_arg): And here.
2248 * sysdump.c (main): And here.
2250 2000-04-06 Timothy Wall <twall@cygnus.com>
2252 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2254 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2256 * readelf.c (decode_location_expression): Loop through multiple
2258 (read_and_display_attr): Pass in length.
2260 * readelf.c (read_and_display_attr): Add CU offset to references.
2261 (display_debug_info): Pass it in.
2263 2000-04-06 Nick Clifton <nickc@cygnus.com>
2265 * readelf.c (decode_ARM_machine_flags): New function.
2266 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2269 (get_machine_name): Catch EM_AVR
2271 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2273 * binutils.texi: Remove optional `=' from long options that have
2274 an `=' in the argument.
2275 * objcopy.1: Here too. Remove extra space on discard-all.
2277 * binutils.texi (objcopy): Mention --redefine-sym.
2278 * objcopy.1: Here too.
2281 * objcopy.c (parse_flags): Split off flag names from error message
2282 gettext as they are not translated.
2283 (copy_main): Similarly split off option name for --add-section,
2284 --set-section-flags, --change-section-vma, --change-section-lma
2286 Some white space changes.
2288 from Matthew Benjamin <matt@linuxbox.nu>
2289 * objcopy.c (struct redefine_node): New.
2290 (redefine_sym_list): New.
2291 (redefine_list_append): New.
2292 (lookup_sym_redefinition): New.
2293 (OPTION_REDEFINE_SYM): New.
2294 (copy_options): Add --redefine-sym option.
2295 (copy_usage): Mention it.
2296 (filter_symbols): Rename symbols on redefine_sym_list.
2297 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2298 (copy_main): Handle OPTION_REDEFINE_SYM.
2300 2000-04-04 H.J. Lu <hjl@gnu.org>
2302 * readelf.c (process_symbol_table): Correctly read in symbol
2303 versioning information.
2305 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2307 * po/binutils.pot: Regenerate.
2309 * addr2line.c (usage): Restore translated part of bug string.
2310 * ar.c (usage): Likewise.
2311 * nlmconv.c (show_usage): Likewise.
2312 * nm.c (usage): Likewise.
2313 * objcopy.c (copy_usage): Likewise.
2314 (strip_usage): Likewise.
2315 * objdump.c (usage): Likewise.
2316 * readelf.c (usage): Likewise.
2317 * size.c (usage): Likewise.
2318 * strings.c (usage): Likewise.
2319 * windres.c (usage): Likewise.
2321 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2322 (DEP): Quote when passing vars to sub-make. Add warning
2324 (DEP1): Rewrite for "gcc -MM".
2325 (CLEANFILES): Add DEP2.
2326 Update dependencies.
2327 * Makefile.in: Regenerate.
2329 2000-04-04 H.J. Lu <hjl@gnu.org>
2331 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2332 (arparse.h): Depend on arparse.c
2333 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2335 2000-04-03 H.J. Lu (hjl@gnu.org)
2337 * size.c (usage): Use REPORT_BUGS_TO.
2339 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2341 * bucomm.h: #include "bin-bugs.h"
2342 * addr2line.c (usage): Use REPORT_BUGS_TO.
2343 * ar.c (usage): Likewise.
2344 * nlmconv.c (show_usage): Likewise.
2345 * nm.c (usage): Likewise.
2346 (OPTION_TARGET): Define.
2347 (long_options): Use OPTION_TARGET rather than 200.
2350 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2351 (strip_usage): Likewise.
2352 * objdump.c (usage): Likewise.
2353 * readelf.c (usage): Likewise.
2354 * strings.c (usage): Likewise.
2355 * windres.c (usage): Likewise.
2357 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2359 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2361 2000-03-27 Nick Clifton <nickc@cygnus.com>
2363 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2364 string offsets in corrupt stabs entries.
2366 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2368 * readelf.c: Include elf/avr.h
2369 (dump_relocations): Add EM_AVR case.
2371 2000-03-09 Tim Waugh <twaugh@redhat.com>
2373 * strings.1: Correct '-bytes' to '--bytes'.
2375 2000-03-08 H.J. Lu <hjl@gnu.org>
2377 * Makefile.am (install-exec-local): Depend on
2378 install-binPROGRAMS for parallel make.
2379 * Makefile.in: Regenerated.
2381 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2383 From Brad Lucier <lucier@math.purdue.edu>:
2384 * readelf.c (process_dynamic_segment): Add cast to make sure
2385 argument to %* is int.
2387 2000-02-25 H.J. Lu <hjl@gnu.org>
2389 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2391 2000-02-24 Nick Clifton <nickc@cygnus.com>
2393 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2394 * configure: Regenerate.
2396 * dlltool.c: Add support for sh-pe and mips-pe targets.
2397 * rescoff.c: Add support for sh-pe and mips-pe targets.
2399 2000-02-23 H.J. Lu <hjl@gnu.org>
2401 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2403 2000-02-22 Nick Clifton <nickc@cygnus.com>
2405 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2407 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2409 From Brad Lucier <lucier@math.purdue.edu>:
2410 * readelf.c (process_version_sections): Add casts to make sure
2411 argument to %* is an int.
2412 (process_mips_specific): Add casts to make printf arguments match
2415 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2417 * objdump.c (dump_section_header): Change `opb' to unsigned.
2418 (find_symbol_for_address): Same here.
2419 (disassemble_data): And here. Change `addr_offset',
2420 `stop_offset', `nextstop_offset' to unsigned long.
2421 (dump_data): Change opb to unsigned.
2423 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2425 * resrc.c: Remove unmatched #if for cygwin.
2427 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2429 * binutils.texi: Document the change of flavor name from atpcs-special
2430 to special-atpcs to prevent name conflict in gdb.
2432 2000-02-08 Timothy Wall <twall@redhat.com>
2434 * objdump.c (show_line): Fix bug preventing printing of the very
2435 first line (line zero) of a file when interlisting source and
2436 assembly. Added option to print entire context from start of file
2437 when the first line from that file is encountered.
2439 2000-02-03 Timothy Wall <twall@redhat.com>
2441 * objdump.c (dump_section_header, find_symbol_for_address,
2442 show_line, disassemble_bytes, disassemble_data, dump_data):
2443 distinguish between octets and bytes.
2445 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2447 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2448 check to unresolved symbols.
2449 (print_symbol_info_sysv): Ditto.
2450 (print_symbol_info_posix): Ditto.
2452 * binutils.texi: Document new 'V' symclass flag for nm.
2454 2000-01-27 Nick Clifton <nickc@redhat.com>
2456 * binutils.texi (objdump): Document new ARM specific
2457 disassembler options.
2459 * objdump.c (usage): Call disassembler_usage().
2461 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2463 * readelf.c (get_dynamic_flags): Return buff.
2464 (process_dynamic_segment): Don't pass error strings to printf
2466 (read_and_display_attr): Use lx and ld to print longs.
2467 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2471 2000-01-17 Nick Clifton <nickc@cygnus.com>
2473 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2475 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2477 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2479 (debug_tag_type): Here too.
2480 * ieee.c (ieee_builtin_type): And here.
2481 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2483 2000-01-13 Nick Clifton <nickc@cygnus.com>
2485 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2488 2000-01-11 Nick Clifton <nickc@cygnus.com>
2490 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2492 2000-01-10 Nick Clifton <nickc@cygnus.com>
2494 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2496 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2498 * windres.c (long_options): Add --use-temp-file and
2499 --no-use-temp-file options.
2503 * windres.h: Update read_rc_file prototype.
2505 * resrc.c (cpp_temp_file): New static variable.
2506 (istream_type): New static variable.
2507 (close_pipe): Delete function.
2508 (run_cmd): New static function.
2509 (open_input_stream): New static function.
2510 (close_input_stream): New static function.
2511 (look_for_default): Handle DOS directory separator. Use
2512 open_input_stream instead of popen.
2513 (read_rc_file): Likewise.
2515 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2518 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2520 * dlltool.c (create_compat_implib): New variable.
2521 (gen_exp_file): Use.
2522 (make_one_lib_file): Use.
2523 (long_options): Add --compat-implib option.
2527 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2528 (main): Use. Don't look for "32" in cygwin and mingw target names.
2530 2000-01-03 Nick Clifton <nickc@cygnus.com>
2532 * binutils.texi: Document new, ARM specific disassembler
2533 command line switch "-M force-thumb".
2535 For older changes see ChangeLog-9899
2541 version-control: never