1 2002-04-09 Bernd Herd <info@herdsoft.com>
3 * rcparse.y: CLASS definitions in DIALOG resources
5 Fix typo in BEDIT warning.
6 Don't add default dialog style when explicit style specified.
8 * rclex.l: "\xhex" encoding in strings corrected.
9 "\a" escape (used for right justified key definitions in menus) is
12 * resrc.c: Print style even if it is 0.
14 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
16 * resrc.c: print CLASS names in quotes
18 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
20 * MAINTAINERS: Update my email address.
22 2002-04-04 Alan Modra <amodra@bigpond.net.au>
24 * dep-in.sed: Cope with absolute paths.
25 * Makefile.am (dep.sed): Subst TOPDIR.
27 * Makefile.in: Regenerate.
29 2002-03-27 Peter Targett <peter.targett@arc.com>
31 * MAINTAINERS: Update my email address.
33 2002-03-21 Alan Modra <amodra@bigpond.net.au>
35 * Makefile.am: Run "make dep-am".
36 * Makefile.in: Regenerate.
37 * doc/Makefile.in: Regenerate.
38 * po/POTFILES.in: Regenerate.
39 * aclocal.m4: Regenerate.
40 * config.in: Regenerate.
41 * configure: Regenerate.
43 2002-03-20 Daniel Berlin <dan@dberlin.org>
45 * readelf.c: Add support for displaying dwarf2 location lists.
46 (do_debug_loc, debug_loc_section, debug_loc_size): New.
47 (parse_args): Use 'O' as shorthand for displaying location list
49 (process_section_headers): Handle debug_loc as well.
50 (load_debug_loc): New.
51 (free_debug_loc): New.
52 (fetch_location_list): New.
53 (display_debug_loc): New.
54 (display_debug_info): Call load_debug_loc and free_debug_loc.
55 (debug_displays): We can display .debug_loc now, too.
56 (usage): Update usage string.
57 (read_and_display_attr_value): Note location lists, but don't
60 2002-03-18 Tom Rix <trix@redhat.com>
62 * Makefile.am: Add binutils emulation support.
64 * configure.tgt: New file. Same.
65 * ar.c (main): Use ar_emul_parse_arg.
66 (usage): Use ar_emul_usage.
67 (replace_members): Use ar_emul_replace, ar_emul_append.
68 * binemul.c: New file. Define the binutils emulation
69 layer. Define default methods.
70 * binemul.h: New file. Binutils emulation layer header file.
71 * emul_aix.c: New file. AIX binutils emulation.
72 * emul_vanilla.c: New file. Default binutils emulation.
73 * Makefile.in: Regenerate.
76 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
78 * po/fr.po: Updated version.
80 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
82 * po/fr.po: Updated version.
84 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
86 * README: Update some version numbers.
88 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
90 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
91 (Architecture Selection): Likewise.
93 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
95 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
98 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
100 * readelf.c (dump_relocations): Fix typo.
102 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
104 * NEWS: Mark 2.12 branch.
106 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
108 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
109 types for 64-bit MIPS. Narrow some fields for 80-char
111 (dump_relocations): Change spelling from 'unrecognised'
113 (decode_ARM_machine_flags): Likewise.
114 (parse_args): Likewise.
115 (read_and_display_attr_value): Likewise.
116 (display_debug_section): Likewise.
118 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
120 * NEWS: Mention support for MMIX.
122 2002-02-13 Matt Fredette <fredette@netbsd.org>
124 * readelf.c (get_machine_flags): Recognize EF_M68000.
126 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
128 * MAINTAINERS: Added self as MN10300 co-maintainer.
130 2002-02-12 Alan Modra <amodra@bigpond.net.au>
132 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
135 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
137 * MAINTAINERS: List myself as branch maintainer.
139 2002-02-11 Alan Modra <amodra@bigpond.net.au>
141 * configure: Regenerate.
142 * objcopy.c: Update copyright date.
143 * doc/Makefile.in: Regenerate.
145 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
147 * nlmconv.c: Back out localtime PARAMS change.
149 2002-02-11 Alan Modra <amodra@bigpond.net.au>
151 * objcopy.c (MKDIR): Define.
152 (copy_archive): Make name_list.name const. Use MKDIR.
153 Handle duplicate files in archives by making more temp dirs.
155 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
157 * coffdump.c: Include "getopt.h" after "bucomm.h"
158 so that macros are defined correctly.
159 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
160 prototype. Prototype main.
161 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
163 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
165 * MAINTAINERS: Added self as SH co-maintainer.
167 2002-02-05 Nick Clifton <nickc@redhat.com>
169 * po/tr.po: Updated translation.
171 2002-02-01 Alan Modra <amodra@bigpond.net.au>
173 * Makefile.am: Run "make dep-am"
174 * Makefile.in: Regenerate.
176 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
178 * nm.c (print_value): Mark abfd unused.
180 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
182 * unwind-ia64.c (unw_decoder): Change second argument
183 to unsigned int, to match function prototypes.
185 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
187 * objdump.c: Include "getopt.h" after "bucomm.h" so that
188 __GNU_LIBRARY__ will be defined.
191 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
193 * configure: Regenerated.
195 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
197 * doc/Makefile.am (install): Depend on install-info.
198 * doc/Makefile.in: Regenerate.
200 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
202 * objcopy.c (strip_usage): Document -d as an alias
205 * size.c (usage): Document [-t | --totals] options.
206 (long_options): Add --totals option.
207 (main): If the [-t | --totals] option is specified and
208 the output format is Berkeley-style, print the total
209 text, data, and bss sizes of all objects listed.
210 (print_berkeley_format): If the [-t | --totals] option
211 is specified, track the total text, data, and bss
213 * doc/binutils.texi (size): Document [-t | --totals] options.
214 (strip): Document -d as an alias for --strip-debug.
215 * NEWS: Mention new feature of size.
217 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
219 * po/fr.po: Updated version.
220 * po/es.po: Updated version.
222 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
224 * addr2line.c (usage): Update text to provide verbose
225 description of the command line options.
226 * ar.c (usage): Update text to provide verbose
227 description of the command line options.
228 (main): Accept -h and -H when running as ranlib.
229 * coffdump.c (show_usage): Update text to provide verbose
230 description of the command line options.
231 * dlltool.c (main): Accept -H as an alias for --help.
232 * nlmconv.c (show_usage): Update text to provide verbose
233 description of the command line options.
234 * nm.c (usage): Replace OPTIONS with option(s).
235 (main): Accept -H as an alias for --help.
236 * objcopy.c (strip_main): Accept -H as an alias for --help.
237 * objdump.c (main): Accept -v as an alias for --verbose.
238 * readelf.c (usage): Adjust format to match style used in
240 * size.c (usage): Update text to provide verbose description
241 of the command line options.
242 (main): Accept -v, -h and -H as command line options.
243 * srconv.c (show_usage): Update text to provide verbose
244 description of the command line options.
245 * strings.c (main): Accept -H and -v as command line options.
246 (usage): Update text to provide verbose description of the
247 command line options.
248 * sysdump.c (show_usage): Update text to provide verbose
249 description of the command line options.
250 * windres.c (usage): Adjust format to match style used in
253 * coffdump.c: Fix formatting.
254 * nlmconv.c: Fix formatting.
255 * srconv.c: Fix formatting.
256 * sysdump.c: Fix formatting.
258 2002-01-22 Alan Modra <amodra@bigpond.net.au>
260 * Makefile.am: Run "make dep-am".
261 * Makefile.in: Regenerate.
263 2002-01-18 Andreas Jaeger <aj@suse.de>
265 * version.c (print_version): Update year.
267 2002-01-17 Alan Modra <amodra@bigpond.net.au>
269 * readelf.c (get_machine_name): Handle EM_PPC64.
270 (guess_is_rela): Here too.
272 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
274 * po/binutils.pot: Regenerate.
275 * po/fr.po: Regenerate.
276 * po/tr.po: Regenerate.
278 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
280 * po/tr.po: Import new version.
282 2002-01-16 Alan Modra <amodra@bigpond.net.au>
284 * readelf.c (get_ppc64_dynamic_type): New.
285 (get_dynamic_type): Call it.
287 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
289 * objcopy.c (copy_usage): Use "options" instead of "switches".
290 (strip_usage): Use "options" instead of "switches".
291 * doc/binutils.texi (dlltool): Refer to "options" instead of
294 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
296 * MAINTAINERS: Add self as co-maintainer for the ARM code.
298 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
300 * po/es.po: Import from translation project.
301 * configure.in (ALL_LINGUAS): Add es.
302 * configure: Regenerate.
304 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
306 * readelf.c (get_netbsd_elfcore_note_type): Use
307 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
309 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
311 * readelf.c: Update copyright years.
312 (get_note_type): Return a const char *.
313 (get_netbsd_elfcore_note_type): New function.
314 (process_note): Use get_netbsd_elfcore_note_type to get
315 the note type string for NetBSD ELF core files.
317 2002-01-06 Steve Ellcey <sje@cup.hp.com>
319 * readelf.c (get_ia64_segment_type): Add support for macros.
320 (get_segment_type): Add support for IA64 specific macros.
322 2001-12-20 Julian v. Bock <julian@wongr.net>
324 * readelf.c (print_symbol): New function: Print a formatted symbol
325 name. If --wide is specified do not truncate it.
326 (dump_relocations): Use print_symbol() to print symbol names.
327 (process_symbol_table): Likewise.
328 (process_syminfo): Likewise.
329 (process_mips_specific): Likewise.
330 (usage): Document new feature of --wide switch.
331 * doc/binutils.texi (objdump): Document additional behaviour of
334 2001-12-18 Michael Snyder <msnyder@redhat.com>
336 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
337 (copy_object): Don't set the start address or flags of a core file.
338 (copy_section): Don't relocate a core file. Don't copy contents
339 if the input section has the contents flag set, but the output
340 section does not (which happens with the fake 'note' pseudo-
341 sections that BFD creates for corefiles).
343 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
345 * readelf.c (get_machine_flags): Recognize header flags for ABI and
346 ASE extensions. More robust code for ISA checking. Ignore empty fields
347 in header flags for GNU extensions.
349 2001-12-18 Alan Modra <amodra@bigpond.net.au>
351 * objcopy.c (copy_archive): Set output bfd format outside the loop.
353 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
355 * po/ja.po: Import from translation project.
356 * configure.in (ALL_LINGUAS): Add ja.
357 * configure: Regenerate.
359 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
361 * addr2line.c (main): Protoype.
362 * ar.c (main): Protoype.
363 * nm.c (main): Protoype.
364 * objcopy.c (main): Protoype.
365 * objdump.c (main): Protoype.
366 * size.c (main): Protoype.
367 * strings.c (main): Protoype.
369 2001-12-17 Alan Modra <amodra@bigpond.net.au>
371 * readelf.c (symtab_shndx_hdr): New global.
372 (SECTION_HEADER_INDEX): Define.
373 (SECTION_HEADER_NUM): Define.
374 (SECTION_HEADER): Define.
375 (GET_ELF_SYMBOLS): Pass two params rather than three.
376 (get_32bit_elf_symbols): Take file and section args. Read and
377 use SHT_SYMTAB_SHNDX.
378 (get_64bit_elf_symbols): Likewise.
379 (dump_relocations): Use SECTION_HEADER to index "section_headers".
380 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
381 Remember symtab_shdx_hdr.
382 (process_program_headers): Scan from index 1 for segment map.
383 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
385 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
386 (process_unwind): Likewise.
387 (process_version_sections): Likewise.
388 (process_symbol_table): Likewise.
389 (display_debug_info): Likewise.
390 (process_dynamic_segment): Fake up a symtab section for changed
392 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
393 (process_program_headers): Kill signed/unsigned warning.
394 (load_debug_str): Likewise.
395 (display_debug_info): Likewise.
397 2001-12-13 Jakub Jelinek <jakub@redhat.com>
399 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
401 2001-12-11 Alan Modra <amodra@bigpond.net.au>
403 * readelf.c (process_file_header): Print extended e_shnum and
404 e_shdtrndx values. Set elf_header values for same.
405 (get_32bit_section_headers): Add "num" arg to read "num" headers.
406 (get_64bit_section_headers): Likewise.
407 (process_section_headers): Update calls.
408 (get_file_header): Call get_32bit_section_headers or 64bit variant.
410 2001-12-10 Jakub Jelinek <jakub@redhat.com>
412 * objcopy.c (setup_section): Copy entsize.
414 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
416 * readelf.c (guess_is_rela): Add support for stormy16.
417 (dump_relocations): Likewise.
418 (get_machine_name): Likewise.
420 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
422 * dllwrap.c (main) Replace multiple strings describing a
423 single error with a single, newline escaped sentence to permit
424 better translation into foreign languages.
426 * readelf.c (get_elf_class): Remove internalionalisation of ELF
429 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
431 * strings.c (get_char): Initialize value.
433 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
435 * arlex.l: Silence compile warnings.
436 * arsup.h: Likewise. Fix formatting.
438 2001-12-04 Jakub Jelinek <jakub@redhat.com>
440 * strings.c: Include config.h before bfd.h.
441 (file_off): New type.
443 (print_strings): Use file_off instead of file_ptr. Print addresses
444 which don't fit into long correctly.
445 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
447 (strings_file): Use file_off instead of file_ptr. Use file_open.
448 * configure.in: Check for getc_unlocked.
449 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
451 * configure: Rebuilt.
452 * config.h.in: Rebuilt.
454 2001-11-29 H.J. Lu <hjl@gnu.org>
456 * bucomm.c (make_tempname): Revert the changes made on
457 2001-11-14 and 2001-11-12. They won't work with directories.
459 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
461 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
462 CFLAGS_FOR_TARGET to runtest in environment.
463 * Makefile.in: Rebuild.
464 * doc/Makefile.in: Rebuild.
466 2001-11-28 Mike Stump <mrs@wrs.com>
468 * objcopy.c (setup_section): Preserve SEC_RELOC when
469 --set-section-flags is used.
471 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
473 * readelf.c (do_debug_str): New variable.
474 (display_debug_str): New function: Display the contents of a
476 (load_debug_str): New function: Load in the contents of a
478 (free_debug_str): New function: Free the memory used by
480 (fetch_indirect_string): Retrieve a string from the .debug_str
483 (parse_args): Accept -ws.
484 (process_section_headers): Allow the display of the .debug_str
486 (read_and_display_attr_value): Use fetch_indirect_string. Show
487 offset into .debug_str section.
488 (display_debug_info): Use load_debug_str and free_debug_str.
489 (debug_displays): Add .debug_str.
490 * doc/binutils.texi: Document -ws.
492 2001-11-19 Andreas Jaeger <aj@suse.de>
494 * testsuite/binutils-all/objdump.exp: Add x86-64.
496 2001-11-15 Andreas Schwab <schwab@suse.de>
498 * readelf.c: Fix warnings without terminating newline.
500 2001-11-15 Alan Modra <amodra@bigpond.net.au>
502 * doc/binutils.texi (objdump): Document ppc -M options.
504 2001-11-14 Andreas Jaeger <aj@suse.de>
506 * doc/binutils.texi (objdump): Fix description to use x86-64.
508 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
510 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
511 not all systems provide mkstemp.
513 2001-11-14 Alan Modra <amodra@bigpond.net.au>
515 * doc/binutils.texi (objdump): Document x86 -M options.
517 2001-11-13 Keith Walker <keith.walker@arm.com>
519 * readelf.c (read_and_display_attr_value): New function to
520 handle DW_FORM_indirect.
521 (read_and_display_attr): Use it.
523 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
525 * readelf.c (display_debug_lines): Deal with unknown standard
526 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
529 2001-11-13 Timothy Wall <twall@alum.mit.edu>
531 * MAINTAINERS: Add self as tic54x maintainer. This target
532 includes the IBM C54XDSP clone.
534 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
536 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
538 2001-11-09 Jeffrey A Law (law@cygnus.com)
540 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
541 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
542 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
543 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
544 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
545 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
546 (unw_decode_b2, unw_decode_b3_b4): Likewise.
548 * readelf.c (get_elf_class): Fix ISO portability glitch.
549 (get_data_encoding, get_osabi_name, request_dump): Likewise.
551 2001-11-07 Jakub Jelinek <jakub@redhat.com>
553 * readelf.c (debug_str, debug_str_size): New.
554 (display_debug_abbrev): If no abbrevs were read, skip the CU.
556 (read_and_display_addr): Handle DW_FORM_strp.
557 (display_debug_info): Read .debug_str section if present,
558 so that DW_FORM_strp can be handled.
559 Fix test for non-existant .debug_abbrev section.
561 2001-11-05 Jakub Jelinek <jakub@redhat.com>
563 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
565 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
567 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
569 * MAINTAINERS: Add self as s390/s390x maintainer.
571 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
573 * MAINTAINERS: Add self as PPC XCOFF maintainer.
575 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
577 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
578 * configure: Regernate.
579 * po/fr.po: New file.
580 * po/tr.po: New file.
582 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
584 * MAINTAINERS: Add self as MMIX port maintainer.
585 * readelf.c: Include elf/mmix.h.
586 (guess_is_rela): MMIX is RELA.
587 (dump_relocations): Handle MMIX relocations.
588 * Makefile.am: Regenerate dependencies.
589 * Makefile.in: Regenerate.
591 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
593 * readelf.c (parse_args): Handle multiple options to the -w
596 2001-10-12 Jakub Jelinek <jakub@redhat.com>
598 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
599 LOPROC, LOOS and LOUSER.
601 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
603 * MAINTAINERS: Update my email address.
605 2001-10-03 Alan Modra <amodra@bigpond.net.au>
607 * doc/Makefile.in: Regenerate.
608 * configure: Regenerate.
610 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
612 * readelf.c (display_debug_line, display_debug_pubnames,
613 display_debug_info, display_debug_frames): Detect and warn
614 about 64-bit format entries.
615 (display_debug_aranges): Reword 64-bit warning.
616 (debug_displays): Add .debug_pubtypes as a known, but not yet
617 supported, debug section.
619 2001-10-02 Alan Modra <amodra@bigpond.net.au>
621 * coffdump.c (PROGRAM_VERSION): Delete.
622 (main <'V'>): Call print_version.
623 * srconv.c: Likewise.
624 * sysdump.c: Likewise.
625 * version.c (program_version): Remove.
626 (print_version): Use BFD_VERSION_STRING. Just print the current
627 year in copyright message.
628 * addr2line.c (program_version): Remove unused declaration.
629 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
630 place of BFD_VERSION.
631 * Makefile.am (Makefile): Depend on bfd/configure.in.
632 (cplus-dem.o): Depend on Makefile.
634 * Makefile.in: Regenerate.
636 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
638 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
639 format .debug_arange sections.
640 (main): Add missing prototype.
642 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
644 * Makefile.am: Update dependencies with "make dep-am".
645 * Makefile.in: Regenerate.
647 2001-09-28 Richard Henderson <rth@redhat.com>
649 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
651 2001-09-26 Alan Modra <amodra@bigpond.net.au>
653 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
655 (non_fatal): Likewise.
656 * objdump.c (objdump_sprintf): Likewise.
657 * readelf.c (error): Likewise.
660 2001-09-25 Jakub Jelinek <jakub@redhat.com>
662 * readelf.c (do_wide): New.
663 (options): Add --wide.
664 (usage, parse_args): Likewise.
665 (process_program_headers): Put each segment on a single line if
667 (process_section_headers): Put each section on a single line if
669 * doc/binutils.texi: Document it.
672 2001-09-25 Alan Modra <amodra@bigpond.net.au>
674 * readelf.c (print_vma): Print 8 digits of low hex value.
676 2001-09-24 Andreas Jaeger <aj@suse.de>
678 * nlmconv.c: Fix warnings about unused attributes and function
681 * strings.c: Add prototype for get_char.
683 2000-09-19 H.J. Lu <hjl@gnu.org>
685 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
686 $(srcdir)/cxxfilt.man.
687 * doc/Makefile.in: Rebuild.
689 2001-09-19 Alan Modra <amodra@bigpond.net.au>
691 * objcopy.c (copy_main): Correct rename-section string parsing.
692 Consolidate new_name parsing, and error messages.
694 2001-09-18 Bruno Haible <haible@clisp.cons.org>
696 * addr2line.c: Don't include <ctype.h>.
697 (main): For gettext, also set the LC_CTYPE locate facet.
698 * ar.c (main): Likewise.
699 * coffdump.c (main): Likewise.
700 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
701 (main): For gettext, also set the LC_CTYPE locate facet.
702 Use ISALNUM instead of isalpha/isdigit.
703 * dllwrap.c: Don't include <ctype.h>.
704 (main): For gettext, also set the LC_CTYPE locate facet.
705 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
706 (main): For gettext, also set the LC_CTYPE locate facet.
707 Use TOUPPER instead of islower/toupper.
708 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
709 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
710 Use TOUPPER instead of islower/toupper.
711 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
712 * objcopy.c (main): Likewise.
713 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
714 (disassemble_bytes): Use ISPRINT instead of isprint.
715 (dump_section_stabs): Use ISDIGIT instead of isdigit.
716 (dump_data): Use ISPRINT instead of isprint.
717 (main): For gettext, also set the LC_CTYPE locate facet.
718 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
719 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
720 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
721 Use TOUPPER instead of islower/toupper.
722 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
723 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
724 (write_rc_accelerators): Use ISPRINT instead of isprint.
725 (write_rc_rcdata): Likewise.
726 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
727 * srconv.c (main): Likewise.
728 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
729 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
730 isdigit/isupper/islower.
731 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
732 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
733 stab_demangle_prefix, stab_demangle_qualified,
734 stab_demangle_template, stab_demangle_type,
735 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
736 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
737 (isgraphic): Use ISPRINT instead of isascii/isprint.
738 (main): Remove HAVE_LC_MESSAGES dependency.
739 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
740 (pbarray): Use ISPRINT instead of isprint.
741 (main): For gettext, also set the LC_CTYPE locate facet.
742 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
743 (format_from_filename): Use ISPRINT instead of isprint.
744 (main): For gettext, also set the LC_CTYPE locate facet.
745 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
746 (unicode_print): Use ISPRINT instead of isprint.
747 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
748 (stab_variable): Use ISDIGIT instead of isdigit.
750 2001-09-18 Alan Modra <amodra@bigpond.net.au>
752 * ar.c (print_contents): Cast args of bfd_seek to the right types.
753 Replace bfd_read call with call to bfd_bread.
754 (extract_file): Likewise.
756 * objdump.c (dump_section_header): Cast section->filepos to
757 unsigned long to suit printf format string.
758 * readelf.c (process_section_headers): Similarly for sh_offset.
759 (process_unwind): Likewise.
761 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
763 * strings.c (encoding, encoding_bytes): New variables.
764 (long_options): Add --encoding.
765 (main): Accept -e and --encoding.
766 (get_char): New function. Read a, possibly wide, character from
768 (print_strings): Use get_char().
769 (usage): Document new command line option.
770 * doc/binutils.texi: Document new command line option.
771 * NEWS: Announce new command line option.
773 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
775 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
776 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
777 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
778 Removed EM_CYGNUS_ARC.
780 2001-09-04 Jeffrey A Law (law@cygnus.com)
782 * readelf.c: Include elf/h8 for H8 series definitions.
783 (guess_is_rela): H8 series if RELA.
784 (dump_relocations): Handle H8 series relocations.
786 2001-08-31 Eric Christopher <echristo@redhat.com>
788 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
790 2001-08-29 Peter Targett <peter.targett@arccores.com>
792 * MAINTAINERS: Include ARC Maintainer.
794 2001-08-29 Ben Elliston <bje@redhat.com>
796 * stabs.c (stab_demangle_template): Initialise s4.
798 2001-08-27 Alan Modra <amodra@bigpond.net.au>
800 * readelf.c (dump_relocations): Recognise EM_PPC64.
802 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
804 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
806 2001-08-25 H.J. Lu <hjl@gnu.org>
808 * nm.c (print_width): New.
809 (display_rel_file): Set `print_width' according to
811 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
813 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
815 * objcopy.c (use_alt_mach_code): New variable.
816 (OPTION_ALT_MACH_CODE): Define.
817 (copy_options): Added --alt-machine-code.
818 (copy_main): Handle it.
819 (copy_object): Switch to alternate machine code if requested.
820 * doc/binutils.texi: Document new option.
823 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
825 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
827 2001-08-21 H.J. Lu <hjl@gnu.org>
829 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
830 (display_debug_info): Cast for 64bit hosts.
831 (display_debug_frames): Likewise.
832 (process_mips_specific): Likewise.
834 2001-08-21 Andreas Jaeger <aj@suse.de>
836 * coffgrok.h: Add missing parameter for prototype of coff_grok.
838 * sysdump.c: Add missing prototypes.
839 * srconv.c: Likewise.
840 * unwind-ia64.c: Likewise.
841 * coffdump.c: Likewise.
843 * sysinfo.y: Print prototypes, include <ansidecl.h>.
845 * coffgrok.c: Add missing prototypes, include libiberty.h instead
846 of declaring xcalloc.
848 2001-08-10 H.J. Lu <hjl@gnu.org>
850 * nm.c (print_value): Add one arg, bfd *.
851 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
852 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
853 (print_symbol_info_sysv): Likewise.
854 (print_symbol_info_posix): Likewise.
856 * objdump.c (dump_section_header): Replace printf_vma with
858 (print_section_stabs): Likewise.
859 (dump_bfd_header): Likewise.
860 (objdump_print_value): Replace sprintf_vma with
862 (disassemble_bytes): Likewise.
863 (dump_reloc_set): Likewise.
865 2001-08-10 Andreas Jaeger <aj@suse.de>
867 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
869 * configure: Regenerate.
871 2001-08-09 Alan Modra <amodra@bigpond.net.au>
873 * readelf.c: Add missing prototypes.
874 * objdump.c: Likewise. Format existing prototypes.
876 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
878 * readelf.c (display_debug_info): Add to abbrev_offset the addend
879 of any RELA relocation for the abbrev_offset memory location that
880 refers to the .debug_abbrev section symbol.
882 2001-08-07 H.J. Lu <hjl@gnu.org>
884 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
885 (main): Return process_file ().
887 2001-08-05 Philip Blundell <philb@gnu.org>
889 * doc/binutils.texi: Use "Thumb" not "THUMB".
891 2001-08-03 John Healy <jhealy@redhat.com>
893 Patch suggested by Frank Eigler <fche@redhat.com>.
894 * objdump.c (disassemble_data): Fill in section member of the
895 disasm_info structure.
897 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
899 * configure.in: Added --with-windres option.
900 * configure: Regenerated.
902 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
904 * doc/binutils.texi: Use @command{name} for commands;
905 use @option{-opt} for options; use @table @env for list of options;
906 remove spaces arround [ | ] in synopsis.
908 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
911 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
913 * objcopy.c: Fix formatting.
914 (section_rename): New structure.
915 (OPTION_RENAME_SECTION): New switch.
916 (copy_usage): Document new switch.
917 (add_section_rename): New function: Add a node to the section
919 (find_section_rename): New function: Find the new name and
921 (setup_section): Call find_section_name to determine the name
922 of the output section.
923 (copy_main): Handle OPTION_RENAME_SECTION.
924 * binutils.texi: Document new switch.
925 * NEWS: Mention new switch.
927 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
929 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
930 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
931 bug-binutils@gcc.org.
933 2001-07-28 Matthias Kramm <kramm@quiss.org>
935 * bucomm.c (list_supported_architectures): New function.
936 * bucomm.h (list_supported_architectures): Declare.
937 * objdump.c (usage): Call the above.
939 2001-07-25 Dave Brolley <brolley@redhat.com>
941 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
942 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
944 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
946 * README: Update for 2.11. Change bug reporting email address.
947 * MAINTAINERS: Tidy up. Change bug reporting email address.
949 2001-07-16 DJ Delorie <dj@redhat.com>
951 * resres.c (write_res_header): Align header size.
952 (res_align_file): Calculate alignment correctly.
954 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
956 * resrc.c (write_rc_resource): Likewise.
957 * windres.h (SUBLANG_SHIFT): Define - as 10.
959 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
961 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
963 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
965 * MAINTAINERS: Add notes about branch checkins.
967 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
969 * readelf.c (display_debug_macinfo): New function, display
970 .debug_macinfo section.
971 (do_debug_macinfo): New variable.
972 (parse_args): Handle "-w[mM]" to mean display macro info.
973 (process_section_headers): Handle debug_macinfo.
974 (debug_displays): Replace unsupported function with macinfo
975 function for .debug_macinfo display.
976 * doc/binutils.texi: Document new command line switch.
977 * NEWS: Document new feature of readelf.
979 2001-07-05 H.J. Lu <hjl@gnu.org>
981 * objcopy.c (filter_symbols): Don't turn undefined symbols
984 2001-07-03 H.J. Lu <hjl@gnu.org>
986 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
989 (dlltool.1): Likewise.
990 (nlmconv.1): Likewise.
992 (objcopy.1): Likewise.
993 (objdump.1): Likewise.
994 (ranlib.1): Likewise.
995 (readelf.1): Likewise.
997 (strings.1): Likewise.
999 (windres.1): Likewise.
1000 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1001 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1004 * doc/Makefile.in: Regenerated.
1006 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1008 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1010 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1012 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1014 2001-06-29 James Cownie <jcownie@etnus.com>
1016 * readelf.c: Support DWARF 2.1 attributes.
1018 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1020 * readelf.c (GET_DATA_ALLOC): Remove.
1022 (get_data): New function combining above macros, with an extra
1024 (slurp_rela_relocs): Use get_data, and catch error return.
1025 (slurp_rel_relocs): Likewise.
1026 (get_32bit_program_headers): Likewise.
1027 (get_64bit_program_headers): Likewise.
1028 (get_32bit_section_headers): Likewise.
1029 (get_64bit_section_headers): Likewise.
1030 (get_32bit_elf_symbols): Likewise.
1031 (get_64bit_elf_symbols): Likewise.
1032 (process_section_headers): Likewise.
1033 (process_relocs): Likewise.
1034 (slurp_ia64_unwind_table): Likewise.
1035 (process_unwind): Likewise.
1036 (get_32bit_dynamic_segment): Likewise.
1037 (get_64bit_dynamic_segment): Likewise.
1038 (process_dynamic_segment): Likewise.
1039 (process_version_sections): Likewise.
1040 (process_symbol_table): Likewise.
1041 (dump_section): Likewise.
1042 (display_debug_info): Likewise.
1043 (display_debug_section): Likewise.
1044 (process_section_contents): Likewise.
1045 (process_corefile_note_segment): Likewise.
1046 (process_mips_specific): Likewise. Also free econf32, econf64.
1048 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1050 * readelf.c (dump_relocations): Print "bad symbol index" if
1051 symtab == NULL with non-zero symtab_index.
1052 (process_relocs): Don't bomb if reloc section has no symsec.
1054 2001-06-24 H.J. Lu <hjl@gnu.org>
1056 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1058 (copy_main): Apply the the change made to strip_main on
1059 2001-05-30 by accident.
1061 2001-06-23 Andreas Jaeger <aj@suse.de>
1063 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1065 (unw_decode_x2): Likewise.
1066 (unw_decode_x3): Likewise.
1067 (unw_decode_x4): Likewise.
1069 2001-06-23 Ben Elliston <bje@redhat.com>
1071 * MAINTAINERS: Add myself as M88k maintainer.
1073 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1075 * objcopy.c (strip_main): Support -o or --output-file command lien
1078 2001-06-19 H.J. Lu <hjl@gnu.org>
1080 * doc/Makefile.in: Regenerated.
1082 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1084 * readelf.c: Restore formatting.
1086 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1088 * Makefile.am: Move documentation into doc subdirectory.
1089 * Makefile.in: Regenerated.
1090 * binutils.texi: Move into doc subdirectory.
1091 * addr2line.1: Removed.
1093 * dlltool.1: Likewise.
1094 * nlmconv.1: Likewise.
1096 * objcopy.1: Likewise.
1097 * objdump.1: Likewise.
1098 * ranlib.1: Likewise.
1099 * readelf.1: Likewise.
1101 * strings.1: Likewise.
1102 * strip.1: Likewise.
1103 * windres.1: Likewise.
1104 * cxxfilt.man: Likewise.
1105 * doc: New Directory.
1106 * doc/Makefile.am: New file.
1107 * doc/Makefile.in: Generate.
1109 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1111 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1113 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1115 * MAINTAINERS: Update my email address.
1117 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1119 * objcopy.c: Add new switches: --keep-global-symbol,
1120 --keep-symbols, --localize-symbols, --keep-global-symbols and
1122 * binutils.texi: Document new switches.
1123 * objcopy.1: Regenerate.
1124 * NEWS: Announce new feature.
1126 2001-05-28 Andreas Jaeger <aj@suse.de>
1128 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1129 variables, fix format strings.
1131 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1133 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1134 when computing the address of the line to show.
1136 2001-05-16 Richard Henderson <rth@redhat.com>
1138 * readelf.c (do_debug_frames_interp): New.
1139 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1140 (byte_get_big_endian): Likewise.
1141 (parse_args) ['F']: Set do_debug_frames_interp.
1142 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1143 (frame_display_row): Don't trunc pc_begin to int.
1144 (size_of_encoded_value): New.
1145 (display_debug_frames): Handle 64-bit targets. Print raw data
1146 unless do_debug_frames_interp.
1147 (debug_displays): Remove duplicate .debug_frame.
1149 2001-05-15 Ralf Baechle <ralf@gnu.org>
1151 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1152 The former constant was never in active use and is used otherwise
1155 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1157 * readelf.c (process_unwind): Print all unwind sections, not just
1160 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1162 * readelf.c (process_unwind): Remove const specifier.
1164 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1166 * strings.c (isgraphic): Do not use isascii() unless it is needed
1167 for isprint() to work.
1168 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1170 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1172 * NEWS: Announce support for OpenRISC.
1174 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1176 * dlltool.c (do_default_excludes): Initialise to true.
1178 2001-04-10 Alan Modra <amodra@one.net.au>
1180 * MAINTAINERS: Update my email address
1181 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1183 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1185 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1187 2001-03-30 H.J. Lu <hjl@gnu.org>
1189 * readelf.c (process_unwind): Just return if do_unwind is 0.
1191 2001-03-28 Roger Sayle <roger@metaphorics.com>
1193 * dlltool.c (make_one_lib_file): Fix section flags for
1194 .text, .data and .bss in stub ds*.o files to match those
1197 2001-03-29 H.J. Lu <hjl@gnu.org>
1199 * readelf.c (process_unwind): Only do unwind sections for
1202 2001-03-28 H.J. Lu <hjl@gnu.org>
1204 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1205 * Makefile.in: Regenerate.
1207 2001-03-26 Andreas Jaeger <aj@suse.de>
1209 * binutils.texi (nm): Fix texi syntax.
1211 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1213 * binutils.texi: Put @c man begin and @c man end indications
1214 to generate man pages using texi2pod and pod2man. Put @c man title
1215 to identify each man. Add SEEALSO entries.
1216 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1217 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1219 (*.1): Build the man pages from binutils.texi.
1220 * Makefile.in: Regenerate.
1222 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1224 * defparse.y (opt_equal_name): allow "." in name.
1225 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1226 (gen_exp_file): Likewise.
1228 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1230 * NEWS: Document addition of -B switch to objcopy.
1231 * binutils.texi: Document addition of -B switch to objcopy.
1232 * objcopy.c: (copy_options): Add --binary-architecture.
1233 (copy_usage): Document -B/--binary-architecture.
1234 (copy_main): Support -B/--binary-architecture. Set
1235 bfd_external_binary_architecture.
1237 2001-03-11 Andreas Jaeger <aj@suse.de>
1239 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1240 (dump_relocations): Likewise.
1241 (get_machine_name): Likewise.
1243 2001-02-28 Nick Clifton <nickc@redhat.com>
1245 * readelf.c: (struct unw_aux_info): Remove const modifier for
1247 (process_unwind): Remove non-K&R compliant LHS type cast in call
1248 to GET_DATA_ALLOC macro.
1250 2001-02-28 Philip Blundell <pb@futuretv.com>
1252 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1253 ABI is in use; remove ambiguity between the "unknown" EABI and
1254 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1255 renamed EF_xx constants.
1257 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1259 * configure.in (BFD_VERSION): New.
1260 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1261 * configure: Regenerate.
1262 * Makefile.am: Run "make dep-am"
1263 * Makefile.in: Regenerate.
1265 2001-02-14 Nick Clifton <nickc@redhat.com>
1267 * MAINTAINERS: Add "Obvious Fix" rule.
1269 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1271 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1272 literal concatenation.
1274 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1276 * readelf.c (struct unw_aux_info): Remove const from the info member.
1277 (process_unwind): Don't type-cast the third argument to the
1278 GET_DATA_ALLOC macro.
1280 2001-02-11 Nick Clifton <nickc@redhat.com>
1282 * readelf.c (dump_relocations): Free corrected allocated
1284 (process_unwind): Fix compile time warning.
1286 2001-02-10 Nick Clifton <nickc@redhat.com>
1288 * binutils.texi: Document new --unwind option to readelf.
1290 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1292 * readelf.c: Add linux target for S/390.
1294 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1296 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1299 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1301 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1302 * aclocal.m4: Regenerate.
1303 * configure: Regenerate.
1305 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1307 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1308 * objdump.c (bfd_target_vector): Likewise.
1310 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1312 * readelf.c (process_unwind): New function.
1313 (slurp_ia64_unwind_table): Ditto.
1314 (dump_ia64_unwind): Ditto.
1315 (find_symbol_for_address): Ditto.
1316 (slurp_rela_relocs): New function (split off from dump_relocations()).
1317 (slurp_rel_relocs): Ditto.
1318 (parse_args): Handle '-u' option.
1320 * unwind-ia64.c: New file.
1321 * unwind-ia64.h: New file.
1322 * Makefile.am: Include unwind-ia64.c in readelf build.
1323 * Makefile.in: Regenerate.
1324 * po/binutils.pot: Regenerate.
1326 2001-02-04 Philip Blundell <philb@gnu.org>
1328 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1329 * configure: Regenerate.
1331 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1333 * ieee.c (ieee_add_bb11): Don't check for backslashes
1334 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1336 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1338 * ieee.c: Update copyright.
1339 (ieee_start_compilation_unit): Don't check for backslashes
1340 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1342 * stabs.c: Update copyright. Include "filenames.h".
1343 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1345 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1347 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1348 sections are present before using them. Remove code duplication.
1349 (process_symbol_table): Check if VERDEF or VERNEED sections are
1350 present before using them.
1352 2001-01-17 Nick Clifton <nickc@redhat.com>
1354 * objcopy.c (copy_object): Fail if attempting to convert the
1355 endianness of the input object file.
1357 * binutils.texi: Explain that objcopy cannot convert endianness.
1359 2001-01-16 Nick Clifton <nickc@redhat.com>
1361 * readelf.c (string_table_length): New variable.
1362 (SECTION_NAME): Catch out of range indices and missing section
1364 (process_section_headers): Delete useless local variable
1365 string_table_offset. Set the value of string_table_length
1366 after loading the string table.
1367 (process_mips_specific): Use SECTION_NAME macro.
1368 (process_file): Set string_table_length to 0 when it is freed.
1370 2001-01-12 Nick Clifton <nickc@redhat.com>
1372 * version.c (print_version): Update copyright date.
1374 2001-01-11 Peter Targett <peter.targett@arccores.com>
1376 * readelf.c (dump_relocations): Include selection with EM_ARC.
1377 (get_machine_name) Update name to "ARC".
1379 2001-01-09 Nick Clifton <nickc@redhat.com>
1381 * Makefile.am: Add rule to build objdump.o from objdump.c and
1383 * Makefile.in: Regenerate.
1385 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1386 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1387 -DDISASSEMBLER_NEEDS_RELOCS.
1388 * configure: Regenerate.
1390 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1391 is defined read in the relocs even if dump_reloc_info is
1394 2001-01-07 Philip Blundell <philb@gnu.org>
1396 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1400 2000-12-19 Nick Clifton <nickc@redhat.com>
1402 * dlltool.c: Add missing support for arm-epoc-pe.
1403 * configure.in: Add missing support for arm-epoc-pe.
1404 * configure: Regenerate.
1406 2000-12-15 Nick Clifton <nickc@redhat.com>
1408 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1409 Mode parts of the x86 port.
1411 2000-12-04 Andreas Jaeger <aj@suse.de>
1413 * readelf.c (guess_is_rela): Add EM_X86_64.
1414 (dump_relocations): Add EM_X86_64.
1415 (get_machine_name): Add EM_X86_64.
1416 Include "elf/x86-64.h".
1418 2000-12-12 Nick Clifton <nickc@redhat.com>
1420 * readelf.c: Fix formatting.
1422 2000-12-11 Jan Hubicka <jh@suse.cz>
1424 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1426 2000-12-07 Andrew Haley <aph@redhat.com>
1428 * readelf.c (display_debug_frames): Only display columns that are
1429 referenced by the frame debug info.
1431 2000-12-05 Nick Clifton <nickc@redhat.com>
1433 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1435 2000-12-04 Jason Merrill <jason@redhat.com>
1437 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1438 (display_debug_section): Likewise.
1439 (display_debug_info): Display CU header before bailing.
1441 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1443 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1444 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1445 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1447 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1450 * readelf.c (get_machine_flags): Add case for
1453 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1455 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1457 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1459 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1460 Change sourceware.cygnus.com to sources.redhat.com.
1461 Fix typo for "amongst".
1463 2000-11-28 Nick Clifton <nickc@redhat.com>
1465 * strip.1 (COPYING): Mention that the GNU Free Documentation
1466 License is present in the sources, but not the output, and
1467 also available from the GNU website.
1468 (GNU Free Documentation License): Comment out this section.
1477 * addr2line.1: Ditto.
1479 2000-11-27 DJ Delorie <dj@redhat.com>
1481 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1482 (parse_args): Support -wf option.
1483 (process_section_headers): Ditto.
1484 (debug_displays): Ditto.
1485 (display_debug_frames): New, dump *_frame sections.
1486 (frame_need_space): Support for above.
1487 (frame_display_row): Ditto.
1488 * binutils.texi: Document it.
1490 2000-11-24 Nick Clifton <nickc@redhat.com>
1492 * NEWS: Announce support for v5t, v5te and XScale.
1494 2000-11-22 Nick Clifton <nickc@redhat.com>
1496 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1497 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1498 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1499 (get_elf_section_flags: Add SHF_GROUP.
1500 (process_section_headers): Adjust output for 32-bit binaries
1501 to look nice on an 80 column terminal.
1503 2000-11-20 H.J. Lu <hjl@gnu.org>
1505 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1508 2000-11-17 Richard Henderson <rth@redhat.com>
1510 * readelf.c (display_debug_lines): Adjust last change to
1511 use sizeof (external->li_length).
1513 2000-11-17 Richard Henderson <rth@redhat.com>
1515 * readelf.c (display_debug_lines): Fix section length check
1516 and end_of_sequence computation.
1518 2000-11-06 Nick Clifton <nickc@redhat.com>
1520 * binutils.texi: Add GNU Free Documentation License.
1521 * objcopy.1: Add GNU Free Documentation License.
1522 * objdump.1: Add GNU Free Documentation License.
1523 * addr2line.1: Add GNU Free Documentation License.
1524 * ar.1: Add GNU Free Documentation License.
1525 * nlmconv.1: Add GNU Free Documentation License.
1526 * nm.1: Add GNU Free Documentation License.
1527 * ranlib.1: Add GNU Free Documentation License.
1528 * size.1: Add GNU Free Documentation License.
1529 * strings.1: Add GNU Free Documentation License.
1530 * strip.1: Add GNU Free Documentation License.
1532 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1534 * objcopy.c (--srec-len=nn): New parameter to set the
1535 maximum length of generated Srecords.
1536 (--srec-forceS3): New parameter that restricts the generation of
1537 Srecords to type S3 only.
1538 * binutils.texi: Document new command line switches.
1539 * objcopy.1: Docuemnt the new command line switches.
1540 * NEWS: Announce the existence of the new command line switches.
1542 2000-10-31 Nick Clifton <nickc@redhat.com>
1544 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1545 code. Add Eric Chrisopher as maintainer of MN10300 port.
1547 2000-10-12 Roger Sayle <roger@metaphorics.com>
1549 * Make comma after string after icon/control optional.
1551 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1553 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1555 * NEWS: Mention support for MIPS32.
1557 2000-09-08 Nick Clifton <nickc@redhat.com>
1559 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1561 2000-09-07 H.J. Lu <hjl@gnu.org>
1563 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1564 * configure: Rebuild.
1566 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1568 * configure: Rebuilt with new libtool.m4.
1570 2000-09-05 Nick Clifton <nickc@redhat.com>
1572 * aclocal.m4: Regenerate.
1573 * config.in: Regenerate.
1574 * configure: Regenerate.
1576 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1578 * strip.1: Fix stray '\' in -o formatting.
1580 2000-09-02 Nick Clifton <nickc@redhat.com>
1582 * configure.in: Increase version number to 2.10.91.
1583 * configure: Regenerate.
1584 * aclocal.m4: Regenerate.
1585 * config.in: Regenerate.
1586 * po/binutils.pot: Regenerate.
1588 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1590 * acinclude.m4: Include libtool and gettext macros from the
1592 * aclocal.m4, configure: Rebuilt.
1594 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1596 * resrc.c (close_input_stream): Delete extraneous logic
1598 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1600 * NEWS: Mention support for CRIS.
1602 2000-08-21 Nick Clifton <nickc@redhat.com>
1604 * addr2line.c: Changed email address for Ulrich Lauther.
1606 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1608 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1610 2000-08-17 Nick Clifton <nickc@redhat.com>
1612 * readelf.c (display_debug_pubnames): Only issue warning
1613 message once. Terminate message with a new line.
1614 (display_debug_aranges): Only display version 2 debug info.
1616 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1618 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1619 for compatability with old BSD systems.
1621 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1623 * NEWS: Mention i860 support.
1625 2000-08-11 Carlo Wood <carlo@alinoe.com>
1627 * addr2line.c (main): Add const to char *.
1629 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1631 * ar.c (main): Don't crash if called with no arguments
1632 or only '-X32_64' as an argument.
1634 2000-08-08 DJ Delorie <dj@redhat.com>
1636 * resrc.c: use "gcc -xc" instead of -xc-header
1638 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1640 * readelf.c (elf/i860.h): Include.
1641 (dump_relocations): Add recognition of i860 architecture.
1642 (guess_is_rela): Add recognition of i860 architecture.
1644 2000-08-03 Nick Clifton <nickc@cygnus.com>
1646 * MAINTAINERS: Add information about CGEN maintainers.
1648 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1650 * nm.c (main): Ignore '-X32_64' as an option.
1651 * ar.c (main): Likewise.
1652 * binutils.texi (nm): Document new option.
1655 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1657 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1659 2000-07-20 H.J. Lu <hjl@gnu.org>
1661 * binutils.texi: Put back "@end table" deleted by
1664 2000-07-05 Kenneth Block <krblock@computer.org>
1666 * nm.c: Add optional style to demangle switch.
1667 * objdump.c: Add optional style to demangle switch.
1668 * addr2line.c: Add optional style to demangle switch.
1669 * binutils.texi: Document optional style to demangle
1672 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1674 * MAINTAINERS: Add self as CRIS port maintainer.
1675 * readelf.c: Include elf/cris.h.
1676 (guess_is_rela): Handle EM_CRIS.
1677 (dump_relocations): Ditto.
1678 (get_machine_name): Ditto.
1679 * Makefile.am: Rebuild dependencies.
1680 * Makefile.in: Regenerate.
1681 * po/binutils.pot: Regenerate.
1683 2000-07-19 H.J. Lu <hjl@gnu.org>
1685 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1687 (process_dynamic_segment): Print out strings for DT_CONFIG,
1688 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1690 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1692 * nm.c (usage): Change output of `nm --help' to include a
1693 description of the purpose of the program and a detailed
1694 description of the accepted options.
1696 2000-07-19 H.J. Lu <hjl@gnu.org>
1698 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1701 2000-07-19 H.J. Lu <hjl@gnu.org>
1703 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1705 2000-07-19 H.J. Lu <hjl@gnu.org>
1707 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1709 (process_dynamic_segment): Likewise.
1711 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1712 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1713 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1714 DF_1_NODUMP and DF_1_CONLFAT.
1716 2000-07-18 Nick Clifton <nickc@cygnus.com>
1718 * binutils.texi (readelf): Fix spelling typo.
1720 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1722 * objdump.c (usage): Make output of `objdump --help' more
1723 consistent with the rest of the GNU world. Add a line describing
1724 the purpose of the program.
1726 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1728 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1731 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1733 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1735 (process_symbol_table): Ditto.
1736 (procesS_extended_line_op): Ditto.
1737 (display_debug_lines): Ditto.
1738 (display_debug_pubnames): Ditto.
1739 (read_and_display_attr): Ditto.
1741 2000-07-09 Nick Clifton <nickc@cygnus.com>
1743 * MAINTAINERS: Add several more port specific maintainers.
1745 2000-07-05 Nick Clifton <nickc@cygnus.com>
1747 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1749 2000-06-05 DJ Delorie <dj@redhat.com>
1753 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1755 * dllwrap.c: Changed mistaken dyn_string_append() calls
1756 to dyn_string_append_cstr().
1758 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1760 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1761 struct debug_type stores size in bytes.
1763 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1765 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1766 (CLEANFILES): Add DEPA.
1767 * Makefile.in: Regenerate.
1769 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1771 * ar.c: Revert incorrect 2000-06-25 patch.
1772 * bucomm.c: Likewise.
1774 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1776 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1777 (external_coff_symbol_p): New function.
1778 (parse_coff): Use it.
1780 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1782 * ar.c (normalize): Advance past both characters in a DOS based
1783 <letter>: filepath prefix.
1785 * bucomm.c (make_tempname): Likewise.
1787 2000-06-24 Nick Clifton <nickc@cygnus.com>
1789 * objdump.c (usage): Fix description of --stabs switch.
1791 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1793 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1795 * Makefile.in: Regenerate.
1797 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1799 * ar.c (normalize): Correct pointer comparison when checking for
1802 * bucomm.c (make_tempname): Likewise.
1804 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1805 and search for backslashes in the original pathname.
1806 (ieee_add_bb11): Likewise.
1808 2000-06-18 Nick Clifton <nickc@redhat.com>
1810 * ar.c (print_contents): Improve verbose message.
1812 2000-06-15 H.J. Lu <hjl@gnu.org>
1814 * dyn-string.c: Removed. Not needed with dyn-string.c in
1816 * dyn-string.h: Likewise.
1818 * Makefile.am: Remove references to dyn-string.c and
1819 dyn-string.h. Rebuild dependency.
1820 * Makefile.in: Rebuild.
1822 2000-06-15 H.J. Lu <hjl@gnu.org>
1824 * binutils.texi: Put a warning on copying relocatable object
1825 files between two different formats.
1827 2000-06-13 DJ Delorie <dj@cygnus.com>
1829 * rcparse.y (control): ICON controls take an id as the first
1830 parameter, not an optional string. Also, call new convenience
1831 function that takes res_id's.
1832 * resrc.c (define_control): missing text means zero-length string,
1834 (define_icon_control): New.
1835 * windres.h: declare define_icon_control.
1837 2000-06-13 H.J. Lu <hjl@gnu.org>
1839 * configure: Regenerate.
1841 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1843 * configure.in (VERSION): Update to show this is the CVS mainline.
1845 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1847 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1848 analogous to <SPACE>.
1850 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1852 * objdump.c (display_target_list): Use bfd_close_all_done, not
1853 bfd_close to fix crash caused by 2000-05-24 change.
1855 2000-05-25 DJ Delorie <dj@cygnus.com>
1857 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1859 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1861 * Makefile.am: Update dependencies with "make dep-am"
1862 * Makefile.in: Regenerate.
1864 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1866 * ar.c: Include filenames.h.
1867 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1868 and drive letters in file names.
1869 (main): Support backslashes and drive letters in argv[0]. Drop
1870 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1871 FILENAME_CMP instead of strcmp to compare file names.
1872 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1874 (do_quick_append) [__GO32__]: Ditto.
1875 (get_pos_bfd, delete_members, move_members, replace_members):
1876 Compare file names with FILENAME_CMP.
1878 * bucomm.c: Include filenames.h.
1879 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1880 forward/backward slashes and drive letters in file names.
1882 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1883 mixed forward/backward slashes and drive letters in file names.
1885 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1886 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1889 * objcopy.c: Include filenames.h.
1890 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1891 before comparing to "strip".
1892 Use FILENAME_CMP to compare file names.
1894 * arsup.c: Include filenames.h.
1895 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1896 FILENAME_CMP to compare file names.
1897 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1898 the temporary file name.
1900 * configure.in: Check for setmode.
1901 * configure: Regenerate.
1903 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1905 * objdump.c (display_target_list): Close the bfd.
1906 (display_info_table): Likewise.
1908 2000-05-14 H.J. Lu (hjl@gnu.org)
1910 * objcopy.c (filter_symbols): Don't strip global symbols in
1911 relocatable object files.
1913 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1915 * size.c (usage): Associate short options with corresponding long
1916 option to give a clue as to their function.
1918 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1920 * size.c (main): Accept and ignore `-f' option.
1922 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1924 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1925 bindtextdomain): Replace defines with those from intl/libgettext.h
1926 to quieten gcc warnings.
1928 2000-05-12 H.J. Lu <hjl@gnu.org>
1930 * nlmconv.c (temp_filename): Removed.
1932 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1933 choose_temp_base ().
1934 * objdump.c (display_target_list): Likewise.
1935 (display_info_table): Likewise.
1937 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1939 * objcopy.c (setup_section): Add const and gettext calls for err.
1941 2000-05-02 H.J. Lu <hjl@gnu.org>
1943 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1944 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1945 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1946 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1947 and ELFOSABI_OPENBSD.
1949 2000-05-02 Kazu Hirata <kazu@hxi.com>
1951 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1952 * srconv.c: Likewise.
1953 * sysdump.c: Likewise.
1955 2000-04-23 Denis Chertykov <denisc@overta.ru>
1957 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1958 (get_machine_name): machine name for EM_AVR added.
1960 2000-04-21 Richard Henderson <rth@cygnus.com>
1961 David Mosberger <davidm@hpl.hp.com>
1963 * Makefile.am (readelf.o): Add elf/ia64.h.
1964 * Makefile.in: Rebuild.
1965 * readelf.c: Include elf/ia64.h.
1966 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1968 2000-04-17 Timothy Wall <twall@cygnus.com>
1970 * objdump.c (disassemble_data): Set octets per byte *after*
1971 resolving arch/mach for binary files.
1973 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1975 * arlex.l: Add directives to increase lex buffer size.
1977 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1978 already included by bucomm.h.
1980 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1982 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1983 `strftime' since strftime is not available on all systems.
1984 (process_mips_specific): Ditto.
1986 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1988 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1989 --enable-build-warnings option.
1990 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1991 * Makefile.in, configure: Re-generate.
1993 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1995 * addr2line.c: Update copyright.
1996 * objcopy.1: Likewise, and title.
1997 * strings.1: Likewise.
1999 * version.c (print_version): Add 2000.
2001 * rddbg.c (read_section_stabs_debugging_info): Don't use
2002 bfd_size_type for strx to avoid printf problems if BFD64.
2004 * bucomm.c: (report): Remove `static'.
2005 Move inclusion of stdarg.h/vararg.h from here.
2006 * bucomm.h: To here.
2007 (CONST): Change all occurences to const.
2008 (report): Declare it.
2009 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2010 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2011 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2013 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2014 Correct a typo in an error message.
2015 (do_quick_append): Use non_fatal instead of fprintf.
2016 (move_members): Use fatal instead of fprintf, exit.
2017 * coffdump.c (main): Same here.
2019 * dlltool.c (display): Delete.
2021 (inform): Use `report' instead of `display'.
2022 (rvaafter): Remove trailing \n from fatal error msg.
2024 (asm_prefix): Ditto.
2025 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2026 (def_name): Likewise.
2028 (scan_all_symbols): Likewise.
2029 (gen_lib_file): Likewise.
2030 (def_library): Likewise. Remove extra program_name too.
2031 (run): Remove \n from inform strings.
2032 (scan_drectve_symbols): Likewise.
2033 (add_excludes): Likewise.
2034 (scan_open_obj_file): Likewise.
2035 (gen_exp_file): Likewise.
2036 (gen_lib_file): Likewise.
2037 (process_duplicates): Likewise.
2039 * Makefile.am (dllwrap_SOURCES): Add version.c.
2040 * dllwrap.c (program_version): Delete.
2041 (print_version): Delete.
2042 (display): Always print trailing \n.
2044 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2047 (usage): gettext'ify.
2048 (long_options): Add missing initialisers.
2050 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2051 (select_output_format): Likewise.
2052 (powerpc_mangle_relocs): Likewise.
2053 (link_inputs): Likewise.
2055 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2056 (set_output_format): Likewise.
2057 (main): Use non_fatal instead of fprintf.
2058 (display_rel_file): Likewise.
2060 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2061 (slurp_dynamic_symtab): Same here.
2062 (disassemble_data): And here.
2063 (read_section_stabs): And here.
2064 (read_section_stabs): And here.
2065 (dump_bfd): And here.
2067 (objdump_sprintf): Use fatal instead of fprintf, exit.
2068 (disassemble_data): Same here.
2070 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2071 (parse_coff_struct_type): Same here.
2072 (parse_coff_enum_type): And here.
2073 (parse_coff): And here.
2074 * rddbg.c (read_debugging_info): And here.
2075 * size.c (main): And here.
2076 * windres.c (format_from_name): And here.
2077 * wrstabs.c (stab_write_symbol): Here too.
2078 (write_stabs_in_sections_debugging_info): And here.
2079 (stab_int_type): And here.
2080 (stab_struct_field): And here.
2081 (stab_typdef): And here.
2083 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2084 * srconv.c (main): Same here.
2085 * strings.c (main): And here.
2086 (integer_arg): And here.
2087 * sysdump.c (main): And here.
2089 2000-04-06 Timothy Wall <twall@cygnus.com>
2091 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2093 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2095 * readelf.c (decode_location_expression): Loop through multiple
2097 (read_and_display_attr): Pass in length.
2099 * readelf.c (read_and_display_attr): Add CU offset to references.
2100 (display_debug_info): Pass it in.
2102 2000-04-06 Nick Clifton <nickc@cygnus.com>
2104 * readelf.c (decode_ARM_machine_flags): New function.
2105 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2108 (get_machine_name): Catch EM_AVR
2110 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2112 * binutils.texi: Remove optional `=' from long options that have
2113 an `=' in the argument.
2114 * objcopy.1: Here too. Remove extra space on discard-all.
2116 * binutils.texi (objcopy): Mention --redefine-sym.
2117 * objcopy.1: Here too.
2120 * objcopy.c (parse_flags): Split off flag names from error message
2121 gettext as they are not translated.
2122 (copy_main): Similarly split off option name for --add-section,
2123 --set-section-flags, --change-section-vma, --change-section-lma
2125 Some white space changes.
2127 from Matthew Benjamin <matt@linuxbox.nu>
2128 * objcopy.c (struct redefine_node): New.
2129 (redefine_sym_list): New.
2130 (redefine_list_append): New.
2131 (lookup_sym_redefinition): New.
2132 (OPTION_REDEFINE_SYM): New.
2133 (copy_options): Add --redefine-sym option.
2134 (copy_usage): Mention it.
2135 (filter_symbols): Rename symbols on redefine_sym_list.
2136 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2137 (copy_main): Handle OPTION_REDEFINE_SYM.
2139 2000-04-04 H.J. Lu <hjl@gnu.org>
2141 * readelf.c (process_symbol_table): Correctly read in symbol
2142 versioning information.
2144 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2146 * po/binutils.pot: Regenerate.
2148 * addr2line.c (usage): Restore translated part of bug string.
2149 * ar.c (usage): Likewise.
2150 * nlmconv.c (show_usage): Likewise.
2151 * nm.c (usage): Likewise.
2152 * objcopy.c (copy_usage): Likewise.
2153 (strip_usage): Likewise.
2154 * objdump.c (usage): Likewise.
2155 * readelf.c (usage): Likewise.
2156 * size.c (usage): Likewise.
2157 * strings.c (usage): Likewise.
2158 * windres.c (usage): Likewise.
2160 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2161 (DEP): Quote when passing vars to sub-make. Add warning
2163 (DEP1): Rewrite for "gcc -MM".
2164 (CLEANFILES): Add DEP2.
2165 Update dependencies.
2166 * Makefile.in: Regenerate.
2168 2000-04-04 H.J. Lu <hjl@gnu.org>
2170 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2171 (arparse.h): Depend on arparse.c
2172 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2174 2000-04-03 H.J. Lu (hjl@gnu.org)
2176 * size.c (usage): Use REPORT_BUGS_TO.
2178 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2180 * bucomm.h: #include "bin-bugs.h"
2181 * addr2line.c (usage): Use REPORT_BUGS_TO.
2182 * ar.c (usage): Likewise.
2183 * nlmconv.c (show_usage): Likewise.
2184 * nm.c (usage): Likewise.
2185 (OPTION_TARGET): Define.
2186 (long_options): Use OPTION_TARGET rather than 200.
2189 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2190 (strip_usage): Likewise.
2191 * objdump.c (usage): Likewise.
2192 * readelf.c (usage): Likewise.
2193 * strings.c (usage): Likewise.
2194 * windres.c (usage): Likewise.
2196 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2198 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2200 2000-03-27 Nick Clifton <nickc@cygnus.com>
2202 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2203 string offsets in corrupt stabs entries.
2205 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2207 * readelf.c: Include elf/avr.h
2208 (dump_relocations): Add EM_AVR case.
2210 2000-03-09 Tim Waugh <twaugh@redhat.com>
2212 * strings.1: Correct '-bytes' to '--bytes'.
2214 2000-03-08 H.J. Lu <hjl@gnu.org>
2216 * Makefile.am (install-exec-local): Depend on
2217 install-binPROGRAMS for parallel make.
2218 * Makefile.in: Regenerated.
2220 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2222 From Brad Lucier <lucier@math.purdue.edu>:
2223 * readelf.c (process_dynamic_segment): Add cast to make sure
2224 argument to %* is int.
2226 2000-02-25 H.J. Lu <hjl@gnu.org>
2228 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2230 2000-02-24 Nick Clifton <nickc@cygnus.com>
2232 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2233 * configure: Regenerate.
2235 * dlltool.c: Add support for sh-pe and mips-pe targets.
2236 * rescoff.c: Add support for sh-pe and mips-pe targets.
2238 2000-02-23 H.J. Lu <hjl@gnu.org>
2240 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2242 2000-02-22 Nick Clifton <nickc@cygnus.com>
2244 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2246 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2248 From Brad Lucier <lucier@math.purdue.edu>:
2249 * readelf.c (process_version_sections): Add casts to make sure
2250 argument to %* is an int.
2251 (process_mips_specific): Add casts to make printf arguments match
2254 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2256 * objdump.c (dump_section_header): Change `opb' to unsigned.
2257 (find_symbol_for_address): Same here.
2258 (disassemble_data): And here. Change `addr_offset',
2259 `stop_offset', `nextstop_offset' to unsigned long.
2260 (dump_data): Change opb to unsigned.
2262 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2264 * resrc.c: Remove unmatched #if for cygwin.
2266 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2268 * binutils.texi: Document the change of flavor name from atpcs-special
2269 to special-atpcs to prevent name conflict in gdb.
2271 2000-02-08 Timothy Wall <twall@redhat.com>
2273 * objdump.c (show_line): Fix bug preventing printing of the very
2274 first line (line zero) of a file when interlisting source and
2275 assembly. Added option to print entire context from start of file
2276 when the first line from that file is encountered.
2278 2000-02-03 Timothy Wall <twall@redhat.com>
2280 * objdump.c (dump_section_header, find_symbol_for_address,
2281 show_line, disassemble_bytes, disassemble_data, dump_data):
2282 distinguish between octets and bytes.
2284 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2286 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2287 check to unresolved symbols.
2288 (print_symbol_info_sysv): Ditto.
2289 (print_symbol_info_posix): Ditto.
2291 * binutils.texi: Document new 'V' symclass flag for nm.
2293 2000-01-27 Nick Clifton <nickc@redhat.com>
2295 * binutils.texi (objdump): Document new ARM specific
2296 disassembler options.
2298 * objdump.c (usage): Call disassembler_usage().
2300 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2302 * readelf.c (get_dynamic_flags): Return buff.
2303 (process_dynamic_segment): Don't pass error strings to printf
2305 (read_and_display_attr): Use lx and ld to print longs.
2306 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2310 2000-01-17 Nick Clifton <nickc@cygnus.com>
2312 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2314 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2316 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2318 (debug_tag_type): Here too.
2319 * ieee.c (ieee_builtin_type): And here.
2320 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2322 2000-01-13 Nick Clifton <nickc@cygnus.com>
2324 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2327 2000-01-11 Nick Clifton <nickc@cygnus.com>
2329 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2331 2000-01-10 Nick Clifton <nickc@cygnus.com>
2333 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2335 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2337 * windres.c (long_options): Add --use-temp-file and
2338 --no-use-temp-file options.
2342 * windres.h: Update read_rc_file prototype.
2344 * resrc.c (cpp_temp_file): New static variable.
2345 (istream_type): New static variable.
2346 (close_pipe): Delete function.
2347 (run_cmd): New static function.
2348 (open_input_stream): New static function.
2349 (close_input_stream): New static function.
2350 (look_for_default): Handle DOS directory separator. Use
2351 open_input_stream instead of popen.
2352 (read_rc_file): Likewise.
2354 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2357 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2359 * dlltool.c (create_compat_implib): New variable.
2360 (gen_exp_file): Use.
2361 (make_one_lib_file): Use.
2362 (long_options): Add --compat-implib option.
2366 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2367 (main): Use. Don't look for "32" in cygwin and mingw target names.
2369 2000-01-03 Nick Clifton <nickc@cygnus.com>
2371 * binutils.texi: Document new, ARM specific disassembler
2372 command line switch "-M force-thumb".
2374 For older changes see ChangeLog-9899
2380 version-control: never