1 2001-01-11 Peter Targett <peter.targett@arccores.com>
3 * readelf.c (dump_relocations): Include selection with EM_ARC.
4 (get_machine_name) Update name to "ARC".
6 2001-01-09 Nick Clifton <nickc@redhat.com>
8 * Makefile.am: Add rule to build objdump.o from objdump.c and
10 * Makefile.in: Regenerate.
12 * configure.in: Define OBJDUMP_DEFS. Default to empty.
13 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
14 -DDISASSEMBLER_NEEDS_RELOCS.
15 * configure: Regenerate.
17 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
18 is defined read in the relocs even if dump_reloc_info is
21 2001-01-07 Philip Blundell <philb@gnu.org>
23 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
27 2000-12-19 Nick Clifton <nickc@redhat.com>
29 * dlltool.c: Add missing support for arm-epoc-pe.
30 * configure.in: Add missing support for arm-epoc-pe.
31 * configure: Regenerate.
33 2000-12-15 Nick Clifton <nickc@redhat.com>
35 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
36 Mode parts of the x86 port.
38 2000-12-04 Andreas Jaeger <aj@suse.de>
40 * readelf.c (guess_is_rela): Add EM_X86_64.
41 (dump_relocations): Add EM_X86_64.
42 (get_machine_name): Add EM_X86_64.
43 Include "elf/x86-64.h".
45 2000-12-12 Nick Clifton <nickc@redhat.com>
47 * readelf.c: Fix formatting.
49 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
51 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
53 2000-12-07 Andrew Haley <aph@redhat.com>
55 * readelf.c (display_debug_frames): Only display columns that are
56 referenced by the frame debug info.
58 2000-12-05 Nick Clifton <nickc@redhat.com>
60 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
62 2000-12-04 Jason Merrill <jason@redhat.com>
64 * readelf.c (process_section_headers): Handle linkonce.wi sections.
65 (display_debug_section): Likewise.
66 (display_debug_info): Display CU header before bailing.
68 2000-12-01 Chris Demetriou <cgd@sibyte.com>
70 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
71 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
72 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
74 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
77 * readelf.c (get_machine_flags): Add case for
80 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
82 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
84 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
86 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
87 Change sourceware.cygnus.com to sources.redhat.com.
88 Fix typo for "amongst".
90 2000-11-28 Nick Clifton <nickc@redhat.com>
92 * strip.1 (COPYING): Mention that the GNU Free Documentation
93 License is present in the sources, but not the output, and
94 also available from the GNU website.
95 (GNU Free Documentation License): Comment out this section.
104 * addr2line.1: Ditto.
106 2000-11-27 DJ Delorie <dj@redhat.com>
108 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
109 (parse_args): Support -wf option.
110 (process_section_headers): Ditto.
111 (debug_displays): Ditto.
112 (display_debug_frames): New, dump *_frame sections.
113 (frame_need_space): Support for above.
114 (frame_display_row): Ditto.
115 * binutils.texi: Document it.
117 2000-11-24 Nick Clifton <nickc@redhat.com>
119 * NEWS: Announce support for v5t, v5te and XScale.
121 2000-11-22 Nick Clifton <nickc@redhat.com>
123 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
124 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
125 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
126 (get_elf_section_flags: Add SHF_GROUP.
127 (process_section_headers): Adjust output for 32-bit binaries
128 to look nice on an 80 column terminal.
130 2000-11-20 H.J. Lu <hjl@gnu.org>
132 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
135 2000-11-17 Richard Henderson <rth@redhat.com>
137 * readelf.c (display_debug_lines): Adjust last change to
138 use sizeof (external->li_length).
140 2000-11-17 Richard Henderson <rth@redhat.com>
142 * readelf.c (display_debug_lines): Fix section length check
143 and end_of_sequence computation.
145 2000-11-06 Nick Clifton <nickc@redhat.com>
147 * binutils.texi: Add GNU Free Documentation License.
148 * objcopy.1: Add GNU Free Documentation License.
149 * objdump.1: Add GNU Free Documentation License.
150 * addr2line.1: Add GNU Free Documentation License.
151 * ar.1: Add GNU Free Documentation License.
152 * nlmconv.1: Add GNU Free Documentation License.
153 * nm.1: Add GNU Free Documentation License.
154 * ranlib.1: Add GNU Free Documentation License.
155 * size.1: Add GNU Free Documentation License.
156 * strings.1: Add GNU Free Documentation License.
157 * strip.1: Add GNU Free Documentation License.
159 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
161 * objcopy.c (--srec-len=nn): New parameter to set the
162 maximum length of generated Srecords.
163 (--srec-forceS3): New parameter that restricts the generation of
164 Srecords to type S3 only.
165 * binutils.texi: Document new command line switches.
166 * objcopy.1: Docuemnt the new command line switches.
167 * NEWS: Announce the existence of the new command line switches.
169 2000-10-31 Nick Clifton <nickc@redhat.com>
171 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
172 code. Add Eric Chrisopher as maintainer of MN10300 port.
174 2000-10-12 Roger Sayle <roger@metaphorics.com>
176 * Make comma after string after icon/control optional.
178 2000-09-13 Anders Norlander <anorland@acc.umu.se>
180 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
182 * NEWS: Mention support for MIPS32.
184 2000-09-08 Nick Clifton <nickc@redhat.com>
186 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
188 2000-09-07 H.J. Lu <hjl@gnu.org>
190 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
191 * configure: Rebuild.
193 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
195 * configure: Rebuilt with new libtool.m4.
197 2000-09-05 Nick Clifton <nickc@redhat.com>
199 * aclocal.m4: Regenerate.
200 * config.in: Regenerate.
201 * configure: Regenerate.
203 2000-09-04 Todd Vierling <tv@wasabisystems.com>
205 * strip.1: Fix stray '\' in -o formatting.
207 2000-09-02 Nick Clifton <nickc@redhat.com>
209 * configure.in: Increase version number to 2.10.91.
210 * configure: Regenerate.
211 * aclocal.m4: Regenerate.
212 * config.in: Regenerate.
213 * po/binutils.pot: Regenerate.
215 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
217 * acinclude.m4: Include libtool and gettext macros from the
219 * aclocal.m4, configure: Rebuilt.
221 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
223 * resrc.c (close_input_stream): Delete extraneous logic
225 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
227 * NEWS: Mention support for CRIS.
229 2000-08-21 Nick Clifton <nickc@redhat.com>
231 * addr2line.c: Changed email address for Ulrich Lauther.
233 2000-08-17 Christopher C. Chimelis <chris@debian.org>
235 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
237 2000-08-17 Nick Clifton <nickc@redhat.com>
239 * readelf.c (display_debug_pubnames): Only issue warning
240 message once. Terminate message with a new line.
241 (display_debug_aranges): Only display version 2 debug info.
243 2000-08-14 Todd Vierling <tv@wasabisystems.com>
245 * objcopy.c (strip_main): Silently accept -d as an alias for -g
246 for compatability with old BSD systems.
248 2000-08-14 Jason Eckhardt <jle@cygnus.com>
250 * NEWS: Mention i860 support.
252 2000-08-11 Carlo Wood <carlo@alinoe.com>
254 * addr2line.c (main): Add const to char *.
256 2000-08-11 Geoff Keating <geoffk@cygnus.com>
258 * ar.c (main): Don't crash if called with no arguments
259 or only '-X32_64' as an argument.
261 2000-08-08 DJ Delorie <dj@redhat.com>
263 * resrc.c: use "gcc -xc" instead of -xc-header
265 2000-08-05 Jason Eckhardt <jle@cygnus.com>
267 * readelf.c (elf/i860.h): Include.
268 (dump_relocations): Add recognition of i860 architecture.
269 (guess_is_rela): Add recognition of i860 architecture.
271 2000-08-03 Nick Clifton <nickc@cygnus.com>
273 * MAINTAINERS: Add information about CGEN maintainers.
275 2000-07-26 Geoff Keating <geoffk@cygnus.com>
277 * nm.c (main): Ignore '-X32_64' as an option.
278 * ar.c (main): Likewise.
279 * binutils.texi (nm): Document new option.
282 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
284 * rdcoff.c (external_coff_symbol_p): K&R-ise.
286 2000-07-20 H.J. Lu <hjl@gnu.org>
288 * binutils/binutils.texi: Put back "@end table" deleted by
291 2000-07-05 Kenneth Block <krblock@computer.org>
293 * binutils/nm.c: Add optional style to demangle switch.
294 * binutils/objdump.c: Add optional style to demangle switch.
295 * binutils/addr2line.c: Add optional style to demangle switch.
296 * binutils/binutils.texi: Document optional style to demangle
299 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
301 * MAINTAINERS: Add self as CRIS port maintainer.
302 * readelf.c: Include elf/cris.h.
303 (guess_is_rela): Handle EM_CRIS.
304 (dump_relocations): Ditto.
305 (get_machine_name): Ditto.
306 * Makefile.am: Rebuild dependencies.
307 * Makefile.in: Regenerate.
308 * po/binutils.pot: Regenerate.
310 2000-07-19 H.J. Lu <hjl@gnu.org>
312 * readelf.c (get_dynamic_type): Change "AUXILARY" to
314 (process_dynamic_segment): Print out strings for DT_CONFIG,
315 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
317 2000-07-19 Mark Kettenis <kettenis@gnu.org>
319 * nm.c (usage): Change output of `nm --help' to include a
320 description of the purpose of the program and a detailed
321 description of the accepted options.
323 2000-07-19 H.J. Lu <hjl@gnu.org>
325 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
328 2000-07-19 H.J. Lu <hjl@gnu.org>
330 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
332 2000-07-19 H.J. Lu <hjl@gnu.org>
334 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
336 (process_dynamic_segment): Likewise.
338 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
339 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
340 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
341 DF_1_NODUMP and DF_1_CONLFAT.
343 2000-07-18 Nick Clifton <nickc@cygnus.com>
345 * binutils.texi (readelf): Fix spelling typo.
347 2000-07-11 Mark Kettenis <kettenis@gnu.org>
349 * objdump.c (usage): Make output of `objdump --help' more
350 consistent with the rest of the GNU world. Add a line describing
351 the purpose of the program.
353 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
355 * stabs.c (parse_stab_range_type): Cast to proper type to fix
358 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
360 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
362 (process_symbol_table): Ditto.
363 (procesS_extended_line_op): Ditto.
364 (display_debug_lines): Ditto.
365 (display_debug_pubnames): Ditto.
366 (read_and_display_attr): Ditto.
368 2000-07-09 Nick Clifton <nickc@cygnus.com>
370 * MAINTAINERS: Add several more port specific maintainers.
372 2000-07-05 Nick Clifton <nickc@cygnus.com>
374 * MAINTAINERS: Add blanket write privs for Michael Meissner.
376 2000-06-05 DJ Delorie <dj@redhat.com>
380 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
382 * dllwrap.c: Changed mistaken dyn_string_append() calls
383 to dyn_string_append_cstr().
385 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
387 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
388 struct debug_type stores size in bytes.
390 2000-07-01 Alan Modra <alan@linuxcare.com.au>
392 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
393 (CLEANFILES): Add DEPA.
394 * Makefile.in: Regenerate.
396 2000-06-27 Alan Modra <alan@linuxcare.com.au>
398 * ar.c: Revert incorrect 2000-06-25 patch.
399 * bucomm.c: Likewise.
401 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
403 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
404 (external_coff_symbol_p): New function.
405 (parse_coff): Use it.
407 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
409 * ar.c (normalize): Advance past both characters in a DOS based
410 <letter>: filepath prefix.
412 * bucomm.c (make_tempname): Likewise.
414 2000-06-24 Nick Clifton <nickc@cygnus.com>
416 * objdump.c (usage): Fix description of --stabs switch.
418 2000-06-22 Alan Modra <alan@linuxcare.com.au>
420 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
422 * Makefile.in: Regenerate.
424 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
426 * ar.c (normalize): Correct pointer comparison when checking for
429 * bucomm.c (make_tempname): Likewise.
431 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
432 and search for backslashes in the original pathname.
433 (ieee_add_bb11): Likewise.
435 2000-06-18 Nick Clifton <nickc@redhat.com>
437 * ar.c (print_contents): Improve verbose message.
439 2000-06-15 H.J. Lu <hjl@gnu.org>
441 * dyn-string.c: Removed. Not needed with dyn-string.c in
443 * dyn-string.h: Likewise.
445 * Makefile.am: Remove references to dyn-string.c and
446 dyn-string.h. Rebuild dependency.
447 * Makefile.in: Rebuild.
449 2000-06-15 H.J. Lu <hjl@gnu.org>
451 * binutils.texi: Put a warning on copying relocatable object
452 files between two different formats.
454 2000-06-13 DJ Delorie <dj@cygnus.com>
456 * rcparse.y (control): ICON controls take an id as the first
457 parameter, not an optional string. Also, call new convenience
458 function that takes res_id's.
459 * resrc.c (define_control): missing text means zero-length string,
461 (define_icon_control): New.
462 * windres.h: declare define_icon_control.
464 2000-06-13 H.J. Lu <hjl@gnu.org>
466 * configure: Regenerate.
468 2000-06-08 David O'Brien <obrien@FreeBSD.org>
470 * configure.in (VERSION): Update to show this is the CVS mainline.
472 2000-06-02 David O'Brien <obrien@FreeBSD.org>
474 * strings.c (isgraphic): Interpret <TAB> as a printable character,
475 analogous to <SPACE>.
477 2000-05-30 Alan Modra <alan@linuxcare.com.au>
479 * objdump.c (display_target_list): Use bfd_close_all_done, not
480 bfd_close to fix crash caused by 2000-05-24 change.
482 2000-05-25 DJ Delorie <dj@cygnus.com>
484 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
486 2000-05-26 Alan Modra <alan@linuxcare.com.au>
488 * Makefile.am: Update dependencies with "make dep-am"
489 * Makefile.in: Regenerate.
491 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
493 * ar.c: Include filenames.h.
494 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
495 and drive letters in file names.
496 (main): Support backslashes and drive letters in argv[0]. Drop
497 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
498 FILENAME_CMP instead of strcmp to compare file names.
499 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
501 (do_quick_append) [__GO32__]: Ditto.
502 (get_pos_bfd, delete_members, move_members, replace_members):
503 Compare file names with FILENAME_CMP.
505 * bucomm.c: Include filenames.h.
506 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
507 forward/backward slashes and drive letters in file names.
509 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
510 mixed forward/backward slashes and drive letters in file names.
512 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
513 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
516 * objcopy.c: Include filenames.h.
517 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
518 before comparing to "strip".
519 Use FILENAME_CMP to compare file names.
521 * arsup.c: Include filenames.h.
522 (map_over_list, ar_delete, ar_replace, ar_extract): Use
523 FILENAME_CMP to compare file names.
524 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
525 the temporary file name.
527 * configure.in: Check for setmode.
528 * configure: Regenerate.
530 2000-05-24 Alan Modra <alan@linuxcare.com.au>
532 * objdump.c (display_target_list): Close the bfd.
533 (display_info_table): Likewise.
535 2000-05-14 H.J. Lu (hjl@gnu.org)
537 * objcopy.c (filter_symbols): Don't strip global symbols in
538 relocatable object files.
540 2000-05-14 Alan Modra <alan@linuxcare.com.au>
542 * size.c (usage): Associate short options with corresponding long
543 option to give a clue as to their function.
545 2000-05-14 Philippe De Muyter <phdm@macqel.be>
547 * size.c (main): Accept and ignore `-f' option.
549 2000-05-13 Alan Modra <alan@linuxcare.com.au>
551 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
552 bindtextdomain): Replace defines with those from intl/libgettext.h
553 to quieten gcc warnings.
555 2000-05-12 H.J. Lu <hjl@gnu.org>
557 * nlmconv.c (temp_filename): Removed.
559 * nlmconv.c (link_inputs): Use make_temp_file () instead of
561 * objdump.c (display_target_list): Likewise.
562 (display_info_table): Likewise.
564 2000-05-08 Alan Modra <alan@linuxcare.com.au>
566 * objcopy.c (setup_section): Add const and gettext calls for err.
568 2000-05-02 H.J. Lu <hjl@gnu.org>
570 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
571 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
572 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
573 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
574 and ELFOSABI_OPENBSD.
576 2000-05-02 Kazu Hirata <kazu@hxi.com>
578 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
579 * srconv.c: Likewise.
580 * sysdump.c: Likewise.
582 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
584 * readelf.c (guess_is_rela): AVR uses RELA relocations.
585 (get_machine_name): machine name for EM_AVR added.
587 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
588 David Mosberger <davidm@hpl.hp.com>
590 * Makefile.am (readelf.o): Add elf/ia64.h.
591 * Makefile.in: Rebuild.
592 * readelf.c: Include elf/ia64.h.
593 (guess_is_rela, dump_relocations): Handle EM_IA_64.
595 2000-04-17 Timothy Wall <twall@cygnus.com>
597 * objdump.c (disassemble_data): Set octets per byte *after*
598 resolving arch/mach for binary files.
600 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
602 * arlex.l: Add directives to increase lex buffer size.
604 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
605 already included by bucomm.h.
607 2000-04-10 Philippe De Muyter <phdm@macqel.be>
609 * readelf (dynamic_segment_mips_val): Call `sprintf', not
610 `strftime' since strftime is not available on all systems.
611 (process_mips_specific): Ditto.
613 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
615 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
616 --enable-build-warnings option.
617 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
618 * Makefile.in, configure: Re-generate.
620 2000-04-06 Alan Modra <alan@linuxcare.com.au>
622 * addr2line.c: Update copyright.
623 * objcopy.1: Likewise, and title.
624 * strings.1: Likewise.
626 * version.c (print_version): Add 2000.
628 * rddbg.c (read_section_stabs_debugging_info): Don't use
629 bfd_size_type for strx to avoid printf problems if BFD64.
631 * bucomm.c: (report): Remove `static'.
632 Move inclusion of stdarg.h/vararg.h from here.
634 (CONST): Change all occurences to const.
635 (report): Declare it.
636 (bfd_fatal): Add ATTRIBUTE_NORETURN.
637 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
638 (non_fatal): Add ATTRIBUTE_PRINTF_1.
640 * ar.c (main): Use fatal or non_fatal instead of fprintf.
641 Correct a typo in an error message.
642 (do_quick_append): Use non_fatal instead of fprintf.
643 (move_members): Use fatal instead of fprintf, exit.
644 * coffdump.c (main): Same here.
646 * dlltool.c (display): Delete.
648 (inform): Use `report' instead of `display'.
649 (rvaafter): Remove trailing \n from fatal error msg.
652 (yyerror): Replace `warn' with `non_fatal', and remove \n.
653 (def_name): Likewise.
655 (scan_all_symbols): Likewise.
656 (gen_lib_file): Likewise.
657 (def_library): Likewise. Remove extra program_name too.
658 (run): Remove \n from inform strings.
659 (scan_drectve_symbols): Likewise.
660 (add_excludes): Likewise.
661 (scan_open_obj_file): Likewise.
662 (gen_exp_file): Likewise.
663 (gen_lib_file): Likewise.
664 (process_duplicates): Likewise.
666 * Makefile.am (dllwrap_SOURCES): Add version.c.
667 * dllwrap.c (program_version): Delete.
668 (print_version): Delete.
669 (display): Always print trailing \n.
671 (delete_temp_files): Use warn instead of fprintf. Use gettext.
674 (usage): gettext'ify.
675 (long_options): Add missing initialisers.
677 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
678 (select_output_format): Likewise.
679 (powerpc_mangle_relocs): Likewise.
680 (link_inputs): Likewise.
682 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
683 (set_output_format): Likewise.
684 (main): Use non_fatal instead of fprintf.
685 (display_rel_file): Likewise.
687 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
688 (slurp_dynamic_symtab): Same here.
689 (disassemble_data): And here.
690 (read_section_stabs): And here.
691 (read_section_stabs): And here.
692 (dump_bfd): And here.
694 (objdump_sprintf): Use fatal instead of fprintf, exit.
695 (disassemble_data): Same here.
697 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
698 (parse_coff_struct_type): Same here.
699 (parse_coff_enum_type): And here.
700 (parse_coff): And here.
701 * rddbg.c (read_debugging_info): And here.
702 * size.c (main): And here.
703 * windres.c (format_from_name): And here.
704 * wrstabs.c (stab_write_symbol): Here too.
705 (write_stabs_in_sections_debugging_info): And here.
706 (stab_int_type): And here.
707 (stab_struct_field): And here.
708 (stab_typdef): And here.
710 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
711 * srconv.c (main): Same here.
712 * strings.c (main): And here.
713 (integer_arg): And here.
714 * sysdump.c (main): And here.
716 2000-04-06 Timothy Wall <twall@cygnus.com>
718 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
720 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
722 * readelf.c (decode_location_expression): Loop through multiple
724 (read_and_display_attr): Pass in length.
726 * readelf.c (read_and_display_attr): Add CU offset to references.
727 (display_debug_info): Pass it in.
729 2000-04-06 Nick Clifton <nickc@cygnus.com>
731 * readelf.c (decode_ARM_machine_flags): New function.
732 (get_machine_flags): Call decode_ARM_machine_flags for ARM
735 (get_machine_name): Catch EM_AVR
737 2000-04-05 Alan Modra <alan@linuxcare.com.au>
739 * binutils.texi: Remove optional `=' from long options that have
740 an `=' in the argument.
741 * objcopy.1: Here too. Remove extra space on discard-all.
743 * binutils.texi (objcopy): Mention --redefine-sym.
744 * objcopy.1: Here too.
747 * objcopy.c (parse_flags): Split off flag names from error message
748 gettext as they are not translated.
749 (copy_main): Similarly split off option name for --add-section,
750 --set-section-flags, --change-section-vma, --change-section-lma
752 Some white space changes.
754 from Matthew Benjamin <matt@linuxbox.nu>
755 * objcopy.c (struct redefine_node): New.
756 (redefine_sym_list): New.
757 (redefine_list_append): New.
758 (lookup_sym_redefinition): New.
759 (OPTION_REDEFINE_SYM): New.
760 (copy_options): Add --redefine-sym option.
761 (copy_usage): Mention it.
762 (filter_symbols): Rename symbols on redefine_sym_list.
763 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
764 (copy_main): Handle OPTION_REDEFINE_SYM.
766 2000-04-04 H.J. Lu <hjl@gnu.org>
768 * readelf.c (process_symbol_table): Correctly read in symbol
769 versioning information.
771 2000-04-04 Alan Modra <alan@linuxcare.com.au>
773 * po/binutils.pot: Regenerate.
775 * addr2line.c (usage): Restore translated part of bug string.
776 * ar.c (usage): Likewise.
777 * nlmconv.c (show_usage): Likewise.
778 * nm.c (usage): Likewise.
779 * objcopy.c (copy_usage): Likewise.
780 (strip_usage): Likewise.
781 * objdump.c (usage): Likewise.
782 * readelf.c (usage): Likewise.
783 * size.c (usage): Likewise.
784 * strings.c (usage): Likewise.
785 * windres.c (usage): Likewise.
787 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
788 (DEP): Quote when passing vars to sub-make. Add warning
790 (DEP1): Rewrite for "gcc -MM".
791 (CLEANFILES): Add DEP2.
793 * Makefile.in: Regenerate.
795 2000-04-04 H.J. Lu <hjl@gnu.org>
797 * Makefile.am (GENERATED_HFILES): Add rcparse.h
798 (arparse.h): Depend on arparse.c
799 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
801 2000-04-03 H.J. Lu (hjl@gnu.org)
803 * size.c (usage): Use REPORT_BUGS_TO.
805 2000-04-03 Alan Modra <alan@linuxcare.com.au>
807 * bucomm.h: #include "bin-bugs.h"
808 * addr2line.c (usage): Use REPORT_BUGS_TO.
809 * ar.c (usage): Likewise.
810 * nlmconv.c (show_usage): Likewise.
811 * nm.c (usage): Likewise.
812 (OPTION_TARGET): Define.
813 (long_options): Use OPTION_TARGET rather than 200.
816 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
817 (strip_usage): Likewise.
818 * objdump.c (usage): Likewise.
819 * readelf.c (usage): Likewise.
820 * strings.c (usage): Likewise.
821 * windres.c (usage): Likewise.
823 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
825 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
827 2000-03-27 Nick Clifton <nickc@cygnus.com>
829 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
830 string offsets in corrupt stabs entries.
832 2000-03-27 Alan Modra <alan@linuxcare.com.au>
834 * readelf.c: Include elf/avr.h
835 (dump_relocations): Add EM_AVR case.
837 2000-03-09 Tim Waugh <twaugh@redhat.com>
839 * strings.1: Correct '-bytes' to '--bytes'.
841 2000-03-08 H.J. Lu <hjl@gnu.org>
843 * Makefile.am (install-exec-local): Depend on
844 install-binPROGRAMS for parallel make.
845 * Makefile.in: Regenerated.
847 2000-02-27 Ian Lance Taylor <ian@zembu.com>
849 From Brad Lucier <lucier@math.purdue.edu>:
850 * readelf.c (process_dynamic_segment): Add cast to make sure
851 argument to %* is int.
853 2000-02-25 H.J. Lu <hjl@gnu.org>
855 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
857 2000-02-24 Nick Clifton <nickc@cygnus.com>
859 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
860 * configure: Regenerate.
862 * dlltoolc.: Add support for sh-pe and mips-pe targets.
863 * rescoff.c: Add support for sh-pe and mips-pe targets.
865 2000-02-23 H.J. Lu <hjl@gnu.org>
867 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
869 2000-02-22 Nick Clifton <nickc@cygnus.com>
871 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
873 2000-02-22 Ian Lance Taylor <ian@zembu.com>
875 From Brad Lucier <lucier@math.purdue.edu>:
876 * readelf.c (process_version_sections): Add casts to make sure
877 argument to %* is an int.
878 (process_mips_specific): Add casts to make printf arguments match
881 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
883 * objdump.c (dump_section_header): Change `opb' to unsigned.
884 (find_symbol_for_address): Same here.
885 (disassemble_data): And here. Change `addr_offset',
886 `stop_offset', `nextstop_offset' to unsigned long.
887 (dump_data): Change opb to unsigned.
889 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
891 * resrc.c: Remove unmatched #if for cygwin.
893 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
895 * binutils.texi: Document the change of flavor name from atpcs-special
896 to special-atpcs to prevent name conflict in gdb.
898 2000-02-08 Timothy Wall <twall@redhat.com>
900 * objdump.c (show_line): Fix bug preventing printing of the very
901 first line (line zero) of a file when interlisting source and
902 assembly. Added option to print entire context from start of file
903 when the first line from that file is encountered.
905 2000-02-03 Timothy Wall <twall@redhat.com>
907 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
908 show_line, disassemble_bytes, disassemble_data, dump_data):
909 distinguish between octets and bytes.
911 2000-01-27 Thomas de Lellis <tdel@windriver.com>
913 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
914 check to unresolved symbols.
915 (print_symbol_info_sysv): Ditto.
916 (print_symbol_info_posix): Ditto.
918 * binutils.texi: Document new 'V' symclass flag for nm.
920 2000-01-27 Nick Clifton <nickc@redhat.com>
922 * binutils.texi (objdump): Document new ARM specific
923 disassembler options.
925 * objdump.c (usage): Call disassembler_usage().
927 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
929 * readelf.c (get_dynamic_flags): Return buff.
930 (process_dynamic_segment): Don't pass error strings to printf
932 (read_and_display_attr): Use lx and ld to print longs.
933 (process_corefile_note_segment): Cast bfd_vma to unsigned long
937 2000-01-17 Nick Clifton <nickc@cygnus.com>
939 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
941 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
943 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
945 (debug_tag_type): Here too.
946 * ieee.c (ieee_builtin_type): And here.
947 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
949 2000-01-13 Nick Clifton <nickc@cygnus.com>
951 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
954 2000-01-11 Nick Clifton <nickc@cygnus.com>
956 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
958 2000-01-10 Nick Clifton <nickc@cygnus.com>
960 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
962 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
964 * windres.c (long_options): Add --use-temp-file and
965 --no-use-temp-file options.
969 * windres.h: Update read_rc_file prototype.
971 * resrc.c (cpp_temp_file): New static variable.
972 (istream_type): New static variable.
973 (close_pipe): Delete function.
974 (run_cmd): New static function.
975 (open_input_stream): New static function.
976 (close_input_stream): New static function.
977 (look_for_default): Handle DOS directory separator. Use
978 open_input_stream instead of popen.
979 (read_rc_file): Likewise.
981 * binutils.texi: Document --use-temp-file, --no-use-temp-file
984 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
986 * dlltool.c (create_compat_implib): New variable.
988 (make_one_lib_file): Use.
989 (long_options): Add --compat-implib option.
993 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
994 (main): Use. Don't look for "32" in cygwin and mingw target names.
996 2000-01-03 Nick Clifton <nickc@cygnus.com>
998 * binutils.texi: Document new, ARM specific disassembler
999 command line switch "-M force-thumb".For older changes see ChangeLog-9697
1001 For older changes see ChangeLog-9899
1007 version-control: never