1 2002-05-04 Alan Modra <amodra@bigpond.net.au>
3 * ar.c (replace_members): Remove unused var. Formatting fix.
4 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
6 * MAINTAINERS: Sort port maintainers by CPU.
8 2002-05-04 Bob Byrnes <byrnes@curl.com>
10 * size.c (display_archive): Add last_arfile and code to close archives.
12 2002-05-01 Alan Modra <amodra@bigpond.net.au>
14 * nm.c (print_symbol): Check returned filename from
15 bfd_find_nearest_line is non-NULL.
17 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
19 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
21 2002-04-24 Christian Groessler <chris@groessler.org>
23 * MAINTAINERS: Changed my email address.
25 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
27 * arparse.y: Fix syntax warning.
29 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
31 * readelf.c (fetch_location_list): Remove unused function.
33 * readelf.c (process_corefile_note_segment): Catch corrupt notes
34 and display a warning message, then exit the loop.
36 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
38 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
40 * resrc.c (write_rc_dialog): If charset is non-default value
41 display all of the DIALOGEX parameters.
43 2002-04-15 Eric Kohl <ekohl@rz-online.de>
45 * rcparse.y: Allow two to five parameter in FONT statement of
47 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
49 (res_to_bin_dialog): Likewise.
50 * windres.h: Added misssing charset variable to dialog_ex
53 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
55 * rcparse.y: Set MEMFLAG_PURE by default.
57 2002-04-09 Bernd Herd <info@herdsoft.com>
59 * rcparse.y: CLASS definitions in DIALOG resources
61 Fix typo in BEDIT warning.
62 Don't add default dialog style when explicit style specified.
63 Add WS_CAPTION dialog style if CAPTION is specified.
65 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
66 (handle_quotes) "\a" escape (used for right justified key
67 definitions in menus) is encodes as binary 8.
69 * resrc.c (write_rc_dialog): Print style even if it is 0.
70 (write_rc_directory): Fix overlooked sublang shift bug.
71 (bin_to_res_dialog): Don't print empty dialog caption.
73 * resbin.c (bin_to_res_dialog): Use signature to identify
76 * windres.c (main): Set default LANGUAGE to english/us.
78 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
80 * resrc.c: print CLASS names in quotes
82 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
84 * MAINTAINERS: Update my email address.
86 2002-04-04 Alan Modra <amodra@bigpond.net.au>
88 * dep-in.sed: Cope with absolute paths.
89 * Makefile.am (dep.sed): Subst TOPDIR.
91 * Makefile.in: Regenerate.
93 2002-03-27 Peter Targett <peter.targett@arc.com>
95 * MAINTAINERS: Update my email address.
97 2002-03-21 Alan Modra <amodra@bigpond.net.au>
99 * Makefile.am: Run "make dep-am".
100 * Makefile.in: Regenerate.
101 * doc/Makefile.in: Regenerate.
102 * po/POTFILES.in: Regenerate.
103 * aclocal.m4: Regenerate.
104 * config.in: Regenerate.
105 * configure: Regenerate.
107 2002-03-20 Daniel Berlin <dan@dberlin.org>
109 * readelf.c: Add support for displaying dwarf2 location lists.
110 (do_debug_loc, debug_loc_section, debug_loc_size): New.
111 (parse_args): Use 'O' as shorthand for displaying location list
113 (process_section_headers): Handle debug_loc as well.
114 (load_debug_loc): New.
115 (free_debug_loc): New.
116 (fetch_location_list): New.
117 (display_debug_loc): New.
118 (display_debug_info): Call load_debug_loc and free_debug_loc.
119 (debug_displays): We can display .debug_loc now, too.
120 (usage): Update usage string.
121 (read_and_display_attr_value): Note location lists, but don't
124 2002-03-18 Tom Rix <trix@redhat.com>
126 * Makefile.am: Add binutils emulation support.
127 * configure.in: Same.
128 * configure.tgt: New file. Same.
129 * ar.c (main): Use ar_emul_parse_arg.
130 (usage): Use ar_emul_usage.
131 (replace_members): Use ar_emul_replace, ar_emul_append.
132 * binemul.c: New file. Define the binutils emulation
133 layer. Define default methods.
134 * binemul.h: New file. Binutils emulation layer header file.
135 * emul_aix.c: New file. AIX binutils emulation.
136 * emul_vanilla.c: New file. Default binutils emulation.
137 * Makefile.in: Regenerate.
140 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
142 * po/fr.po: Updated version.
144 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
146 * po/fr.po: Updated version.
148 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
150 * README: Update some version numbers.
152 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
154 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
155 (Architecture Selection): Likewise.
157 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
159 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
160 generating .exp file.
162 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
164 * readelf.c (dump_relocations): Fix typo.
166 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
168 * NEWS: Mark 2.12 branch.
170 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
172 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
173 types for 64-bit MIPS. Narrow some fields for 80-char
175 (dump_relocations): Change spelling from 'unrecognised'
177 (decode_ARM_machine_flags): Likewise.
178 (parse_args): Likewise.
179 (read_and_display_attr_value): Likewise.
180 (display_debug_section): Likewise.
182 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
184 * NEWS: Mention support for MMIX.
186 2002-02-13 Matt Fredette <fredette@netbsd.org>
188 * readelf.c (get_machine_flags): Recognize EF_M68000.
190 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
192 * MAINTAINERS: Added self as MN10300 co-maintainer.
194 2002-02-12 Alan Modra <amodra@bigpond.net.au>
196 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
199 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
201 * MAINTAINERS: List myself as branch maintainer.
203 2002-02-11 Alan Modra <amodra@bigpond.net.au>
205 * configure: Regenerate.
206 * objcopy.c: Update copyright date.
207 * doc/Makefile.in: Regenerate.
209 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
211 * nlmconv.c: Back out localtime PARAMS change.
213 2002-02-11 Alan Modra <amodra@bigpond.net.au>
215 * objcopy.c (MKDIR): Define.
216 (copy_archive): Make name_list.name const. Use MKDIR.
217 Handle duplicate files in archives by making more temp dirs.
219 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
221 * coffdump.c: Include "getopt.h" after "bucomm.h"
222 so that macros are defined correctly.
223 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
224 prototype. Prototype main.
225 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
227 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
229 * MAINTAINERS: Added self as SH co-maintainer.
231 2002-02-05 Nick Clifton <nickc@redhat.com>
233 * po/tr.po: Updated translation.
235 2002-02-01 Alan Modra <amodra@bigpond.net.au>
237 * Makefile.am: Run "make dep-am"
238 * Makefile.in: Regenerate.
240 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
242 * nm.c (print_value): Mark abfd unused.
244 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
246 * unwind-ia64.c (unw_decoder): Change second argument
247 to unsigned int, to match function prototypes.
249 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
251 * objdump.c: Include "getopt.h" after "bucomm.h" so that
252 __GNU_LIBRARY__ will be defined.
255 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
257 * configure: Regenerated.
259 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
261 * doc/Makefile.am (install): Depend on install-info.
262 * doc/Makefile.in: Regenerate.
264 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
266 * objcopy.c (strip_usage): Document -d as an alias
269 * size.c (usage): Document [-t | --totals] options.
270 (long_options): Add --totals option.
271 (main): If the [-t | --totals] option is specified and
272 the output format is Berkeley-style, print the total
273 text, data, and bss sizes of all objects listed.
274 (print_berkeley_format): If the [-t | --totals] option
275 is specified, track the total text, data, and bss
277 * doc/binutils.texi (size): Document [-t | --totals] options.
278 (strip): Document -d as an alias for --strip-debug.
279 * NEWS: Mention new feature of size.
281 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
283 * po/fr.po: Updated version.
284 * po/es.po: Updated version.
286 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
288 * addr2line.c (usage): Update text to provide verbose
289 description of the command line options.
290 * ar.c (usage): Update text to provide verbose
291 description of the command line options.
292 (main): Accept -h and -H when running as ranlib.
293 * coffdump.c (show_usage): Update text to provide verbose
294 description of the command line options.
295 * dlltool.c (main): Accept -H as an alias for --help.
296 * nlmconv.c (show_usage): Update text to provide verbose
297 description of the command line options.
298 * nm.c (usage): Replace OPTIONS with option(s).
299 (main): Accept -H as an alias for --help.
300 * objcopy.c (strip_main): Accept -H as an alias for --help.
301 * objdump.c (main): Accept -v as an alias for --verbose.
302 * readelf.c (usage): Adjust format to match style used in
304 * size.c (usage): Update text to provide verbose description
305 of the command line options.
306 (main): Accept -v, -h and -H as command line options.
307 * srconv.c (show_usage): Update text to provide verbose
308 description of the command line options.
309 * strings.c (main): Accept -H and -v as command line options.
310 (usage): Update text to provide verbose description of the
311 command line options.
312 * sysdump.c (show_usage): Update text to provide verbose
313 description of the command line options.
314 * windres.c (usage): Adjust format to match style used in
317 * coffdump.c: Fix formatting.
318 * nlmconv.c: Fix formatting.
319 * srconv.c: Fix formatting.
320 * sysdump.c: Fix formatting.
322 2002-01-22 Alan Modra <amodra@bigpond.net.au>
324 * Makefile.am: Run "make dep-am".
325 * Makefile.in: Regenerate.
327 2002-01-18 Andreas Jaeger <aj@suse.de>
329 * version.c (print_version): Update year.
331 2002-01-17 Alan Modra <amodra@bigpond.net.au>
333 * readelf.c (get_machine_name): Handle EM_PPC64.
334 (guess_is_rela): Here too.
336 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
338 * po/binutils.pot: Regenerate.
339 * po/fr.po: Regenerate.
340 * po/tr.po: Regenerate.
342 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
344 * po/tr.po: Import new version.
346 2002-01-16 Alan Modra <amodra@bigpond.net.au>
348 * readelf.c (get_ppc64_dynamic_type): New.
349 (get_dynamic_type): Call it.
351 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
353 * objcopy.c (copy_usage): Use "options" instead of "switches".
354 (strip_usage): Use "options" instead of "switches".
355 * doc/binutils.texi (dlltool): Refer to "options" instead of
358 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
360 * MAINTAINERS: Add self as co-maintainer for the ARM code.
362 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
364 * po/es.po: Import from translation project.
365 * configure.in (ALL_LINGUAS): Add es.
366 * configure: Regenerate.
368 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
370 * readelf.c (get_netbsd_elfcore_note_type): Use
371 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
373 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
375 * readelf.c: Update copyright years.
376 (get_note_type): Return a const char *.
377 (get_netbsd_elfcore_note_type): New function.
378 (process_note): Use get_netbsd_elfcore_note_type to get
379 the note type string for NetBSD ELF core files.
381 2002-01-06 Steve Ellcey <sje@cup.hp.com>
383 * readelf.c (get_ia64_segment_type): Add support for macros.
384 (get_segment_type): Add support for IA64 specific macros.
386 2001-12-20 Julian v. Bock <julian@wongr.net>
388 * readelf.c (print_symbol): New function: Print a formatted symbol
389 name. If --wide is specified do not truncate it.
390 (dump_relocations): Use print_symbol() to print symbol names.
391 (process_symbol_table): Likewise.
392 (process_syminfo): Likewise.
393 (process_mips_specific): Likewise.
394 (usage): Document new feature of --wide switch.
395 * doc/binutils.texi (objdump): Document additional behaviour of
398 2001-12-18 Michael Snyder <msnyder@redhat.com>
400 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
401 (copy_object): Don't set the start address or flags of a core file.
402 (copy_section): Don't relocate a core file. Don't copy contents
403 if the input section has the contents flag set, but the output
404 section does not (which happens with the fake 'note' pseudo-
405 sections that BFD creates for corefiles).
407 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
409 * readelf.c (get_machine_flags): Recognize header flags for ABI and
410 ASE extensions. More robust code for ISA checking. Ignore empty fields
411 in header flags for GNU extensions.
413 2001-12-18 Alan Modra <amodra@bigpond.net.au>
415 * objcopy.c (copy_archive): Set output bfd format outside the loop.
417 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
419 * po/ja.po: Import from translation project.
420 * configure.in (ALL_LINGUAS): Add ja.
421 * configure: Regenerate.
423 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
425 * addr2line.c (main): Protoype.
426 * ar.c (main): Protoype.
427 * nm.c (main): Protoype.
428 * objcopy.c (main): Protoype.
429 * objdump.c (main): Protoype.
430 * size.c (main): Protoype.
431 * strings.c (main): Protoype.
433 2001-12-17 Alan Modra <amodra@bigpond.net.au>
435 * readelf.c (symtab_shndx_hdr): New global.
436 (SECTION_HEADER_INDEX): Define.
437 (SECTION_HEADER_NUM): Define.
438 (SECTION_HEADER): Define.
439 (GET_ELF_SYMBOLS): Pass two params rather than three.
440 (get_32bit_elf_symbols): Take file and section args. Read and
441 use SHT_SYMTAB_SHNDX.
442 (get_64bit_elf_symbols): Likewise.
443 (dump_relocations): Use SECTION_HEADER to index "section_headers".
444 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
445 Remember symtab_shdx_hdr.
446 (process_program_headers): Scan from index 1 for segment map.
447 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
449 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
450 (process_unwind): Likewise.
451 (process_version_sections): Likewise.
452 (process_symbol_table): Likewise.
453 (display_debug_info): Likewise.
454 (process_dynamic_segment): Fake up a symtab section for changed
456 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
457 (process_program_headers): Kill signed/unsigned warning.
458 (load_debug_str): Likewise.
459 (display_debug_info): Likewise.
461 2001-12-13 Jakub Jelinek <jakub@redhat.com>
463 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
465 2001-12-11 Alan Modra <amodra@bigpond.net.au>
467 * readelf.c (process_file_header): Print extended e_shnum and
468 e_shdtrndx values. Set elf_header values for same.
469 (get_32bit_section_headers): Add "num" arg to read "num" headers.
470 (get_64bit_section_headers): Likewise.
471 (process_section_headers): Update calls.
472 (get_file_header): Call get_32bit_section_headers or 64bit variant.
474 2001-12-10 Jakub Jelinek <jakub@redhat.com>
476 * objcopy.c (setup_section): Copy entsize.
478 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
480 * readelf.c (guess_is_rela): Add support for stormy16.
481 (dump_relocations): Likewise.
482 (get_machine_name): Likewise.
484 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
486 * dllwrap.c (main) Replace multiple strings describing a
487 single error with a single, newline escaped sentence to permit
488 better translation into foreign languages.
490 * readelf.c (get_elf_class): Remove internalionalisation of ELF
493 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
495 * strings.c (get_char): Initialize value.
497 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
499 * arlex.l: Silence compile warnings.
500 * arsup.h: Likewise. Fix formatting.
502 2001-12-04 Jakub Jelinek <jakub@redhat.com>
504 * strings.c: Include config.h before bfd.h.
505 (file_off): New type.
507 (print_strings): Use file_off instead of file_ptr. Print addresses
508 which don't fit into long correctly.
509 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
511 (strings_file): Use file_off instead of file_ptr. Use file_open.
512 * configure.in: Check for getc_unlocked.
513 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
515 * configure: Rebuilt.
516 * config.h.in: Rebuilt.
518 2001-11-29 H.J. Lu <hjl@gnu.org>
520 * bucomm.c (make_tempname): Revert the changes made on
521 2001-11-14 and 2001-11-12. They won't work with directories.
523 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
525 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
526 CFLAGS_FOR_TARGET to runtest in environment.
527 * Makefile.in: Rebuild.
528 * doc/Makefile.in: Rebuild.
530 2001-11-28 Mike Stump <mrs@wrs.com>
532 * objcopy.c (setup_section): Preserve SEC_RELOC when
533 --set-section-flags is used.
535 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
537 * readelf.c (do_debug_str): New variable.
538 (display_debug_str): New function: Display the contents of a
540 (load_debug_str): New function: Load in the contents of a
542 (free_debug_str): New function: Free the memory used by
544 (fetch_indirect_string): Retrieve a string from the .debug_str
547 (parse_args): Accept -ws.
548 (process_section_headers): Allow the display of the .debug_str
550 (read_and_display_attr_value): Use fetch_indirect_string. Show
551 offset into .debug_str section.
552 (display_debug_info): Use load_debug_str and free_debug_str.
553 (debug_displays): Add .debug_str.
554 * doc/binutils.texi: Document -ws.
556 2001-11-19 Andreas Jaeger <aj@suse.de>
558 * testsuite/binutils-all/objdump.exp: Add x86-64.
560 2001-11-15 Andreas Schwab <schwab@suse.de>
562 * readelf.c: Fix warnings without terminating newline.
564 2001-11-15 Alan Modra <amodra@bigpond.net.au>
566 * doc/binutils.texi (objdump): Document ppc -M options.
568 2001-11-14 Andreas Jaeger <aj@suse.de>
570 * doc/binutils.texi (objdump): Fix description to use x86-64.
572 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
574 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
575 not all systems provide mkstemp.
577 2001-11-14 Alan Modra <amodra@bigpond.net.au>
579 * doc/binutils.texi (objdump): Document x86 -M options.
581 2001-11-13 Keith Walker <keith.walker@arm.com>
583 * readelf.c (read_and_display_attr_value): New function to
584 handle DW_FORM_indirect.
585 (read_and_display_attr): Use it.
587 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
589 * readelf.c (display_debug_lines): Deal with unknown standard
590 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
593 2001-11-13 Timothy Wall <twall@alum.mit.edu>
595 * MAINTAINERS: Add self as tic54x maintainer. This target
596 includes the IBM C54XDSP clone.
598 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
600 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
602 2001-11-09 Jeffrey A Law (law@cygnus.com)
604 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
605 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
606 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
607 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
608 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
609 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
610 (unw_decode_b2, unw_decode_b3_b4): Likewise.
612 * readelf.c (get_elf_class): Fix ISO portability glitch.
613 (get_data_encoding, get_osabi_name, request_dump): Likewise.
615 2001-11-07 Jakub Jelinek <jakub@redhat.com>
617 * readelf.c (debug_str, debug_str_size): New.
618 (display_debug_abbrev): If no abbrevs were read, skip the CU.
620 (read_and_display_addr): Handle DW_FORM_strp.
621 (display_debug_info): Read .debug_str section if present,
622 so that DW_FORM_strp can be handled.
623 Fix test for non-existant .debug_abbrev section.
625 2001-11-05 Jakub Jelinek <jakub@redhat.com>
627 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
629 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
631 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
633 * MAINTAINERS: Add self as s390/s390x maintainer.
635 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
637 * MAINTAINERS: Add self as PPC XCOFF maintainer.
639 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
641 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
642 * configure: Regernate.
643 * po/fr.po: New file.
644 * po/tr.po: New file.
646 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
648 * MAINTAINERS: Add self as MMIX port maintainer.
649 * readelf.c: Include elf/mmix.h.
650 (guess_is_rela): MMIX is RELA.
651 (dump_relocations): Handle MMIX relocations.
652 * Makefile.am: Regenerate dependencies.
653 * Makefile.in: Regenerate.
655 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
657 * readelf.c (parse_args): Handle multiple options to the -w
660 2001-10-12 Jakub Jelinek <jakub@redhat.com>
662 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
663 LOPROC, LOOS and LOUSER.
665 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
667 * MAINTAINERS: Update my email address.
669 2001-10-03 Alan Modra <amodra@bigpond.net.au>
671 * doc/Makefile.in: Regenerate.
672 * configure: Regenerate.
674 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
676 * readelf.c (display_debug_line, display_debug_pubnames,
677 display_debug_info, display_debug_frames): Detect and warn
678 about 64-bit format entries.
679 (display_debug_aranges): Reword 64-bit warning.
680 (debug_displays): Add .debug_pubtypes as a known, but not yet
681 supported, debug section.
683 2001-10-02 Alan Modra <amodra@bigpond.net.au>
685 * coffdump.c (PROGRAM_VERSION): Delete.
686 (main <'V'>): Call print_version.
687 * srconv.c: Likewise.
688 * sysdump.c: Likewise.
689 * version.c (program_version): Remove.
690 (print_version): Use BFD_VERSION_STRING. Just print the current
691 year in copyright message.
692 * addr2line.c (program_version): Remove unused declaration.
693 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
694 place of BFD_VERSION.
695 * Makefile.am (Makefile): Depend on bfd/configure.in.
696 (cplus-dem.o): Depend on Makefile.
698 * Makefile.in: Regenerate.
700 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
702 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
703 format .debug_arange sections.
704 (main): Add missing prototype.
706 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
708 * Makefile.am: Update dependencies with "make dep-am".
709 * Makefile.in: Regenerate.
711 2001-09-28 Richard Henderson <rth@redhat.com>
713 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
715 2001-09-26 Alan Modra <amodra@bigpond.net.au>
717 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
719 (non_fatal): Likewise.
720 * objdump.c (objdump_sprintf): Likewise.
721 * readelf.c (error): Likewise.
724 2001-09-25 Jakub Jelinek <jakub@redhat.com>
726 * readelf.c (do_wide): New.
727 (options): Add --wide.
728 (usage, parse_args): Likewise.
729 (process_program_headers): Put each segment on a single line if
731 (process_section_headers): Put each section on a single line if
733 * doc/binutils.texi: Document it.
736 2001-09-25 Alan Modra <amodra@bigpond.net.au>
738 * readelf.c (print_vma): Print 8 digits of low hex value.
740 2001-09-24 Andreas Jaeger <aj@suse.de>
742 * nlmconv.c: Fix warnings about unused attributes and function
745 * strings.c: Add prototype for get_char.
747 2000-09-19 H.J. Lu <hjl@gnu.org>
749 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
750 $(srcdir)/cxxfilt.man.
751 * doc/Makefile.in: Rebuild.
753 2001-09-19 Alan Modra <amodra@bigpond.net.au>
755 * objcopy.c (copy_main): Correct rename-section string parsing.
756 Consolidate new_name parsing, and error messages.
758 2001-09-18 Bruno Haible <haible@clisp.cons.org>
760 * addr2line.c: Don't include <ctype.h>.
761 (main): For gettext, also set the LC_CTYPE locate facet.
762 * ar.c (main): Likewise.
763 * coffdump.c (main): Likewise.
764 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
765 (main): For gettext, also set the LC_CTYPE locate facet.
766 Use ISALNUM instead of isalpha/isdigit.
767 * dllwrap.c: Don't include <ctype.h>.
768 (main): For gettext, also set the LC_CTYPE locate facet.
769 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
770 (main): For gettext, also set the LC_CTYPE locate facet.
771 Use TOUPPER instead of islower/toupper.
772 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
773 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
774 Use TOUPPER instead of islower/toupper.
775 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
776 * objcopy.c (main): Likewise.
777 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
778 (disassemble_bytes): Use ISPRINT instead of isprint.
779 (dump_section_stabs): Use ISDIGIT instead of isdigit.
780 (dump_data): Use ISPRINT instead of isprint.
781 (main): For gettext, also set the LC_CTYPE locate facet.
782 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
783 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
784 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
785 Use TOUPPER instead of islower/toupper.
786 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
787 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
788 (write_rc_accelerators): Use ISPRINT instead of isprint.
789 (write_rc_rcdata): Likewise.
790 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
791 * srconv.c (main): Likewise.
792 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
793 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
794 isdigit/isupper/islower.
795 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
796 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
797 stab_demangle_prefix, stab_demangle_qualified,
798 stab_demangle_template, stab_demangle_type,
799 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
800 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
801 (isgraphic): Use ISPRINT instead of isascii/isprint.
802 (main): Remove HAVE_LC_MESSAGES dependency.
803 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
804 (pbarray): Use ISPRINT instead of isprint.
805 (main): For gettext, also set the LC_CTYPE locate facet.
806 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
807 (format_from_filename): Use ISPRINT instead of isprint.
808 (main): For gettext, also set the LC_CTYPE locate facet.
809 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
810 (unicode_print): Use ISPRINT instead of isprint.
811 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
812 (stab_variable): Use ISDIGIT instead of isdigit.
814 2001-09-18 Alan Modra <amodra@bigpond.net.au>
816 * ar.c (print_contents): Cast args of bfd_seek to the right types.
817 Replace bfd_read call with call to bfd_bread.
818 (extract_file): Likewise.
820 * objdump.c (dump_section_header): Cast section->filepos to
821 unsigned long to suit printf format string.
822 * readelf.c (process_section_headers): Similarly for sh_offset.
823 (process_unwind): Likewise.
825 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
827 * strings.c (encoding, encoding_bytes): New variables.
828 (long_options): Add --encoding.
829 (main): Accept -e and --encoding.
830 (get_char): New function. Read a, possibly wide, character from
832 (print_strings): Use get_char().
833 (usage): Document new command line option.
834 * doc/binutils.texi: Document new command line option.
835 * NEWS: Announce new command line option.
837 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
839 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
840 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
841 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
842 Removed EM_CYGNUS_ARC.
844 2001-09-04 Jeffrey A Law (law@cygnus.com)
846 * readelf.c: Include elf/h8 for H8 series definitions.
847 (guess_is_rela): H8 series if RELA.
848 (dump_relocations): Handle H8 series relocations.
850 2001-08-31 Eric Christopher <echristo@redhat.com>
852 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
854 2001-08-29 Peter Targett <peter.targett@arccores.com>
856 * MAINTAINERS: Include ARC Maintainer.
858 2001-08-29 Ben Elliston <bje@redhat.com>
860 * stabs.c (stab_demangle_template): Initialise s4.
862 2001-08-27 Alan Modra <amodra@bigpond.net.au>
864 * readelf.c (dump_relocations): Recognise EM_PPC64.
866 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
868 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
870 2001-08-25 H.J. Lu <hjl@gnu.org>
872 * nm.c (print_width): New.
873 (display_rel_file): Set `print_width' according to
875 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
877 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
879 * objcopy.c (use_alt_mach_code): New variable.
880 (OPTION_ALT_MACH_CODE): Define.
881 (copy_options): Added --alt-machine-code.
882 (copy_main): Handle it.
883 (copy_object): Switch to alternate machine code if requested.
884 * doc/binutils.texi: Document new option.
887 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
889 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
891 2001-08-21 H.J. Lu <hjl@gnu.org>
893 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
894 (display_debug_info): Cast for 64bit hosts.
895 (display_debug_frames): Likewise.
896 (process_mips_specific): Likewise.
898 2001-08-21 Andreas Jaeger <aj@suse.de>
900 * coffgrok.h: Add missing parameter for prototype of coff_grok.
902 * sysdump.c: Add missing prototypes.
903 * srconv.c: Likewise.
904 * unwind-ia64.c: Likewise.
905 * coffdump.c: Likewise.
907 * sysinfo.y: Print prototypes, include <ansidecl.h>.
909 * coffgrok.c: Add missing prototypes, include libiberty.h instead
910 of declaring xcalloc.
912 2001-08-10 H.J. Lu <hjl@gnu.org>
914 * nm.c (print_value): Add one arg, bfd *.
915 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
916 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
917 (print_symbol_info_sysv): Likewise.
918 (print_symbol_info_posix): Likewise.
920 * objdump.c (dump_section_header): Replace printf_vma with
922 (print_section_stabs): Likewise.
923 (dump_bfd_header): Likewise.
924 (objdump_print_value): Replace sprintf_vma with
926 (disassemble_bytes): Likewise.
927 (dump_reloc_set): Likewise.
929 2001-08-10 Andreas Jaeger <aj@suse.de>
931 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
933 * configure: Regenerate.
935 2001-08-09 Alan Modra <amodra@bigpond.net.au>
937 * readelf.c: Add missing prototypes.
938 * objdump.c: Likewise. Format existing prototypes.
940 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
942 * readelf.c (display_debug_info): Add to abbrev_offset the addend
943 of any RELA relocation for the abbrev_offset memory location that
944 refers to the .debug_abbrev section symbol.
946 2001-08-07 H.J. Lu <hjl@gnu.org>
948 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
949 (main): Return process_file ().
951 2001-08-05 Philip Blundell <philb@gnu.org>
953 * doc/binutils.texi: Use "Thumb" not "THUMB".
955 2001-08-03 John Healy <jhealy@redhat.com>
957 Patch suggested by Frank Eigler <fche@redhat.com>.
958 * objdump.c (disassemble_data): Fill in section member of the
959 disasm_info structure.
961 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
963 * configure.in: Added --with-windres option.
964 * configure: Regenerated.
966 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
968 * doc/binutils.texi: Use @command{name} for commands;
969 use @option{-opt} for options; use @table @env for list of options;
970 remove spaces arround [ | ] in synopsis.
972 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
975 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
977 * objcopy.c: Fix formatting.
978 (section_rename): New structure.
979 (OPTION_RENAME_SECTION): New switch.
980 (copy_usage): Document new switch.
981 (add_section_rename): New function: Add a node to the section
983 (find_section_rename): New function: Find the new name and
985 (setup_section): Call find_section_name to determine the name
986 of the output section.
987 (copy_main): Handle OPTION_RENAME_SECTION.
988 * binutils.texi: Document new switch.
989 * NEWS: Mention new switch.
991 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
993 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
994 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
995 bug-binutils@gcc.org.
997 2001-07-28 Matthias Kramm <kramm@quiss.org>
999 * bucomm.c (list_supported_architectures): New function.
1000 * bucomm.h (list_supported_architectures): Declare.
1001 * objdump.c (usage): Call the above.
1003 2001-07-25 Dave Brolley <brolley@redhat.com>
1005 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1006 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1008 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1010 * README: Update for 2.11. Change bug reporting email address.
1011 * MAINTAINERS: Tidy up. Change bug reporting email address.
1013 2001-07-16 DJ Delorie <dj@redhat.com>
1015 * resres.c (write_res_header): Align header size.
1016 (res_align_file): Calculate alignment correctly.
1018 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1020 * resrc.c (write_rc_resource): Likewise.
1021 * windres.h (SUBLANG_SHIFT): Define - as 10.
1023 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1025 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1027 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1029 * MAINTAINERS: Add notes about branch checkins.
1031 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1033 * readelf.c (display_debug_macinfo): New function, display
1034 .debug_macinfo section.
1035 (do_debug_macinfo): New variable.
1036 (parse_args): Handle "-w[mM]" to mean display macro info.
1037 (process_section_headers): Handle debug_macinfo.
1038 (debug_displays): Replace unsupported function with macinfo
1039 function for .debug_macinfo display.
1040 * doc/binutils.texi: Document new command line switch.
1041 * NEWS: Document new feature of readelf.
1043 2001-07-05 H.J. Lu <hjl@gnu.org>
1045 * objcopy.c (filter_symbols): Don't turn undefined symbols
1048 2001-07-03 H.J. Lu <hjl@gnu.org>
1050 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1053 (dlltool.1): Likewise.
1054 (nlmconv.1): Likewise.
1056 (objcopy.1): Likewise.
1057 (objdump.1): Likewise.
1058 (ranlib.1): Likewise.
1059 (readelf.1): Likewise.
1061 (strings.1): Likewise.
1062 (strip.1): Likewise.
1063 (windres.1): Likewise.
1064 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1065 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1068 * doc/Makefile.in: Regenerated.
1070 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1072 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1074 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1076 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1078 2001-06-29 James Cownie <jcownie@etnus.com>
1080 * readelf.c: Support DWARF 2.1 attributes.
1082 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1084 * readelf.c (GET_DATA_ALLOC): Remove.
1086 (get_data): New function combining above macros, with an extra
1088 (slurp_rela_relocs): Use get_data, and catch error return.
1089 (slurp_rel_relocs): Likewise.
1090 (get_32bit_program_headers): Likewise.
1091 (get_64bit_program_headers): Likewise.
1092 (get_32bit_section_headers): Likewise.
1093 (get_64bit_section_headers): Likewise.
1094 (get_32bit_elf_symbols): Likewise.
1095 (get_64bit_elf_symbols): Likewise.
1096 (process_section_headers): Likewise.
1097 (process_relocs): Likewise.
1098 (slurp_ia64_unwind_table): Likewise.
1099 (process_unwind): Likewise.
1100 (get_32bit_dynamic_segment): Likewise.
1101 (get_64bit_dynamic_segment): Likewise.
1102 (process_dynamic_segment): Likewise.
1103 (process_version_sections): Likewise.
1104 (process_symbol_table): Likewise.
1105 (dump_section): Likewise.
1106 (display_debug_info): Likewise.
1107 (display_debug_section): Likewise.
1108 (process_section_contents): Likewise.
1109 (process_corefile_note_segment): Likewise.
1110 (process_mips_specific): Likewise. Also free econf32, econf64.
1112 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1114 * readelf.c (dump_relocations): Print "bad symbol index" if
1115 symtab == NULL with non-zero symtab_index.
1116 (process_relocs): Don't bomb if reloc section has no symsec.
1118 2001-06-24 H.J. Lu <hjl@gnu.org>
1120 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1122 (copy_main): Apply the the change made to strip_main on
1123 2001-05-30 by accident.
1125 2001-06-23 Andreas Jaeger <aj@suse.de>
1127 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1129 (unw_decode_x2): Likewise.
1130 (unw_decode_x3): Likewise.
1131 (unw_decode_x4): Likewise.
1133 2001-06-23 Ben Elliston <bje@redhat.com>
1135 * MAINTAINERS: Add myself as M88k maintainer.
1137 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1139 * objcopy.c (strip_main): Support -o or --output-file command lien
1142 2001-06-19 H.J. Lu <hjl@gnu.org>
1144 * doc/Makefile.in: Regenerated.
1146 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1148 * readelf.c: Restore formatting.
1150 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1152 * Makefile.am: Move documentation into doc subdirectory.
1153 * Makefile.in: Regenerated.
1154 * binutils.texi: Move into doc subdirectory.
1155 * addr2line.1: Removed.
1157 * dlltool.1: Likewise.
1158 * nlmconv.1: Likewise.
1160 * objcopy.1: Likewise.
1161 * objdump.1: Likewise.
1162 * ranlib.1: Likewise.
1163 * readelf.1: Likewise.
1165 * strings.1: Likewise.
1166 * strip.1: Likewise.
1167 * windres.1: Likewise.
1168 * cxxfilt.man: Likewise.
1169 * doc: New Directory.
1170 * doc/Makefile.am: New file.
1171 * doc/Makefile.in: Generate.
1173 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1175 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1177 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1179 * MAINTAINERS: Update my email address.
1181 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1183 * objcopy.c: Add new switches: --keep-global-symbol,
1184 --keep-symbols, --localize-symbols, --keep-global-symbols and
1186 * binutils.texi: Document new switches.
1187 * objcopy.1: Regenerate.
1188 * NEWS: Announce new feature.
1190 2001-05-28 Andreas Jaeger <aj@suse.de>
1192 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1193 variables, fix format strings.
1195 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1197 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1198 when computing the address of the line to show.
1200 2001-05-16 Richard Henderson <rth@redhat.com>
1202 * readelf.c (do_debug_frames_interp): New.
1203 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1204 (byte_get_big_endian): Likewise.
1205 (parse_args) ['F']: Set do_debug_frames_interp.
1206 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1207 (frame_display_row): Don't trunc pc_begin to int.
1208 (size_of_encoded_value): New.
1209 (display_debug_frames): Handle 64-bit targets. Print raw data
1210 unless do_debug_frames_interp.
1211 (debug_displays): Remove duplicate .debug_frame.
1213 2001-05-15 Ralf Baechle <ralf@gnu.org>
1215 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1216 The former constant was never in active use and is used otherwise
1219 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1221 * readelf.c (process_unwind): Print all unwind sections, not just
1224 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1226 * readelf.c (process_unwind): Remove const specifier.
1228 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1230 * strings.c (isgraphic): Do not use isascii() unless it is needed
1231 for isprint() to work.
1232 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1234 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1236 * NEWS: Announce support for OpenRISC.
1238 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1240 * dlltool.c (do_default_excludes): Initialise to true.
1242 2001-04-10 Alan Modra <amodra@one.net.au>
1244 * MAINTAINERS: Update my email address
1245 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1247 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1249 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1251 2001-03-30 H.J. Lu <hjl@gnu.org>
1253 * readelf.c (process_unwind): Just return if do_unwind is 0.
1255 2001-03-28 Roger Sayle <roger@metaphorics.com>
1257 * dlltool.c (make_one_lib_file): Fix section flags for
1258 .text, .data and .bss in stub ds*.o files to match those
1261 2001-03-29 H.J. Lu <hjl@gnu.org>
1263 * readelf.c (process_unwind): Only do unwind sections for
1266 2001-03-28 H.J. Lu <hjl@gnu.org>
1268 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1269 * Makefile.in: Regenerate.
1271 2001-03-26 Andreas Jaeger <aj@suse.de>
1273 * binutils.texi (nm): Fix texi syntax.
1275 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1277 * binutils.texi: Put @c man begin and @c man end indications
1278 to generate man pages using texi2pod and pod2man. Put @c man title
1279 to identify each man. Add SEEALSO entries.
1280 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1281 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1283 (*.1): Build the man pages from binutils.texi.
1284 * Makefile.in: Regenerate.
1286 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1288 * defparse.y (opt_equal_name): allow "." in name.
1289 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1290 (gen_exp_file): Likewise.
1292 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1294 * NEWS: Document addition of -B switch to objcopy.
1295 * binutils.texi: Document addition of -B switch to objcopy.
1296 * objcopy.c: (copy_options): Add --binary-architecture.
1297 (copy_usage): Document -B/--binary-architecture.
1298 (copy_main): Support -B/--binary-architecture. Set
1299 bfd_external_binary_architecture.
1301 2001-03-11 Andreas Jaeger <aj@suse.de>
1303 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1304 (dump_relocations): Likewise.
1305 (get_machine_name): Likewise.
1307 2001-02-28 Nick Clifton <nickc@redhat.com>
1309 * readelf.c: (struct unw_aux_info): Remove const modifier for
1311 (process_unwind): Remove non-K&R compliant LHS type cast in call
1312 to GET_DATA_ALLOC macro.
1314 2001-02-28 Philip Blundell <pb@futuretv.com>
1316 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1317 ABI is in use; remove ambiguity between the "unknown" EABI and
1318 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1319 renamed EF_xx constants.
1321 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1323 * configure.in (BFD_VERSION): New.
1324 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1325 * configure: Regenerate.
1326 * Makefile.am: Run "make dep-am"
1327 * Makefile.in: Regenerate.
1329 2001-02-14 Nick Clifton <nickc@redhat.com>
1331 * MAINTAINERS: Add "Obvious Fix" rule.
1333 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1335 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1336 literal concatenation.
1338 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1340 * readelf.c (struct unw_aux_info): Remove const from the info member.
1341 (process_unwind): Don't type-cast the third argument to the
1342 GET_DATA_ALLOC macro.
1344 2001-02-11 Nick Clifton <nickc@redhat.com>
1346 * readelf.c (dump_relocations): Free corrected allocated
1348 (process_unwind): Fix compile time warning.
1350 2001-02-10 Nick Clifton <nickc@redhat.com>
1352 * binutils.texi: Document new --unwind option to readelf.
1354 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1356 * readelf.c: Add linux target for S/390.
1358 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1360 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1363 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1365 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1366 * aclocal.m4: Regenerate.
1367 * configure: Regenerate.
1369 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1371 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1372 * objdump.c (bfd_target_vector): Likewise.
1374 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1376 * readelf.c (process_unwind): New function.
1377 (slurp_ia64_unwind_table): Ditto.
1378 (dump_ia64_unwind): Ditto.
1379 (find_symbol_for_address): Ditto.
1380 (slurp_rela_relocs): New function (split off from dump_relocations()).
1381 (slurp_rel_relocs): Ditto.
1382 (parse_args): Handle '-u' option.
1384 * unwind-ia64.c: New file.
1385 * unwind-ia64.h: New file.
1386 * Makefile.am: Include unwind-ia64.c in readelf build.
1387 * Makefile.in: Regenerate.
1388 * po/binutils.pot: Regenerate.
1390 2001-02-04 Philip Blundell <philb@gnu.org>
1392 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1393 * configure: Regenerate.
1395 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1397 * ieee.c (ieee_add_bb11): Don't check for backslashes
1398 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1400 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1402 * ieee.c: Update copyright.
1403 (ieee_start_compilation_unit): Don't check for backslashes
1404 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1406 * stabs.c: Update copyright. Include "filenames.h".
1407 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1409 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1411 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1412 sections are present before using them. Remove code duplication.
1413 (process_symbol_table): Check if VERDEF or VERNEED sections are
1414 present before using them.
1416 2001-01-17 Nick Clifton <nickc@redhat.com>
1418 * objcopy.c (copy_object): Fail if attempting to convert the
1419 endianness of the input object file.
1421 * binutils.texi: Explain that objcopy cannot convert endianness.
1423 2001-01-16 Nick Clifton <nickc@redhat.com>
1425 * readelf.c (string_table_length): New variable.
1426 (SECTION_NAME): Catch out of range indices and missing section
1428 (process_section_headers): Delete useless local variable
1429 string_table_offset. Set the value of string_table_length
1430 after loading the string table.
1431 (process_mips_specific): Use SECTION_NAME macro.
1432 (process_file): Set string_table_length to 0 when it is freed.
1434 2001-01-12 Nick Clifton <nickc@redhat.com>
1436 * version.c (print_version): Update copyright date.
1438 2001-01-11 Peter Targett <peter.targett@arccores.com>
1440 * readelf.c (dump_relocations): Include selection with EM_ARC.
1441 (get_machine_name) Update name to "ARC".
1443 2001-01-09 Nick Clifton <nickc@redhat.com>
1445 * Makefile.am: Add rule to build objdump.o from objdump.c and
1447 * Makefile.in: Regenerate.
1449 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1450 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1451 -DDISASSEMBLER_NEEDS_RELOCS.
1452 * configure: Regenerate.
1454 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1455 is defined read in the relocs even if dump_reloc_info is
1458 2001-01-07 Philip Blundell <philb@gnu.org>
1460 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1464 2000-12-19 Nick Clifton <nickc@redhat.com>
1466 * dlltool.c: Add missing support for arm-epoc-pe.
1467 * configure.in: Add missing support for arm-epoc-pe.
1468 * configure: Regenerate.
1470 2000-12-15 Nick Clifton <nickc@redhat.com>
1472 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1473 Mode parts of the x86 port.
1475 2000-12-04 Andreas Jaeger <aj@suse.de>
1477 * readelf.c (guess_is_rela): Add EM_X86_64.
1478 (dump_relocations): Add EM_X86_64.
1479 (get_machine_name): Add EM_X86_64.
1480 Include "elf/x86-64.h".
1482 2000-12-12 Nick Clifton <nickc@redhat.com>
1484 * readelf.c: Fix formatting.
1486 2000-12-11 Jan Hubicka <jh@suse.cz>
1488 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1490 2000-12-07 Andrew Haley <aph@redhat.com>
1492 * readelf.c (display_debug_frames): Only display columns that are
1493 referenced by the frame debug info.
1495 2000-12-05 Nick Clifton <nickc@redhat.com>
1497 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1499 2000-12-04 Jason Merrill <jason@redhat.com>
1501 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1502 (display_debug_section): Likewise.
1503 (display_debug_info): Display CU header before bailing.
1505 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1507 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1508 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1509 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1511 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1514 * readelf.c (get_machine_flags): Add case for
1517 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1519 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1521 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1523 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1524 Change sourceware.cygnus.com to sources.redhat.com.
1525 Fix typo for "amongst".
1527 2000-11-28 Nick Clifton <nickc@redhat.com>
1529 * strip.1 (COPYING): Mention that the GNU Free Documentation
1530 License is present in the sources, but not the output, and
1531 also available from the GNU website.
1532 (GNU Free Documentation License): Comment out this section.
1541 * addr2line.1: Ditto.
1543 2000-11-27 DJ Delorie <dj@redhat.com>
1545 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1546 (parse_args): Support -wf option.
1547 (process_section_headers): Ditto.
1548 (debug_displays): Ditto.
1549 (display_debug_frames): New, dump *_frame sections.
1550 (frame_need_space): Support for above.
1551 (frame_display_row): Ditto.
1552 * binutils.texi: Document it.
1554 2000-11-24 Nick Clifton <nickc@redhat.com>
1556 * NEWS: Announce support for v5t, v5te and XScale.
1558 2000-11-22 Nick Clifton <nickc@redhat.com>
1560 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1561 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1562 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1563 (get_elf_section_flags: Add SHF_GROUP.
1564 (process_section_headers): Adjust output for 32-bit binaries
1565 to look nice on an 80 column terminal.
1567 2000-11-20 H.J. Lu <hjl@gnu.org>
1569 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1572 2000-11-17 Richard Henderson <rth@redhat.com>
1574 * readelf.c (display_debug_lines): Adjust last change to
1575 use sizeof (external->li_length).
1577 2000-11-17 Richard Henderson <rth@redhat.com>
1579 * readelf.c (display_debug_lines): Fix section length check
1580 and end_of_sequence computation.
1582 2000-11-06 Nick Clifton <nickc@redhat.com>
1584 * binutils.texi: Add GNU Free Documentation License.
1585 * objcopy.1: Add GNU Free Documentation License.
1586 * objdump.1: Add GNU Free Documentation License.
1587 * addr2line.1: Add GNU Free Documentation License.
1588 * ar.1: Add GNU Free Documentation License.
1589 * nlmconv.1: Add GNU Free Documentation License.
1590 * nm.1: Add GNU Free Documentation License.
1591 * ranlib.1: Add GNU Free Documentation License.
1592 * size.1: Add GNU Free Documentation License.
1593 * strings.1: Add GNU Free Documentation License.
1594 * strip.1: Add GNU Free Documentation License.
1596 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1598 * objcopy.c (--srec-len=nn): New parameter to set the
1599 maximum length of generated Srecords.
1600 (--srec-forceS3): New parameter that restricts the generation of
1601 Srecords to type S3 only.
1602 * binutils.texi: Document new command line switches.
1603 * objcopy.1: Docuemnt the new command line switches.
1604 * NEWS: Announce the existence of the new command line switches.
1606 2000-10-31 Nick Clifton <nickc@redhat.com>
1608 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1609 code. Add Eric Chrisopher as maintainer of MN10300 port.
1611 2000-10-12 Roger Sayle <roger@metaphorics.com>
1613 * Make comma after string after icon/control optional.
1615 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1617 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1619 * NEWS: Mention support for MIPS32.
1621 2000-09-08 Nick Clifton <nickc@redhat.com>
1623 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1625 2000-09-07 H.J. Lu <hjl@gnu.org>
1627 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1628 * configure: Rebuild.
1630 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1632 * configure: Rebuilt with new libtool.m4.
1634 2000-09-05 Nick Clifton <nickc@redhat.com>
1636 * aclocal.m4: Regenerate.
1637 * config.in: Regenerate.
1638 * configure: Regenerate.
1640 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1642 * strip.1: Fix stray '\' in -o formatting.
1644 2000-09-02 Nick Clifton <nickc@redhat.com>
1646 * configure.in: Increase version number to 2.10.91.
1647 * configure: Regenerate.
1648 * aclocal.m4: Regenerate.
1649 * config.in: Regenerate.
1650 * po/binutils.pot: Regenerate.
1652 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1654 * acinclude.m4: Include libtool and gettext macros from the
1656 * aclocal.m4, configure: Rebuilt.
1658 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1660 * resrc.c (close_input_stream): Delete extraneous logic
1662 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1664 * NEWS: Mention support for CRIS.
1666 2000-08-21 Nick Clifton <nickc@redhat.com>
1668 * addr2line.c: Changed email address for Ulrich Lauther.
1670 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1672 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1674 2000-08-17 Nick Clifton <nickc@redhat.com>
1676 * readelf.c (display_debug_pubnames): Only issue warning
1677 message once. Terminate message with a new line.
1678 (display_debug_aranges): Only display version 2 debug info.
1680 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1682 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1683 for compatability with old BSD systems.
1685 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1687 * NEWS: Mention i860 support.
1689 2000-08-11 Carlo Wood <carlo@alinoe.com>
1691 * addr2line.c (main): Add const to char *.
1693 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1695 * ar.c (main): Don't crash if called with no arguments
1696 or only '-X32_64' as an argument.
1698 2000-08-08 DJ Delorie <dj@redhat.com>
1700 * resrc.c: use "gcc -xc" instead of -xc-header
1702 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1704 * readelf.c (elf/i860.h): Include.
1705 (dump_relocations): Add recognition of i860 architecture.
1706 (guess_is_rela): Add recognition of i860 architecture.
1708 2000-08-03 Nick Clifton <nickc@cygnus.com>
1710 * MAINTAINERS: Add information about CGEN maintainers.
1712 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1714 * nm.c (main): Ignore '-X32_64' as an option.
1715 * ar.c (main): Likewise.
1716 * binutils.texi (nm): Document new option.
1719 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1721 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1723 2000-07-20 H.J. Lu <hjl@gnu.org>
1725 * binutils.texi: Put back "@end table" deleted by
1728 2000-07-05 Kenneth Block <krblock@computer.org>
1730 * nm.c: Add optional style to demangle switch.
1731 * objdump.c: Add optional style to demangle switch.
1732 * addr2line.c: Add optional style to demangle switch.
1733 * binutils.texi: Document optional style to demangle
1736 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1738 * MAINTAINERS: Add self as CRIS port maintainer.
1739 * readelf.c: Include elf/cris.h.
1740 (guess_is_rela): Handle EM_CRIS.
1741 (dump_relocations): Ditto.
1742 (get_machine_name): Ditto.
1743 * Makefile.am: Rebuild dependencies.
1744 * Makefile.in: Regenerate.
1745 * po/binutils.pot: Regenerate.
1747 2000-07-19 H.J. Lu <hjl@gnu.org>
1749 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1751 (process_dynamic_segment): Print out strings for DT_CONFIG,
1752 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1754 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1756 * nm.c (usage): Change output of `nm --help' to include a
1757 description of the purpose of the program and a detailed
1758 description of the accepted options.
1760 2000-07-19 H.J. Lu <hjl@gnu.org>
1762 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1765 2000-07-19 H.J. Lu <hjl@gnu.org>
1767 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1769 2000-07-19 H.J. Lu <hjl@gnu.org>
1771 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1773 (process_dynamic_segment): Likewise.
1775 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1776 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1777 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1778 DF_1_NODUMP and DF_1_CONLFAT.
1780 2000-07-18 Nick Clifton <nickc@cygnus.com>
1782 * binutils.texi (readelf): Fix spelling typo.
1784 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1786 * objdump.c (usage): Make output of `objdump --help' more
1787 consistent with the rest of the GNU world. Add a line describing
1788 the purpose of the program.
1790 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1792 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1795 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1797 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1799 (process_symbol_table): Ditto.
1800 (procesS_extended_line_op): Ditto.
1801 (display_debug_lines): Ditto.
1802 (display_debug_pubnames): Ditto.
1803 (read_and_display_attr): Ditto.
1805 2000-07-09 Nick Clifton <nickc@cygnus.com>
1807 * MAINTAINERS: Add several more port specific maintainers.
1809 2000-07-05 Nick Clifton <nickc@cygnus.com>
1811 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1813 2000-06-05 DJ Delorie <dj@redhat.com>
1817 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1819 * dllwrap.c: Changed mistaken dyn_string_append() calls
1820 to dyn_string_append_cstr().
1822 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1824 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1825 struct debug_type stores size in bytes.
1827 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1829 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1830 (CLEANFILES): Add DEPA.
1831 * Makefile.in: Regenerate.
1833 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1835 * ar.c: Revert incorrect 2000-06-25 patch.
1836 * bucomm.c: Likewise.
1838 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1840 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1841 (external_coff_symbol_p): New function.
1842 (parse_coff): Use it.
1844 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1846 * ar.c (normalize): Advance past both characters in a DOS based
1847 <letter>: filepath prefix.
1849 * bucomm.c (make_tempname): Likewise.
1851 2000-06-24 Nick Clifton <nickc@cygnus.com>
1853 * objdump.c (usage): Fix description of --stabs switch.
1855 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1857 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1859 * Makefile.in: Regenerate.
1861 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1863 * ar.c (normalize): Correct pointer comparison when checking for
1866 * bucomm.c (make_tempname): Likewise.
1868 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1869 and search for backslashes in the original pathname.
1870 (ieee_add_bb11): Likewise.
1872 2000-06-18 Nick Clifton <nickc@redhat.com>
1874 * ar.c (print_contents): Improve verbose message.
1876 2000-06-15 H.J. Lu <hjl@gnu.org>
1878 * dyn-string.c: Removed. Not needed with dyn-string.c in
1880 * dyn-string.h: Likewise.
1882 * Makefile.am: Remove references to dyn-string.c and
1883 dyn-string.h. Rebuild dependency.
1884 * Makefile.in: Rebuild.
1886 2000-06-15 H.J. Lu <hjl@gnu.org>
1888 * binutils.texi: Put a warning on copying relocatable object
1889 files between two different formats.
1891 2000-06-13 DJ Delorie <dj@cygnus.com>
1893 * rcparse.y (control): ICON controls take an id as the first
1894 parameter, not an optional string. Also, call new convenience
1895 function that takes res_id's.
1896 * resrc.c (define_control): missing text means zero-length string,
1898 (define_icon_control): New.
1899 * windres.h: declare define_icon_control.
1901 2000-06-13 H.J. Lu <hjl@gnu.org>
1903 * configure: Regenerate.
1905 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1907 * configure.in (VERSION): Update to show this is the CVS mainline.
1909 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1911 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1912 analogous to <SPACE>.
1914 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1916 * objdump.c (display_target_list): Use bfd_close_all_done, not
1917 bfd_close to fix crash caused by 2000-05-24 change.
1919 2000-05-25 DJ Delorie <dj@cygnus.com>
1921 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1923 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1925 * Makefile.am: Update dependencies with "make dep-am"
1926 * Makefile.in: Regenerate.
1928 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1930 * ar.c: Include filenames.h.
1931 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1932 and drive letters in file names.
1933 (main): Support backslashes and drive letters in argv[0]. Drop
1934 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1935 FILENAME_CMP instead of strcmp to compare file names.
1936 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1938 (do_quick_append) [__GO32__]: Ditto.
1939 (get_pos_bfd, delete_members, move_members, replace_members):
1940 Compare file names with FILENAME_CMP.
1942 * bucomm.c: Include filenames.h.
1943 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1944 forward/backward slashes and drive letters in file names.
1946 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1947 mixed forward/backward slashes and drive letters in file names.
1949 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1950 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1953 * objcopy.c: Include filenames.h.
1954 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1955 before comparing to "strip".
1956 Use FILENAME_CMP to compare file names.
1958 * arsup.c: Include filenames.h.
1959 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1960 FILENAME_CMP to compare file names.
1961 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1962 the temporary file name.
1964 * configure.in: Check for setmode.
1965 * configure: Regenerate.
1967 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1969 * objdump.c (display_target_list): Close the bfd.
1970 (display_info_table): Likewise.
1972 2000-05-14 H.J. Lu (hjl@gnu.org)
1974 * objcopy.c (filter_symbols): Don't strip global symbols in
1975 relocatable object files.
1977 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1979 * size.c (usage): Associate short options with corresponding long
1980 option to give a clue as to their function.
1982 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1984 * size.c (main): Accept and ignore `-f' option.
1986 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1988 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1989 bindtextdomain): Replace defines with those from intl/libgettext.h
1990 to quieten gcc warnings.
1992 2000-05-12 H.J. Lu <hjl@gnu.org>
1994 * nlmconv.c (temp_filename): Removed.
1996 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1997 choose_temp_base ().
1998 * objdump.c (display_target_list): Likewise.
1999 (display_info_table): Likewise.
2001 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2003 * objcopy.c (setup_section): Add const and gettext calls for err.
2005 2000-05-02 H.J. Lu <hjl@gnu.org>
2007 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2008 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2009 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2010 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2011 and ELFOSABI_OPENBSD.
2013 2000-05-02 Kazu Hirata <kazu@hxi.com>
2015 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2016 * srconv.c: Likewise.
2017 * sysdump.c: Likewise.
2019 2000-04-23 Denis Chertykov <denisc@overta.ru>
2021 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2022 (get_machine_name): machine name for EM_AVR added.
2024 2000-04-21 Richard Henderson <rth@cygnus.com>
2025 David Mosberger <davidm@hpl.hp.com>
2027 * Makefile.am (readelf.o): Add elf/ia64.h.
2028 * Makefile.in: Rebuild.
2029 * readelf.c: Include elf/ia64.h.
2030 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2032 2000-04-17 Timothy Wall <twall@cygnus.com>
2034 * objdump.c (disassemble_data): Set octets per byte *after*
2035 resolving arch/mach for binary files.
2037 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2039 * arlex.l: Add directives to increase lex buffer size.
2041 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2042 already included by bucomm.h.
2044 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2046 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2047 `strftime' since strftime is not available on all systems.
2048 (process_mips_specific): Ditto.
2050 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2052 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2053 --enable-build-warnings option.
2054 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2055 * Makefile.in, configure: Re-generate.
2057 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2059 * addr2line.c: Update copyright.
2060 * objcopy.1: Likewise, and title.
2061 * strings.1: Likewise.
2063 * version.c (print_version): Add 2000.
2065 * rddbg.c (read_section_stabs_debugging_info): Don't use
2066 bfd_size_type for strx to avoid printf problems if BFD64.
2068 * bucomm.c: (report): Remove `static'.
2069 Move inclusion of stdarg.h/vararg.h from here.
2070 * bucomm.h: To here.
2071 (CONST): Change all occurences to const.
2072 (report): Declare it.
2073 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2074 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2075 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2077 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2078 Correct a typo in an error message.
2079 (do_quick_append): Use non_fatal instead of fprintf.
2080 (move_members): Use fatal instead of fprintf, exit.
2081 * coffdump.c (main): Same here.
2083 * dlltool.c (display): Delete.
2085 (inform): Use `report' instead of `display'.
2086 (rvaafter): Remove trailing \n from fatal error msg.
2088 (asm_prefix): Ditto.
2089 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2090 (def_name): Likewise.
2092 (scan_all_symbols): Likewise.
2093 (gen_lib_file): Likewise.
2094 (def_library): Likewise. Remove extra program_name too.
2095 (run): Remove \n from inform strings.
2096 (scan_drectve_symbols): Likewise.
2097 (add_excludes): Likewise.
2098 (scan_open_obj_file): Likewise.
2099 (gen_exp_file): Likewise.
2100 (gen_lib_file): Likewise.
2101 (process_duplicates): Likewise.
2103 * Makefile.am (dllwrap_SOURCES): Add version.c.
2104 * dllwrap.c (program_version): Delete.
2105 (print_version): Delete.
2106 (display): Always print trailing \n.
2108 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2111 (usage): gettext'ify.
2112 (long_options): Add missing initialisers.
2114 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2115 (select_output_format): Likewise.
2116 (powerpc_mangle_relocs): Likewise.
2117 (link_inputs): Likewise.
2119 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2120 (set_output_format): Likewise.
2121 (main): Use non_fatal instead of fprintf.
2122 (display_rel_file): Likewise.
2124 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2125 (slurp_dynamic_symtab): Same here.
2126 (disassemble_data): And here.
2127 (read_section_stabs): And here.
2128 (read_section_stabs): And here.
2129 (dump_bfd): And here.
2131 (objdump_sprintf): Use fatal instead of fprintf, exit.
2132 (disassemble_data): Same here.
2134 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2135 (parse_coff_struct_type): Same here.
2136 (parse_coff_enum_type): And here.
2137 (parse_coff): And here.
2138 * rddbg.c (read_debugging_info): And here.
2139 * size.c (main): And here.
2140 * windres.c (format_from_name): And here.
2141 * wrstabs.c (stab_write_symbol): Here too.
2142 (write_stabs_in_sections_debugging_info): And here.
2143 (stab_int_type): And here.
2144 (stab_struct_field): And here.
2145 (stab_typdef): And here.
2147 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2148 * srconv.c (main): Same here.
2149 * strings.c (main): And here.
2150 (integer_arg): And here.
2151 * sysdump.c (main): And here.
2153 2000-04-06 Timothy Wall <twall@cygnus.com>
2155 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2157 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2159 * readelf.c (decode_location_expression): Loop through multiple
2161 (read_and_display_attr): Pass in length.
2163 * readelf.c (read_and_display_attr): Add CU offset to references.
2164 (display_debug_info): Pass it in.
2166 2000-04-06 Nick Clifton <nickc@cygnus.com>
2168 * readelf.c (decode_ARM_machine_flags): New function.
2169 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2172 (get_machine_name): Catch EM_AVR
2174 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2176 * binutils.texi: Remove optional `=' from long options that have
2177 an `=' in the argument.
2178 * objcopy.1: Here too. Remove extra space on discard-all.
2180 * binutils.texi (objcopy): Mention --redefine-sym.
2181 * objcopy.1: Here too.
2184 * objcopy.c (parse_flags): Split off flag names from error message
2185 gettext as they are not translated.
2186 (copy_main): Similarly split off option name for --add-section,
2187 --set-section-flags, --change-section-vma, --change-section-lma
2189 Some white space changes.
2191 from Matthew Benjamin <matt@linuxbox.nu>
2192 * objcopy.c (struct redefine_node): New.
2193 (redefine_sym_list): New.
2194 (redefine_list_append): New.
2195 (lookup_sym_redefinition): New.
2196 (OPTION_REDEFINE_SYM): New.
2197 (copy_options): Add --redefine-sym option.
2198 (copy_usage): Mention it.
2199 (filter_symbols): Rename symbols on redefine_sym_list.
2200 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2201 (copy_main): Handle OPTION_REDEFINE_SYM.
2203 2000-04-04 H.J. Lu <hjl@gnu.org>
2205 * readelf.c (process_symbol_table): Correctly read in symbol
2206 versioning information.
2208 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2210 * po/binutils.pot: Regenerate.
2212 * addr2line.c (usage): Restore translated part of bug string.
2213 * ar.c (usage): Likewise.
2214 * nlmconv.c (show_usage): Likewise.
2215 * nm.c (usage): Likewise.
2216 * objcopy.c (copy_usage): Likewise.
2217 (strip_usage): Likewise.
2218 * objdump.c (usage): Likewise.
2219 * readelf.c (usage): Likewise.
2220 * size.c (usage): Likewise.
2221 * strings.c (usage): Likewise.
2222 * windres.c (usage): Likewise.
2224 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2225 (DEP): Quote when passing vars to sub-make. Add warning
2227 (DEP1): Rewrite for "gcc -MM".
2228 (CLEANFILES): Add DEP2.
2229 Update dependencies.
2230 * Makefile.in: Regenerate.
2232 2000-04-04 H.J. Lu <hjl@gnu.org>
2234 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2235 (arparse.h): Depend on arparse.c
2236 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2238 2000-04-03 H.J. Lu (hjl@gnu.org)
2240 * size.c (usage): Use REPORT_BUGS_TO.
2242 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2244 * bucomm.h: #include "bin-bugs.h"
2245 * addr2line.c (usage): Use REPORT_BUGS_TO.
2246 * ar.c (usage): Likewise.
2247 * nlmconv.c (show_usage): Likewise.
2248 * nm.c (usage): Likewise.
2249 (OPTION_TARGET): Define.
2250 (long_options): Use OPTION_TARGET rather than 200.
2253 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2254 (strip_usage): Likewise.
2255 * objdump.c (usage): Likewise.
2256 * readelf.c (usage): Likewise.
2257 * strings.c (usage): Likewise.
2258 * windres.c (usage): Likewise.
2260 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2262 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2264 2000-03-27 Nick Clifton <nickc@cygnus.com>
2266 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2267 string offsets in corrupt stabs entries.
2269 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2271 * readelf.c: Include elf/avr.h
2272 (dump_relocations): Add EM_AVR case.
2274 2000-03-09 Tim Waugh <twaugh@redhat.com>
2276 * strings.1: Correct '-bytes' to '--bytes'.
2278 2000-03-08 H.J. Lu <hjl@gnu.org>
2280 * Makefile.am (install-exec-local): Depend on
2281 install-binPROGRAMS for parallel make.
2282 * Makefile.in: Regenerated.
2284 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2286 From Brad Lucier <lucier@math.purdue.edu>:
2287 * readelf.c (process_dynamic_segment): Add cast to make sure
2288 argument to %* is int.
2290 2000-02-25 H.J. Lu <hjl@gnu.org>
2292 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2294 2000-02-24 Nick Clifton <nickc@cygnus.com>
2296 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2297 * configure: Regenerate.
2299 * dlltool.c: Add support for sh-pe and mips-pe targets.
2300 * rescoff.c: Add support for sh-pe and mips-pe targets.
2302 2000-02-23 H.J. Lu <hjl@gnu.org>
2304 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2306 2000-02-22 Nick Clifton <nickc@cygnus.com>
2308 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2310 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2312 From Brad Lucier <lucier@math.purdue.edu>:
2313 * readelf.c (process_version_sections): Add casts to make sure
2314 argument to %* is an int.
2315 (process_mips_specific): Add casts to make printf arguments match
2318 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2320 * objdump.c (dump_section_header): Change `opb' to unsigned.
2321 (find_symbol_for_address): Same here.
2322 (disassemble_data): And here. Change `addr_offset',
2323 `stop_offset', `nextstop_offset' to unsigned long.
2324 (dump_data): Change opb to unsigned.
2326 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2328 * resrc.c: Remove unmatched #if for cygwin.
2330 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2332 * binutils.texi: Document the change of flavor name from atpcs-special
2333 to special-atpcs to prevent name conflict in gdb.
2335 2000-02-08 Timothy Wall <twall@redhat.com>
2337 * objdump.c (show_line): Fix bug preventing printing of the very
2338 first line (line zero) of a file when interlisting source and
2339 assembly. Added option to print entire context from start of file
2340 when the first line from that file is encountered.
2342 2000-02-03 Timothy Wall <twall@redhat.com>
2344 * objdump.c (dump_section_header, find_symbol_for_address,
2345 show_line, disassemble_bytes, disassemble_data, dump_data):
2346 distinguish between octets and bytes.
2348 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2350 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2351 check to unresolved symbols.
2352 (print_symbol_info_sysv): Ditto.
2353 (print_symbol_info_posix): Ditto.
2355 * binutils.texi: Document new 'V' symclass flag for nm.
2357 2000-01-27 Nick Clifton <nickc@redhat.com>
2359 * binutils.texi (objdump): Document new ARM specific
2360 disassembler options.
2362 * objdump.c (usage): Call disassembler_usage().
2364 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2366 * readelf.c (get_dynamic_flags): Return buff.
2367 (process_dynamic_segment): Don't pass error strings to printf
2369 (read_and_display_attr): Use lx and ld to print longs.
2370 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2374 2000-01-17 Nick Clifton <nickc@cygnus.com>
2376 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2378 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2380 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2382 (debug_tag_type): Here too.
2383 * ieee.c (ieee_builtin_type): And here.
2384 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2386 2000-01-13 Nick Clifton <nickc@cygnus.com>
2388 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2391 2000-01-11 Nick Clifton <nickc@cygnus.com>
2393 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2395 2000-01-10 Nick Clifton <nickc@cygnus.com>
2397 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2399 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2401 * windres.c (long_options): Add --use-temp-file and
2402 --no-use-temp-file options.
2406 * windres.h: Update read_rc_file prototype.
2408 * resrc.c (cpp_temp_file): New static variable.
2409 (istream_type): New static variable.
2410 (close_pipe): Delete function.
2411 (run_cmd): New static function.
2412 (open_input_stream): New static function.
2413 (close_input_stream): New static function.
2414 (look_for_default): Handle DOS directory separator. Use
2415 open_input_stream instead of popen.
2416 (read_rc_file): Likewise.
2418 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2421 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2423 * dlltool.c (create_compat_implib): New variable.
2424 (gen_exp_file): Use.
2425 (make_one_lib_file): Use.
2426 (long_options): Add --compat-implib option.
2430 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2431 (main): Use. Don't look for "32" in cygwin and mingw target names.
2433 2000-01-03 Nick Clifton <nickc@cygnus.com>
2435 * binutils.texi: Document new, ARM specific disassembler
2436 command line switch "-M force-thumb".
2438 For older changes see ChangeLog-9899
2444 version-control: never