1 2002-04-09 Bernd Herd <info@herdsoft.com>
3 * rcparse.y: CLASS definitions in DIALOG resources
5 Fix typo in BEDIT warning
7 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
9 * resrc.c: print CLASS names in quotes
11 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
13 * MAINTAINERS: Update my email address.
15 2002-04-04 Alan Modra <amodra@bigpond.net.au>
17 * dep-in.sed: Cope with absolute paths.
18 * Makefile.am (dep.sed): Subst TOPDIR.
20 * Makefile.in: Regenerate.
22 2002-03-27 Peter Targett <peter.targett@arc.com>
24 * MAINTAINERS: Update my email address.
26 2002-03-21 Alan Modra <amodra@bigpond.net.au>
28 * Makefile.am: Run "make dep-am".
29 * Makefile.in: Regenerate.
30 * doc/Makefile.in: Regenerate.
31 * po/POTFILES.in: Regenerate.
32 * aclocal.m4: Regenerate.
33 * config.in: Regenerate.
34 * configure: Regenerate.
36 2002-03-20 Daniel Berlin <dan@dberlin.org>
38 * readelf.c: Add support for displaying dwarf2 location lists.
39 (do_debug_loc, debug_loc_section, debug_loc_size): New.
40 (parse_args): Use 'O' as shorthand for displaying location list
42 (process_section_headers): Handle debug_loc as well.
43 (load_debug_loc): New.
44 (free_debug_loc): New.
45 (fetch_location_list): New.
46 (display_debug_loc): New.
47 (display_debug_info): Call load_debug_loc and free_debug_loc.
48 (debug_displays): We can display .debug_loc now, too.
49 (usage): Update usage string.
50 (read_and_display_attr_value): Note location lists, but don't
53 2002-03-18 Tom Rix <trix@redhat.com>
55 * Makefile.am: Add binutils emulation support.
57 * configure.tgt: New file. Same.
58 * ar.c (main): Use ar_emul_parse_arg.
59 (usage): Use ar_emul_usage.
60 (replace_members): Use ar_emul_replace, ar_emul_append.
61 * binemul.c: New file. Define the binutils emulation
62 layer. Define default methods.
63 * binemul.h: New file. Binutils emulation layer header file.
64 * emul_aix.c: New file. AIX binutils emulation.
65 * emul_vanilla.c: New file. Default binutils emulation.
66 * Makefile.in: Regenerate.
69 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
71 * po/fr.po: Updated version.
73 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
75 * po/fr.po: Updated version.
77 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
79 * README: Update some version numbers.
81 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
83 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
84 (Architecture Selection): Likewise.
86 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
88 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
91 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
93 * readelf.c (dump_relocations): Fix typo.
95 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
97 * NEWS: Mark 2.12 branch.
99 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
101 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
102 types for 64-bit MIPS. Narrow some fields for 80-char
104 (dump_relocations): Change spelling from 'unrecognised'
106 (decode_ARM_machine_flags): Likewise.
107 (parse_args): Likewise.
108 (read_and_display_attr_value): Likewise.
109 (display_debug_section): Likewise.
111 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
113 * NEWS: Mention support for MMIX.
115 2002-02-13 Matt Fredette <fredette@netbsd.org>
117 * readelf.c (get_machine_flags): Recognize EF_M68000.
119 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
121 * MAINTAINERS: Added self as MN10300 co-maintainer.
123 2002-02-12 Alan Modra <amodra@bigpond.net.au>
125 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
128 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
130 * MAINTAINERS: List myself as branch maintainer.
132 2002-02-11 Alan Modra <amodra@bigpond.net.au>
134 * configure: Regenerate.
135 * objcopy.c: Update copyright date.
136 * doc/Makefile.in: Regenerate.
138 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
140 * nlmconv.c: Back out localtime PARAMS change.
142 2002-02-11 Alan Modra <amodra@bigpond.net.au>
144 * objcopy.c (MKDIR): Define.
145 (copy_archive): Make name_list.name const. Use MKDIR.
146 Handle duplicate files in archives by making more temp dirs.
148 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
150 * coffdump.c: Include "getopt.h" after "bucomm.h"
151 so that macros are defined correctly.
152 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
153 prototype. Prototype main.
154 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
156 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
158 * MAINTAINERS: Added self as SH co-maintainer.
160 2002-02-05 Nick Clifton <nickc@redhat.com>
162 * po/tr.po: Updated translation.
164 2002-02-01 Alan Modra <amodra@bigpond.net.au>
166 * Makefile.am: Run "make dep-am"
167 * Makefile.in: Regenerate.
169 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
171 * nm.c (print_value): Mark abfd unused.
173 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
175 * unwind-ia64.c (unw_decoder): Change second argument
176 to unsigned int, to match function prototypes.
178 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
180 * objdump.c: Include "getopt.h" after "bucomm.h" so that
181 __GNU_LIBRARY__ will be defined.
184 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
186 * configure: Regenerated.
188 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
190 * doc/Makefile.am (install): Depend on install-info.
191 * doc/Makefile.in: Regenerate.
193 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
195 * objcopy.c (strip_usage): Document -d as an alias
198 * size.c (usage): Document [-t | --totals] options.
199 (long_options): Add --totals option.
200 (main): If the [-t | --totals] option is specified and
201 the output format is Berkeley-style, print the total
202 text, data, and bss sizes of all objects listed.
203 (print_berkeley_format): If the [-t | --totals] option
204 is specified, track the total text, data, and bss
206 * doc/binutils.texi (size): Document [-t | --totals] options.
207 (strip): Document -d as an alias for --strip-debug.
208 * NEWS: Mention new feature of size.
210 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
212 * po/fr.po: Updated version.
213 * po/es.po: Updated version.
215 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
217 * addr2line.c (usage): Update text to provide verbose
218 description of the command line options.
219 * ar.c (usage): Update text to provide verbose
220 description of the command line options.
221 (main): Accept -h and -H when running as ranlib.
222 * coffdump.c (show_usage): Update text to provide verbose
223 description of the command line options.
224 * dlltool.c (main): Accept -H as an alias for --help.
225 * nlmconv.c (show_usage): Update text to provide verbose
226 description of the command line options.
227 * nm.c (usage): Replace OPTIONS with option(s).
228 (main): Accept -H as an alias for --help.
229 * objcopy.c (strip_main): Accept -H as an alias for --help.
230 * objdump.c (main): Accept -v as an alias for --verbose.
231 * readelf.c (usage): Adjust format to match style used in
233 * size.c (usage): Update text to provide verbose description
234 of the command line options.
235 (main): Accept -v, -h and -H as command line options.
236 * srconv.c (show_usage): Update text to provide verbose
237 description of the command line options.
238 * strings.c (main): Accept -H and -v as command line options.
239 (usage): Update text to provide verbose description of the
240 command line options.
241 * sysdump.c (show_usage): Update text to provide verbose
242 description of the command line options.
243 * windres.c (usage): Adjust format to match style used in
246 * coffdump.c: Fix formatting.
247 * nlmconv.c: Fix formatting.
248 * srconv.c: Fix formatting.
249 * sysdump.c: Fix formatting.
251 2002-01-22 Alan Modra <amodra@bigpond.net.au>
253 * Makefile.am: Run "make dep-am".
254 * Makefile.in: Regenerate.
256 2002-01-18 Andreas Jaeger <aj@suse.de>
258 * version.c (print_version): Update year.
260 2002-01-17 Alan Modra <amodra@bigpond.net.au>
262 * readelf.c (get_machine_name): Handle EM_PPC64.
263 (guess_is_rela): Here too.
265 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
267 * po/binutils.pot: Regenerate.
268 * po/fr.po: Regenerate.
269 * po/tr.po: Regenerate.
271 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
273 * po/tr.po: Import new version.
275 2002-01-16 Alan Modra <amodra@bigpond.net.au>
277 * readelf.c (get_ppc64_dynamic_type): New.
278 (get_dynamic_type): Call it.
280 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
282 * objcopy.c (copy_usage): Use "options" instead of "switches".
283 (strip_usage): Use "options" instead of "switches".
284 * doc/binutils.texi (dlltool): Refer to "options" instead of
287 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
289 * MAINTAINERS: Add self as co-maintainer for the ARM code.
291 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
293 * po/es.po: Import from translation project.
294 * configure.in (ALL_LINGUAS): Add es.
295 * configure: Regenerate.
297 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
299 * readelf.c (get_netbsd_elfcore_note_type): Use
300 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
302 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
304 * readelf.c: Update copyright years.
305 (get_note_type): Return a const char *.
306 (get_netbsd_elfcore_note_type): New function.
307 (process_note): Use get_netbsd_elfcore_note_type to get
308 the note type string for NetBSD ELF core files.
310 2002-01-06 Steve Ellcey <sje@cup.hp.com>
312 * readelf.c (get_ia64_segment_type): Add support for macros.
313 (get_segment_type): Add support for IA64 specific macros.
315 2001-12-20 Julian v. Bock <julian@wongr.net>
317 * readelf.c (print_symbol): New function: Print a formatted symbol
318 name. If --wide is specified do not truncate it.
319 (dump_relocations): Use print_symbol() to print symbol names.
320 (process_symbol_table): Likewise.
321 (process_syminfo): Likewise.
322 (process_mips_specific): Likewise.
323 (usage): Document new feature of --wide switch.
324 * doc/binutils.texi (objdump): Document additional behaviour of
327 2001-12-18 Michael Snyder <msnyder@redhat.com>
329 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
330 (copy_object): Don't set the start address or flags of a core file.
331 (copy_section): Don't relocate a core file. Don't copy contents
332 if the input section has the contents flag set, but the output
333 section does not (which happens with the fake 'note' pseudo-
334 sections that BFD creates for corefiles).
336 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
338 * readelf.c (get_machine_flags): Recognize header flags for ABI and
339 ASE extensions. More robust code for ISA checking. Ignore empty fields
340 in header flags for GNU extensions.
342 2001-12-18 Alan Modra <amodra@bigpond.net.au>
344 * objcopy.c (copy_archive): Set output bfd format outside the loop.
346 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
348 * po/ja.po: Import from translation project.
349 * configure.in (ALL_LINGUAS): Add ja.
350 * configure: Regenerate.
352 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
354 * addr2line.c (main): Protoype.
355 * ar.c (main): Protoype.
356 * nm.c (main): Protoype.
357 * objcopy.c (main): Protoype.
358 * objdump.c (main): Protoype.
359 * size.c (main): Protoype.
360 * strings.c (main): Protoype.
362 2001-12-17 Alan Modra <amodra@bigpond.net.au>
364 * readelf.c (symtab_shndx_hdr): New global.
365 (SECTION_HEADER_INDEX): Define.
366 (SECTION_HEADER_NUM): Define.
367 (SECTION_HEADER): Define.
368 (GET_ELF_SYMBOLS): Pass two params rather than three.
369 (get_32bit_elf_symbols): Take file and section args. Read and
370 use SHT_SYMTAB_SHNDX.
371 (get_64bit_elf_symbols): Likewise.
372 (dump_relocations): Use SECTION_HEADER to index "section_headers".
373 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
374 Remember symtab_shdx_hdr.
375 (process_program_headers): Scan from index 1 for segment map.
376 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
378 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
379 (process_unwind): Likewise.
380 (process_version_sections): Likewise.
381 (process_symbol_table): Likewise.
382 (display_debug_info): Likewise.
383 (process_dynamic_segment): Fake up a symtab section for changed
385 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
386 (process_program_headers): Kill signed/unsigned warning.
387 (load_debug_str): Likewise.
388 (display_debug_info): Likewise.
390 2001-12-13 Jakub Jelinek <jakub@redhat.com>
392 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
394 2001-12-11 Alan Modra <amodra@bigpond.net.au>
396 * readelf.c (process_file_header): Print extended e_shnum and
397 e_shdtrndx values. Set elf_header values for same.
398 (get_32bit_section_headers): Add "num" arg to read "num" headers.
399 (get_64bit_section_headers): Likewise.
400 (process_section_headers): Update calls.
401 (get_file_header): Call get_32bit_section_headers or 64bit variant.
403 2001-12-10 Jakub Jelinek <jakub@redhat.com>
405 * objcopy.c (setup_section): Copy entsize.
407 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
409 * readelf.c (guess_is_rela): Add support for stormy16.
410 (dump_relocations): Likewise.
411 (get_machine_name): Likewise.
413 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
415 * dllwrap.c (main) Replace multiple strings describing a
416 single error with a single, newline escaped sentence to permit
417 better translation into foreign languages.
419 * readelf.c (get_elf_class): Remove internalionalisation of ELF
422 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
424 * strings.c (get_char): Initialize value.
426 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
428 * arlex.l: Silence compile warnings.
429 * arsup.h: Likewise. Fix formatting.
431 2001-12-04 Jakub Jelinek <jakub@redhat.com>
433 * strings.c: Include config.h before bfd.h.
434 (file_off): New type.
436 (print_strings): Use file_off instead of file_ptr. Print addresses
437 which don't fit into long correctly.
438 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
440 (strings_file): Use file_off instead of file_ptr. Use file_open.
441 * configure.in: Check for getc_unlocked.
442 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
444 * configure: Rebuilt.
445 * config.h.in: Rebuilt.
447 2001-11-29 H.J. Lu <hjl@gnu.org>
449 * bucomm.c (make_tempname): Revert the changes made on
450 2001-11-14 and 2001-11-12. They won't work with directories.
452 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
454 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
455 CFLAGS_FOR_TARGET to runtest in environment.
456 * Makefile.in: Rebuild.
457 * doc/Makefile.in: Rebuild.
459 2001-11-28 Mike Stump <mrs@wrs.com>
461 * objcopy.c (setup_section): Preserve SEC_RELOC when
462 --set-section-flags is used.
464 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
466 * readelf.c (do_debug_str): New variable.
467 (display_debug_str): New function: Display the contents of a
469 (load_debug_str): New function: Load in the contents of a
471 (free_debug_str): New function: Free the memory used by
473 (fetch_indirect_string): Retrieve a string from the .debug_str
476 (parse_args): Accept -ws.
477 (process_section_headers): Allow the display of the .debug_str
479 (read_and_display_attr_value): Use fetch_indirect_string. Show
480 offset into .debug_str section.
481 (display_debug_info): Use load_debug_str and free_debug_str.
482 (debug_displays): Add .debug_str.
483 * doc/binutils.texi: Document -ws.
485 2001-11-19 Andreas Jaeger <aj@suse.de>
487 * testsuite/binutils-all/objdump.exp: Add x86-64.
489 2001-11-15 Andreas Schwab <schwab@suse.de>
491 * readelf.c: Fix warnings without terminating newline.
493 2001-11-15 Alan Modra <amodra@bigpond.net.au>
495 * doc/binutils.texi (objdump): Document ppc -M options.
497 2001-11-14 Andreas Jaeger <aj@suse.de>
499 * doc/binutils.texi (objdump): Fix description to use x86-64.
501 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
503 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
504 not all systems provide mkstemp.
506 2001-11-14 Alan Modra <amodra@bigpond.net.au>
508 * doc/binutils.texi (objdump): Document x86 -M options.
510 2001-11-13 Keith Walker <keith.walker@arm.com>
512 * readelf.c (read_and_display_attr_value): New function to
513 handle DW_FORM_indirect.
514 (read_and_display_attr): Use it.
516 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
518 * readelf.c (display_debug_lines): Deal with unknown standard
519 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
522 2001-11-13 Timothy Wall <twall@alum.mit.edu>
524 * MAINTAINERS: Add self as tic54x maintainer. This target
525 includes the IBM C54XDSP clone.
527 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
529 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
531 2001-11-09 Jeffrey A Law (law@cygnus.com)
533 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
534 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
535 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
536 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
537 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
538 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
539 (unw_decode_b2, unw_decode_b3_b4): Likewise.
541 * readelf.c (get_elf_class): Fix ISO portability glitch.
542 (get_data_encoding, get_osabi_name, request_dump): Likewise.
544 2001-11-07 Jakub Jelinek <jakub@redhat.com>
546 * readelf.c (debug_str, debug_str_size): New.
547 (display_debug_abbrev): If no abbrevs were read, skip the CU.
549 (read_and_display_addr): Handle DW_FORM_strp.
550 (display_debug_info): Read .debug_str section if present,
551 so that DW_FORM_strp can be handled.
552 Fix test for non-existant .debug_abbrev section.
554 2001-11-05 Jakub Jelinek <jakub@redhat.com>
556 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
558 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
560 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
562 * MAINTAINERS: Add self as s390/s390x maintainer.
564 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
566 * MAINTAINERS: Add self as PPC XCOFF maintainer.
568 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
570 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
571 * configure: Regernate.
572 * po/fr.po: New file.
573 * po/tr.po: New file.
575 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
577 * MAINTAINERS: Add self as MMIX port maintainer.
578 * readelf.c: Include elf/mmix.h.
579 (guess_is_rela): MMIX is RELA.
580 (dump_relocations): Handle MMIX relocations.
581 * Makefile.am: Regenerate dependencies.
582 * Makefile.in: Regenerate.
584 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
586 * readelf.c (parse_args): Handle multiple options to the -w
589 2001-10-12 Jakub Jelinek <jakub@redhat.com>
591 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
592 LOPROC, LOOS and LOUSER.
594 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
596 * MAINTAINERS: Update my email address.
598 2001-10-03 Alan Modra <amodra@bigpond.net.au>
600 * doc/Makefile.in: Regenerate.
601 * configure: Regenerate.
603 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
605 * readelf.c (display_debug_line, display_debug_pubnames,
606 display_debug_info, display_debug_frames): Detect and warn
607 about 64-bit format entries.
608 (display_debug_aranges): Reword 64-bit warning.
609 (debug_displays): Add .debug_pubtypes as a known, but not yet
610 supported, debug section.
612 2001-10-02 Alan Modra <amodra@bigpond.net.au>
614 * coffdump.c (PROGRAM_VERSION): Delete.
615 (main <'V'>): Call print_version.
616 * srconv.c: Likewise.
617 * sysdump.c: Likewise.
618 * version.c (program_version): Remove.
619 (print_version): Use BFD_VERSION_STRING. Just print the current
620 year in copyright message.
621 * addr2line.c (program_version): Remove unused declaration.
622 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
623 place of BFD_VERSION.
624 * Makefile.am (Makefile): Depend on bfd/configure.in.
625 (cplus-dem.o): Depend on Makefile.
627 * Makefile.in: Regenerate.
629 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
631 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
632 format .debug_arange sections.
633 (main): Add missing prototype.
635 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
637 * Makefile.am: Update dependencies with "make dep-am".
638 * Makefile.in: Regenerate.
640 2001-09-28 Richard Henderson <rth@redhat.com>
642 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
644 2001-09-26 Alan Modra <amodra@bigpond.net.au>
646 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
648 (non_fatal): Likewise.
649 * objdump.c (objdump_sprintf): Likewise.
650 * readelf.c (error): Likewise.
653 2001-09-25 Jakub Jelinek <jakub@redhat.com>
655 * readelf.c (do_wide): New.
656 (options): Add --wide.
657 (usage, parse_args): Likewise.
658 (process_program_headers): Put each segment on a single line if
660 (process_section_headers): Put each section on a single line if
662 * doc/binutils.texi: Document it.
665 2001-09-25 Alan Modra <amodra@bigpond.net.au>
667 * readelf.c (print_vma): Print 8 digits of low hex value.
669 2001-09-24 Andreas Jaeger <aj@suse.de>
671 * nlmconv.c: Fix warnings about unused attributes and function
674 * strings.c: Add prototype for get_char.
676 2000-09-19 H.J. Lu <hjl@gnu.org>
678 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
679 $(srcdir)/cxxfilt.man.
680 * doc/Makefile.in: Rebuild.
682 2001-09-19 Alan Modra <amodra@bigpond.net.au>
684 * objcopy.c (copy_main): Correct rename-section string parsing.
685 Consolidate new_name parsing, and error messages.
687 2001-09-18 Bruno Haible <haible@clisp.cons.org>
689 * addr2line.c: Don't include <ctype.h>.
690 (main): For gettext, also set the LC_CTYPE locate facet.
691 * ar.c (main): Likewise.
692 * coffdump.c (main): Likewise.
693 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
694 (main): For gettext, also set the LC_CTYPE locate facet.
695 Use ISALNUM instead of isalpha/isdigit.
696 * dllwrap.c: Don't include <ctype.h>.
697 (main): For gettext, also set the LC_CTYPE locate facet.
698 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
699 (main): For gettext, also set the LC_CTYPE locate facet.
700 Use TOUPPER instead of islower/toupper.
701 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
702 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
703 Use TOUPPER instead of islower/toupper.
704 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
705 * objcopy.c (main): Likewise.
706 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
707 (disassemble_bytes): Use ISPRINT instead of isprint.
708 (dump_section_stabs): Use ISDIGIT instead of isdigit.
709 (dump_data): Use ISPRINT instead of isprint.
710 (main): For gettext, also set the LC_CTYPE locate facet.
711 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
712 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
713 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
714 Use TOUPPER instead of islower/toupper.
715 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
716 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
717 (write_rc_accelerators): Use ISPRINT instead of isprint.
718 (write_rc_rcdata): Likewise.
719 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
720 * srconv.c (main): Likewise.
721 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
722 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
723 isdigit/isupper/islower.
724 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
725 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
726 stab_demangle_prefix, stab_demangle_qualified,
727 stab_demangle_template, stab_demangle_type,
728 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
729 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
730 (isgraphic): Use ISPRINT instead of isascii/isprint.
731 (main): Remove HAVE_LC_MESSAGES dependency.
732 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
733 (pbarray): Use ISPRINT instead of isprint.
734 (main): For gettext, also set the LC_CTYPE locate facet.
735 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
736 (format_from_filename): Use ISPRINT instead of isprint.
737 (main): For gettext, also set the LC_CTYPE locate facet.
738 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
739 (unicode_print): Use ISPRINT instead of isprint.
740 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
741 (stab_variable): Use ISDIGIT instead of isdigit.
743 2001-09-18 Alan Modra <amodra@bigpond.net.au>
745 * ar.c (print_contents): Cast args of bfd_seek to the right types.
746 Replace bfd_read call with call to bfd_bread.
747 (extract_file): Likewise.
749 * objdump.c (dump_section_header): Cast section->filepos to
750 unsigned long to suit printf format string.
751 * readelf.c (process_section_headers): Similarly for sh_offset.
752 (process_unwind): Likewise.
754 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
756 * strings.c (encoding, encoding_bytes): New variables.
757 (long_options): Add --encoding.
758 (main): Accept -e and --encoding.
759 (get_char): New function. Read a, possibly wide, character from
761 (print_strings): Use get_char().
762 (usage): Document new command line option.
763 * doc/binutils.texi: Document new command line option.
764 * NEWS: Announce new command line option.
766 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
768 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
769 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
770 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
771 Removed EM_CYGNUS_ARC.
773 2001-09-04 Jeffrey A Law (law@cygnus.com)
775 * readelf.c: Include elf/h8 for H8 series definitions.
776 (guess_is_rela): H8 series if RELA.
777 (dump_relocations): Handle H8 series relocations.
779 2001-08-31 Eric Christopher <echristo@redhat.com>
781 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
783 2001-08-29 Peter Targett <peter.targett@arccores.com>
785 * MAINTAINERS: Include ARC Maintainer.
787 2001-08-29 Ben Elliston <bje@redhat.com>
789 * stabs.c (stab_demangle_template): Initialise s4.
791 2001-08-27 Alan Modra <amodra@bigpond.net.au>
793 * readelf.c (dump_relocations): Recognise EM_PPC64.
795 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
797 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
799 2001-08-25 H.J. Lu <hjl@gnu.org>
801 * nm.c (print_width): New.
802 (display_rel_file): Set `print_width' according to
804 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
806 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
808 * objcopy.c (use_alt_mach_code): New variable.
809 (OPTION_ALT_MACH_CODE): Define.
810 (copy_options): Added --alt-machine-code.
811 (copy_main): Handle it.
812 (copy_object): Switch to alternate machine code if requested.
813 * doc/binutils.texi: Document new option.
816 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
818 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
820 2001-08-21 H.J. Lu <hjl@gnu.org>
822 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
823 (display_debug_info): Cast for 64bit hosts.
824 (display_debug_frames): Likewise.
825 (process_mips_specific): Likewise.
827 2001-08-21 Andreas Jaeger <aj@suse.de>
829 * coffgrok.h: Add missing parameter for prototype of coff_grok.
831 * sysdump.c: Add missing prototypes.
832 * srconv.c: Likewise.
833 * unwind-ia64.c: Likewise.
834 * coffdump.c: Likewise.
836 * sysinfo.y: Print prototypes, include <ansidecl.h>.
838 * coffgrok.c: Add missing prototypes, include libiberty.h instead
839 of declaring xcalloc.
841 2001-08-10 H.J. Lu <hjl@gnu.org>
843 * nm.c (print_value): Add one arg, bfd *.
844 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
845 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
846 (print_symbol_info_sysv): Likewise.
847 (print_symbol_info_posix): Likewise.
849 * objdump.c (dump_section_header): Replace printf_vma with
851 (print_section_stabs): Likewise.
852 (dump_bfd_header): Likewise.
853 (objdump_print_value): Replace sprintf_vma with
855 (disassemble_bytes): Likewise.
856 (dump_reloc_set): Likewise.
858 2001-08-10 Andreas Jaeger <aj@suse.de>
860 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
862 * configure: Regenerate.
864 2001-08-09 Alan Modra <amodra@bigpond.net.au>
866 * readelf.c: Add missing prototypes.
867 * objdump.c: Likewise. Format existing prototypes.
869 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
871 * readelf.c (display_debug_info): Add to abbrev_offset the addend
872 of any RELA relocation for the abbrev_offset memory location that
873 refers to the .debug_abbrev section symbol.
875 2001-08-07 H.J. Lu <hjl@gnu.org>
877 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
878 (main): Return process_file ().
880 2001-08-05 Philip Blundell <philb@gnu.org>
882 * doc/binutils.texi: Use "Thumb" not "THUMB".
884 2001-08-03 John Healy <jhealy@redhat.com>
886 Patch suggested by Frank Eigler <fche@redhat.com>.
887 * objdump.c (disassemble_data): Fill in section member of the
888 disasm_info structure.
890 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
892 * configure.in: Added --with-windres option.
893 * configure: Regenerated.
895 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
897 * doc/binutils.texi: Use @command{name} for commands;
898 use @option{-opt} for options; use @table @env for list of options;
899 remove spaces arround [ | ] in synopsis.
901 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
904 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
906 * objcopy.c: Fix formatting.
907 (section_rename): New structure.
908 (OPTION_RENAME_SECTION): New switch.
909 (copy_usage): Document new switch.
910 (add_section_rename): New function: Add a node to the section
912 (find_section_rename): New function: Find the new name and
914 (setup_section): Call find_section_name to determine the name
915 of the output section.
916 (copy_main): Handle OPTION_RENAME_SECTION.
917 * binutils.texi: Document new switch.
918 * NEWS: Mention new switch.
920 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
922 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
923 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
924 bug-binutils@gcc.org.
926 2001-07-28 Matthias Kramm <kramm@quiss.org>
928 * bucomm.c (list_supported_architectures): New function.
929 * bucomm.h (list_supported_architectures): Declare.
930 * objdump.c (usage): Call the above.
932 2001-07-25 Dave Brolley <brolley@redhat.com>
934 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
935 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
937 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
939 * README: Update for 2.11. Change bug reporting email address.
940 * MAINTAINERS: Tidy up. Change bug reporting email address.
942 2001-07-16 DJ Delorie <dj@redhat.com>
944 * resres.c (write_res_header): Align header size.
945 (res_align_file): Calculate alignment correctly.
947 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
949 * resrc.c (write_rc_resource): Likewise.
950 * windres.h (SUBLANG_SHIFT): Define - as 10.
952 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
954 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
956 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
958 * MAINTAINERS: Add notes about branch checkins.
960 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
962 * readelf.c (display_debug_macinfo): New function, display
963 .debug_macinfo section.
964 (do_debug_macinfo): New variable.
965 (parse_args): Handle "-w[mM]" to mean display macro info.
966 (process_section_headers): Handle debug_macinfo.
967 (debug_displays): Replace unsupported function with macinfo
968 function for .debug_macinfo display.
969 * doc/binutils.texi: Document new command line switch.
970 * NEWS: Document new feature of readelf.
972 2001-07-05 H.J. Lu <hjl@gnu.org>
974 * objcopy.c (filter_symbols): Don't turn undefined symbols
977 2001-07-03 H.J. Lu <hjl@gnu.org>
979 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
982 (dlltool.1): Likewise.
983 (nlmconv.1): Likewise.
985 (objcopy.1): Likewise.
986 (objdump.1): Likewise.
987 (ranlib.1): Likewise.
988 (readelf.1): Likewise.
990 (strings.1): Likewise.
992 (windres.1): Likewise.
993 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
994 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
997 * doc/Makefile.in: Regenerated.
999 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1001 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1003 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1005 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1007 2001-06-29 James Cownie <jcownie@etnus.com>
1009 * readelf.c: Support DWARF 2.1 attributes.
1011 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1013 * readelf.c (GET_DATA_ALLOC): Remove.
1015 (get_data): New function combining above macros, with an extra
1017 (slurp_rela_relocs): Use get_data, and catch error return.
1018 (slurp_rel_relocs): Likewise.
1019 (get_32bit_program_headers): Likewise.
1020 (get_64bit_program_headers): Likewise.
1021 (get_32bit_section_headers): Likewise.
1022 (get_64bit_section_headers): Likewise.
1023 (get_32bit_elf_symbols): Likewise.
1024 (get_64bit_elf_symbols): Likewise.
1025 (process_section_headers): Likewise.
1026 (process_relocs): Likewise.
1027 (slurp_ia64_unwind_table): Likewise.
1028 (process_unwind): Likewise.
1029 (get_32bit_dynamic_segment): Likewise.
1030 (get_64bit_dynamic_segment): Likewise.
1031 (process_dynamic_segment): Likewise.
1032 (process_version_sections): Likewise.
1033 (process_symbol_table): Likewise.
1034 (dump_section): Likewise.
1035 (display_debug_info): Likewise.
1036 (display_debug_section): Likewise.
1037 (process_section_contents): Likewise.
1038 (process_corefile_note_segment): Likewise.
1039 (process_mips_specific): Likewise. Also free econf32, econf64.
1041 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1043 * readelf.c (dump_relocations): Print "bad symbol index" if
1044 symtab == NULL with non-zero symtab_index.
1045 (process_relocs): Don't bomb if reloc section has no symsec.
1047 2001-06-24 H.J. Lu <hjl@gnu.org>
1049 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1051 (copy_main): Apply the the change made to strip_main on
1052 2001-05-30 by accident.
1054 2001-06-23 Andreas Jaeger <aj@suse.de>
1056 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1058 (unw_decode_x2): Likewise.
1059 (unw_decode_x3): Likewise.
1060 (unw_decode_x4): Likewise.
1062 2001-06-23 Ben Elliston <bje@redhat.com>
1064 * MAINTAINERS: Add myself as M88k maintainer.
1066 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1068 * objcopy.c (strip_main): Support -o or --output-file command lien
1071 2001-06-19 H.J. Lu <hjl@gnu.org>
1073 * doc/Makefile.in: Regenerated.
1075 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1077 * readelf.c: Restore formatting.
1079 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1081 * Makefile.am: Move documentation into doc subdirectory.
1082 * Makefile.in: Regenerated.
1083 * binutils.texi: Move into doc subdirectory.
1084 * addr2line.1: Removed.
1086 * dlltool.1: Likewise.
1087 * nlmconv.1: Likewise.
1089 * objcopy.1: Likewise.
1090 * objdump.1: Likewise.
1091 * ranlib.1: Likewise.
1092 * readelf.1: Likewise.
1094 * strings.1: Likewise.
1095 * strip.1: Likewise.
1096 * windres.1: Likewise.
1097 * cxxfilt.man: Likewise.
1098 * doc: New Directory.
1099 * doc/Makefile.am: New file.
1100 * doc/Makefile.in: Generate.
1102 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1104 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1106 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1108 * MAINTAINERS: Update my email address.
1110 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1112 * objcopy.c: Add new switches: --keep-global-symbol,
1113 --keep-symbols, --localize-symbols, --keep-global-symbols and
1115 * binutils.texi: Document new switches.
1116 * objcopy.1: Regenerate.
1117 * NEWS: Announce new feature.
1119 2001-05-28 Andreas Jaeger <aj@suse.de>
1121 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1122 variables, fix format strings.
1124 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1126 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1127 when computing the address of the line to show.
1129 2001-05-16 Richard Henderson <rth@redhat.com>
1131 * readelf.c (do_debug_frames_interp): New.
1132 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1133 (byte_get_big_endian): Likewise.
1134 (parse_args) ['F']: Set do_debug_frames_interp.
1135 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1136 (frame_display_row): Don't trunc pc_begin to int.
1137 (size_of_encoded_value): New.
1138 (display_debug_frames): Handle 64-bit targets. Print raw data
1139 unless do_debug_frames_interp.
1140 (debug_displays): Remove duplicate .debug_frame.
1142 2001-05-15 Ralf Baechle <ralf@gnu.org>
1144 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1145 The former constant was never in active use and is used otherwise
1148 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1150 * readelf.c (process_unwind): Print all unwind sections, not just
1153 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1155 * readelf.c (process_unwind): Remove const specifier.
1157 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1159 * strings.c (isgraphic): Do not use isascii() unless it is needed
1160 for isprint() to work.
1161 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1163 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1165 * NEWS: Announce support for OpenRISC.
1167 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1169 * dlltool.c (do_default_excludes): Initialise to true.
1171 2001-04-10 Alan Modra <amodra@one.net.au>
1173 * MAINTAINERS: Update my email address
1174 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1176 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1178 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1180 2001-03-30 H.J. Lu <hjl@gnu.org>
1182 * readelf.c (process_unwind): Just return if do_unwind is 0.
1184 2001-03-28 Roger Sayle <roger@metaphorics.com>
1186 * dlltool.c (make_one_lib_file): Fix section flags for
1187 .text, .data and .bss in stub ds*.o files to match those
1190 2001-03-29 H.J. Lu <hjl@gnu.org>
1192 * readelf.c (process_unwind): Only do unwind sections for
1195 2001-03-28 H.J. Lu <hjl@gnu.org>
1197 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1198 * Makefile.in: Regenerate.
1200 2001-03-26 Andreas Jaeger <aj@suse.de>
1202 * binutils.texi (nm): Fix texi syntax.
1204 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1206 * binutils.texi: Put @c man begin and @c man end indications
1207 to generate man pages using texi2pod and pod2man. Put @c man title
1208 to identify each man. Add SEEALSO entries.
1209 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1210 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1212 (*.1): Build the man pages from binutils.texi.
1213 * Makefile.in: Regenerate.
1215 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1217 * defparse.y (opt_equal_name): allow "." in name.
1218 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1219 (gen_exp_file): Likewise.
1221 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1223 * NEWS: Document addition of -B switch to objcopy.
1224 * binutils.texi: Document addition of -B switch to objcopy.
1225 * objcopy.c: (copy_options): Add --binary-architecture.
1226 (copy_usage): Document -B/--binary-architecture.
1227 (copy_main): Support -B/--binary-architecture. Set
1228 bfd_external_binary_architecture.
1230 2001-03-11 Andreas Jaeger <aj@suse.de>
1232 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1233 (dump_relocations): Likewise.
1234 (get_machine_name): Likewise.
1236 2001-02-28 Nick Clifton <nickc@redhat.com>
1238 * readelf.c: (struct unw_aux_info): Remove const modifier for
1240 (process_unwind): Remove non-K&R compliant LHS type cast in call
1241 to GET_DATA_ALLOC macro.
1243 2001-02-28 Philip Blundell <pb@futuretv.com>
1245 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1246 ABI is in use; remove ambiguity between the "unknown" EABI and
1247 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1248 renamed EF_xx constants.
1250 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1252 * configure.in (BFD_VERSION): New.
1253 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1254 * configure: Regenerate.
1255 * Makefile.am: Run "make dep-am"
1256 * Makefile.in: Regenerate.
1258 2001-02-14 Nick Clifton <nickc@redhat.com>
1260 * MAINTAINERS: Add "Obvious Fix" rule.
1262 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1264 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1265 literal concatenation.
1267 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1269 * readelf.c (struct unw_aux_info): Remove const from the info member.
1270 (process_unwind): Don't type-cast the third argument to the
1271 GET_DATA_ALLOC macro.
1273 2001-02-11 Nick Clifton <nickc@redhat.com>
1275 * readelf.c (dump_relocations): Free corrected allocated
1277 (process_unwind): Fix compile time warning.
1279 2001-02-10 Nick Clifton <nickc@redhat.com>
1281 * binutils.texi: Document new --unwind option to readelf.
1283 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1285 * readelf.c: Add linux target for S/390.
1287 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1289 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1292 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1294 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1295 * aclocal.m4: Regenerate.
1296 * configure: Regenerate.
1298 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1300 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1301 * objdump.c (bfd_target_vector): Likewise.
1303 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1305 * readelf.c (process_unwind): New function.
1306 (slurp_ia64_unwind_table): Ditto.
1307 (dump_ia64_unwind): Ditto.
1308 (find_symbol_for_address): Ditto.
1309 (slurp_rela_relocs): New function (split off from dump_relocations()).
1310 (slurp_rel_relocs): Ditto.
1311 (parse_args): Handle '-u' option.
1313 * unwind-ia64.c: New file.
1314 * unwind-ia64.h: New file.
1315 * Makefile.am: Include unwind-ia64.c in readelf build.
1316 * Makefile.in: Regenerate.
1317 * po/binutils.pot: Regenerate.
1319 2001-02-04 Philip Blundell <philb@gnu.org>
1321 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1322 * configure: Regenerate.
1324 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1326 * ieee.c (ieee_add_bb11): Don't check for backslashes
1327 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1329 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1331 * ieee.c: Update copyright.
1332 (ieee_start_compilation_unit): Don't check for backslashes
1333 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1335 * stabs.c: Update copyright. Include "filenames.h".
1336 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1338 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1340 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1341 sections are present before using them. Remove code duplication.
1342 (process_symbol_table): Check if VERDEF or VERNEED sections are
1343 present before using them.
1345 2001-01-17 Nick Clifton <nickc@redhat.com>
1347 * objcopy.c (copy_object): Fail if attempting to convert the
1348 endianness of the input object file.
1350 * binutils.texi: Explain that objcopy cannot convert endianness.
1352 2001-01-16 Nick Clifton <nickc@redhat.com>
1354 * readelf.c (string_table_length): New variable.
1355 (SECTION_NAME): Catch out of range indices and missing section
1357 (process_section_headers): Delete useless local variable
1358 string_table_offset. Set the value of string_table_length
1359 after loading the string table.
1360 (process_mips_specific): Use SECTION_NAME macro.
1361 (process_file): Set string_table_length to 0 when it is freed.
1363 2001-01-12 Nick Clifton <nickc@redhat.com>
1365 * version.c (print_version): Update copyright date.
1367 2001-01-11 Peter Targett <peter.targett@arccores.com>
1369 * readelf.c (dump_relocations): Include selection with EM_ARC.
1370 (get_machine_name) Update name to "ARC".
1372 2001-01-09 Nick Clifton <nickc@redhat.com>
1374 * Makefile.am: Add rule to build objdump.o from objdump.c and
1376 * Makefile.in: Regenerate.
1378 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1379 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1380 -DDISASSEMBLER_NEEDS_RELOCS.
1381 * configure: Regenerate.
1383 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1384 is defined read in the relocs even if dump_reloc_info is
1387 2001-01-07 Philip Blundell <philb@gnu.org>
1389 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1393 2000-12-19 Nick Clifton <nickc@redhat.com>
1395 * dlltool.c: Add missing support for arm-epoc-pe.
1396 * configure.in: Add missing support for arm-epoc-pe.
1397 * configure: Regenerate.
1399 2000-12-15 Nick Clifton <nickc@redhat.com>
1401 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1402 Mode parts of the x86 port.
1404 2000-12-04 Andreas Jaeger <aj@suse.de>
1406 * readelf.c (guess_is_rela): Add EM_X86_64.
1407 (dump_relocations): Add EM_X86_64.
1408 (get_machine_name): Add EM_X86_64.
1409 Include "elf/x86-64.h".
1411 2000-12-12 Nick Clifton <nickc@redhat.com>
1413 * readelf.c: Fix formatting.
1415 2000-12-11 Jan Hubicka <jh@suse.cz>
1417 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1419 2000-12-07 Andrew Haley <aph@redhat.com>
1421 * readelf.c (display_debug_frames): Only display columns that are
1422 referenced by the frame debug info.
1424 2000-12-05 Nick Clifton <nickc@redhat.com>
1426 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1428 2000-12-04 Jason Merrill <jason@redhat.com>
1430 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1431 (display_debug_section): Likewise.
1432 (display_debug_info): Display CU header before bailing.
1434 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1436 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1437 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1438 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1440 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1443 * readelf.c (get_machine_flags): Add case for
1446 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1448 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1450 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1452 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1453 Change sourceware.cygnus.com to sources.redhat.com.
1454 Fix typo for "amongst".
1456 2000-11-28 Nick Clifton <nickc@redhat.com>
1458 * strip.1 (COPYING): Mention that the GNU Free Documentation
1459 License is present in the sources, but not the output, and
1460 also available from the GNU website.
1461 (GNU Free Documentation License): Comment out this section.
1470 * addr2line.1: Ditto.
1472 2000-11-27 DJ Delorie <dj@redhat.com>
1474 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1475 (parse_args): Support -wf option.
1476 (process_section_headers): Ditto.
1477 (debug_displays): Ditto.
1478 (display_debug_frames): New, dump *_frame sections.
1479 (frame_need_space): Support for above.
1480 (frame_display_row): Ditto.
1481 * binutils.texi: Document it.
1483 2000-11-24 Nick Clifton <nickc@redhat.com>
1485 * NEWS: Announce support for v5t, v5te and XScale.
1487 2000-11-22 Nick Clifton <nickc@redhat.com>
1489 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1490 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1491 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1492 (get_elf_section_flags: Add SHF_GROUP.
1493 (process_section_headers): Adjust output for 32-bit binaries
1494 to look nice on an 80 column terminal.
1496 2000-11-20 H.J. Lu <hjl@gnu.org>
1498 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1501 2000-11-17 Richard Henderson <rth@redhat.com>
1503 * readelf.c (display_debug_lines): Adjust last change to
1504 use sizeof (external->li_length).
1506 2000-11-17 Richard Henderson <rth@redhat.com>
1508 * readelf.c (display_debug_lines): Fix section length check
1509 and end_of_sequence computation.
1511 2000-11-06 Nick Clifton <nickc@redhat.com>
1513 * binutils.texi: Add GNU Free Documentation License.
1514 * objcopy.1: Add GNU Free Documentation License.
1515 * objdump.1: Add GNU Free Documentation License.
1516 * addr2line.1: Add GNU Free Documentation License.
1517 * ar.1: Add GNU Free Documentation License.
1518 * nlmconv.1: Add GNU Free Documentation License.
1519 * nm.1: Add GNU Free Documentation License.
1520 * ranlib.1: Add GNU Free Documentation License.
1521 * size.1: Add GNU Free Documentation License.
1522 * strings.1: Add GNU Free Documentation License.
1523 * strip.1: Add GNU Free Documentation License.
1525 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1527 * objcopy.c (--srec-len=nn): New parameter to set the
1528 maximum length of generated Srecords.
1529 (--srec-forceS3): New parameter that restricts the generation of
1530 Srecords to type S3 only.
1531 * binutils.texi: Document new command line switches.
1532 * objcopy.1: Docuemnt the new command line switches.
1533 * NEWS: Announce the existence of the new command line switches.
1535 2000-10-31 Nick Clifton <nickc@redhat.com>
1537 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1538 code. Add Eric Chrisopher as maintainer of MN10300 port.
1540 2000-10-12 Roger Sayle <roger@metaphorics.com>
1542 * Make comma after string after icon/control optional.
1544 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1546 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1548 * NEWS: Mention support for MIPS32.
1550 2000-09-08 Nick Clifton <nickc@redhat.com>
1552 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1554 2000-09-07 H.J. Lu <hjl@gnu.org>
1556 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1557 * configure: Rebuild.
1559 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1561 * configure: Rebuilt with new libtool.m4.
1563 2000-09-05 Nick Clifton <nickc@redhat.com>
1565 * aclocal.m4: Regenerate.
1566 * config.in: Regenerate.
1567 * configure: Regenerate.
1569 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1571 * strip.1: Fix stray '\' in -o formatting.
1573 2000-09-02 Nick Clifton <nickc@redhat.com>
1575 * configure.in: Increase version number to 2.10.91.
1576 * configure: Regenerate.
1577 * aclocal.m4: Regenerate.
1578 * config.in: Regenerate.
1579 * po/binutils.pot: Regenerate.
1581 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1583 * acinclude.m4: Include libtool and gettext macros from the
1585 * aclocal.m4, configure: Rebuilt.
1587 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1589 * resrc.c (close_input_stream): Delete extraneous logic
1591 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1593 * NEWS: Mention support for CRIS.
1595 2000-08-21 Nick Clifton <nickc@redhat.com>
1597 * addr2line.c: Changed email address for Ulrich Lauther.
1599 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1601 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1603 2000-08-17 Nick Clifton <nickc@redhat.com>
1605 * readelf.c (display_debug_pubnames): Only issue warning
1606 message once. Terminate message with a new line.
1607 (display_debug_aranges): Only display version 2 debug info.
1609 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1611 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1612 for compatability with old BSD systems.
1614 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1616 * NEWS: Mention i860 support.
1618 2000-08-11 Carlo Wood <carlo@alinoe.com>
1620 * addr2line.c (main): Add const to char *.
1622 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1624 * ar.c (main): Don't crash if called with no arguments
1625 or only '-X32_64' as an argument.
1627 2000-08-08 DJ Delorie <dj@redhat.com>
1629 * resrc.c: use "gcc -xc" instead of -xc-header
1631 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1633 * readelf.c (elf/i860.h): Include.
1634 (dump_relocations): Add recognition of i860 architecture.
1635 (guess_is_rela): Add recognition of i860 architecture.
1637 2000-08-03 Nick Clifton <nickc@cygnus.com>
1639 * MAINTAINERS: Add information about CGEN maintainers.
1641 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1643 * nm.c (main): Ignore '-X32_64' as an option.
1644 * ar.c (main): Likewise.
1645 * binutils.texi (nm): Document new option.
1648 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1650 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1652 2000-07-20 H.J. Lu <hjl@gnu.org>
1654 * binutils.texi: Put back "@end table" deleted by
1657 2000-07-05 Kenneth Block <krblock@computer.org>
1659 * nm.c: Add optional style to demangle switch.
1660 * objdump.c: Add optional style to demangle switch.
1661 * addr2line.c: Add optional style to demangle switch.
1662 * binutils.texi: Document optional style to demangle
1665 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1667 * MAINTAINERS: Add self as CRIS port maintainer.
1668 * readelf.c: Include elf/cris.h.
1669 (guess_is_rela): Handle EM_CRIS.
1670 (dump_relocations): Ditto.
1671 (get_machine_name): Ditto.
1672 * Makefile.am: Rebuild dependencies.
1673 * Makefile.in: Regenerate.
1674 * po/binutils.pot: Regenerate.
1676 2000-07-19 H.J. Lu <hjl@gnu.org>
1678 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1680 (process_dynamic_segment): Print out strings for DT_CONFIG,
1681 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1683 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1685 * nm.c (usage): Change output of `nm --help' to include a
1686 description of the purpose of the program and a detailed
1687 description of the accepted options.
1689 2000-07-19 H.J. Lu <hjl@gnu.org>
1691 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1694 2000-07-19 H.J. Lu <hjl@gnu.org>
1696 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1698 2000-07-19 H.J. Lu <hjl@gnu.org>
1700 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1702 (process_dynamic_segment): Likewise.
1704 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1705 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1706 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1707 DF_1_NODUMP and DF_1_CONLFAT.
1709 2000-07-18 Nick Clifton <nickc@cygnus.com>
1711 * binutils.texi (readelf): Fix spelling typo.
1713 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1715 * objdump.c (usage): Make output of `objdump --help' more
1716 consistent with the rest of the GNU world. Add a line describing
1717 the purpose of the program.
1719 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1721 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1724 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1726 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1728 (process_symbol_table): Ditto.
1729 (procesS_extended_line_op): Ditto.
1730 (display_debug_lines): Ditto.
1731 (display_debug_pubnames): Ditto.
1732 (read_and_display_attr): Ditto.
1734 2000-07-09 Nick Clifton <nickc@cygnus.com>
1736 * MAINTAINERS: Add several more port specific maintainers.
1738 2000-07-05 Nick Clifton <nickc@cygnus.com>
1740 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1742 2000-06-05 DJ Delorie <dj@redhat.com>
1746 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1748 * dllwrap.c: Changed mistaken dyn_string_append() calls
1749 to dyn_string_append_cstr().
1751 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1753 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1754 struct debug_type stores size in bytes.
1756 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1758 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1759 (CLEANFILES): Add DEPA.
1760 * Makefile.in: Regenerate.
1762 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1764 * ar.c: Revert incorrect 2000-06-25 patch.
1765 * bucomm.c: Likewise.
1767 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1769 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1770 (external_coff_symbol_p): New function.
1771 (parse_coff): Use it.
1773 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1775 * ar.c (normalize): Advance past both characters in a DOS based
1776 <letter>: filepath prefix.
1778 * bucomm.c (make_tempname): Likewise.
1780 2000-06-24 Nick Clifton <nickc@cygnus.com>
1782 * objdump.c (usage): Fix description of --stabs switch.
1784 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1786 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1788 * Makefile.in: Regenerate.
1790 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1792 * ar.c (normalize): Correct pointer comparison when checking for
1795 * bucomm.c (make_tempname): Likewise.
1797 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1798 and search for backslashes in the original pathname.
1799 (ieee_add_bb11): Likewise.
1801 2000-06-18 Nick Clifton <nickc@redhat.com>
1803 * ar.c (print_contents): Improve verbose message.
1805 2000-06-15 H.J. Lu <hjl@gnu.org>
1807 * dyn-string.c: Removed. Not needed with dyn-string.c in
1809 * dyn-string.h: Likewise.
1811 * Makefile.am: Remove references to dyn-string.c and
1812 dyn-string.h. Rebuild dependency.
1813 * Makefile.in: Rebuild.
1815 2000-06-15 H.J. Lu <hjl@gnu.org>
1817 * binutils.texi: Put a warning on copying relocatable object
1818 files between two different formats.
1820 2000-06-13 DJ Delorie <dj@cygnus.com>
1822 * rcparse.y (control): ICON controls take an id as the first
1823 parameter, not an optional string. Also, call new convenience
1824 function that takes res_id's.
1825 * resrc.c (define_control): missing text means zero-length string,
1827 (define_icon_control): New.
1828 * windres.h: declare define_icon_control.
1830 2000-06-13 H.J. Lu <hjl@gnu.org>
1832 * configure: Regenerate.
1834 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1836 * configure.in (VERSION): Update to show this is the CVS mainline.
1838 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1840 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1841 analogous to <SPACE>.
1843 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1845 * objdump.c (display_target_list): Use bfd_close_all_done, not
1846 bfd_close to fix crash caused by 2000-05-24 change.
1848 2000-05-25 DJ Delorie <dj@cygnus.com>
1850 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1852 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1854 * Makefile.am: Update dependencies with "make dep-am"
1855 * Makefile.in: Regenerate.
1857 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1859 * ar.c: Include filenames.h.
1860 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1861 and drive letters in file names.
1862 (main): Support backslashes and drive letters in argv[0]. Drop
1863 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1864 FILENAME_CMP instead of strcmp to compare file names.
1865 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1867 (do_quick_append) [__GO32__]: Ditto.
1868 (get_pos_bfd, delete_members, move_members, replace_members):
1869 Compare file names with FILENAME_CMP.
1871 * bucomm.c: Include filenames.h.
1872 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1873 forward/backward slashes and drive letters in file names.
1875 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1876 mixed forward/backward slashes and drive letters in file names.
1878 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1879 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1882 * objcopy.c: Include filenames.h.
1883 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1884 before comparing to "strip".
1885 Use FILENAME_CMP to compare file names.
1887 * arsup.c: Include filenames.h.
1888 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1889 FILENAME_CMP to compare file names.
1890 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1891 the temporary file name.
1893 * configure.in: Check for setmode.
1894 * configure: Regenerate.
1896 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1898 * objdump.c (display_target_list): Close the bfd.
1899 (display_info_table): Likewise.
1901 2000-05-14 H.J. Lu (hjl@gnu.org)
1903 * objcopy.c (filter_symbols): Don't strip global symbols in
1904 relocatable object files.
1906 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1908 * size.c (usage): Associate short options with corresponding long
1909 option to give a clue as to their function.
1911 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1913 * size.c (main): Accept and ignore `-f' option.
1915 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1917 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1918 bindtextdomain): Replace defines with those from intl/libgettext.h
1919 to quieten gcc warnings.
1921 2000-05-12 H.J. Lu <hjl@gnu.org>
1923 * nlmconv.c (temp_filename): Removed.
1925 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1926 choose_temp_base ().
1927 * objdump.c (display_target_list): Likewise.
1928 (display_info_table): Likewise.
1930 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1932 * objcopy.c (setup_section): Add const and gettext calls for err.
1934 2000-05-02 H.J. Lu <hjl@gnu.org>
1936 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1937 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1938 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1939 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1940 and ELFOSABI_OPENBSD.
1942 2000-05-02 Kazu Hirata <kazu@hxi.com>
1944 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1945 * srconv.c: Likewise.
1946 * sysdump.c: Likewise.
1948 2000-04-23 Denis Chertykov <denisc@overta.ru>
1950 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1951 (get_machine_name): machine name for EM_AVR added.
1953 2000-04-21 Richard Henderson <rth@cygnus.com>
1954 David Mosberger <davidm@hpl.hp.com>
1956 * Makefile.am (readelf.o): Add elf/ia64.h.
1957 * Makefile.in: Rebuild.
1958 * readelf.c: Include elf/ia64.h.
1959 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1961 2000-04-17 Timothy Wall <twall@cygnus.com>
1963 * objdump.c (disassemble_data): Set octets per byte *after*
1964 resolving arch/mach for binary files.
1966 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1968 * arlex.l: Add directives to increase lex buffer size.
1970 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1971 already included by bucomm.h.
1973 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1975 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1976 `strftime' since strftime is not available on all systems.
1977 (process_mips_specific): Ditto.
1979 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1981 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1982 --enable-build-warnings option.
1983 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1984 * Makefile.in, configure: Re-generate.
1986 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1988 * addr2line.c: Update copyright.
1989 * objcopy.1: Likewise, and title.
1990 * strings.1: Likewise.
1992 * version.c (print_version): Add 2000.
1994 * rddbg.c (read_section_stabs_debugging_info): Don't use
1995 bfd_size_type for strx to avoid printf problems if BFD64.
1997 * bucomm.c: (report): Remove `static'.
1998 Move inclusion of stdarg.h/vararg.h from here.
1999 * bucomm.h: To here.
2000 (CONST): Change all occurences to const.
2001 (report): Declare it.
2002 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2003 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2004 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2006 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2007 Correct a typo in an error message.
2008 (do_quick_append): Use non_fatal instead of fprintf.
2009 (move_members): Use fatal instead of fprintf, exit.
2010 * coffdump.c (main): Same here.
2012 * dlltool.c (display): Delete.
2014 (inform): Use `report' instead of `display'.
2015 (rvaafter): Remove trailing \n from fatal error msg.
2017 (asm_prefix): Ditto.
2018 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2019 (def_name): Likewise.
2021 (scan_all_symbols): Likewise.
2022 (gen_lib_file): Likewise.
2023 (def_library): Likewise. Remove extra program_name too.
2024 (run): Remove \n from inform strings.
2025 (scan_drectve_symbols): Likewise.
2026 (add_excludes): Likewise.
2027 (scan_open_obj_file): Likewise.
2028 (gen_exp_file): Likewise.
2029 (gen_lib_file): Likewise.
2030 (process_duplicates): Likewise.
2032 * Makefile.am (dllwrap_SOURCES): Add version.c.
2033 * dllwrap.c (program_version): Delete.
2034 (print_version): Delete.
2035 (display): Always print trailing \n.
2037 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2040 (usage): gettext'ify.
2041 (long_options): Add missing initialisers.
2043 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2044 (select_output_format): Likewise.
2045 (powerpc_mangle_relocs): Likewise.
2046 (link_inputs): Likewise.
2048 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2049 (set_output_format): Likewise.
2050 (main): Use non_fatal instead of fprintf.
2051 (display_rel_file): Likewise.
2053 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2054 (slurp_dynamic_symtab): Same here.
2055 (disassemble_data): And here.
2056 (read_section_stabs): And here.
2057 (read_section_stabs): And here.
2058 (dump_bfd): And here.
2060 (objdump_sprintf): Use fatal instead of fprintf, exit.
2061 (disassemble_data): Same here.
2063 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2064 (parse_coff_struct_type): Same here.
2065 (parse_coff_enum_type): And here.
2066 (parse_coff): And here.
2067 * rddbg.c (read_debugging_info): And here.
2068 * size.c (main): And here.
2069 * windres.c (format_from_name): And here.
2070 * wrstabs.c (stab_write_symbol): Here too.
2071 (write_stabs_in_sections_debugging_info): And here.
2072 (stab_int_type): And here.
2073 (stab_struct_field): And here.
2074 (stab_typdef): And here.
2076 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2077 * srconv.c (main): Same here.
2078 * strings.c (main): And here.
2079 (integer_arg): And here.
2080 * sysdump.c (main): And here.
2082 2000-04-06 Timothy Wall <twall@cygnus.com>
2084 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2086 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2088 * readelf.c (decode_location_expression): Loop through multiple
2090 (read_and_display_attr): Pass in length.
2092 * readelf.c (read_and_display_attr): Add CU offset to references.
2093 (display_debug_info): Pass it in.
2095 2000-04-06 Nick Clifton <nickc@cygnus.com>
2097 * readelf.c (decode_ARM_machine_flags): New function.
2098 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2101 (get_machine_name): Catch EM_AVR
2103 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2105 * binutils.texi: Remove optional `=' from long options that have
2106 an `=' in the argument.
2107 * objcopy.1: Here too. Remove extra space on discard-all.
2109 * binutils.texi (objcopy): Mention --redefine-sym.
2110 * objcopy.1: Here too.
2113 * objcopy.c (parse_flags): Split off flag names from error message
2114 gettext as they are not translated.
2115 (copy_main): Similarly split off option name for --add-section,
2116 --set-section-flags, --change-section-vma, --change-section-lma
2118 Some white space changes.
2120 from Matthew Benjamin <matt@linuxbox.nu>
2121 * objcopy.c (struct redefine_node): New.
2122 (redefine_sym_list): New.
2123 (redefine_list_append): New.
2124 (lookup_sym_redefinition): New.
2125 (OPTION_REDEFINE_SYM): New.
2126 (copy_options): Add --redefine-sym option.
2127 (copy_usage): Mention it.
2128 (filter_symbols): Rename symbols on redefine_sym_list.
2129 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2130 (copy_main): Handle OPTION_REDEFINE_SYM.
2132 2000-04-04 H.J. Lu <hjl@gnu.org>
2134 * readelf.c (process_symbol_table): Correctly read in symbol
2135 versioning information.
2137 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2139 * po/binutils.pot: Regenerate.
2141 * addr2line.c (usage): Restore translated part of bug string.
2142 * ar.c (usage): Likewise.
2143 * nlmconv.c (show_usage): Likewise.
2144 * nm.c (usage): Likewise.
2145 * objcopy.c (copy_usage): Likewise.
2146 (strip_usage): Likewise.
2147 * objdump.c (usage): Likewise.
2148 * readelf.c (usage): Likewise.
2149 * size.c (usage): Likewise.
2150 * strings.c (usage): Likewise.
2151 * windres.c (usage): Likewise.
2153 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2154 (DEP): Quote when passing vars to sub-make. Add warning
2156 (DEP1): Rewrite for "gcc -MM".
2157 (CLEANFILES): Add DEP2.
2158 Update dependencies.
2159 * Makefile.in: Regenerate.
2161 2000-04-04 H.J. Lu <hjl@gnu.org>
2163 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2164 (arparse.h): Depend on arparse.c
2165 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2167 2000-04-03 H.J. Lu (hjl@gnu.org)
2169 * size.c (usage): Use REPORT_BUGS_TO.
2171 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2173 * bucomm.h: #include "bin-bugs.h"
2174 * addr2line.c (usage): Use REPORT_BUGS_TO.
2175 * ar.c (usage): Likewise.
2176 * nlmconv.c (show_usage): Likewise.
2177 * nm.c (usage): Likewise.
2178 (OPTION_TARGET): Define.
2179 (long_options): Use OPTION_TARGET rather than 200.
2182 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2183 (strip_usage): Likewise.
2184 * objdump.c (usage): Likewise.
2185 * readelf.c (usage): Likewise.
2186 * strings.c (usage): Likewise.
2187 * windres.c (usage): Likewise.
2189 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2191 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2193 2000-03-27 Nick Clifton <nickc@cygnus.com>
2195 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2196 string offsets in corrupt stabs entries.
2198 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2200 * readelf.c: Include elf/avr.h
2201 (dump_relocations): Add EM_AVR case.
2203 2000-03-09 Tim Waugh <twaugh@redhat.com>
2205 * strings.1: Correct '-bytes' to '--bytes'.
2207 2000-03-08 H.J. Lu <hjl@gnu.org>
2209 * Makefile.am (install-exec-local): Depend on
2210 install-binPROGRAMS for parallel make.
2211 * Makefile.in: Regenerated.
2213 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2215 From Brad Lucier <lucier@math.purdue.edu>:
2216 * readelf.c (process_dynamic_segment): Add cast to make sure
2217 argument to %* is int.
2219 2000-02-25 H.J. Lu <hjl@gnu.org>
2221 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2223 2000-02-24 Nick Clifton <nickc@cygnus.com>
2225 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2226 * configure: Regenerate.
2228 * dlltool.c: Add support for sh-pe and mips-pe targets.
2229 * rescoff.c: Add support for sh-pe and mips-pe targets.
2231 2000-02-23 H.J. Lu <hjl@gnu.org>
2233 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2235 2000-02-22 Nick Clifton <nickc@cygnus.com>
2237 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2239 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2241 From Brad Lucier <lucier@math.purdue.edu>:
2242 * readelf.c (process_version_sections): Add casts to make sure
2243 argument to %* is an int.
2244 (process_mips_specific): Add casts to make printf arguments match
2247 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2249 * objdump.c (dump_section_header): Change `opb' to unsigned.
2250 (find_symbol_for_address): Same here.
2251 (disassemble_data): And here. Change `addr_offset',
2252 `stop_offset', `nextstop_offset' to unsigned long.
2253 (dump_data): Change opb to unsigned.
2255 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2257 * resrc.c: Remove unmatched #if for cygwin.
2259 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2261 * binutils.texi: Document the change of flavor name from atpcs-special
2262 to special-atpcs to prevent name conflict in gdb.
2264 2000-02-08 Timothy Wall <twall@redhat.com>
2266 * objdump.c (show_line): Fix bug preventing printing of the very
2267 first line (line zero) of a file when interlisting source and
2268 assembly. Added option to print entire context from start of file
2269 when the first line from that file is encountered.
2271 2000-02-03 Timothy Wall <twall@redhat.com>
2273 * objdump.c (dump_section_header, find_symbol_for_address,
2274 show_line, disassemble_bytes, disassemble_data, dump_data):
2275 distinguish between octets and bytes.
2277 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2279 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2280 check to unresolved symbols.
2281 (print_symbol_info_sysv): Ditto.
2282 (print_symbol_info_posix): Ditto.
2284 * binutils.texi: Document new 'V' symclass flag for nm.
2286 2000-01-27 Nick Clifton <nickc@redhat.com>
2288 * binutils.texi (objdump): Document new ARM specific
2289 disassembler options.
2291 * objdump.c (usage): Call disassembler_usage().
2293 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2295 * readelf.c (get_dynamic_flags): Return buff.
2296 (process_dynamic_segment): Don't pass error strings to printf
2298 (read_and_display_attr): Use lx and ld to print longs.
2299 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2303 2000-01-17 Nick Clifton <nickc@cygnus.com>
2305 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2307 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2309 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2311 (debug_tag_type): Here too.
2312 * ieee.c (ieee_builtin_type): And here.
2313 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2315 2000-01-13 Nick Clifton <nickc@cygnus.com>
2317 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2320 2000-01-11 Nick Clifton <nickc@cygnus.com>
2322 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2324 2000-01-10 Nick Clifton <nickc@cygnus.com>
2326 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2328 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2330 * windres.c (long_options): Add --use-temp-file and
2331 --no-use-temp-file options.
2335 * windres.h: Update read_rc_file prototype.
2337 * resrc.c (cpp_temp_file): New static variable.
2338 (istream_type): New static variable.
2339 (close_pipe): Delete function.
2340 (run_cmd): New static function.
2341 (open_input_stream): New static function.
2342 (close_input_stream): New static function.
2343 (look_for_default): Handle DOS directory separator. Use
2344 open_input_stream instead of popen.
2345 (read_rc_file): Likewise.
2347 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2350 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2352 * dlltool.c (create_compat_implib): New variable.
2353 (gen_exp_file): Use.
2354 (make_one_lib_file): Use.
2355 (long_options): Add --compat-implib option.
2359 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2360 (main): Use. Don't look for "32" in cygwin and mingw target names.
2362 2000-01-03 Nick Clifton <nickc@cygnus.com>
2364 * binutils.texi: Document new, ARM specific disassembler
2365 command line switch "-M force-thumb".
2367 For older changes see ChangeLog-9899
2373 version-control: never