1 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
3 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
5 2002-05-09 Alan Modra <amodra@bigpond.net.au>
7 * configure.in: Replace `*pe' with `pe' throughout.
8 * configure: Regenerate.
10 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
12 * Makefile.am: Honour DESTDIR.
13 * Makefile.in: Regenerate.
15 2002-05-06 Alan Modra <amodra@bigpond.net.au>
17 * dlltool.c (process_def_file): Add missing prototype.
18 (new_directive, assemble_file, main): Likewise.
19 (process_def_file, new_directive): Make static.
20 (inform): Rewrite using VA_FIXEDARG.
21 * dllwrap.c (mybasename): Add missing prototype.
22 (strhash, main): Likewise.
23 (inform): Rewrite using VA_FIXEDARG.
25 (cleanup_and_exit): Use old style function definition.
27 * windres.c (define_resource): Use one memset to clear all of
30 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
31 call to rules that need no lookahead. Check for no lookahead.
33 2002-05-06 Borut Razem <borut.razem@siol.net>
35 * rclex.l (get_string): Correct "strings" list handling.
36 * resrc.c (read_rc_file): Discard strings.
38 2002-05-04 Alan Modra <amodra@bigpond.net.au>
40 * ar.c (replace_members): Remove unused var. Formatting fix.
41 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
43 * MAINTAINERS: Sort port maintainers by CPU.
45 2002-05-04 Bob Byrnes <byrnes@curl.com>
47 * size.c (display_archive): Add last_arfile and code to close archives.
49 2002-05-01 Alan Modra <amodra@bigpond.net.au>
51 * nm.c (print_symbol): Check returned filename from
52 bfd_find_nearest_line is non-NULL.
54 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
56 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
58 2002-04-24 Christian Groessler <chris@groessler.org>
60 * MAINTAINERS: Changed my email address.
62 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
64 * arparse.y: Fix syntax warning.
66 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
68 * readelf.c (fetch_location_list): Remove unused function.
70 * readelf.c (process_corefile_note_segment): Catch corrupt notes
71 and display a warning message, then exit the loop.
73 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
75 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
77 * resrc.c (write_rc_dialog): If charset is non-default value
78 display all of the DIALOGEX parameters.
80 2002-04-15 Eric Kohl <ekohl@rz-online.de>
82 * rcparse.y: Allow two to five parameter in FONT statement of
84 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
86 (res_to_bin_dialog): Likewise.
87 * windres.h: Added misssing charset variable to dialog_ex
90 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
92 * rcparse.y: Set MEMFLAG_PURE by default.
94 2002-04-09 Bernd Herd <info@herdsoft.com>
96 * rcparse.y: CLASS definitions in DIALOG resources
98 Fix typo in BEDIT warning.
99 Don't add default dialog style when explicit style specified.
100 Add WS_CAPTION dialog style if CAPTION is specified.
102 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
103 (handle_quotes) "\a" escape (used for right justified key
104 definitions in menus) is encodes as binary 8.
106 * resrc.c (write_rc_dialog): Print style even if it is 0.
107 (write_rc_directory): Fix overlooked sublang shift bug.
108 (bin_to_res_dialog): Don't print empty dialog caption.
110 * resbin.c (bin_to_res_dialog): Use signature to identify
113 * windres.c (main): Set default LANGUAGE to english/us.
115 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
117 * resrc.c: print CLASS names in quotes
119 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
121 * MAINTAINERS: Update my email address.
123 2002-04-04 Alan Modra <amodra@bigpond.net.au>
125 * dep-in.sed: Cope with absolute paths.
126 * Makefile.am (dep.sed): Subst TOPDIR.
128 * Makefile.in: Regenerate.
130 2002-03-27 Peter Targett <peter.targett@arc.com>
132 * MAINTAINERS: Update my email address.
134 2002-03-21 Alan Modra <amodra@bigpond.net.au>
136 * Makefile.am: Run "make dep-am".
137 * Makefile.in: Regenerate.
138 * doc/Makefile.in: Regenerate.
139 * po/POTFILES.in: Regenerate.
140 * aclocal.m4: Regenerate.
141 * config.in: Regenerate.
142 * configure: Regenerate.
144 2002-03-20 Daniel Berlin <dan@dberlin.org>
146 * readelf.c: Add support for displaying dwarf2 location lists.
147 (do_debug_loc, debug_loc_section, debug_loc_size): New.
148 (parse_args): Use 'O' as shorthand for displaying location list
150 (process_section_headers): Handle debug_loc as well.
151 (load_debug_loc): New.
152 (free_debug_loc): New.
153 (fetch_location_list): New.
154 (display_debug_loc): New.
155 (display_debug_info): Call load_debug_loc and free_debug_loc.
156 (debug_displays): We can display .debug_loc now, too.
157 (usage): Update usage string.
158 (read_and_display_attr_value): Note location lists, but don't
161 2002-03-18 Tom Rix <trix@redhat.com>
163 * Makefile.am: Add binutils emulation support.
164 * configure.in: Same.
165 * configure.tgt: New file. Same.
166 * ar.c (main): Use ar_emul_parse_arg.
167 (usage): Use ar_emul_usage.
168 (replace_members): Use ar_emul_replace, ar_emul_append.
169 * binemul.c: New file. Define the binutils emulation
170 layer. Define default methods.
171 * binemul.h: New file. Binutils emulation layer header file.
172 * emul_aix.c: New file. AIX binutils emulation.
173 * emul_vanilla.c: New file. Default binutils emulation.
174 * Makefile.in: Regenerate.
177 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
179 * po/fr.po: Updated version.
181 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
183 * po/fr.po: Updated version.
185 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
187 * README: Update some version numbers.
189 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
191 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
192 (Architecture Selection): Likewise.
194 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
196 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
197 generating .exp file.
199 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
201 * readelf.c (dump_relocations): Fix typo.
203 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
205 * NEWS: Mark 2.12 branch.
207 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
209 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
210 types for 64-bit MIPS. Narrow some fields for 80-char
212 (dump_relocations): Change spelling from 'unrecognised'
214 (decode_ARM_machine_flags): Likewise.
215 (parse_args): Likewise.
216 (read_and_display_attr_value): Likewise.
217 (display_debug_section): Likewise.
219 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
221 * NEWS: Mention support for MMIX.
223 2002-02-13 Matt Fredette <fredette@netbsd.org>
225 * readelf.c (get_machine_flags): Recognize EF_M68000.
227 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
229 * MAINTAINERS: Added self as MN10300 co-maintainer.
231 2002-02-12 Alan Modra <amodra@bigpond.net.au>
233 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
236 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
238 * MAINTAINERS: List myself as branch maintainer.
240 2002-02-11 Alan Modra <amodra@bigpond.net.au>
242 * configure: Regenerate.
243 * objcopy.c: Update copyright date.
244 * doc/Makefile.in: Regenerate.
246 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
248 * nlmconv.c: Back out localtime PARAMS change.
250 2002-02-11 Alan Modra <amodra@bigpond.net.au>
252 * objcopy.c (MKDIR): Define.
253 (copy_archive): Make name_list.name const. Use MKDIR.
254 Handle duplicate files in archives by making more temp dirs.
256 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
258 * coffdump.c: Include "getopt.h" after "bucomm.h"
259 so that macros are defined correctly.
260 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
261 prototype. Prototype main.
262 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
264 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
266 * MAINTAINERS: Added self as SH co-maintainer.
268 2002-02-05 Nick Clifton <nickc@redhat.com>
270 * po/tr.po: Updated translation.
272 2002-02-01 Alan Modra <amodra@bigpond.net.au>
274 * Makefile.am: Run "make dep-am"
275 * Makefile.in: Regenerate.
277 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
279 * nm.c (print_value): Mark abfd unused.
281 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
283 * unwind-ia64.c (unw_decoder): Change second argument
284 to unsigned int, to match function prototypes.
286 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
288 * objdump.c: Include "getopt.h" after "bucomm.h" so that
289 __GNU_LIBRARY__ will be defined.
292 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
294 * configure: Regenerated.
296 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
298 * doc/Makefile.am (install): Depend on install-info.
299 * doc/Makefile.in: Regenerate.
301 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
303 * objcopy.c (strip_usage): Document -d as an alias
306 * size.c (usage): Document [-t | --totals] options.
307 (long_options): Add --totals option.
308 (main): If the [-t | --totals] option is specified and
309 the output format is Berkeley-style, print the total
310 text, data, and bss sizes of all objects listed.
311 (print_berkeley_format): If the [-t | --totals] option
312 is specified, track the total text, data, and bss
314 * doc/binutils.texi (size): Document [-t | --totals] options.
315 (strip): Document -d as an alias for --strip-debug.
316 * NEWS: Mention new feature of size.
318 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
320 * po/fr.po: Updated version.
321 * po/es.po: Updated version.
323 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
325 * addr2line.c (usage): Update text to provide verbose
326 description of the command line options.
327 * ar.c (usage): Update text to provide verbose
328 description of the command line options.
329 (main): Accept -h and -H when running as ranlib.
330 * coffdump.c (show_usage): Update text to provide verbose
331 description of the command line options.
332 * dlltool.c (main): Accept -H as an alias for --help.
333 * nlmconv.c (show_usage): Update text to provide verbose
334 description of the command line options.
335 * nm.c (usage): Replace OPTIONS with option(s).
336 (main): Accept -H as an alias for --help.
337 * objcopy.c (strip_main): Accept -H as an alias for --help.
338 * objdump.c (main): Accept -v as an alias for --verbose.
339 * readelf.c (usage): Adjust format to match style used in
341 * size.c (usage): Update text to provide verbose description
342 of the command line options.
343 (main): Accept -v, -h and -H as command line options.
344 * srconv.c (show_usage): Update text to provide verbose
345 description of the command line options.
346 * strings.c (main): Accept -H and -v as command line options.
347 (usage): Update text to provide verbose description of the
348 command line options.
349 * sysdump.c (show_usage): Update text to provide verbose
350 description of the command line options.
351 * windres.c (usage): Adjust format to match style used in
354 * coffdump.c: Fix formatting.
355 * nlmconv.c: Fix formatting.
356 * srconv.c: Fix formatting.
357 * sysdump.c: Fix formatting.
359 2002-01-22 Alan Modra <amodra@bigpond.net.au>
361 * Makefile.am: Run "make dep-am".
362 * Makefile.in: Regenerate.
364 2002-01-18 Andreas Jaeger <aj@suse.de>
366 * version.c (print_version): Update year.
368 2002-01-17 Alan Modra <amodra@bigpond.net.au>
370 * readelf.c (get_machine_name): Handle EM_PPC64.
371 (guess_is_rela): Here too.
373 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
375 * po/binutils.pot: Regenerate.
376 * po/fr.po: Regenerate.
377 * po/tr.po: Regenerate.
379 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
381 * po/tr.po: Import new version.
383 2002-01-16 Alan Modra <amodra@bigpond.net.au>
385 * readelf.c (get_ppc64_dynamic_type): New.
386 (get_dynamic_type): Call it.
388 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
390 * objcopy.c (copy_usage): Use "options" instead of "switches".
391 (strip_usage): Use "options" instead of "switches".
392 * doc/binutils.texi (dlltool): Refer to "options" instead of
395 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
397 * MAINTAINERS: Add self as co-maintainer for the ARM code.
399 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
401 * po/es.po: Import from translation project.
402 * configure.in (ALL_LINGUAS): Add es.
403 * configure: Regenerate.
405 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
407 * readelf.c (get_netbsd_elfcore_note_type): Use
408 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
410 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
412 * readelf.c: Update copyright years.
413 (get_note_type): Return a const char *.
414 (get_netbsd_elfcore_note_type): New function.
415 (process_note): Use get_netbsd_elfcore_note_type to get
416 the note type string for NetBSD ELF core files.
418 2002-01-06 Steve Ellcey <sje@cup.hp.com>
420 * readelf.c (get_ia64_segment_type): Add support for macros.
421 (get_segment_type): Add support for IA64 specific macros.
423 2001-12-20 Julian v. Bock <julian@wongr.net>
425 * readelf.c (print_symbol): New function: Print a formatted symbol
426 name. If --wide is specified do not truncate it.
427 (dump_relocations): Use print_symbol() to print symbol names.
428 (process_symbol_table): Likewise.
429 (process_syminfo): Likewise.
430 (process_mips_specific): Likewise.
431 (usage): Document new feature of --wide switch.
432 * doc/binutils.texi (objdump): Document additional behaviour of
435 2001-12-18 Michael Snyder <msnyder@redhat.com>
437 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
438 (copy_object): Don't set the start address or flags of a core file.
439 (copy_section): Don't relocate a core file. Don't copy contents
440 if the input section has the contents flag set, but the output
441 section does not (which happens with the fake 'note' pseudo-
442 sections that BFD creates for corefiles).
444 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
446 * readelf.c (get_machine_flags): Recognize header flags for ABI and
447 ASE extensions. More robust code for ISA checking. Ignore empty fields
448 in header flags for GNU extensions.
450 2001-12-18 Alan Modra <amodra@bigpond.net.au>
452 * objcopy.c (copy_archive): Set output bfd format outside the loop.
454 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
456 * po/ja.po: Import from translation project.
457 * configure.in (ALL_LINGUAS): Add ja.
458 * configure: Regenerate.
460 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
462 * addr2line.c (main): Protoype.
463 * ar.c (main): Protoype.
464 * nm.c (main): Protoype.
465 * objcopy.c (main): Protoype.
466 * objdump.c (main): Protoype.
467 * size.c (main): Protoype.
468 * strings.c (main): Protoype.
470 2001-12-17 Alan Modra <amodra@bigpond.net.au>
472 * readelf.c (symtab_shndx_hdr): New global.
473 (SECTION_HEADER_INDEX): Define.
474 (SECTION_HEADER_NUM): Define.
475 (SECTION_HEADER): Define.
476 (GET_ELF_SYMBOLS): Pass two params rather than three.
477 (get_32bit_elf_symbols): Take file and section args. Read and
478 use SHT_SYMTAB_SHNDX.
479 (get_64bit_elf_symbols): Likewise.
480 (dump_relocations): Use SECTION_HEADER to index "section_headers".
481 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
482 Remember symtab_shdx_hdr.
483 (process_program_headers): Scan from index 1 for segment map.
484 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
486 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
487 (process_unwind): Likewise.
488 (process_version_sections): Likewise.
489 (process_symbol_table): Likewise.
490 (display_debug_info): Likewise.
491 (process_dynamic_segment): Fake up a symtab section for changed
493 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
494 (process_program_headers): Kill signed/unsigned warning.
495 (load_debug_str): Likewise.
496 (display_debug_info): Likewise.
498 2001-12-13 Jakub Jelinek <jakub@redhat.com>
500 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
502 2001-12-11 Alan Modra <amodra@bigpond.net.au>
504 * readelf.c (process_file_header): Print extended e_shnum and
505 e_shdtrndx values. Set elf_header values for same.
506 (get_32bit_section_headers): Add "num" arg to read "num" headers.
507 (get_64bit_section_headers): Likewise.
508 (process_section_headers): Update calls.
509 (get_file_header): Call get_32bit_section_headers or 64bit variant.
511 2001-12-10 Jakub Jelinek <jakub@redhat.com>
513 * objcopy.c (setup_section): Copy entsize.
515 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
517 * readelf.c (guess_is_rela): Add support for stormy16.
518 (dump_relocations): Likewise.
519 (get_machine_name): Likewise.
521 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
523 * dllwrap.c (main) Replace multiple strings describing a
524 single error with a single, newline escaped sentence to permit
525 better translation into foreign languages.
527 * readelf.c (get_elf_class): Remove internalionalisation of ELF
530 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
532 * strings.c (get_char): Initialize value.
534 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
536 * arlex.l: Silence compile warnings.
537 * arsup.h: Likewise. Fix formatting.
539 2001-12-04 Jakub Jelinek <jakub@redhat.com>
541 * strings.c: Include config.h before bfd.h.
542 (file_off): New type.
544 (print_strings): Use file_off instead of file_ptr. Print addresses
545 which don't fit into long correctly.
546 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
548 (strings_file): Use file_off instead of file_ptr. Use file_open.
549 * configure.in: Check for getc_unlocked.
550 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
552 * configure: Rebuilt.
553 * config.h.in: Rebuilt.
555 2001-11-29 H.J. Lu <hjl@gnu.org>
557 * bucomm.c (make_tempname): Revert the changes made on
558 2001-11-14 and 2001-11-12. They won't work with directories.
560 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
562 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
563 CFLAGS_FOR_TARGET to runtest in environment.
564 * Makefile.in: Rebuild.
565 * doc/Makefile.in: Rebuild.
567 2001-11-28 Mike Stump <mrs@wrs.com>
569 * objcopy.c (setup_section): Preserve SEC_RELOC when
570 --set-section-flags is used.
572 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
574 * readelf.c (do_debug_str): New variable.
575 (display_debug_str): New function: Display the contents of a
577 (load_debug_str): New function: Load in the contents of a
579 (free_debug_str): New function: Free the memory used by
581 (fetch_indirect_string): Retrieve a string from the .debug_str
584 (parse_args): Accept -ws.
585 (process_section_headers): Allow the display of the .debug_str
587 (read_and_display_attr_value): Use fetch_indirect_string. Show
588 offset into .debug_str section.
589 (display_debug_info): Use load_debug_str and free_debug_str.
590 (debug_displays): Add .debug_str.
591 * doc/binutils.texi: Document -ws.
593 2001-11-19 Andreas Jaeger <aj@suse.de>
595 * testsuite/binutils-all/objdump.exp: Add x86-64.
597 2001-11-15 Andreas Schwab <schwab@suse.de>
599 * readelf.c: Fix warnings without terminating newline.
601 2001-11-15 Alan Modra <amodra@bigpond.net.au>
603 * doc/binutils.texi (objdump): Document ppc -M options.
605 2001-11-14 Andreas Jaeger <aj@suse.de>
607 * doc/binutils.texi (objdump): Fix description to use x86-64.
609 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
611 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
612 not all systems provide mkstemp.
614 2001-11-14 Alan Modra <amodra@bigpond.net.au>
616 * doc/binutils.texi (objdump): Document x86 -M options.
618 2001-11-13 Keith Walker <keith.walker@arm.com>
620 * readelf.c (read_and_display_attr_value): New function to
621 handle DW_FORM_indirect.
622 (read_and_display_attr): Use it.
624 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
626 * readelf.c (display_debug_lines): Deal with unknown standard
627 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
630 2001-11-13 Timothy Wall <twall@alum.mit.edu>
632 * MAINTAINERS: Add self as tic54x maintainer. This target
633 includes the IBM C54XDSP clone.
635 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
637 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
639 2001-11-09 Jeffrey A Law (law@cygnus.com)
641 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
642 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
643 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
644 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
645 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
646 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
647 (unw_decode_b2, unw_decode_b3_b4): Likewise.
649 * readelf.c (get_elf_class): Fix ISO portability glitch.
650 (get_data_encoding, get_osabi_name, request_dump): Likewise.
652 2001-11-07 Jakub Jelinek <jakub@redhat.com>
654 * readelf.c (debug_str, debug_str_size): New.
655 (display_debug_abbrev): If no abbrevs were read, skip the CU.
657 (read_and_display_addr): Handle DW_FORM_strp.
658 (display_debug_info): Read .debug_str section if present,
659 so that DW_FORM_strp can be handled.
660 Fix test for non-existant .debug_abbrev section.
662 2001-11-05 Jakub Jelinek <jakub@redhat.com>
664 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
666 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
668 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
670 * MAINTAINERS: Add self as s390/s390x maintainer.
672 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
674 * MAINTAINERS: Add self as PPC XCOFF maintainer.
676 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
678 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
679 * configure: Regernate.
680 * po/fr.po: New file.
681 * po/tr.po: New file.
683 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
685 * MAINTAINERS: Add self as MMIX port maintainer.
686 * readelf.c: Include elf/mmix.h.
687 (guess_is_rela): MMIX is RELA.
688 (dump_relocations): Handle MMIX relocations.
689 * Makefile.am: Regenerate dependencies.
690 * Makefile.in: Regenerate.
692 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
694 * readelf.c (parse_args): Handle multiple options to the -w
697 2001-10-12 Jakub Jelinek <jakub@redhat.com>
699 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
700 LOPROC, LOOS and LOUSER.
702 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
704 * MAINTAINERS: Update my email address.
706 2001-10-03 Alan Modra <amodra@bigpond.net.au>
708 * doc/Makefile.in: Regenerate.
709 * configure: Regenerate.
711 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
713 * readelf.c (display_debug_line, display_debug_pubnames,
714 display_debug_info, display_debug_frames): Detect and warn
715 about 64-bit format entries.
716 (display_debug_aranges): Reword 64-bit warning.
717 (debug_displays): Add .debug_pubtypes as a known, but not yet
718 supported, debug section.
720 2001-10-02 Alan Modra <amodra@bigpond.net.au>
722 * coffdump.c (PROGRAM_VERSION): Delete.
723 (main <'V'>): Call print_version.
724 * srconv.c: Likewise.
725 * sysdump.c: Likewise.
726 * version.c (program_version): Remove.
727 (print_version): Use BFD_VERSION_STRING. Just print the current
728 year in copyright message.
729 * addr2line.c (program_version): Remove unused declaration.
730 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
731 place of BFD_VERSION.
732 * Makefile.am (Makefile): Depend on bfd/configure.in.
733 (cplus-dem.o): Depend on Makefile.
735 * Makefile.in: Regenerate.
737 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
739 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
740 format .debug_arange sections.
741 (main): Add missing prototype.
743 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
745 * Makefile.am: Update dependencies with "make dep-am".
746 * Makefile.in: Regenerate.
748 2001-09-28 Richard Henderson <rth@redhat.com>
750 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
752 2001-09-26 Alan Modra <amodra@bigpond.net.au>
754 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
756 (non_fatal): Likewise.
757 * objdump.c (objdump_sprintf): Likewise.
758 * readelf.c (error): Likewise.
761 2001-09-25 Jakub Jelinek <jakub@redhat.com>
763 * readelf.c (do_wide): New.
764 (options): Add --wide.
765 (usage, parse_args): Likewise.
766 (process_program_headers): Put each segment on a single line if
768 (process_section_headers): Put each section on a single line if
770 * doc/binutils.texi: Document it.
773 2001-09-25 Alan Modra <amodra@bigpond.net.au>
775 * readelf.c (print_vma): Print 8 digits of low hex value.
777 2001-09-24 Andreas Jaeger <aj@suse.de>
779 * nlmconv.c: Fix warnings about unused attributes and function
782 * strings.c: Add prototype for get_char.
784 2000-09-19 H.J. Lu <hjl@gnu.org>
786 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
787 $(srcdir)/cxxfilt.man.
788 * doc/Makefile.in: Rebuild.
790 2001-09-19 Alan Modra <amodra@bigpond.net.au>
792 * objcopy.c (copy_main): Correct rename-section string parsing.
793 Consolidate new_name parsing, and error messages.
795 2001-09-18 Bruno Haible <haible@clisp.cons.org>
797 * addr2line.c: Don't include <ctype.h>.
798 (main): For gettext, also set the LC_CTYPE locate facet.
799 * ar.c (main): Likewise.
800 * coffdump.c (main): Likewise.
801 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
802 (main): For gettext, also set the LC_CTYPE locate facet.
803 Use ISALNUM instead of isalpha/isdigit.
804 * dllwrap.c: Don't include <ctype.h>.
805 (main): For gettext, also set the LC_CTYPE locate facet.
806 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
807 (main): For gettext, also set the LC_CTYPE locate facet.
808 Use TOUPPER instead of islower/toupper.
809 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
810 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
811 Use TOUPPER instead of islower/toupper.
812 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
813 * objcopy.c (main): Likewise.
814 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
815 (disassemble_bytes): Use ISPRINT instead of isprint.
816 (dump_section_stabs): Use ISDIGIT instead of isdigit.
817 (dump_data): Use ISPRINT instead of isprint.
818 (main): For gettext, also set the LC_CTYPE locate facet.
819 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
820 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
821 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
822 Use TOUPPER instead of islower/toupper.
823 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
824 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
825 (write_rc_accelerators): Use ISPRINT instead of isprint.
826 (write_rc_rcdata): Likewise.
827 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
828 * srconv.c (main): Likewise.
829 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
830 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
831 isdigit/isupper/islower.
832 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
833 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
834 stab_demangle_prefix, stab_demangle_qualified,
835 stab_demangle_template, stab_demangle_type,
836 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
837 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
838 (isgraphic): Use ISPRINT instead of isascii/isprint.
839 (main): Remove HAVE_LC_MESSAGES dependency.
840 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
841 (pbarray): Use ISPRINT instead of isprint.
842 (main): For gettext, also set the LC_CTYPE locate facet.
843 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
844 (format_from_filename): Use ISPRINT instead of isprint.
845 (main): For gettext, also set the LC_CTYPE locate facet.
846 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
847 (unicode_print): Use ISPRINT instead of isprint.
848 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
849 (stab_variable): Use ISDIGIT instead of isdigit.
851 2001-09-18 Alan Modra <amodra@bigpond.net.au>
853 * ar.c (print_contents): Cast args of bfd_seek to the right types.
854 Replace bfd_read call with call to bfd_bread.
855 (extract_file): Likewise.
857 * objdump.c (dump_section_header): Cast section->filepos to
858 unsigned long to suit printf format string.
859 * readelf.c (process_section_headers): Similarly for sh_offset.
860 (process_unwind): Likewise.
862 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
864 * strings.c (encoding, encoding_bytes): New variables.
865 (long_options): Add --encoding.
866 (main): Accept -e and --encoding.
867 (get_char): New function. Read a, possibly wide, character from
869 (print_strings): Use get_char().
870 (usage): Document new command line option.
871 * doc/binutils.texi: Document new command line option.
872 * NEWS: Announce new command line option.
874 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
876 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
877 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
878 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
879 Removed EM_CYGNUS_ARC.
881 2001-09-04 Jeffrey A Law (law@cygnus.com)
883 * readelf.c: Include elf/h8 for H8 series definitions.
884 (guess_is_rela): H8 series if RELA.
885 (dump_relocations): Handle H8 series relocations.
887 2001-08-31 Eric Christopher <echristo@redhat.com>
889 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
891 2001-08-29 Peter Targett <peter.targett@arccores.com>
893 * MAINTAINERS: Include ARC Maintainer.
895 2001-08-29 Ben Elliston <bje@redhat.com>
897 * stabs.c (stab_demangle_template): Initialise s4.
899 2001-08-27 Alan Modra <amodra@bigpond.net.au>
901 * readelf.c (dump_relocations): Recognise EM_PPC64.
903 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
905 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
907 2001-08-25 H.J. Lu <hjl@gnu.org>
909 * nm.c (print_width): New.
910 (display_rel_file): Set `print_width' according to
912 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
914 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
916 * objcopy.c (use_alt_mach_code): New variable.
917 (OPTION_ALT_MACH_CODE): Define.
918 (copy_options): Added --alt-machine-code.
919 (copy_main): Handle it.
920 (copy_object): Switch to alternate machine code if requested.
921 * doc/binutils.texi: Document new option.
924 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
926 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
928 2001-08-21 H.J. Lu <hjl@gnu.org>
930 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
931 (display_debug_info): Cast for 64bit hosts.
932 (display_debug_frames): Likewise.
933 (process_mips_specific): Likewise.
935 2001-08-21 Andreas Jaeger <aj@suse.de>
937 * coffgrok.h: Add missing parameter for prototype of coff_grok.
939 * sysdump.c: Add missing prototypes.
940 * srconv.c: Likewise.
941 * unwind-ia64.c: Likewise.
942 * coffdump.c: Likewise.
944 * sysinfo.y: Print prototypes, include <ansidecl.h>.
946 * coffgrok.c: Add missing prototypes, include libiberty.h instead
947 of declaring xcalloc.
949 2001-08-10 H.J. Lu <hjl@gnu.org>
951 * nm.c (print_value): Add one arg, bfd *.
952 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
953 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
954 (print_symbol_info_sysv): Likewise.
955 (print_symbol_info_posix): Likewise.
957 * objdump.c (dump_section_header): Replace printf_vma with
959 (print_section_stabs): Likewise.
960 (dump_bfd_header): Likewise.
961 (objdump_print_value): Replace sprintf_vma with
963 (disassemble_bytes): Likewise.
964 (dump_reloc_set): Likewise.
966 2001-08-10 Andreas Jaeger <aj@suse.de>
968 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
970 * configure: Regenerate.
972 2001-08-09 Alan Modra <amodra@bigpond.net.au>
974 * readelf.c: Add missing prototypes.
975 * objdump.c: Likewise. Format existing prototypes.
977 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
979 * readelf.c (display_debug_info): Add to abbrev_offset the addend
980 of any RELA relocation for the abbrev_offset memory location that
981 refers to the .debug_abbrev section symbol.
983 2001-08-07 H.J. Lu <hjl@gnu.org>
985 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
986 (main): Return process_file ().
988 2001-08-05 Philip Blundell <philb@gnu.org>
990 * doc/binutils.texi: Use "Thumb" not "THUMB".
992 2001-08-03 John Healy <jhealy@redhat.com>
994 Patch suggested by Frank Eigler <fche@redhat.com>.
995 * objdump.c (disassemble_data): Fill in section member of the
996 disasm_info structure.
998 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1000 * configure.in: Added --with-windres option.
1001 * configure: Regenerated.
1003 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1005 * doc/binutils.texi: Use @command{name} for commands;
1006 use @option{-opt} for options; use @table @env for list of options;
1007 remove spaces arround [ | ] in synopsis.
1009 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1012 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1014 * objcopy.c: Fix formatting.
1015 (section_rename): New structure.
1016 (OPTION_RENAME_SECTION): New switch.
1017 (copy_usage): Document new switch.
1018 (add_section_rename): New function: Add a node to the section
1020 (find_section_rename): New function: Find the new name and
1021 flags for a section.
1022 (setup_section): Call find_section_name to determine the name
1023 of the output section.
1024 (copy_main): Handle OPTION_RENAME_SECTION.
1025 * binutils.texi: Document new switch.
1026 * NEWS: Mention new switch.
1028 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1030 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1031 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1032 bug-binutils@gcc.org.
1034 2001-07-28 Matthias Kramm <kramm@quiss.org>
1036 * bucomm.c (list_supported_architectures): New function.
1037 * bucomm.h (list_supported_architectures): Declare.
1038 * objdump.c (usage): Call the above.
1040 2001-07-25 Dave Brolley <brolley@redhat.com>
1042 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1043 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1045 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1047 * README: Update for 2.11. Change bug reporting email address.
1048 * MAINTAINERS: Tidy up. Change bug reporting email address.
1050 2001-07-16 DJ Delorie <dj@redhat.com>
1052 * resres.c (write_res_header): Align header size.
1053 (res_align_file): Calculate alignment correctly.
1055 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1057 * resrc.c (write_rc_resource): Likewise.
1058 * windres.h (SUBLANG_SHIFT): Define - as 10.
1060 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1062 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1064 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1066 * MAINTAINERS: Add notes about branch checkins.
1068 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1070 * readelf.c (display_debug_macinfo): New function, display
1071 .debug_macinfo section.
1072 (do_debug_macinfo): New variable.
1073 (parse_args): Handle "-w[mM]" to mean display macro info.
1074 (process_section_headers): Handle debug_macinfo.
1075 (debug_displays): Replace unsupported function with macinfo
1076 function for .debug_macinfo display.
1077 * doc/binutils.texi: Document new command line switch.
1078 * NEWS: Document new feature of readelf.
1080 2001-07-05 H.J. Lu <hjl@gnu.org>
1082 * objcopy.c (filter_symbols): Don't turn undefined symbols
1085 2001-07-03 H.J. Lu <hjl@gnu.org>
1087 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1090 (dlltool.1): Likewise.
1091 (nlmconv.1): Likewise.
1093 (objcopy.1): Likewise.
1094 (objdump.1): Likewise.
1095 (ranlib.1): Likewise.
1096 (readelf.1): Likewise.
1098 (strings.1): Likewise.
1099 (strip.1): Likewise.
1100 (windres.1): Likewise.
1101 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1102 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1105 * doc/Makefile.in: Regenerated.
1107 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1109 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1111 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1113 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1115 2001-06-29 James Cownie <jcownie@etnus.com>
1117 * readelf.c: Support DWARF 2.1 attributes.
1119 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1121 * readelf.c (GET_DATA_ALLOC): Remove.
1123 (get_data): New function combining above macros, with an extra
1125 (slurp_rela_relocs): Use get_data, and catch error return.
1126 (slurp_rel_relocs): Likewise.
1127 (get_32bit_program_headers): Likewise.
1128 (get_64bit_program_headers): Likewise.
1129 (get_32bit_section_headers): Likewise.
1130 (get_64bit_section_headers): Likewise.
1131 (get_32bit_elf_symbols): Likewise.
1132 (get_64bit_elf_symbols): Likewise.
1133 (process_section_headers): Likewise.
1134 (process_relocs): Likewise.
1135 (slurp_ia64_unwind_table): Likewise.
1136 (process_unwind): Likewise.
1137 (get_32bit_dynamic_segment): Likewise.
1138 (get_64bit_dynamic_segment): Likewise.
1139 (process_dynamic_segment): Likewise.
1140 (process_version_sections): Likewise.
1141 (process_symbol_table): Likewise.
1142 (dump_section): Likewise.
1143 (display_debug_info): Likewise.
1144 (display_debug_section): Likewise.
1145 (process_section_contents): Likewise.
1146 (process_corefile_note_segment): Likewise.
1147 (process_mips_specific): Likewise. Also free econf32, econf64.
1149 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1151 * readelf.c (dump_relocations): Print "bad symbol index" if
1152 symtab == NULL with non-zero symtab_index.
1153 (process_relocs): Don't bomb if reloc section has no symsec.
1155 2001-06-24 H.J. Lu <hjl@gnu.org>
1157 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1159 (copy_main): Apply the the change made to strip_main on
1160 2001-05-30 by accident.
1162 2001-06-23 Andreas Jaeger <aj@suse.de>
1164 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1166 (unw_decode_x2): Likewise.
1167 (unw_decode_x3): Likewise.
1168 (unw_decode_x4): Likewise.
1170 2001-06-23 Ben Elliston <bje@redhat.com>
1172 * MAINTAINERS: Add myself as M88k maintainer.
1174 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1176 * objcopy.c (strip_main): Support -o or --output-file command lien
1179 2001-06-19 H.J. Lu <hjl@gnu.org>
1181 * doc/Makefile.in: Regenerated.
1183 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1185 * readelf.c: Restore formatting.
1187 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1189 * Makefile.am: Move documentation into doc subdirectory.
1190 * Makefile.in: Regenerated.
1191 * binutils.texi: Move into doc subdirectory.
1192 * addr2line.1: Removed.
1194 * dlltool.1: Likewise.
1195 * nlmconv.1: Likewise.
1197 * objcopy.1: Likewise.
1198 * objdump.1: Likewise.
1199 * ranlib.1: Likewise.
1200 * readelf.1: Likewise.
1202 * strings.1: Likewise.
1203 * strip.1: Likewise.
1204 * windres.1: Likewise.
1205 * cxxfilt.man: Likewise.
1206 * doc: New Directory.
1207 * doc/Makefile.am: New file.
1208 * doc/Makefile.in: Generate.
1210 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1212 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1214 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1216 * MAINTAINERS: Update my email address.
1218 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1220 * objcopy.c: Add new switches: --keep-global-symbol,
1221 --keep-symbols, --localize-symbols, --keep-global-symbols and
1223 * binutils.texi: Document new switches.
1224 * objcopy.1: Regenerate.
1225 * NEWS: Announce new feature.
1227 2001-05-28 Andreas Jaeger <aj@suse.de>
1229 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1230 variables, fix format strings.
1232 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1234 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1235 when computing the address of the line to show.
1237 2001-05-16 Richard Henderson <rth@redhat.com>
1239 * readelf.c (do_debug_frames_interp): New.
1240 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1241 (byte_get_big_endian): Likewise.
1242 (parse_args) ['F']: Set do_debug_frames_interp.
1243 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1244 (frame_display_row): Don't trunc pc_begin to int.
1245 (size_of_encoded_value): New.
1246 (display_debug_frames): Handle 64-bit targets. Print raw data
1247 unless do_debug_frames_interp.
1248 (debug_displays): Remove duplicate .debug_frame.
1250 2001-05-15 Ralf Baechle <ralf@gnu.org>
1252 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1253 The former constant was never in active use and is used otherwise
1256 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1258 * readelf.c (process_unwind): Print all unwind sections, not just
1261 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1263 * readelf.c (process_unwind): Remove const specifier.
1265 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1267 * strings.c (isgraphic): Do not use isascii() unless it is needed
1268 for isprint() to work.
1269 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1271 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1273 * NEWS: Announce support for OpenRISC.
1275 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1277 * dlltool.c (do_default_excludes): Initialise to true.
1279 2001-04-10 Alan Modra <amodra@one.net.au>
1281 * MAINTAINERS: Update my email address
1282 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1284 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1286 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1288 2001-03-30 H.J. Lu <hjl@gnu.org>
1290 * readelf.c (process_unwind): Just return if do_unwind is 0.
1292 2001-03-28 Roger Sayle <roger@metaphorics.com>
1294 * dlltool.c (make_one_lib_file): Fix section flags for
1295 .text, .data and .bss in stub ds*.o files to match those
1298 2001-03-29 H.J. Lu <hjl@gnu.org>
1300 * readelf.c (process_unwind): Only do unwind sections for
1303 2001-03-28 H.J. Lu <hjl@gnu.org>
1305 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1306 * Makefile.in: Regenerate.
1308 2001-03-26 Andreas Jaeger <aj@suse.de>
1310 * binutils.texi (nm): Fix texi syntax.
1312 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1314 * binutils.texi: Put @c man begin and @c man end indications
1315 to generate man pages using texi2pod and pod2man. Put @c man title
1316 to identify each man. Add SEEALSO entries.
1317 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1318 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1320 (*.1): Build the man pages from binutils.texi.
1321 * Makefile.in: Regenerate.
1323 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1325 * defparse.y (opt_equal_name): allow "." in name.
1326 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1327 (gen_exp_file): Likewise.
1329 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1331 * NEWS: Document addition of -B switch to objcopy.
1332 * binutils.texi: Document addition of -B switch to objcopy.
1333 * objcopy.c: (copy_options): Add --binary-architecture.
1334 (copy_usage): Document -B/--binary-architecture.
1335 (copy_main): Support -B/--binary-architecture. Set
1336 bfd_external_binary_architecture.
1338 2001-03-11 Andreas Jaeger <aj@suse.de>
1340 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1341 (dump_relocations): Likewise.
1342 (get_machine_name): Likewise.
1344 2001-02-28 Nick Clifton <nickc@redhat.com>
1346 * readelf.c: (struct unw_aux_info): Remove const modifier for
1348 (process_unwind): Remove non-K&R compliant LHS type cast in call
1349 to GET_DATA_ALLOC macro.
1351 2001-02-28 Philip Blundell <pb@futuretv.com>
1353 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1354 ABI is in use; remove ambiguity between the "unknown" EABI and
1355 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1356 renamed EF_xx constants.
1358 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1360 * configure.in (BFD_VERSION): New.
1361 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1362 * configure: Regenerate.
1363 * Makefile.am: Run "make dep-am"
1364 * Makefile.in: Regenerate.
1366 2001-02-14 Nick Clifton <nickc@redhat.com>
1368 * MAINTAINERS: Add "Obvious Fix" rule.
1370 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1372 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1373 literal concatenation.
1375 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1377 * readelf.c (struct unw_aux_info): Remove const from the info member.
1378 (process_unwind): Don't type-cast the third argument to the
1379 GET_DATA_ALLOC macro.
1381 2001-02-11 Nick Clifton <nickc@redhat.com>
1383 * readelf.c (dump_relocations): Free corrected allocated
1385 (process_unwind): Fix compile time warning.
1387 2001-02-10 Nick Clifton <nickc@redhat.com>
1389 * binutils.texi: Document new --unwind option to readelf.
1391 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1393 * readelf.c: Add linux target for S/390.
1395 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1397 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1400 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1402 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1403 * aclocal.m4: Regenerate.
1404 * configure: Regenerate.
1406 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1408 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1409 * objdump.c (bfd_target_vector): Likewise.
1411 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1413 * readelf.c (process_unwind): New function.
1414 (slurp_ia64_unwind_table): Ditto.
1415 (dump_ia64_unwind): Ditto.
1416 (find_symbol_for_address): Ditto.
1417 (slurp_rela_relocs): New function (split off from dump_relocations()).
1418 (slurp_rel_relocs): Ditto.
1419 (parse_args): Handle '-u' option.
1421 * unwind-ia64.c: New file.
1422 * unwind-ia64.h: New file.
1423 * Makefile.am: Include unwind-ia64.c in readelf build.
1424 * Makefile.in: Regenerate.
1425 * po/binutils.pot: Regenerate.
1427 2001-02-04 Philip Blundell <philb@gnu.org>
1429 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1430 * configure: Regenerate.
1432 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1434 * ieee.c (ieee_add_bb11): Don't check for backslashes
1435 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1437 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1439 * ieee.c: Update copyright.
1440 (ieee_start_compilation_unit): Don't check for backslashes
1441 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1443 * stabs.c: Update copyright. Include "filenames.h".
1444 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1446 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1448 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1449 sections are present before using them. Remove code duplication.
1450 (process_symbol_table): Check if VERDEF or VERNEED sections are
1451 present before using them.
1453 2001-01-17 Nick Clifton <nickc@redhat.com>
1455 * objcopy.c (copy_object): Fail if attempting to convert the
1456 endianness of the input object file.
1458 * binutils.texi: Explain that objcopy cannot convert endianness.
1460 2001-01-16 Nick Clifton <nickc@redhat.com>
1462 * readelf.c (string_table_length): New variable.
1463 (SECTION_NAME): Catch out of range indices and missing section
1465 (process_section_headers): Delete useless local variable
1466 string_table_offset. Set the value of string_table_length
1467 after loading the string table.
1468 (process_mips_specific): Use SECTION_NAME macro.
1469 (process_file): Set string_table_length to 0 when it is freed.
1471 2001-01-12 Nick Clifton <nickc@redhat.com>
1473 * version.c (print_version): Update copyright date.
1475 2001-01-11 Peter Targett <peter.targett@arccores.com>
1477 * readelf.c (dump_relocations): Include selection with EM_ARC.
1478 (get_machine_name) Update name to "ARC".
1480 2001-01-09 Nick Clifton <nickc@redhat.com>
1482 * Makefile.am: Add rule to build objdump.o from objdump.c and
1484 * Makefile.in: Regenerate.
1486 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1487 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1488 -DDISASSEMBLER_NEEDS_RELOCS.
1489 * configure: Regenerate.
1491 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1492 is defined read in the relocs even if dump_reloc_info is
1495 2001-01-07 Philip Blundell <philb@gnu.org>
1497 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1501 2000-12-19 Nick Clifton <nickc@redhat.com>
1503 * dlltool.c: Add missing support for arm-epoc-pe.
1504 * configure.in: Add missing support for arm-epoc-pe.
1505 * configure: Regenerate.
1507 2000-12-15 Nick Clifton <nickc@redhat.com>
1509 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1510 Mode parts of the x86 port.
1512 2000-12-04 Andreas Jaeger <aj@suse.de>
1514 * readelf.c (guess_is_rela): Add EM_X86_64.
1515 (dump_relocations): Add EM_X86_64.
1516 (get_machine_name): Add EM_X86_64.
1517 Include "elf/x86-64.h".
1519 2000-12-12 Nick Clifton <nickc@redhat.com>
1521 * readelf.c: Fix formatting.
1523 2000-12-11 Jan Hubicka <jh@suse.cz>
1525 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1527 2000-12-07 Andrew Haley <aph@redhat.com>
1529 * readelf.c (display_debug_frames): Only display columns that are
1530 referenced by the frame debug info.
1532 2000-12-05 Nick Clifton <nickc@redhat.com>
1534 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1536 2000-12-04 Jason Merrill <jason@redhat.com>
1538 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1539 (display_debug_section): Likewise.
1540 (display_debug_info): Display CU header before bailing.
1542 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1544 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1545 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1546 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1548 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1551 * readelf.c (get_machine_flags): Add case for
1554 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1556 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1558 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1560 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1561 Change sourceware.cygnus.com to sources.redhat.com.
1562 Fix typo for "amongst".
1564 2000-11-28 Nick Clifton <nickc@redhat.com>
1566 * strip.1 (COPYING): Mention that the GNU Free Documentation
1567 License is present in the sources, but not the output, and
1568 also available from the GNU website.
1569 (GNU Free Documentation License): Comment out this section.
1578 * addr2line.1: Ditto.
1580 2000-11-27 DJ Delorie <dj@redhat.com>
1582 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1583 (parse_args): Support -wf option.
1584 (process_section_headers): Ditto.
1585 (debug_displays): Ditto.
1586 (display_debug_frames): New, dump *_frame sections.
1587 (frame_need_space): Support for above.
1588 (frame_display_row): Ditto.
1589 * binutils.texi: Document it.
1591 2000-11-24 Nick Clifton <nickc@redhat.com>
1593 * NEWS: Announce support for v5t, v5te and XScale.
1595 2000-11-22 Nick Clifton <nickc@redhat.com>
1597 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1598 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1599 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1600 (get_elf_section_flags: Add SHF_GROUP.
1601 (process_section_headers): Adjust output for 32-bit binaries
1602 to look nice on an 80 column terminal.
1604 2000-11-20 H.J. Lu <hjl@gnu.org>
1606 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1609 2000-11-17 Richard Henderson <rth@redhat.com>
1611 * readelf.c (display_debug_lines): Adjust last change to
1612 use sizeof (external->li_length).
1614 2000-11-17 Richard Henderson <rth@redhat.com>
1616 * readelf.c (display_debug_lines): Fix section length check
1617 and end_of_sequence computation.
1619 2000-11-06 Nick Clifton <nickc@redhat.com>
1621 * binutils.texi: Add GNU Free Documentation License.
1622 * objcopy.1: Add GNU Free Documentation License.
1623 * objdump.1: Add GNU Free Documentation License.
1624 * addr2line.1: Add GNU Free Documentation License.
1625 * ar.1: Add GNU Free Documentation License.
1626 * nlmconv.1: Add GNU Free Documentation License.
1627 * nm.1: Add GNU Free Documentation License.
1628 * ranlib.1: Add GNU Free Documentation License.
1629 * size.1: Add GNU Free Documentation License.
1630 * strings.1: Add GNU Free Documentation License.
1631 * strip.1: Add GNU Free Documentation License.
1633 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1635 * objcopy.c (--srec-len=nn): New parameter to set the
1636 maximum length of generated Srecords.
1637 (--srec-forceS3): New parameter that restricts the generation of
1638 Srecords to type S3 only.
1639 * binutils.texi: Document new command line switches.
1640 * objcopy.1: Docuemnt the new command line switches.
1641 * NEWS: Announce the existence of the new command line switches.
1643 2000-10-31 Nick Clifton <nickc@redhat.com>
1645 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1646 code. Add Eric Chrisopher as maintainer of MN10300 port.
1648 2000-10-12 Roger Sayle <roger@metaphorics.com>
1650 * Make comma after string after icon/control optional.
1652 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1654 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1656 * NEWS: Mention support for MIPS32.
1658 2000-09-08 Nick Clifton <nickc@redhat.com>
1660 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1662 2000-09-07 H.J. Lu <hjl@gnu.org>
1664 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1665 * configure: Rebuild.
1667 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1669 * configure: Rebuilt with new libtool.m4.
1671 2000-09-05 Nick Clifton <nickc@redhat.com>
1673 * aclocal.m4: Regenerate.
1674 * config.in: Regenerate.
1675 * configure: Regenerate.
1677 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1679 * strip.1: Fix stray '\' in -o formatting.
1681 2000-09-02 Nick Clifton <nickc@redhat.com>
1683 * configure.in: Increase version number to 2.10.91.
1684 * configure: Regenerate.
1685 * aclocal.m4: Regenerate.
1686 * config.in: Regenerate.
1687 * po/binutils.pot: Regenerate.
1689 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1691 * acinclude.m4: Include libtool and gettext macros from the
1693 * aclocal.m4, configure: Rebuilt.
1695 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1697 * resrc.c (close_input_stream): Delete extraneous logic
1699 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1701 * NEWS: Mention support for CRIS.
1703 2000-08-21 Nick Clifton <nickc@redhat.com>
1705 * addr2line.c: Changed email address for Ulrich Lauther.
1707 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1709 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1711 2000-08-17 Nick Clifton <nickc@redhat.com>
1713 * readelf.c (display_debug_pubnames): Only issue warning
1714 message once. Terminate message with a new line.
1715 (display_debug_aranges): Only display version 2 debug info.
1717 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1719 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1720 for compatability with old BSD systems.
1722 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1724 * NEWS: Mention i860 support.
1726 2000-08-11 Carlo Wood <carlo@alinoe.com>
1728 * addr2line.c (main): Add const to char *.
1730 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1732 * ar.c (main): Don't crash if called with no arguments
1733 or only '-X32_64' as an argument.
1735 2000-08-08 DJ Delorie <dj@redhat.com>
1737 * resrc.c: use "gcc -xc" instead of -xc-header
1739 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1741 * readelf.c (elf/i860.h): Include.
1742 (dump_relocations): Add recognition of i860 architecture.
1743 (guess_is_rela): Add recognition of i860 architecture.
1745 2000-08-03 Nick Clifton <nickc@cygnus.com>
1747 * MAINTAINERS: Add information about CGEN maintainers.
1749 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1751 * nm.c (main): Ignore '-X32_64' as an option.
1752 * ar.c (main): Likewise.
1753 * binutils.texi (nm): Document new option.
1756 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1758 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1760 2000-07-20 H.J. Lu <hjl@gnu.org>
1762 * binutils.texi: Put back "@end table" deleted by
1765 2000-07-05 Kenneth Block <krblock@computer.org>
1767 * nm.c: Add optional style to demangle switch.
1768 * objdump.c: Add optional style to demangle switch.
1769 * addr2line.c: Add optional style to demangle switch.
1770 * binutils.texi: Document optional style to demangle
1773 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1775 * MAINTAINERS: Add self as CRIS port maintainer.
1776 * readelf.c: Include elf/cris.h.
1777 (guess_is_rela): Handle EM_CRIS.
1778 (dump_relocations): Ditto.
1779 (get_machine_name): Ditto.
1780 * Makefile.am: Rebuild dependencies.
1781 * Makefile.in: Regenerate.
1782 * po/binutils.pot: Regenerate.
1784 2000-07-19 H.J. Lu <hjl@gnu.org>
1786 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1788 (process_dynamic_segment): Print out strings for DT_CONFIG,
1789 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1791 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1793 * nm.c (usage): Change output of `nm --help' to include a
1794 description of the purpose of the program and a detailed
1795 description of the accepted options.
1797 2000-07-19 H.J. Lu <hjl@gnu.org>
1799 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1802 2000-07-19 H.J. Lu <hjl@gnu.org>
1804 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1806 2000-07-19 H.J. Lu <hjl@gnu.org>
1808 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1810 (process_dynamic_segment): Likewise.
1812 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1813 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1814 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1815 DF_1_NODUMP and DF_1_CONLFAT.
1817 2000-07-18 Nick Clifton <nickc@cygnus.com>
1819 * binutils.texi (readelf): Fix spelling typo.
1821 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1823 * objdump.c (usage): Make output of `objdump --help' more
1824 consistent with the rest of the GNU world. Add a line describing
1825 the purpose of the program.
1827 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1829 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1832 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1834 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1836 (process_symbol_table): Ditto.
1837 (procesS_extended_line_op): Ditto.
1838 (display_debug_lines): Ditto.
1839 (display_debug_pubnames): Ditto.
1840 (read_and_display_attr): Ditto.
1842 2000-07-09 Nick Clifton <nickc@cygnus.com>
1844 * MAINTAINERS: Add several more port specific maintainers.
1846 2000-07-05 Nick Clifton <nickc@cygnus.com>
1848 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1850 2000-06-05 DJ Delorie <dj@redhat.com>
1854 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1856 * dllwrap.c: Changed mistaken dyn_string_append() calls
1857 to dyn_string_append_cstr().
1859 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1861 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1862 struct debug_type stores size in bytes.
1864 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1866 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1867 (CLEANFILES): Add DEPA.
1868 * Makefile.in: Regenerate.
1870 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1872 * ar.c: Revert incorrect 2000-06-25 patch.
1873 * bucomm.c: Likewise.
1875 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1877 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1878 (external_coff_symbol_p): New function.
1879 (parse_coff): Use it.
1881 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1883 * ar.c (normalize): Advance past both characters in a DOS based
1884 <letter>: filepath prefix.
1886 * bucomm.c (make_tempname): Likewise.
1888 2000-06-24 Nick Clifton <nickc@cygnus.com>
1890 * objdump.c (usage): Fix description of --stabs switch.
1892 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1894 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1896 * Makefile.in: Regenerate.
1898 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1900 * ar.c (normalize): Correct pointer comparison when checking for
1903 * bucomm.c (make_tempname): Likewise.
1905 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1906 and search for backslashes in the original pathname.
1907 (ieee_add_bb11): Likewise.
1909 2000-06-18 Nick Clifton <nickc@redhat.com>
1911 * ar.c (print_contents): Improve verbose message.
1913 2000-06-15 H.J. Lu <hjl@gnu.org>
1915 * dyn-string.c: Removed. Not needed with dyn-string.c in
1917 * dyn-string.h: Likewise.
1919 * Makefile.am: Remove references to dyn-string.c and
1920 dyn-string.h. Rebuild dependency.
1921 * Makefile.in: Rebuild.
1923 2000-06-15 H.J. Lu <hjl@gnu.org>
1925 * binutils.texi: Put a warning on copying relocatable object
1926 files between two different formats.
1928 2000-06-13 DJ Delorie <dj@cygnus.com>
1930 * rcparse.y (control): ICON controls take an id as the first
1931 parameter, not an optional string. Also, call new convenience
1932 function that takes res_id's.
1933 * resrc.c (define_control): missing text means zero-length string,
1935 (define_icon_control): New.
1936 * windres.h: declare define_icon_control.
1938 2000-06-13 H.J. Lu <hjl@gnu.org>
1940 * configure: Regenerate.
1942 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1944 * configure.in (VERSION): Update to show this is the CVS mainline.
1946 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1948 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1949 analogous to <SPACE>.
1951 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1953 * objdump.c (display_target_list): Use bfd_close_all_done, not
1954 bfd_close to fix crash caused by 2000-05-24 change.
1956 2000-05-25 DJ Delorie <dj@cygnus.com>
1958 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1960 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1962 * Makefile.am: Update dependencies with "make dep-am"
1963 * Makefile.in: Regenerate.
1965 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1967 * ar.c: Include filenames.h.
1968 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1969 and drive letters in file names.
1970 (main): Support backslashes and drive letters in argv[0]. Drop
1971 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1972 FILENAME_CMP instead of strcmp to compare file names.
1973 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1975 (do_quick_append) [__GO32__]: Ditto.
1976 (get_pos_bfd, delete_members, move_members, replace_members):
1977 Compare file names with FILENAME_CMP.
1979 * bucomm.c: Include filenames.h.
1980 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1981 forward/backward slashes and drive letters in file names.
1983 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1984 mixed forward/backward slashes and drive letters in file names.
1986 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1987 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1990 * objcopy.c: Include filenames.h.
1991 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1992 before comparing to "strip".
1993 Use FILENAME_CMP to compare file names.
1995 * arsup.c: Include filenames.h.
1996 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1997 FILENAME_CMP to compare file names.
1998 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1999 the temporary file name.
2001 * configure.in: Check for setmode.
2002 * configure: Regenerate.
2004 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2006 * objdump.c (display_target_list): Close the bfd.
2007 (display_info_table): Likewise.
2009 2000-05-14 H.J. Lu (hjl@gnu.org)
2011 * objcopy.c (filter_symbols): Don't strip global symbols in
2012 relocatable object files.
2014 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2016 * size.c (usage): Associate short options with corresponding long
2017 option to give a clue as to their function.
2019 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2021 * size.c (main): Accept and ignore `-f' option.
2023 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2025 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2026 bindtextdomain): Replace defines with those from intl/libgettext.h
2027 to quieten gcc warnings.
2029 2000-05-12 H.J. Lu <hjl@gnu.org>
2031 * nlmconv.c (temp_filename): Removed.
2033 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2034 choose_temp_base ().
2035 * objdump.c (display_target_list): Likewise.
2036 (display_info_table): Likewise.
2038 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2040 * objcopy.c (setup_section): Add const and gettext calls for err.
2042 2000-05-02 H.J. Lu <hjl@gnu.org>
2044 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2045 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2046 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2047 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2048 and ELFOSABI_OPENBSD.
2050 2000-05-02 Kazu Hirata <kazu@hxi.com>
2052 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2053 * srconv.c: Likewise.
2054 * sysdump.c: Likewise.
2056 2000-04-23 Denis Chertykov <denisc@overta.ru>
2058 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2059 (get_machine_name): machine name for EM_AVR added.
2061 2000-04-21 Richard Henderson <rth@cygnus.com>
2062 David Mosberger <davidm@hpl.hp.com>
2064 * Makefile.am (readelf.o): Add elf/ia64.h.
2065 * Makefile.in: Rebuild.
2066 * readelf.c: Include elf/ia64.h.
2067 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2069 2000-04-17 Timothy Wall <twall@cygnus.com>
2071 * objdump.c (disassemble_data): Set octets per byte *after*
2072 resolving arch/mach for binary files.
2074 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2076 * arlex.l: Add directives to increase lex buffer size.
2078 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2079 already included by bucomm.h.
2081 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2083 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2084 `strftime' since strftime is not available on all systems.
2085 (process_mips_specific): Ditto.
2087 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2089 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2090 --enable-build-warnings option.
2091 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2092 * Makefile.in, configure: Re-generate.
2094 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2096 * addr2line.c: Update copyright.
2097 * objcopy.1: Likewise, and title.
2098 * strings.1: Likewise.
2100 * version.c (print_version): Add 2000.
2102 * rddbg.c (read_section_stabs_debugging_info): Don't use
2103 bfd_size_type for strx to avoid printf problems if BFD64.
2105 * bucomm.c: (report): Remove `static'.
2106 Move inclusion of stdarg.h/vararg.h from here.
2107 * bucomm.h: To here.
2108 (CONST): Change all occurences to const.
2109 (report): Declare it.
2110 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2111 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2112 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2114 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2115 Correct a typo in an error message.
2116 (do_quick_append): Use non_fatal instead of fprintf.
2117 (move_members): Use fatal instead of fprintf, exit.
2118 * coffdump.c (main): Same here.
2120 * dlltool.c (display): Delete.
2122 (inform): Use `report' instead of `display'.
2123 (rvaafter): Remove trailing \n from fatal error msg.
2125 (asm_prefix): Ditto.
2126 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2127 (def_name): Likewise.
2129 (scan_all_symbols): Likewise.
2130 (gen_lib_file): Likewise.
2131 (def_library): Likewise. Remove extra program_name too.
2132 (run): Remove \n from inform strings.
2133 (scan_drectve_symbols): Likewise.
2134 (add_excludes): Likewise.
2135 (scan_open_obj_file): Likewise.
2136 (gen_exp_file): Likewise.
2137 (gen_lib_file): Likewise.
2138 (process_duplicates): Likewise.
2140 * Makefile.am (dllwrap_SOURCES): Add version.c.
2141 * dllwrap.c (program_version): Delete.
2142 (print_version): Delete.
2143 (display): Always print trailing \n.
2145 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2148 (usage): gettext'ify.
2149 (long_options): Add missing initialisers.
2151 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2152 (select_output_format): Likewise.
2153 (powerpc_mangle_relocs): Likewise.
2154 (link_inputs): Likewise.
2156 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2157 (set_output_format): Likewise.
2158 (main): Use non_fatal instead of fprintf.
2159 (display_rel_file): Likewise.
2161 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2162 (slurp_dynamic_symtab): Same here.
2163 (disassemble_data): And here.
2164 (read_section_stabs): And here.
2165 (read_section_stabs): And here.
2166 (dump_bfd): And here.
2168 (objdump_sprintf): Use fatal instead of fprintf, exit.
2169 (disassemble_data): Same here.
2171 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2172 (parse_coff_struct_type): Same here.
2173 (parse_coff_enum_type): And here.
2174 (parse_coff): And here.
2175 * rddbg.c (read_debugging_info): And here.
2176 * size.c (main): And here.
2177 * windres.c (format_from_name): And here.
2178 * wrstabs.c (stab_write_symbol): Here too.
2179 (write_stabs_in_sections_debugging_info): And here.
2180 (stab_int_type): And here.
2181 (stab_struct_field): And here.
2182 (stab_typdef): And here.
2184 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2185 * srconv.c (main): Same here.
2186 * strings.c (main): And here.
2187 (integer_arg): And here.
2188 * sysdump.c (main): And here.
2190 2000-04-06 Timothy Wall <twall@cygnus.com>
2192 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2194 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2196 * readelf.c (decode_location_expression): Loop through multiple
2198 (read_and_display_attr): Pass in length.
2200 * readelf.c (read_and_display_attr): Add CU offset to references.
2201 (display_debug_info): Pass it in.
2203 2000-04-06 Nick Clifton <nickc@cygnus.com>
2205 * readelf.c (decode_ARM_machine_flags): New function.
2206 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2209 (get_machine_name): Catch EM_AVR
2211 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2213 * binutils.texi: Remove optional `=' from long options that have
2214 an `=' in the argument.
2215 * objcopy.1: Here too. Remove extra space on discard-all.
2217 * binutils.texi (objcopy): Mention --redefine-sym.
2218 * objcopy.1: Here too.
2221 * objcopy.c (parse_flags): Split off flag names from error message
2222 gettext as they are not translated.
2223 (copy_main): Similarly split off option name for --add-section,
2224 --set-section-flags, --change-section-vma, --change-section-lma
2226 Some white space changes.
2228 from Matthew Benjamin <matt@linuxbox.nu>
2229 * objcopy.c (struct redefine_node): New.
2230 (redefine_sym_list): New.
2231 (redefine_list_append): New.
2232 (lookup_sym_redefinition): New.
2233 (OPTION_REDEFINE_SYM): New.
2234 (copy_options): Add --redefine-sym option.
2235 (copy_usage): Mention it.
2236 (filter_symbols): Rename symbols on redefine_sym_list.
2237 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2238 (copy_main): Handle OPTION_REDEFINE_SYM.
2240 2000-04-04 H.J. Lu <hjl@gnu.org>
2242 * readelf.c (process_symbol_table): Correctly read in symbol
2243 versioning information.
2245 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2247 * po/binutils.pot: Regenerate.
2249 * addr2line.c (usage): Restore translated part of bug string.
2250 * ar.c (usage): Likewise.
2251 * nlmconv.c (show_usage): Likewise.
2252 * nm.c (usage): Likewise.
2253 * objcopy.c (copy_usage): Likewise.
2254 (strip_usage): Likewise.
2255 * objdump.c (usage): Likewise.
2256 * readelf.c (usage): Likewise.
2257 * size.c (usage): Likewise.
2258 * strings.c (usage): Likewise.
2259 * windres.c (usage): Likewise.
2261 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2262 (DEP): Quote when passing vars to sub-make. Add warning
2264 (DEP1): Rewrite for "gcc -MM".
2265 (CLEANFILES): Add DEP2.
2266 Update dependencies.
2267 * Makefile.in: Regenerate.
2269 2000-04-04 H.J. Lu <hjl@gnu.org>
2271 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2272 (arparse.h): Depend on arparse.c
2273 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2275 2000-04-03 H.J. Lu (hjl@gnu.org)
2277 * size.c (usage): Use REPORT_BUGS_TO.
2279 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2281 * bucomm.h: #include "bin-bugs.h"
2282 * addr2line.c (usage): Use REPORT_BUGS_TO.
2283 * ar.c (usage): Likewise.
2284 * nlmconv.c (show_usage): Likewise.
2285 * nm.c (usage): Likewise.
2286 (OPTION_TARGET): Define.
2287 (long_options): Use OPTION_TARGET rather than 200.
2290 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2291 (strip_usage): Likewise.
2292 * objdump.c (usage): Likewise.
2293 * readelf.c (usage): Likewise.
2294 * strings.c (usage): Likewise.
2295 * windres.c (usage): Likewise.
2297 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2299 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2301 2000-03-27 Nick Clifton <nickc@cygnus.com>
2303 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2304 string offsets in corrupt stabs entries.
2306 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2308 * readelf.c: Include elf/avr.h
2309 (dump_relocations): Add EM_AVR case.
2311 2000-03-09 Tim Waugh <twaugh@redhat.com>
2313 * strings.1: Correct '-bytes' to '--bytes'.
2315 2000-03-08 H.J. Lu <hjl@gnu.org>
2317 * Makefile.am (install-exec-local): Depend on
2318 install-binPROGRAMS for parallel make.
2319 * Makefile.in: Regenerated.
2321 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2323 From Brad Lucier <lucier@math.purdue.edu>:
2324 * readelf.c (process_dynamic_segment): Add cast to make sure
2325 argument to %* is int.
2327 2000-02-25 H.J. Lu <hjl@gnu.org>
2329 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2331 2000-02-24 Nick Clifton <nickc@cygnus.com>
2333 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2334 * configure: Regenerate.
2336 * dlltool.c: Add support for sh-pe and mips-pe targets.
2337 * rescoff.c: Add support for sh-pe and mips-pe targets.
2339 2000-02-23 H.J. Lu <hjl@gnu.org>
2341 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2343 2000-02-22 Nick Clifton <nickc@cygnus.com>
2345 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2347 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2349 From Brad Lucier <lucier@math.purdue.edu>:
2350 * readelf.c (process_version_sections): Add casts to make sure
2351 argument to %* is an int.
2352 (process_mips_specific): Add casts to make printf arguments match
2355 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2357 * objdump.c (dump_section_header): Change `opb' to unsigned.
2358 (find_symbol_for_address): Same here.
2359 (disassemble_data): And here. Change `addr_offset',
2360 `stop_offset', `nextstop_offset' to unsigned long.
2361 (dump_data): Change opb to unsigned.
2363 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2365 * resrc.c: Remove unmatched #if for cygwin.
2367 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2369 * binutils.texi: Document the change of flavor name from atpcs-special
2370 to special-atpcs to prevent name conflict in gdb.
2372 2000-02-08 Timothy Wall <twall@redhat.com>
2374 * objdump.c (show_line): Fix bug preventing printing of the very
2375 first line (line zero) of a file when interlisting source and
2376 assembly. Added option to print entire context from start of file
2377 when the first line from that file is encountered.
2379 2000-02-03 Timothy Wall <twall@redhat.com>
2381 * objdump.c (dump_section_header, find_symbol_for_address,
2382 show_line, disassemble_bytes, disassemble_data, dump_data):
2383 distinguish between octets and bytes.
2385 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2387 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2388 check to unresolved symbols.
2389 (print_symbol_info_sysv): Ditto.
2390 (print_symbol_info_posix): Ditto.
2392 * binutils.texi: Document new 'V' symclass flag for nm.
2394 2000-01-27 Nick Clifton <nickc@redhat.com>
2396 * binutils.texi (objdump): Document new ARM specific
2397 disassembler options.
2399 * objdump.c (usage): Call disassembler_usage().
2401 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2403 * readelf.c (get_dynamic_flags): Return buff.
2404 (process_dynamic_segment): Don't pass error strings to printf
2406 (read_and_display_attr): Use lx and ld to print longs.
2407 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2411 2000-01-17 Nick Clifton <nickc@cygnus.com>
2413 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2415 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2417 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2419 (debug_tag_type): Here too.
2420 * ieee.c (ieee_builtin_type): And here.
2421 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2423 2000-01-13 Nick Clifton <nickc@cygnus.com>
2425 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2428 2000-01-11 Nick Clifton <nickc@cygnus.com>
2430 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2432 2000-01-10 Nick Clifton <nickc@cygnus.com>
2434 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2436 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2438 * windres.c (long_options): Add --use-temp-file and
2439 --no-use-temp-file options.
2443 * windres.h: Update read_rc_file prototype.
2445 * resrc.c (cpp_temp_file): New static variable.
2446 (istream_type): New static variable.
2447 (close_pipe): Delete function.
2448 (run_cmd): New static function.
2449 (open_input_stream): New static function.
2450 (close_input_stream): New static function.
2451 (look_for_default): Handle DOS directory separator. Use
2452 open_input_stream instead of popen.
2453 (read_rc_file): Likewise.
2455 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2458 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2460 * dlltool.c (create_compat_implib): New variable.
2461 (gen_exp_file): Use.
2462 (make_one_lib_file): Use.
2463 (long_options): Add --compat-implib option.
2467 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2468 (main): Use. Don't look for "32" in cygwin and mingw target names.
2470 2000-01-03 Nick Clifton <nickc@cygnus.com>
2472 * binutils.texi: Document new, ARM specific disassembler
2473 command line switch "-M force-thumb".
2475 For older changes see ChangeLog-9899
2481 version-control: never