1 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
3 * Makefile.am: Honour DESTDIR.
4 * Makefile.in: Regenerate.
6 2002-05-06 Alan Modra <amodra@bigpond.net.au>
8 * dlltool.c (process_def_file): Add missing prototype.
9 (new_directive, assemble_file, main): Likewise.
10 (process_def_file, new_directive): Make static.
11 (inform): Rewrite using VA_FIXEDARG.
12 * dllwrap.c (mybasename): Add missing prototype.
13 (strhash, main): Likewise.
14 (inform): Rewrite using VA_FIXEDARG.
16 (cleanup_and_exit): Use old style function definition.
18 * windres.c (define_resource): Use one memset to clear all of
21 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
22 call to rules that need no lookahead. Check for no lookahead.
24 2002-05-06 Borut Razem <borut.razem@siol.net>
26 * rclex.l (get_string): Correct "strings" list handling.
27 * resrc.c (read_rc_file): Discard strings.
29 2002-05-04 Alan Modra <amodra@bigpond.net.au>
31 * ar.c (replace_members): Remove unused var. Formatting fix.
32 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
34 * MAINTAINERS: Sort port maintainers by CPU.
36 2002-05-04 Bob Byrnes <byrnes@curl.com>
38 * size.c (display_archive): Add last_arfile and code to close archives.
40 2002-05-01 Alan Modra <amodra@bigpond.net.au>
42 * nm.c (print_symbol): Check returned filename from
43 bfd_find_nearest_line is non-NULL.
45 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
47 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
49 2002-04-24 Christian Groessler <chris@groessler.org>
51 * MAINTAINERS: Changed my email address.
53 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
55 * arparse.y: Fix syntax warning.
57 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
59 * readelf.c (fetch_location_list): Remove unused function.
61 * readelf.c (process_corefile_note_segment): Catch corrupt notes
62 and display a warning message, then exit the loop.
64 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
66 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
68 * resrc.c (write_rc_dialog): If charset is non-default value
69 display all of the DIALOGEX parameters.
71 2002-04-15 Eric Kohl <ekohl@rz-online.de>
73 * rcparse.y: Allow two to five parameter in FONT statement of
75 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
77 (res_to_bin_dialog): Likewise.
78 * windres.h: Added misssing charset variable to dialog_ex
81 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
83 * rcparse.y: Set MEMFLAG_PURE by default.
85 2002-04-09 Bernd Herd <info@herdsoft.com>
87 * rcparse.y: CLASS definitions in DIALOG resources
89 Fix typo in BEDIT warning.
90 Don't add default dialog style when explicit style specified.
91 Add WS_CAPTION dialog style if CAPTION is specified.
93 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
94 (handle_quotes) "\a" escape (used for right justified key
95 definitions in menus) is encodes as binary 8.
97 * resrc.c (write_rc_dialog): Print style even if it is 0.
98 (write_rc_directory): Fix overlooked sublang shift bug.
99 (bin_to_res_dialog): Don't print empty dialog caption.
101 * resbin.c (bin_to_res_dialog): Use signature to identify
104 * windres.c (main): Set default LANGUAGE to english/us.
106 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
108 * resrc.c: print CLASS names in quotes
110 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
112 * MAINTAINERS: Update my email address.
114 2002-04-04 Alan Modra <amodra@bigpond.net.au>
116 * dep-in.sed: Cope with absolute paths.
117 * Makefile.am (dep.sed): Subst TOPDIR.
119 * Makefile.in: Regenerate.
121 2002-03-27 Peter Targett <peter.targett@arc.com>
123 * MAINTAINERS: Update my email address.
125 2002-03-21 Alan Modra <amodra@bigpond.net.au>
127 * Makefile.am: Run "make dep-am".
128 * Makefile.in: Regenerate.
129 * doc/Makefile.in: Regenerate.
130 * po/POTFILES.in: Regenerate.
131 * aclocal.m4: Regenerate.
132 * config.in: Regenerate.
133 * configure: Regenerate.
135 2002-03-20 Daniel Berlin <dan@dberlin.org>
137 * readelf.c: Add support for displaying dwarf2 location lists.
138 (do_debug_loc, debug_loc_section, debug_loc_size): New.
139 (parse_args): Use 'O' as shorthand for displaying location list
141 (process_section_headers): Handle debug_loc as well.
142 (load_debug_loc): New.
143 (free_debug_loc): New.
144 (fetch_location_list): New.
145 (display_debug_loc): New.
146 (display_debug_info): Call load_debug_loc and free_debug_loc.
147 (debug_displays): We can display .debug_loc now, too.
148 (usage): Update usage string.
149 (read_and_display_attr_value): Note location lists, but don't
152 2002-03-18 Tom Rix <trix@redhat.com>
154 * Makefile.am: Add binutils emulation support.
155 * configure.in: Same.
156 * configure.tgt: New file. Same.
157 * ar.c (main): Use ar_emul_parse_arg.
158 (usage): Use ar_emul_usage.
159 (replace_members): Use ar_emul_replace, ar_emul_append.
160 * binemul.c: New file. Define the binutils emulation
161 layer. Define default methods.
162 * binemul.h: New file. Binutils emulation layer header file.
163 * emul_aix.c: New file. AIX binutils emulation.
164 * emul_vanilla.c: New file. Default binutils emulation.
165 * Makefile.in: Regenerate.
168 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
170 * po/fr.po: Updated version.
172 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
174 * po/fr.po: Updated version.
176 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
178 * README: Update some version numbers.
180 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
182 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
183 (Architecture Selection): Likewise.
185 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
187 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
188 generating .exp file.
190 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
192 * readelf.c (dump_relocations): Fix typo.
194 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
196 * NEWS: Mark 2.12 branch.
198 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
200 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
201 types for 64-bit MIPS. Narrow some fields for 80-char
203 (dump_relocations): Change spelling from 'unrecognised'
205 (decode_ARM_machine_flags): Likewise.
206 (parse_args): Likewise.
207 (read_and_display_attr_value): Likewise.
208 (display_debug_section): Likewise.
210 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
212 * NEWS: Mention support for MMIX.
214 2002-02-13 Matt Fredette <fredette@netbsd.org>
216 * readelf.c (get_machine_flags): Recognize EF_M68000.
218 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
220 * MAINTAINERS: Added self as MN10300 co-maintainer.
222 2002-02-12 Alan Modra <amodra@bigpond.net.au>
224 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
227 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
229 * MAINTAINERS: List myself as branch maintainer.
231 2002-02-11 Alan Modra <amodra@bigpond.net.au>
233 * configure: Regenerate.
234 * objcopy.c: Update copyright date.
235 * doc/Makefile.in: Regenerate.
237 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
239 * nlmconv.c: Back out localtime PARAMS change.
241 2002-02-11 Alan Modra <amodra@bigpond.net.au>
243 * objcopy.c (MKDIR): Define.
244 (copy_archive): Make name_list.name const. Use MKDIR.
245 Handle duplicate files in archives by making more temp dirs.
247 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
249 * coffdump.c: Include "getopt.h" after "bucomm.h"
250 so that macros are defined correctly.
251 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
252 prototype. Prototype main.
253 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
255 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
257 * MAINTAINERS: Added self as SH co-maintainer.
259 2002-02-05 Nick Clifton <nickc@redhat.com>
261 * po/tr.po: Updated translation.
263 2002-02-01 Alan Modra <amodra@bigpond.net.au>
265 * Makefile.am: Run "make dep-am"
266 * Makefile.in: Regenerate.
268 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
270 * nm.c (print_value): Mark abfd unused.
272 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
274 * unwind-ia64.c (unw_decoder): Change second argument
275 to unsigned int, to match function prototypes.
277 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
279 * objdump.c: Include "getopt.h" after "bucomm.h" so that
280 __GNU_LIBRARY__ will be defined.
283 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
285 * configure: Regenerated.
287 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
289 * doc/Makefile.am (install): Depend on install-info.
290 * doc/Makefile.in: Regenerate.
292 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
294 * objcopy.c (strip_usage): Document -d as an alias
297 * size.c (usage): Document [-t | --totals] options.
298 (long_options): Add --totals option.
299 (main): If the [-t | --totals] option is specified and
300 the output format is Berkeley-style, print the total
301 text, data, and bss sizes of all objects listed.
302 (print_berkeley_format): If the [-t | --totals] option
303 is specified, track the total text, data, and bss
305 * doc/binutils.texi (size): Document [-t | --totals] options.
306 (strip): Document -d as an alias for --strip-debug.
307 * NEWS: Mention new feature of size.
309 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
311 * po/fr.po: Updated version.
312 * po/es.po: Updated version.
314 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
316 * addr2line.c (usage): Update text to provide verbose
317 description of the command line options.
318 * ar.c (usage): Update text to provide verbose
319 description of the command line options.
320 (main): Accept -h and -H when running as ranlib.
321 * coffdump.c (show_usage): Update text to provide verbose
322 description of the command line options.
323 * dlltool.c (main): Accept -H as an alias for --help.
324 * nlmconv.c (show_usage): Update text to provide verbose
325 description of the command line options.
326 * nm.c (usage): Replace OPTIONS with option(s).
327 (main): Accept -H as an alias for --help.
328 * objcopy.c (strip_main): Accept -H as an alias for --help.
329 * objdump.c (main): Accept -v as an alias for --verbose.
330 * readelf.c (usage): Adjust format to match style used in
332 * size.c (usage): Update text to provide verbose description
333 of the command line options.
334 (main): Accept -v, -h and -H as command line options.
335 * srconv.c (show_usage): Update text to provide verbose
336 description of the command line options.
337 * strings.c (main): Accept -H and -v as command line options.
338 (usage): Update text to provide verbose description of the
339 command line options.
340 * sysdump.c (show_usage): Update text to provide verbose
341 description of the command line options.
342 * windres.c (usage): Adjust format to match style used in
345 * coffdump.c: Fix formatting.
346 * nlmconv.c: Fix formatting.
347 * srconv.c: Fix formatting.
348 * sysdump.c: Fix formatting.
350 2002-01-22 Alan Modra <amodra@bigpond.net.au>
352 * Makefile.am: Run "make dep-am".
353 * Makefile.in: Regenerate.
355 2002-01-18 Andreas Jaeger <aj@suse.de>
357 * version.c (print_version): Update year.
359 2002-01-17 Alan Modra <amodra@bigpond.net.au>
361 * readelf.c (get_machine_name): Handle EM_PPC64.
362 (guess_is_rela): Here too.
364 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
366 * po/binutils.pot: Regenerate.
367 * po/fr.po: Regenerate.
368 * po/tr.po: Regenerate.
370 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
372 * po/tr.po: Import new version.
374 2002-01-16 Alan Modra <amodra@bigpond.net.au>
376 * readelf.c (get_ppc64_dynamic_type): New.
377 (get_dynamic_type): Call it.
379 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
381 * objcopy.c (copy_usage): Use "options" instead of "switches".
382 (strip_usage): Use "options" instead of "switches".
383 * doc/binutils.texi (dlltool): Refer to "options" instead of
386 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
388 * MAINTAINERS: Add self as co-maintainer for the ARM code.
390 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
392 * po/es.po: Import from translation project.
393 * configure.in (ALL_LINGUAS): Add es.
394 * configure: Regenerate.
396 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
398 * readelf.c (get_netbsd_elfcore_note_type): Use
399 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
401 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
403 * readelf.c: Update copyright years.
404 (get_note_type): Return a const char *.
405 (get_netbsd_elfcore_note_type): New function.
406 (process_note): Use get_netbsd_elfcore_note_type to get
407 the note type string for NetBSD ELF core files.
409 2002-01-06 Steve Ellcey <sje@cup.hp.com>
411 * readelf.c (get_ia64_segment_type): Add support for macros.
412 (get_segment_type): Add support for IA64 specific macros.
414 2001-12-20 Julian v. Bock <julian@wongr.net>
416 * readelf.c (print_symbol): New function: Print a formatted symbol
417 name. If --wide is specified do not truncate it.
418 (dump_relocations): Use print_symbol() to print symbol names.
419 (process_symbol_table): Likewise.
420 (process_syminfo): Likewise.
421 (process_mips_specific): Likewise.
422 (usage): Document new feature of --wide switch.
423 * doc/binutils.texi (objdump): Document additional behaviour of
426 2001-12-18 Michael Snyder <msnyder@redhat.com>
428 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
429 (copy_object): Don't set the start address or flags of a core file.
430 (copy_section): Don't relocate a core file. Don't copy contents
431 if the input section has the contents flag set, but the output
432 section does not (which happens with the fake 'note' pseudo-
433 sections that BFD creates for corefiles).
435 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
437 * readelf.c (get_machine_flags): Recognize header flags for ABI and
438 ASE extensions. More robust code for ISA checking. Ignore empty fields
439 in header flags for GNU extensions.
441 2001-12-18 Alan Modra <amodra@bigpond.net.au>
443 * objcopy.c (copy_archive): Set output bfd format outside the loop.
445 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
447 * po/ja.po: Import from translation project.
448 * configure.in (ALL_LINGUAS): Add ja.
449 * configure: Regenerate.
451 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
453 * addr2line.c (main): Protoype.
454 * ar.c (main): Protoype.
455 * nm.c (main): Protoype.
456 * objcopy.c (main): Protoype.
457 * objdump.c (main): Protoype.
458 * size.c (main): Protoype.
459 * strings.c (main): Protoype.
461 2001-12-17 Alan Modra <amodra@bigpond.net.au>
463 * readelf.c (symtab_shndx_hdr): New global.
464 (SECTION_HEADER_INDEX): Define.
465 (SECTION_HEADER_NUM): Define.
466 (SECTION_HEADER): Define.
467 (GET_ELF_SYMBOLS): Pass two params rather than three.
468 (get_32bit_elf_symbols): Take file and section args. Read and
469 use SHT_SYMTAB_SHNDX.
470 (get_64bit_elf_symbols): Likewise.
471 (dump_relocations): Use SECTION_HEADER to index "section_headers".
472 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
473 Remember symtab_shdx_hdr.
474 (process_program_headers): Scan from index 1 for segment map.
475 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
477 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
478 (process_unwind): Likewise.
479 (process_version_sections): Likewise.
480 (process_symbol_table): Likewise.
481 (display_debug_info): Likewise.
482 (process_dynamic_segment): Fake up a symtab section for changed
484 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
485 (process_program_headers): Kill signed/unsigned warning.
486 (load_debug_str): Likewise.
487 (display_debug_info): Likewise.
489 2001-12-13 Jakub Jelinek <jakub@redhat.com>
491 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
493 2001-12-11 Alan Modra <amodra@bigpond.net.au>
495 * readelf.c (process_file_header): Print extended e_shnum and
496 e_shdtrndx values. Set elf_header values for same.
497 (get_32bit_section_headers): Add "num" arg to read "num" headers.
498 (get_64bit_section_headers): Likewise.
499 (process_section_headers): Update calls.
500 (get_file_header): Call get_32bit_section_headers or 64bit variant.
502 2001-12-10 Jakub Jelinek <jakub@redhat.com>
504 * objcopy.c (setup_section): Copy entsize.
506 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
508 * readelf.c (guess_is_rela): Add support for stormy16.
509 (dump_relocations): Likewise.
510 (get_machine_name): Likewise.
512 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
514 * dllwrap.c (main) Replace multiple strings describing a
515 single error with a single, newline escaped sentence to permit
516 better translation into foreign languages.
518 * readelf.c (get_elf_class): Remove internalionalisation of ELF
521 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
523 * strings.c (get_char): Initialize value.
525 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
527 * arlex.l: Silence compile warnings.
528 * arsup.h: Likewise. Fix formatting.
530 2001-12-04 Jakub Jelinek <jakub@redhat.com>
532 * strings.c: Include config.h before bfd.h.
533 (file_off): New type.
535 (print_strings): Use file_off instead of file_ptr. Print addresses
536 which don't fit into long correctly.
537 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
539 (strings_file): Use file_off instead of file_ptr. Use file_open.
540 * configure.in: Check for getc_unlocked.
541 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
543 * configure: Rebuilt.
544 * config.h.in: Rebuilt.
546 2001-11-29 H.J. Lu <hjl@gnu.org>
548 * bucomm.c (make_tempname): Revert the changes made on
549 2001-11-14 and 2001-11-12. They won't work with directories.
551 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
553 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
554 CFLAGS_FOR_TARGET to runtest in environment.
555 * Makefile.in: Rebuild.
556 * doc/Makefile.in: Rebuild.
558 2001-11-28 Mike Stump <mrs@wrs.com>
560 * objcopy.c (setup_section): Preserve SEC_RELOC when
561 --set-section-flags is used.
563 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
565 * readelf.c (do_debug_str): New variable.
566 (display_debug_str): New function: Display the contents of a
568 (load_debug_str): New function: Load in the contents of a
570 (free_debug_str): New function: Free the memory used by
572 (fetch_indirect_string): Retrieve a string from the .debug_str
575 (parse_args): Accept -ws.
576 (process_section_headers): Allow the display of the .debug_str
578 (read_and_display_attr_value): Use fetch_indirect_string. Show
579 offset into .debug_str section.
580 (display_debug_info): Use load_debug_str and free_debug_str.
581 (debug_displays): Add .debug_str.
582 * doc/binutils.texi: Document -ws.
584 2001-11-19 Andreas Jaeger <aj@suse.de>
586 * testsuite/binutils-all/objdump.exp: Add x86-64.
588 2001-11-15 Andreas Schwab <schwab@suse.de>
590 * readelf.c: Fix warnings without terminating newline.
592 2001-11-15 Alan Modra <amodra@bigpond.net.au>
594 * doc/binutils.texi (objdump): Document ppc -M options.
596 2001-11-14 Andreas Jaeger <aj@suse.de>
598 * doc/binutils.texi (objdump): Fix description to use x86-64.
600 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
602 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
603 not all systems provide mkstemp.
605 2001-11-14 Alan Modra <amodra@bigpond.net.au>
607 * doc/binutils.texi (objdump): Document x86 -M options.
609 2001-11-13 Keith Walker <keith.walker@arm.com>
611 * readelf.c (read_and_display_attr_value): New function to
612 handle DW_FORM_indirect.
613 (read_and_display_attr): Use it.
615 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
617 * readelf.c (display_debug_lines): Deal with unknown standard
618 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
621 2001-11-13 Timothy Wall <twall@alum.mit.edu>
623 * MAINTAINERS: Add self as tic54x maintainer. This target
624 includes the IBM C54XDSP clone.
626 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
628 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
630 2001-11-09 Jeffrey A Law (law@cygnus.com)
632 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
633 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
634 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
635 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
636 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
637 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
638 (unw_decode_b2, unw_decode_b3_b4): Likewise.
640 * readelf.c (get_elf_class): Fix ISO portability glitch.
641 (get_data_encoding, get_osabi_name, request_dump): Likewise.
643 2001-11-07 Jakub Jelinek <jakub@redhat.com>
645 * readelf.c (debug_str, debug_str_size): New.
646 (display_debug_abbrev): If no abbrevs were read, skip the CU.
648 (read_and_display_addr): Handle DW_FORM_strp.
649 (display_debug_info): Read .debug_str section if present,
650 so that DW_FORM_strp can be handled.
651 Fix test for non-existant .debug_abbrev section.
653 2001-11-05 Jakub Jelinek <jakub@redhat.com>
655 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
657 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
659 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
661 * MAINTAINERS: Add self as s390/s390x maintainer.
663 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
665 * MAINTAINERS: Add self as PPC XCOFF maintainer.
667 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
669 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
670 * configure: Regernate.
671 * po/fr.po: New file.
672 * po/tr.po: New file.
674 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
676 * MAINTAINERS: Add self as MMIX port maintainer.
677 * readelf.c: Include elf/mmix.h.
678 (guess_is_rela): MMIX is RELA.
679 (dump_relocations): Handle MMIX relocations.
680 * Makefile.am: Regenerate dependencies.
681 * Makefile.in: Regenerate.
683 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
685 * readelf.c (parse_args): Handle multiple options to the -w
688 2001-10-12 Jakub Jelinek <jakub@redhat.com>
690 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
691 LOPROC, LOOS and LOUSER.
693 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
695 * MAINTAINERS: Update my email address.
697 2001-10-03 Alan Modra <amodra@bigpond.net.au>
699 * doc/Makefile.in: Regenerate.
700 * configure: Regenerate.
702 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
704 * readelf.c (display_debug_line, display_debug_pubnames,
705 display_debug_info, display_debug_frames): Detect and warn
706 about 64-bit format entries.
707 (display_debug_aranges): Reword 64-bit warning.
708 (debug_displays): Add .debug_pubtypes as a known, but not yet
709 supported, debug section.
711 2001-10-02 Alan Modra <amodra@bigpond.net.au>
713 * coffdump.c (PROGRAM_VERSION): Delete.
714 (main <'V'>): Call print_version.
715 * srconv.c: Likewise.
716 * sysdump.c: Likewise.
717 * version.c (program_version): Remove.
718 (print_version): Use BFD_VERSION_STRING. Just print the current
719 year in copyright message.
720 * addr2line.c (program_version): Remove unused declaration.
721 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
722 place of BFD_VERSION.
723 * Makefile.am (Makefile): Depend on bfd/configure.in.
724 (cplus-dem.o): Depend on Makefile.
726 * Makefile.in: Regenerate.
728 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
730 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
731 format .debug_arange sections.
732 (main): Add missing prototype.
734 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
736 * Makefile.am: Update dependencies with "make dep-am".
737 * Makefile.in: Regenerate.
739 2001-09-28 Richard Henderson <rth@redhat.com>
741 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
743 2001-09-26 Alan Modra <amodra@bigpond.net.au>
745 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
747 (non_fatal): Likewise.
748 * objdump.c (objdump_sprintf): Likewise.
749 * readelf.c (error): Likewise.
752 2001-09-25 Jakub Jelinek <jakub@redhat.com>
754 * readelf.c (do_wide): New.
755 (options): Add --wide.
756 (usage, parse_args): Likewise.
757 (process_program_headers): Put each segment on a single line if
759 (process_section_headers): Put each section on a single line if
761 * doc/binutils.texi: Document it.
764 2001-09-25 Alan Modra <amodra@bigpond.net.au>
766 * readelf.c (print_vma): Print 8 digits of low hex value.
768 2001-09-24 Andreas Jaeger <aj@suse.de>
770 * nlmconv.c: Fix warnings about unused attributes and function
773 * strings.c: Add prototype for get_char.
775 2000-09-19 H.J. Lu <hjl@gnu.org>
777 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
778 $(srcdir)/cxxfilt.man.
779 * doc/Makefile.in: Rebuild.
781 2001-09-19 Alan Modra <amodra@bigpond.net.au>
783 * objcopy.c (copy_main): Correct rename-section string parsing.
784 Consolidate new_name parsing, and error messages.
786 2001-09-18 Bruno Haible <haible@clisp.cons.org>
788 * addr2line.c: Don't include <ctype.h>.
789 (main): For gettext, also set the LC_CTYPE locate facet.
790 * ar.c (main): Likewise.
791 * coffdump.c (main): Likewise.
792 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
793 (main): For gettext, also set the LC_CTYPE locate facet.
794 Use ISALNUM instead of isalpha/isdigit.
795 * dllwrap.c: Don't include <ctype.h>.
796 (main): For gettext, also set the LC_CTYPE locate facet.
797 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
798 (main): For gettext, also set the LC_CTYPE locate facet.
799 Use TOUPPER instead of islower/toupper.
800 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
801 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
802 Use TOUPPER instead of islower/toupper.
803 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
804 * objcopy.c (main): Likewise.
805 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
806 (disassemble_bytes): Use ISPRINT instead of isprint.
807 (dump_section_stabs): Use ISDIGIT instead of isdigit.
808 (dump_data): Use ISPRINT instead of isprint.
809 (main): For gettext, also set the LC_CTYPE locate facet.
810 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
811 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
812 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
813 Use TOUPPER instead of islower/toupper.
814 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
815 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
816 (write_rc_accelerators): Use ISPRINT instead of isprint.
817 (write_rc_rcdata): Likewise.
818 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
819 * srconv.c (main): Likewise.
820 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
821 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
822 isdigit/isupper/islower.
823 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
824 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
825 stab_demangle_prefix, stab_demangle_qualified,
826 stab_demangle_template, stab_demangle_type,
827 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
828 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
829 (isgraphic): Use ISPRINT instead of isascii/isprint.
830 (main): Remove HAVE_LC_MESSAGES dependency.
831 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
832 (pbarray): Use ISPRINT instead of isprint.
833 (main): For gettext, also set the LC_CTYPE locate facet.
834 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
835 (format_from_filename): Use ISPRINT instead of isprint.
836 (main): For gettext, also set the LC_CTYPE locate facet.
837 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
838 (unicode_print): Use ISPRINT instead of isprint.
839 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
840 (stab_variable): Use ISDIGIT instead of isdigit.
842 2001-09-18 Alan Modra <amodra@bigpond.net.au>
844 * ar.c (print_contents): Cast args of bfd_seek to the right types.
845 Replace bfd_read call with call to bfd_bread.
846 (extract_file): Likewise.
848 * objdump.c (dump_section_header): Cast section->filepos to
849 unsigned long to suit printf format string.
850 * readelf.c (process_section_headers): Similarly for sh_offset.
851 (process_unwind): Likewise.
853 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
855 * strings.c (encoding, encoding_bytes): New variables.
856 (long_options): Add --encoding.
857 (main): Accept -e and --encoding.
858 (get_char): New function. Read a, possibly wide, character from
860 (print_strings): Use get_char().
861 (usage): Document new command line option.
862 * doc/binutils.texi: Document new command line option.
863 * NEWS: Announce new command line option.
865 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
867 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
868 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
869 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
870 Removed EM_CYGNUS_ARC.
872 2001-09-04 Jeffrey A Law (law@cygnus.com)
874 * readelf.c: Include elf/h8 for H8 series definitions.
875 (guess_is_rela): H8 series if RELA.
876 (dump_relocations): Handle H8 series relocations.
878 2001-08-31 Eric Christopher <echristo@redhat.com>
880 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
882 2001-08-29 Peter Targett <peter.targett@arccores.com>
884 * MAINTAINERS: Include ARC Maintainer.
886 2001-08-29 Ben Elliston <bje@redhat.com>
888 * stabs.c (stab_demangle_template): Initialise s4.
890 2001-08-27 Alan Modra <amodra@bigpond.net.au>
892 * readelf.c (dump_relocations): Recognise EM_PPC64.
894 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
896 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
898 2001-08-25 H.J. Lu <hjl@gnu.org>
900 * nm.c (print_width): New.
901 (display_rel_file): Set `print_width' according to
903 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
905 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
907 * objcopy.c (use_alt_mach_code): New variable.
908 (OPTION_ALT_MACH_CODE): Define.
909 (copy_options): Added --alt-machine-code.
910 (copy_main): Handle it.
911 (copy_object): Switch to alternate machine code if requested.
912 * doc/binutils.texi: Document new option.
915 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
917 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
919 2001-08-21 H.J. Lu <hjl@gnu.org>
921 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
922 (display_debug_info): Cast for 64bit hosts.
923 (display_debug_frames): Likewise.
924 (process_mips_specific): Likewise.
926 2001-08-21 Andreas Jaeger <aj@suse.de>
928 * coffgrok.h: Add missing parameter for prototype of coff_grok.
930 * sysdump.c: Add missing prototypes.
931 * srconv.c: Likewise.
932 * unwind-ia64.c: Likewise.
933 * coffdump.c: Likewise.
935 * sysinfo.y: Print prototypes, include <ansidecl.h>.
937 * coffgrok.c: Add missing prototypes, include libiberty.h instead
938 of declaring xcalloc.
940 2001-08-10 H.J. Lu <hjl@gnu.org>
942 * nm.c (print_value): Add one arg, bfd *.
943 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
944 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
945 (print_symbol_info_sysv): Likewise.
946 (print_symbol_info_posix): Likewise.
948 * objdump.c (dump_section_header): Replace printf_vma with
950 (print_section_stabs): Likewise.
951 (dump_bfd_header): Likewise.
952 (objdump_print_value): Replace sprintf_vma with
954 (disassemble_bytes): Likewise.
955 (dump_reloc_set): Likewise.
957 2001-08-10 Andreas Jaeger <aj@suse.de>
959 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
961 * configure: Regenerate.
963 2001-08-09 Alan Modra <amodra@bigpond.net.au>
965 * readelf.c: Add missing prototypes.
966 * objdump.c: Likewise. Format existing prototypes.
968 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
970 * readelf.c (display_debug_info): Add to abbrev_offset the addend
971 of any RELA relocation for the abbrev_offset memory location that
972 refers to the .debug_abbrev section symbol.
974 2001-08-07 H.J. Lu <hjl@gnu.org>
976 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
977 (main): Return process_file ().
979 2001-08-05 Philip Blundell <philb@gnu.org>
981 * doc/binutils.texi: Use "Thumb" not "THUMB".
983 2001-08-03 John Healy <jhealy@redhat.com>
985 Patch suggested by Frank Eigler <fche@redhat.com>.
986 * objdump.c (disassemble_data): Fill in section member of the
987 disasm_info structure.
989 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
991 * configure.in: Added --with-windres option.
992 * configure: Regenerated.
994 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
996 * doc/binutils.texi: Use @command{name} for commands;
997 use @option{-opt} for options; use @table @env for list of options;
998 remove spaces arround [ | ] in synopsis.
1000 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1003 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1005 * objcopy.c: Fix formatting.
1006 (section_rename): New structure.
1007 (OPTION_RENAME_SECTION): New switch.
1008 (copy_usage): Document new switch.
1009 (add_section_rename): New function: Add a node to the section
1011 (find_section_rename): New function: Find the new name and
1012 flags for a section.
1013 (setup_section): Call find_section_name to determine the name
1014 of the output section.
1015 (copy_main): Handle OPTION_RENAME_SECTION.
1016 * binutils.texi: Document new switch.
1017 * NEWS: Mention new switch.
1019 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1021 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1022 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1023 bug-binutils@gcc.org.
1025 2001-07-28 Matthias Kramm <kramm@quiss.org>
1027 * bucomm.c (list_supported_architectures): New function.
1028 * bucomm.h (list_supported_architectures): Declare.
1029 * objdump.c (usage): Call the above.
1031 2001-07-25 Dave Brolley <brolley@redhat.com>
1033 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1034 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1036 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1038 * README: Update for 2.11. Change bug reporting email address.
1039 * MAINTAINERS: Tidy up. Change bug reporting email address.
1041 2001-07-16 DJ Delorie <dj@redhat.com>
1043 * resres.c (write_res_header): Align header size.
1044 (res_align_file): Calculate alignment correctly.
1046 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1048 * resrc.c (write_rc_resource): Likewise.
1049 * windres.h (SUBLANG_SHIFT): Define - as 10.
1051 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1053 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1055 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1057 * MAINTAINERS: Add notes about branch checkins.
1059 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1061 * readelf.c (display_debug_macinfo): New function, display
1062 .debug_macinfo section.
1063 (do_debug_macinfo): New variable.
1064 (parse_args): Handle "-w[mM]" to mean display macro info.
1065 (process_section_headers): Handle debug_macinfo.
1066 (debug_displays): Replace unsupported function with macinfo
1067 function for .debug_macinfo display.
1068 * doc/binutils.texi: Document new command line switch.
1069 * NEWS: Document new feature of readelf.
1071 2001-07-05 H.J. Lu <hjl@gnu.org>
1073 * objcopy.c (filter_symbols): Don't turn undefined symbols
1076 2001-07-03 H.J. Lu <hjl@gnu.org>
1078 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1081 (dlltool.1): Likewise.
1082 (nlmconv.1): Likewise.
1084 (objcopy.1): Likewise.
1085 (objdump.1): Likewise.
1086 (ranlib.1): Likewise.
1087 (readelf.1): Likewise.
1089 (strings.1): Likewise.
1090 (strip.1): Likewise.
1091 (windres.1): Likewise.
1092 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1093 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1096 * doc/Makefile.in: Regenerated.
1098 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1100 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1102 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1104 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1106 2001-06-29 James Cownie <jcownie@etnus.com>
1108 * readelf.c: Support DWARF 2.1 attributes.
1110 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1112 * readelf.c (GET_DATA_ALLOC): Remove.
1114 (get_data): New function combining above macros, with an extra
1116 (slurp_rela_relocs): Use get_data, and catch error return.
1117 (slurp_rel_relocs): Likewise.
1118 (get_32bit_program_headers): Likewise.
1119 (get_64bit_program_headers): Likewise.
1120 (get_32bit_section_headers): Likewise.
1121 (get_64bit_section_headers): Likewise.
1122 (get_32bit_elf_symbols): Likewise.
1123 (get_64bit_elf_symbols): Likewise.
1124 (process_section_headers): Likewise.
1125 (process_relocs): Likewise.
1126 (slurp_ia64_unwind_table): Likewise.
1127 (process_unwind): Likewise.
1128 (get_32bit_dynamic_segment): Likewise.
1129 (get_64bit_dynamic_segment): Likewise.
1130 (process_dynamic_segment): Likewise.
1131 (process_version_sections): Likewise.
1132 (process_symbol_table): Likewise.
1133 (dump_section): Likewise.
1134 (display_debug_info): Likewise.
1135 (display_debug_section): Likewise.
1136 (process_section_contents): Likewise.
1137 (process_corefile_note_segment): Likewise.
1138 (process_mips_specific): Likewise. Also free econf32, econf64.
1140 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1142 * readelf.c (dump_relocations): Print "bad symbol index" if
1143 symtab == NULL with non-zero symtab_index.
1144 (process_relocs): Don't bomb if reloc section has no symsec.
1146 2001-06-24 H.J. Lu <hjl@gnu.org>
1148 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1150 (copy_main): Apply the the change made to strip_main on
1151 2001-05-30 by accident.
1153 2001-06-23 Andreas Jaeger <aj@suse.de>
1155 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1157 (unw_decode_x2): Likewise.
1158 (unw_decode_x3): Likewise.
1159 (unw_decode_x4): Likewise.
1161 2001-06-23 Ben Elliston <bje@redhat.com>
1163 * MAINTAINERS: Add myself as M88k maintainer.
1165 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1167 * objcopy.c (strip_main): Support -o or --output-file command lien
1170 2001-06-19 H.J. Lu <hjl@gnu.org>
1172 * doc/Makefile.in: Regenerated.
1174 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1176 * readelf.c: Restore formatting.
1178 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1180 * Makefile.am: Move documentation into doc subdirectory.
1181 * Makefile.in: Regenerated.
1182 * binutils.texi: Move into doc subdirectory.
1183 * addr2line.1: Removed.
1185 * dlltool.1: Likewise.
1186 * nlmconv.1: Likewise.
1188 * objcopy.1: Likewise.
1189 * objdump.1: Likewise.
1190 * ranlib.1: Likewise.
1191 * readelf.1: Likewise.
1193 * strings.1: Likewise.
1194 * strip.1: Likewise.
1195 * windres.1: Likewise.
1196 * cxxfilt.man: Likewise.
1197 * doc: New Directory.
1198 * doc/Makefile.am: New file.
1199 * doc/Makefile.in: Generate.
1201 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1203 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1205 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1207 * MAINTAINERS: Update my email address.
1209 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1211 * objcopy.c: Add new switches: --keep-global-symbol,
1212 --keep-symbols, --localize-symbols, --keep-global-symbols and
1214 * binutils.texi: Document new switches.
1215 * objcopy.1: Regenerate.
1216 * NEWS: Announce new feature.
1218 2001-05-28 Andreas Jaeger <aj@suse.de>
1220 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1221 variables, fix format strings.
1223 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1225 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1226 when computing the address of the line to show.
1228 2001-05-16 Richard Henderson <rth@redhat.com>
1230 * readelf.c (do_debug_frames_interp): New.
1231 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1232 (byte_get_big_endian): Likewise.
1233 (parse_args) ['F']: Set do_debug_frames_interp.
1234 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1235 (frame_display_row): Don't trunc pc_begin to int.
1236 (size_of_encoded_value): New.
1237 (display_debug_frames): Handle 64-bit targets. Print raw data
1238 unless do_debug_frames_interp.
1239 (debug_displays): Remove duplicate .debug_frame.
1241 2001-05-15 Ralf Baechle <ralf@gnu.org>
1243 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1244 The former constant was never in active use and is used otherwise
1247 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1249 * readelf.c (process_unwind): Print all unwind sections, not just
1252 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1254 * readelf.c (process_unwind): Remove const specifier.
1256 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1258 * strings.c (isgraphic): Do not use isascii() unless it is needed
1259 for isprint() to work.
1260 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1262 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1264 * NEWS: Announce support for OpenRISC.
1266 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1268 * dlltool.c (do_default_excludes): Initialise to true.
1270 2001-04-10 Alan Modra <amodra@one.net.au>
1272 * MAINTAINERS: Update my email address
1273 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1275 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1277 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1279 2001-03-30 H.J. Lu <hjl@gnu.org>
1281 * readelf.c (process_unwind): Just return if do_unwind is 0.
1283 2001-03-28 Roger Sayle <roger@metaphorics.com>
1285 * dlltool.c (make_one_lib_file): Fix section flags for
1286 .text, .data and .bss in stub ds*.o files to match those
1289 2001-03-29 H.J. Lu <hjl@gnu.org>
1291 * readelf.c (process_unwind): Only do unwind sections for
1294 2001-03-28 H.J. Lu <hjl@gnu.org>
1296 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1297 * Makefile.in: Regenerate.
1299 2001-03-26 Andreas Jaeger <aj@suse.de>
1301 * binutils.texi (nm): Fix texi syntax.
1303 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1305 * binutils.texi: Put @c man begin and @c man end indications
1306 to generate man pages using texi2pod and pod2man. Put @c man title
1307 to identify each man. Add SEEALSO entries.
1308 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1309 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1311 (*.1): Build the man pages from binutils.texi.
1312 * Makefile.in: Regenerate.
1314 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1316 * defparse.y (opt_equal_name): allow "." in name.
1317 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1318 (gen_exp_file): Likewise.
1320 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1322 * NEWS: Document addition of -B switch to objcopy.
1323 * binutils.texi: Document addition of -B switch to objcopy.
1324 * objcopy.c: (copy_options): Add --binary-architecture.
1325 (copy_usage): Document -B/--binary-architecture.
1326 (copy_main): Support -B/--binary-architecture. Set
1327 bfd_external_binary_architecture.
1329 2001-03-11 Andreas Jaeger <aj@suse.de>
1331 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1332 (dump_relocations): Likewise.
1333 (get_machine_name): Likewise.
1335 2001-02-28 Nick Clifton <nickc@redhat.com>
1337 * readelf.c: (struct unw_aux_info): Remove const modifier for
1339 (process_unwind): Remove non-K&R compliant LHS type cast in call
1340 to GET_DATA_ALLOC macro.
1342 2001-02-28 Philip Blundell <pb@futuretv.com>
1344 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1345 ABI is in use; remove ambiguity between the "unknown" EABI and
1346 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1347 renamed EF_xx constants.
1349 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1351 * configure.in (BFD_VERSION): New.
1352 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1353 * configure: Regenerate.
1354 * Makefile.am: Run "make dep-am"
1355 * Makefile.in: Regenerate.
1357 2001-02-14 Nick Clifton <nickc@redhat.com>
1359 * MAINTAINERS: Add "Obvious Fix" rule.
1361 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1363 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1364 literal concatenation.
1366 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1368 * readelf.c (struct unw_aux_info): Remove const from the info member.
1369 (process_unwind): Don't type-cast the third argument to the
1370 GET_DATA_ALLOC macro.
1372 2001-02-11 Nick Clifton <nickc@redhat.com>
1374 * readelf.c (dump_relocations): Free corrected allocated
1376 (process_unwind): Fix compile time warning.
1378 2001-02-10 Nick Clifton <nickc@redhat.com>
1380 * binutils.texi: Document new --unwind option to readelf.
1382 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1384 * readelf.c: Add linux target for S/390.
1386 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1388 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1391 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1393 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1394 * aclocal.m4: Regenerate.
1395 * configure: Regenerate.
1397 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1399 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1400 * objdump.c (bfd_target_vector): Likewise.
1402 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1404 * readelf.c (process_unwind): New function.
1405 (slurp_ia64_unwind_table): Ditto.
1406 (dump_ia64_unwind): Ditto.
1407 (find_symbol_for_address): Ditto.
1408 (slurp_rela_relocs): New function (split off from dump_relocations()).
1409 (slurp_rel_relocs): Ditto.
1410 (parse_args): Handle '-u' option.
1412 * unwind-ia64.c: New file.
1413 * unwind-ia64.h: New file.
1414 * Makefile.am: Include unwind-ia64.c in readelf build.
1415 * Makefile.in: Regenerate.
1416 * po/binutils.pot: Regenerate.
1418 2001-02-04 Philip Blundell <philb@gnu.org>
1420 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1421 * configure: Regenerate.
1423 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1425 * ieee.c (ieee_add_bb11): Don't check for backslashes
1426 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1428 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1430 * ieee.c: Update copyright.
1431 (ieee_start_compilation_unit): Don't check for backslashes
1432 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1434 * stabs.c: Update copyright. Include "filenames.h".
1435 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1437 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1439 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1440 sections are present before using them. Remove code duplication.
1441 (process_symbol_table): Check if VERDEF or VERNEED sections are
1442 present before using them.
1444 2001-01-17 Nick Clifton <nickc@redhat.com>
1446 * objcopy.c (copy_object): Fail if attempting to convert the
1447 endianness of the input object file.
1449 * binutils.texi: Explain that objcopy cannot convert endianness.
1451 2001-01-16 Nick Clifton <nickc@redhat.com>
1453 * readelf.c (string_table_length): New variable.
1454 (SECTION_NAME): Catch out of range indices and missing section
1456 (process_section_headers): Delete useless local variable
1457 string_table_offset. Set the value of string_table_length
1458 after loading the string table.
1459 (process_mips_specific): Use SECTION_NAME macro.
1460 (process_file): Set string_table_length to 0 when it is freed.
1462 2001-01-12 Nick Clifton <nickc@redhat.com>
1464 * version.c (print_version): Update copyright date.
1466 2001-01-11 Peter Targett <peter.targett@arccores.com>
1468 * readelf.c (dump_relocations): Include selection with EM_ARC.
1469 (get_machine_name) Update name to "ARC".
1471 2001-01-09 Nick Clifton <nickc@redhat.com>
1473 * Makefile.am: Add rule to build objdump.o from objdump.c and
1475 * Makefile.in: Regenerate.
1477 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1478 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1479 -DDISASSEMBLER_NEEDS_RELOCS.
1480 * configure: Regenerate.
1482 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1483 is defined read in the relocs even if dump_reloc_info is
1486 2001-01-07 Philip Blundell <philb@gnu.org>
1488 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1492 2000-12-19 Nick Clifton <nickc@redhat.com>
1494 * dlltool.c: Add missing support for arm-epoc-pe.
1495 * configure.in: Add missing support for arm-epoc-pe.
1496 * configure: Regenerate.
1498 2000-12-15 Nick Clifton <nickc@redhat.com>
1500 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1501 Mode parts of the x86 port.
1503 2000-12-04 Andreas Jaeger <aj@suse.de>
1505 * readelf.c (guess_is_rela): Add EM_X86_64.
1506 (dump_relocations): Add EM_X86_64.
1507 (get_machine_name): Add EM_X86_64.
1508 Include "elf/x86-64.h".
1510 2000-12-12 Nick Clifton <nickc@redhat.com>
1512 * readelf.c: Fix formatting.
1514 2000-12-11 Jan Hubicka <jh@suse.cz>
1516 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1518 2000-12-07 Andrew Haley <aph@redhat.com>
1520 * readelf.c (display_debug_frames): Only display columns that are
1521 referenced by the frame debug info.
1523 2000-12-05 Nick Clifton <nickc@redhat.com>
1525 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1527 2000-12-04 Jason Merrill <jason@redhat.com>
1529 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1530 (display_debug_section): Likewise.
1531 (display_debug_info): Display CU header before bailing.
1533 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1535 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1536 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1537 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1539 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1542 * readelf.c (get_machine_flags): Add case for
1545 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1547 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1549 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1551 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1552 Change sourceware.cygnus.com to sources.redhat.com.
1553 Fix typo for "amongst".
1555 2000-11-28 Nick Clifton <nickc@redhat.com>
1557 * strip.1 (COPYING): Mention that the GNU Free Documentation
1558 License is present in the sources, but not the output, and
1559 also available from the GNU website.
1560 (GNU Free Documentation License): Comment out this section.
1569 * addr2line.1: Ditto.
1571 2000-11-27 DJ Delorie <dj@redhat.com>
1573 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1574 (parse_args): Support -wf option.
1575 (process_section_headers): Ditto.
1576 (debug_displays): Ditto.
1577 (display_debug_frames): New, dump *_frame sections.
1578 (frame_need_space): Support for above.
1579 (frame_display_row): Ditto.
1580 * binutils.texi: Document it.
1582 2000-11-24 Nick Clifton <nickc@redhat.com>
1584 * NEWS: Announce support for v5t, v5te and XScale.
1586 2000-11-22 Nick Clifton <nickc@redhat.com>
1588 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1589 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1590 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1591 (get_elf_section_flags: Add SHF_GROUP.
1592 (process_section_headers): Adjust output for 32-bit binaries
1593 to look nice on an 80 column terminal.
1595 2000-11-20 H.J. Lu <hjl@gnu.org>
1597 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1600 2000-11-17 Richard Henderson <rth@redhat.com>
1602 * readelf.c (display_debug_lines): Adjust last change to
1603 use sizeof (external->li_length).
1605 2000-11-17 Richard Henderson <rth@redhat.com>
1607 * readelf.c (display_debug_lines): Fix section length check
1608 and end_of_sequence computation.
1610 2000-11-06 Nick Clifton <nickc@redhat.com>
1612 * binutils.texi: Add GNU Free Documentation License.
1613 * objcopy.1: Add GNU Free Documentation License.
1614 * objdump.1: Add GNU Free Documentation License.
1615 * addr2line.1: Add GNU Free Documentation License.
1616 * ar.1: Add GNU Free Documentation License.
1617 * nlmconv.1: Add GNU Free Documentation License.
1618 * nm.1: Add GNU Free Documentation License.
1619 * ranlib.1: Add GNU Free Documentation License.
1620 * size.1: Add GNU Free Documentation License.
1621 * strings.1: Add GNU Free Documentation License.
1622 * strip.1: Add GNU Free Documentation License.
1624 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1626 * objcopy.c (--srec-len=nn): New parameter to set the
1627 maximum length of generated Srecords.
1628 (--srec-forceS3): New parameter that restricts the generation of
1629 Srecords to type S3 only.
1630 * binutils.texi: Document new command line switches.
1631 * objcopy.1: Docuemnt the new command line switches.
1632 * NEWS: Announce the existence of the new command line switches.
1634 2000-10-31 Nick Clifton <nickc@redhat.com>
1636 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1637 code. Add Eric Chrisopher as maintainer of MN10300 port.
1639 2000-10-12 Roger Sayle <roger@metaphorics.com>
1641 * Make comma after string after icon/control optional.
1643 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1645 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1647 * NEWS: Mention support for MIPS32.
1649 2000-09-08 Nick Clifton <nickc@redhat.com>
1651 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1653 2000-09-07 H.J. Lu <hjl@gnu.org>
1655 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1656 * configure: Rebuild.
1658 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1660 * configure: Rebuilt with new libtool.m4.
1662 2000-09-05 Nick Clifton <nickc@redhat.com>
1664 * aclocal.m4: Regenerate.
1665 * config.in: Regenerate.
1666 * configure: Regenerate.
1668 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1670 * strip.1: Fix stray '\' in -o formatting.
1672 2000-09-02 Nick Clifton <nickc@redhat.com>
1674 * configure.in: Increase version number to 2.10.91.
1675 * configure: Regenerate.
1676 * aclocal.m4: Regenerate.
1677 * config.in: Regenerate.
1678 * po/binutils.pot: Regenerate.
1680 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1682 * acinclude.m4: Include libtool and gettext macros from the
1684 * aclocal.m4, configure: Rebuilt.
1686 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1688 * resrc.c (close_input_stream): Delete extraneous logic
1690 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1692 * NEWS: Mention support for CRIS.
1694 2000-08-21 Nick Clifton <nickc@redhat.com>
1696 * addr2line.c: Changed email address for Ulrich Lauther.
1698 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1700 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1702 2000-08-17 Nick Clifton <nickc@redhat.com>
1704 * readelf.c (display_debug_pubnames): Only issue warning
1705 message once. Terminate message with a new line.
1706 (display_debug_aranges): Only display version 2 debug info.
1708 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1710 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1711 for compatability with old BSD systems.
1713 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1715 * NEWS: Mention i860 support.
1717 2000-08-11 Carlo Wood <carlo@alinoe.com>
1719 * addr2line.c (main): Add const to char *.
1721 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1723 * ar.c (main): Don't crash if called with no arguments
1724 or only '-X32_64' as an argument.
1726 2000-08-08 DJ Delorie <dj@redhat.com>
1728 * resrc.c: use "gcc -xc" instead of -xc-header
1730 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1732 * readelf.c (elf/i860.h): Include.
1733 (dump_relocations): Add recognition of i860 architecture.
1734 (guess_is_rela): Add recognition of i860 architecture.
1736 2000-08-03 Nick Clifton <nickc@cygnus.com>
1738 * MAINTAINERS: Add information about CGEN maintainers.
1740 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1742 * nm.c (main): Ignore '-X32_64' as an option.
1743 * ar.c (main): Likewise.
1744 * binutils.texi (nm): Document new option.
1747 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1749 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1751 2000-07-20 H.J. Lu <hjl@gnu.org>
1753 * binutils.texi: Put back "@end table" deleted by
1756 2000-07-05 Kenneth Block <krblock@computer.org>
1758 * nm.c: Add optional style to demangle switch.
1759 * objdump.c: Add optional style to demangle switch.
1760 * addr2line.c: Add optional style to demangle switch.
1761 * binutils.texi: Document optional style to demangle
1764 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1766 * MAINTAINERS: Add self as CRIS port maintainer.
1767 * readelf.c: Include elf/cris.h.
1768 (guess_is_rela): Handle EM_CRIS.
1769 (dump_relocations): Ditto.
1770 (get_machine_name): Ditto.
1771 * Makefile.am: Rebuild dependencies.
1772 * Makefile.in: Regenerate.
1773 * po/binutils.pot: Regenerate.
1775 2000-07-19 H.J. Lu <hjl@gnu.org>
1777 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1779 (process_dynamic_segment): Print out strings for DT_CONFIG,
1780 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1782 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1784 * nm.c (usage): Change output of `nm --help' to include a
1785 description of the purpose of the program and a detailed
1786 description of the accepted options.
1788 2000-07-19 H.J. Lu <hjl@gnu.org>
1790 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1793 2000-07-19 H.J. Lu <hjl@gnu.org>
1795 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1797 2000-07-19 H.J. Lu <hjl@gnu.org>
1799 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1801 (process_dynamic_segment): Likewise.
1803 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1804 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1805 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1806 DF_1_NODUMP and DF_1_CONLFAT.
1808 2000-07-18 Nick Clifton <nickc@cygnus.com>
1810 * binutils.texi (readelf): Fix spelling typo.
1812 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1814 * objdump.c (usage): Make output of `objdump --help' more
1815 consistent with the rest of the GNU world. Add a line describing
1816 the purpose of the program.
1818 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1820 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1823 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1825 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1827 (process_symbol_table): Ditto.
1828 (procesS_extended_line_op): Ditto.
1829 (display_debug_lines): Ditto.
1830 (display_debug_pubnames): Ditto.
1831 (read_and_display_attr): Ditto.
1833 2000-07-09 Nick Clifton <nickc@cygnus.com>
1835 * MAINTAINERS: Add several more port specific maintainers.
1837 2000-07-05 Nick Clifton <nickc@cygnus.com>
1839 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1841 2000-06-05 DJ Delorie <dj@redhat.com>
1845 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1847 * dllwrap.c: Changed mistaken dyn_string_append() calls
1848 to dyn_string_append_cstr().
1850 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1852 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1853 struct debug_type stores size in bytes.
1855 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1857 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1858 (CLEANFILES): Add DEPA.
1859 * Makefile.in: Regenerate.
1861 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1863 * ar.c: Revert incorrect 2000-06-25 patch.
1864 * bucomm.c: Likewise.
1866 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1868 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1869 (external_coff_symbol_p): New function.
1870 (parse_coff): Use it.
1872 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1874 * ar.c (normalize): Advance past both characters in a DOS based
1875 <letter>: filepath prefix.
1877 * bucomm.c (make_tempname): Likewise.
1879 2000-06-24 Nick Clifton <nickc@cygnus.com>
1881 * objdump.c (usage): Fix description of --stabs switch.
1883 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1885 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1887 * Makefile.in: Regenerate.
1889 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1891 * ar.c (normalize): Correct pointer comparison when checking for
1894 * bucomm.c (make_tempname): Likewise.
1896 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1897 and search for backslashes in the original pathname.
1898 (ieee_add_bb11): Likewise.
1900 2000-06-18 Nick Clifton <nickc@redhat.com>
1902 * ar.c (print_contents): Improve verbose message.
1904 2000-06-15 H.J. Lu <hjl@gnu.org>
1906 * dyn-string.c: Removed. Not needed with dyn-string.c in
1908 * dyn-string.h: Likewise.
1910 * Makefile.am: Remove references to dyn-string.c and
1911 dyn-string.h. Rebuild dependency.
1912 * Makefile.in: Rebuild.
1914 2000-06-15 H.J. Lu <hjl@gnu.org>
1916 * binutils.texi: Put a warning on copying relocatable object
1917 files between two different formats.
1919 2000-06-13 DJ Delorie <dj@cygnus.com>
1921 * rcparse.y (control): ICON controls take an id as the first
1922 parameter, not an optional string. Also, call new convenience
1923 function that takes res_id's.
1924 * resrc.c (define_control): missing text means zero-length string,
1926 (define_icon_control): New.
1927 * windres.h: declare define_icon_control.
1929 2000-06-13 H.J. Lu <hjl@gnu.org>
1931 * configure: Regenerate.
1933 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1935 * configure.in (VERSION): Update to show this is the CVS mainline.
1937 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1939 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1940 analogous to <SPACE>.
1942 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1944 * objdump.c (display_target_list): Use bfd_close_all_done, not
1945 bfd_close to fix crash caused by 2000-05-24 change.
1947 2000-05-25 DJ Delorie <dj@cygnus.com>
1949 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1951 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1953 * Makefile.am: Update dependencies with "make dep-am"
1954 * Makefile.in: Regenerate.
1956 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1958 * ar.c: Include filenames.h.
1959 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1960 and drive letters in file names.
1961 (main): Support backslashes and drive letters in argv[0]. Drop
1962 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1963 FILENAME_CMP instead of strcmp to compare file names.
1964 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1966 (do_quick_append) [__GO32__]: Ditto.
1967 (get_pos_bfd, delete_members, move_members, replace_members):
1968 Compare file names with FILENAME_CMP.
1970 * bucomm.c: Include filenames.h.
1971 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1972 forward/backward slashes and drive letters in file names.
1974 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1975 mixed forward/backward slashes and drive letters in file names.
1977 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1978 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1981 * objcopy.c: Include filenames.h.
1982 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1983 before comparing to "strip".
1984 Use FILENAME_CMP to compare file names.
1986 * arsup.c: Include filenames.h.
1987 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1988 FILENAME_CMP to compare file names.
1989 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1990 the temporary file name.
1992 * configure.in: Check for setmode.
1993 * configure: Regenerate.
1995 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1997 * objdump.c (display_target_list): Close the bfd.
1998 (display_info_table): Likewise.
2000 2000-05-14 H.J. Lu (hjl@gnu.org)
2002 * objcopy.c (filter_symbols): Don't strip global symbols in
2003 relocatable object files.
2005 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2007 * size.c (usage): Associate short options with corresponding long
2008 option to give a clue as to their function.
2010 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2012 * size.c (main): Accept and ignore `-f' option.
2014 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2016 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2017 bindtextdomain): Replace defines with those from intl/libgettext.h
2018 to quieten gcc warnings.
2020 2000-05-12 H.J. Lu <hjl@gnu.org>
2022 * nlmconv.c (temp_filename): Removed.
2024 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2025 choose_temp_base ().
2026 * objdump.c (display_target_list): Likewise.
2027 (display_info_table): Likewise.
2029 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2031 * objcopy.c (setup_section): Add const and gettext calls for err.
2033 2000-05-02 H.J. Lu <hjl@gnu.org>
2035 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2036 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2037 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2038 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2039 and ELFOSABI_OPENBSD.
2041 2000-05-02 Kazu Hirata <kazu@hxi.com>
2043 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2044 * srconv.c: Likewise.
2045 * sysdump.c: Likewise.
2047 2000-04-23 Denis Chertykov <denisc@overta.ru>
2049 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2050 (get_machine_name): machine name for EM_AVR added.
2052 2000-04-21 Richard Henderson <rth@cygnus.com>
2053 David Mosberger <davidm@hpl.hp.com>
2055 * Makefile.am (readelf.o): Add elf/ia64.h.
2056 * Makefile.in: Rebuild.
2057 * readelf.c: Include elf/ia64.h.
2058 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2060 2000-04-17 Timothy Wall <twall@cygnus.com>
2062 * objdump.c (disassemble_data): Set octets per byte *after*
2063 resolving arch/mach for binary files.
2065 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2067 * arlex.l: Add directives to increase lex buffer size.
2069 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2070 already included by bucomm.h.
2072 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2074 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2075 `strftime' since strftime is not available on all systems.
2076 (process_mips_specific): Ditto.
2078 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2080 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2081 --enable-build-warnings option.
2082 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2083 * Makefile.in, configure: Re-generate.
2085 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2087 * addr2line.c: Update copyright.
2088 * objcopy.1: Likewise, and title.
2089 * strings.1: Likewise.
2091 * version.c (print_version): Add 2000.
2093 * rddbg.c (read_section_stabs_debugging_info): Don't use
2094 bfd_size_type for strx to avoid printf problems if BFD64.
2096 * bucomm.c: (report): Remove `static'.
2097 Move inclusion of stdarg.h/vararg.h from here.
2098 * bucomm.h: To here.
2099 (CONST): Change all occurences to const.
2100 (report): Declare it.
2101 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2102 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2103 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2105 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2106 Correct a typo in an error message.
2107 (do_quick_append): Use non_fatal instead of fprintf.
2108 (move_members): Use fatal instead of fprintf, exit.
2109 * coffdump.c (main): Same here.
2111 * dlltool.c (display): Delete.
2113 (inform): Use `report' instead of `display'.
2114 (rvaafter): Remove trailing \n from fatal error msg.
2116 (asm_prefix): Ditto.
2117 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2118 (def_name): Likewise.
2120 (scan_all_symbols): Likewise.
2121 (gen_lib_file): Likewise.
2122 (def_library): Likewise. Remove extra program_name too.
2123 (run): Remove \n from inform strings.
2124 (scan_drectve_symbols): Likewise.
2125 (add_excludes): Likewise.
2126 (scan_open_obj_file): Likewise.
2127 (gen_exp_file): Likewise.
2128 (gen_lib_file): Likewise.
2129 (process_duplicates): Likewise.
2131 * Makefile.am (dllwrap_SOURCES): Add version.c.
2132 * dllwrap.c (program_version): Delete.
2133 (print_version): Delete.
2134 (display): Always print trailing \n.
2136 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2139 (usage): gettext'ify.
2140 (long_options): Add missing initialisers.
2142 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2143 (select_output_format): Likewise.
2144 (powerpc_mangle_relocs): Likewise.
2145 (link_inputs): Likewise.
2147 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2148 (set_output_format): Likewise.
2149 (main): Use non_fatal instead of fprintf.
2150 (display_rel_file): Likewise.
2152 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2153 (slurp_dynamic_symtab): Same here.
2154 (disassemble_data): And here.
2155 (read_section_stabs): And here.
2156 (read_section_stabs): And here.
2157 (dump_bfd): And here.
2159 (objdump_sprintf): Use fatal instead of fprintf, exit.
2160 (disassemble_data): Same here.
2162 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2163 (parse_coff_struct_type): Same here.
2164 (parse_coff_enum_type): And here.
2165 (parse_coff): And here.
2166 * rddbg.c (read_debugging_info): And here.
2167 * size.c (main): And here.
2168 * windres.c (format_from_name): And here.
2169 * wrstabs.c (stab_write_symbol): Here too.
2170 (write_stabs_in_sections_debugging_info): And here.
2171 (stab_int_type): And here.
2172 (stab_struct_field): And here.
2173 (stab_typdef): And here.
2175 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2176 * srconv.c (main): Same here.
2177 * strings.c (main): And here.
2178 (integer_arg): And here.
2179 * sysdump.c (main): And here.
2181 2000-04-06 Timothy Wall <twall@cygnus.com>
2183 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2185 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2187 * readelf.c (decode_location_expression): Loop through multiple
2189 (read_and_display_attr): Pass in length.
2191 * readelf.c (read_and_display_attr): Add CU offset to references.
2192 (display_debug_info): Pass it in.
2194 2000-04-06 Nick Clifton <nickc@cygnus.com>
2196 * readelf.c (decode_ARM_machine_flags): New function.
2197 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2200 (get_machine_name): Catch EM_AVR
2202 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2204 * binutils.texi: Remove optional `=' from long options that have
2205 an `=' in the argument.
2206 * objcopy.1: Here too. Remove extra space on discard-all.
2208 * binutils.texi (objcopy): Mention --redefine-sym.
2209 * objcopy.1: Here too.
2212 * objcopy.c (parse_flags): Split off flag names from error message
2213 gettext as they are not translated.
2214 (copy_main): Similarly split off option name for --add-section,
2215 --set-section-flags, --change-section-vma, --change-section-lma
2217 Some white space changes.
2219 from Matthew Benjamin <matt@linuxbox.nu>
2220 * objcopy.c (struct redefine_node): New.
2221 (redefine_sym_list): New.
2222 (redefine_list_append): New.
2223 (lookup_sym_redefinition): New.
2224 (OPTION_REDEFINE_SYM): New.
2225 (copy_options): Add --redefine-sym option.
2226 (copy_usage): Mention it.
2227 (filter_symbols): Rename symbols on redefine_sym_list.
2228 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2229 (copy_main): Handle OPTION_REDEFINE_SYM.
2231 2000-04-04 H.J. Lu <hjl@gnu.org>
2233 * readelf.c (process_symbol_table): Correctly read in symbol
2234 versioning information.
2236 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2238 * po/binutils.pot: Regenerate.
2240 * addr2line.c (usage): Restore translated part of bug string.
2241 * ar.c (usage): Likewise.
2242 * nlmconv.c (show_usage): Likewise.
2243 * nm.c (usage): Likewise.
2244 * objcopy.c (copy_usage): Likewise.
2245 (strip_usage): Likewise.
2246 * objdump.c (usage): Likewise.
2247 * readelf.c (usage): Likewise.
2248 * size.c (usage): Likewise.
2249 * strings.c (usage): Likewise.
2250 * windres.c (usage): Likewise.
2252 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2253 (DEP): Quote when passing vars to sub-make. Add warning
2255 (DEP1): Rewrite for "gcc -MM".
2256 (CLEANFILES): Add DEP2.
2257 Update dependencies.
2258 * Makefile.in: Regenerate.
2260 2000-04-04 H.J. Lu <hjl@gnu.org>
2262 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2263 (arparse.h): Depend on arparse.c
2264 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2266 2000-04-03 H.J. Lu (hjl@gnu.org)
2268 * size.c (usage): Use REPORT_BUGS_TO.
2270 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2272 * bucomm.h: #include "bin-bugs.h"
2273 * addr2line.c (usage): Use REPORT_BUGS_TO.
2274 * ar.c (usage): Likewise.
2275 * nlmconv.c (show_usage): Likewise.
2276 * nm.c (usage): Likewise.
2277 (OPTION_TARGET): Define.
2278 (long_options): Use OPTION_TARGET rather than 200.
2281 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2282 (strip_usage): Likewise.
2283 * objdump.c (usage): Likewise.
2284 * readelf.c (usage): Likewise.
2285 * strings.c (usage): Likewise.
2286 * windres.c (usage): Likewise.
2288 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2290 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2292 2000-03-27 Nick Clifton <nickc@cygnus.com>
2294 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2295 string offsets in corrupt stabs entries.
2297 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2299 * readelf.c: Include elf/avr.h
2300 (dump_relocations): Add EM_AVR case.
2302 2000-03-09 Tim Waugh <twaugh@redhat.com>
2304 * strings.1: Correct '-bytes' to '--bytes'.
2306 2000-03-08 H.J. Lu <hjl@gnu.org>
2308 * Makefile.am (install-exec-local): Depend on
2309 install-binPROGRAMS for parallel make.
2310 * Makefile.in: Regenerated.
2312 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2314 From Brad Lucier <lucier@math.purdue.edu>:
2315 * readelf.c (process_dynamic_segment): Add cast to make sure
2316 argument to %* is int.
2318 2000-02-25 H.J. Lu <hjl@gnu.org>
2320 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2322 2000-02-24 Nick Clifton <nickc@cygnus.com>
2324 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2325 * configure: Regenerate.
2327 * dlltool.c: Add support for sh-pe and mips-pe targets.
2328 * rescoff.c: Add support for sh-pe and mips-pe targets.
2330 2000-02-23 H.J. Lu <hjl@gnu.org>
2332 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2334 2000-02-22 Nick Clifton <nickc@cygnus.com>
2336 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2338 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2340 From Brad Lucier <lucier@math.purdue.edu>:
2341 * readelf.c (process_version_sections): Add casts to make sure
2342 argument to %* is an int.
2343 (process_mips_specific): Add casts to make printf arguments match
2346 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2348 * objdump.c (dump_section_header): Change `opb' to unsigned.
2349 (find_symbol_for_address): Same here.
2350 (disassemble_data): And here. Change `addr_offset',
2351 `stop_offset', `nextstop_offset' to unsigned long.
2352 (dump_data): Change opb to unsigned.
2354 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2356 * resrc.c: Remove unmatched #if for cygwin.
2358 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2360 * binutils.texi: Document the change of flavor name from atpcs-special
2361 to special-atpcs to prevent name conflict in gdb.
2363 2000-02-08 Timothy Wall <twall@redhat.com>
2365 * objdump.c (show_line): Fix bug preventing printing of the very
2366 first line (line zero) of a file when interlisting source and
2367 assembly. Added option to print entire context from start of file
2368 when the first line from that file is encountered.
2370 2000-02-03 Timothy Wall <twall@redhat.com>
2372 * objdump.c (dump_section_header, find_symbol_for_address,
2373 show_line, disassemble_bytes, disassemble_data, dump_data):
2374 distinguish between octets and bytes.
2376 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2378 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2379 check to unresolved symbols.
2380 (print_symbol_info_sysv): Ditto.
2381 (print_symbol_info_posix): Ditto.
2383 * binutils.texi: Document new 'V' symclass flag for nm.
2385 2000-01-27 Nick Clifton <nickc@redhat.com>
2387 * binutils.texi (objdump): Document new ARM specific
2388 disassembler options.
2390 * objdump.c (usage): Call disassembler_usage().
2392 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2394 * readelf.c (get_dynamic_flags): Return buff.
2395 (process_dynamic_segment): Don't pass error strings to printf
2397 (read_and_display_attr): Use lx and ld to print longs.
2398 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2402 2000-01-17 Nick Clifton <nickc@cygnus.com>
2404 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2406 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2408 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2410 (debug_tag_type): Here too.
2411 * ieee.c (ieee_builtin_type): And here.
2412 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2414 2000-01-13 Nick Clifton <nickc@cygnus.com>
2416 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2419 2000-01-11 Nick Clifton <nickc@cygnus.com>
2421 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2423 2000-01-10 Nick Clifton <nickc@cygnus.com>
2425 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2427 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2429 * windres.c (long_options): Add --use-temp-file and
2430 --no-use-temp-file options.
2434 * windres.h: Update read_rc_file prototype.
2436 * resrc.c (cpp_temp_file): New static variable.
2437 (istream_type): New static variable.
2438 (close_pipe): Delete function.
2439 (run_cmd): New static function.
2440 (open_input_stream): New static function.
2441 (close_input_stream): New static function.
2442 (look_for_default): Handle DOS directory separator. Use
2443 open_input_stream instead of popen.
2444 (read_rc_file): Likewise.
2446 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2449 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2451 * dlltool.c (create_compat_implib): New variable.
2452 (gen_exp_file): Use.
2453 (make_one_lib_file): Use.
2454 (long_options): Add --compat-implib option.
2458 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2459 (main): Use. Don't look for "32" in cygwin and mingw target names.
2461 2000-01-03 Nick Clifton <nickc@cygnus.com>
2463 * binutils.texi: Document new, ARM specific disassembler
2464 command line switch "-M force-thumb".
2466 For older changes see ChangeLog-9899
2472 version-control: never