1 2001-06-23 Andreas Jaeger <aj@suse.de>
3 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
5 (unw_decode_x2): Likewise.
6 (unw_decode_x3): Likewise.
7 (unw_decode_x4): Likewise.
9 2001-06-23 Ben Elliston <bje@redhat.com>
11 * MAINTAINERS: Add myself as M88k maintainer.
13 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
15 * objcopy.c (strip_main): Support -o or --output-file command lien
18 2001-06-19 H.J. Lu <hjl@gnu.org>
20 * doc/Makefile.in: Regenerated.
22 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
24 * readelf.c: Restore formatting.
26 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
28 * Makefile.am: Move documentation into doc subdirectory.
29 * Makefile.in: Regenerated.
30 * binutils.texi: Move into doc subdirectory.
31 * addr2line.1: Removed.
33 * dlltool.1: Likewise.
34 * nlmconv.1: Likewise.
36 * objcopy.1: Likewise.
37 * objdump.1: Likewise.
39 * readelf.1: Likewise.
41 * strings.1: Likewise.
43 * windres.1: Likewise.
44 * cxxfilt.man: Likewise.
46 * doc/Makefile.am: New file.
47 * doc/Makefile.in: Generate.
49 2001-06-09 Alan Modra <amodra@bigpond.net.au>
51 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
53 2001-06-01 Alan Modra <amodra@bigpond.net.au>
55 * MAINTAINERS: Update my email address.
57 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
59 * objcopy.c: Add new switches: --keep-global-symbol,
60 --keep-symbols, --localize-symbols, --keep-global-symbols and
62 * binutils.texi: Document new switches.
63 * objcopy.1: Regenerate.
64 * NEWS: Announce new feature.
66 2001-05-28 Andreas Jaeger <aj@suse.de>
68 * readelf.c (display_debug_frames): Fix warnings: Remove unused
69 variables, fix format strings.
71 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
73 * objdump.c (disassemble_bytes): Remove section VMA adjustment
74 when computing the address of the line to show.
76 2001-05-16 Richard Henderson <rth@redhat.com>
78 * readelf.c (do_debug_frames_interp): New.
79 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
80 (byte_get_big_endian): Likewise.
81 (parse_args) ['F']: Set do_debug_frames_interp.
82 (Frame_Chunk): Make data_factor signed, add fde_encoding.
83 (frame_display_row): Don't trunc pc_begin to int.
84 (size_of_encoded_value): New.
85 (display_debug_frames): Handle 64-bit targets. Print raw data
86 unless do_debug_frames_interp.
87 (debug_displays): Remove duplicate .debug_frame.
89 2001-05-15 Ralf Baechle <ralf@gnu.org>
91 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
92 The former constant was never in active use and is used otherwise
95 2001-05-11 Jakub Jelinek <jakub@redhat.com>
97 * readelf.c (process_unwind): Print all unwind sections, not just
100 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
102 * readelf.c (process_unwind): Remove const specifier.
104 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
106 * strings.c (isgraphic): Do not use isascii() unless it is needed
107 for isprint() to work.
108 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
110 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
112 * NEWS: Announce support for OpenRISC.
114 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
116 * dlltool.c (do_default_excludes): Initialise to true.
118 2001-04-10 Alan Modra <amodra@one.net.au>
120 * MAINTAINERS: Update my email address
121 * nm.c (print_symbol_info_bsd): Use a simple printf string.
123 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
125 * readelf.c (display_debug_lines): Fix typo for "Prologue".
127 2001-03-30 H.J. Lu <hjl@gnu.org>
129 * readelf.c (process_unwind): Just return if do_unwind is 0.
131 2001-03-28 Roger Sayle <roger@metaphorics.com>
133 * dlltool.c (make_one_lib_file): Fix section flags for
134 .text, .data and .bss in stub ds*.o files to match those
137 2001-03-29 H.J. Lu <hjl@gnu.org>
139 * readelf.c (process_unwind): Only do unwind sections for
142 2001-03-28 H.J. Lu <hjl@gnu.org>
144 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
145 * Makefile.in: Regenerate.
147 2001-03-26 Andreas Jaeger <aj@suse.de>
149 * binutils.texi (nm): Fix texi syntax.
151 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
153 * binutils.texi: Put @c man begin and @c man end indications
154 to generate man pages using texi2pod and pod2man. Put @c man title
155 to identify each man. Add SEEALSO entries.
156 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
157 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
159 (*.1): Build the man pages from binutils.texi.
160 * Makefile.in: Regenerate.
162 2001-03-13 Eric Kohl <ekohl@rz-online.de>
164 * defparse.y (opt_equal_name): allow "." in name.
165 * dlltool.c (def_exports): Added ability to generate forwarded exports.
166 (gen_exp_file): Likewise.
168 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
170 * NEWS: Document addition of -B switch to objcopy.
171 * binutils.texi: Document addition of -B switch to objcopy.
172 * objcopy.c: (copy_options): Add --binary-architecture.
173 (copy_usage): Document -B/--binary-architecture.
174 (copy_main): Support -B/--binary-architecture. Set
175 bfd_external_binary_architecture.
177 2001-03-11 Andreas Jaeger <aj@suse.de>
179 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
180 (dump_relocations): Likewise.
181 (get_machine_name): Likewise.
183 2001-02-28 Nick Clifton <nickc@redhat.com>
185 * readelf.c: (struct unw_aux_info): Remove const modifier for
187 (process_unwind): Remove non-K&R compliant LHS type cast in call
188 to GET_DATA_ALLOC macro.
190 2001-02-28 Philip Blundell <pb@futuretv.com>
192 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
193 ABI is in use; remove ambiguity between the "unknown" EABI and
194 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
195 renamed EF_xx constants.
197 2001-02-27 Alan Modra <alan@linuxcare.com.au>
199 * configure.in (BFD_VERSION): New.
200 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
201 * configure: Regenerate.
202 * Makefile.am: Run "make dep-am"
203 * Makefile.in: Regenerate.
205 2001-02-14 Nick Clifton <nickc@redhat.com>
207 * MAINTAINERS: Add "Obvious Fix" rule.
209 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
211 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
212 literal concatenation.
214 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
216 * readelf.c (struct unw_aux_info): Remove const from the info member.
217 (process_unwind): Don't type-cast the third argument to the
218 GET_DATA_ALLOC macro.
220 2001-02-11 Nick Clifton <nickc@redhat.com>
222 * readelf.c (dump_relocations): Free corrected allocated
224 (process_unwind): Fix compile time warning.
226 2001-02-10 Nick Clifton <nickc@redhat.com>
228 * binutils.texi: Document new --unwind option to readelf.
230 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
232 * readelf.c: Add linux target for S/390.
234 2001-02-10 Alan Modra <alan@linuxcare.com.au>
236 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
239 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
241 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
242 * aclocal.m4: Regenerate.
243 * configure: Regenerate.
245 2001-02-07 Todd Vierling <tv@wasabisystems.com>
247 * bucomm.c (bfd_target_vector): Change extern array to pointer.
248 * objdump.c (bfd_target_vector): Likewise.
250 2001-02-07 David Mosberger <davidm@hpl.hp.com>
252 * readelf.c (process_unwind): New function.
253 (slurp_ia64_unwind_table): Ditto.
254 (dump_ia64_unwind): Ditto.
255 (find_symbol_for_address): Ditto.
256 (slurp_rela_relocs): New function (split off from dump_relocations()).
257 (slurp_rel_relocs): Ditto.
258 (parse_args): Handle '-u' option.
260 * unwind-ia64.c: New file.
261 * unwind-ia64.h: New file.
262 * Makefile.am: Include unwind-ia64.c in readelf build.
263 * Makefile.in: Regenerate.
264 * po/binutils.pot: Regenerate.
266 2001-02-04 Philip Blundell <philb@gnu.org>
268 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
269 * configure: Regenerate.
271 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
273 * ieee.c (ieee_add_bb11): Don't check for backslashes
274 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
276 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
278 * ieee.c: Update copyright.
279 (ieee_start_compilation_unit): Don't check for backslashes
280 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
282 * stabs.c: Update copyright. Include "filenames.h".
283 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
285 2001-01-23 Jakub Jelinek <jakub@redhat.com>
287 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
288 sections are present before using them. Remove code duplication.
289 (process_symbol_table): Check if VERDEF or VERNEED sections are
290 present before using them.
292 2001-01-17 Nick Clifton <nickc@redhat.com>
294 * objcopy.c (copy_object): Fail if attempting to convert the
295 endianness of the input object file.
297 * binutils.texi: Explain that objcopy cannot convert endianness.
299 2001-01-16 Nick Clifton <nickc@redhat.com>
301 * readelf.c (string_table_length): New variable.
302 (SECTION_NAME): Catch out of range indices and missing section
304 (process_section_headers): Delete useless local variable
305 string_table_offset. Set the value of string_table_length
306 after loading the string table.
307 (process_mips_specific): Use SECTION_NAME macro.
308 (process_file): Set string_table_length to 0 when it is freed.
310 2001-01-12 Nick Clifton <nickc@redhat.com>
312 * version.c (print_version): Update copyright date.
314 2001-01-11 Peter Targett <peter.targett@arccores.com>
316 * readelf.c (dump_relocations): Include selection with EM_ARC.
317 (get_machine_name) Update name to "ARC".
319 2001-01-09 Nick Clifton <nickc@redhat.com>
321 * Makefile.am: Add rule to build objdump.o from objdump.c and
323 * Makefile.in: Regenerate.
325 * configure.in: Define OBJDUMP_DEFS. Default to empty.
326 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
327 -DDISASSEMBLER_NEEDS_RELOCS.
328 * configure: Regenerate.
330 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
331 is defined read in the relocs even if dump_reloc_info is
334 2001-01-07 Philip Blundell <philb@gnu.org>
336 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
340 2000-12-19 Nick Clifton <nickc@redhat.com>
342 * dlltool.c: Add missing support for arm-epoc-pe.
343 * configure.in: Add missing support for arm-epoc-pe.
344 * configure: Regenerate.
346 2000-12-15 Nick Clifton <nickc@redhat.com>
348 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
349 Mode parts of the x86 port.
351 2000-12-04 Andreas Jaeger <aj@suse.de>
353 * readelf.c (guess_is_rela): Add EM_X86_64.
354 (dump_relocations): Add EM_X86_64.
355 (get_machine_name): Add EM_X86_64.
356 Include "elf/x86-64.h".
358 2000-12-12 Nick Clifton <nickc@redhat.com>
360 * readelf.c: Fix formatting.
362 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
364 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
366 2000-12-07 Andrew Haley <aph@redhat.com>
368 * readelf.c (display_debug_frames): Only display columns that are
369 referenced by the frame debug info.
371 2000-12-05 Nick Clifton <nickc@redhat.com>
373 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
375 2000-12-04 Jason Merrill <jason@redhat.com>
377 * readelf.c (process_section_headers): Handle linkonce.wi sections.
378 (display_debug_section): Likewise.
379 (display_debug_info): Display CU header before bailing.
381 2000-12-01 Chris Demetriou <cgd@sibyte.com>
383 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
384 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
385 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
387 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
390 * readelf.c (get_machine_flags): Add case for
393 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
395 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
397 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
399 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
400 Change sourceware.cygnus.com to sources.redhat.com.
401 Fix typo for "amongst".
403 2000-11-28 Nick Clifton <nickc@redhat.com>
405 * strip.1 (COPYING): Mention that the GNU Free Documentation
406 License is present in the sources, but not the output, and
407 also available from the GNU website.
408 (GNU Free Documentation License): Comment out this section.
417 * addr2line.1: Ditto.
419 2000-11-27 DJ Delorie <dj@redhat.com>
421 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
422 (parse_args): Support -wf option.
423 (process_section_headers): Ditto.
424 (debug_displays): Ditto.
425 (display_debug_frames): New, dump *_frame sections.
426 (frame_need_space): Support for above.
427 (frame_display_row): Ditto.
428 * binutils.texi: Document it.
430 2000-11-24 Nick Clifton <nickc@redhat.com>
432 * NEWS: Announce support for v5t, v5te and XScale.
434 2000-11-22 Nick Clifton <nickc@redhat.com>
436 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
437 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
438 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
439 (get_elf_section_flags: Add SHF_GROUP.
440 (process_section_headers): Adjust output for 32-bit binaries
441 to look nice on an 80 column terminal.
443 2000-11-20 H.J. Lu <hjl@gnu.org>
445 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
448 2000-11-17 Richard Henderson <rth@redhat.com>
450 * readelf.c (display_debug_lines): Adjust last change to
451 use sizeof (external->li_length).
453 2000-11-17 Richard Henderson <rth@redhat.com>
455 * readelf.c (display_debug_lines): Fix section length check
456 and end_of_sequence computation.
458 2000-11-06 Nick Clifton <nickc@redhat.com>
460 * binutils.texi: Add GNU Free Documentation License.
461 * objcopy.1: Add GNU Free Documentation License.
462 * objdump.1: Add GNU Free Documentation License.
463 * addr2line.1: Add GNU Free Documentation License.
464 * ar.1: Add GNU Free Documentation License.
465 * nlmconv.1: Add GNU Free Documentation License.
466 * nm.1: Add GNU Free Documentation License.
467 * ranlib.1: Add GNU Free Documentation License.
468 * size.1: Add GNU Free Documentation License.
469 * strings.1: Add GNU Free Documentation License.
470 * strip.1: Add GNU Free Documentation License.
472 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
474 * objcopy.c (--srec-len=nn): New parameter to set the
475 maximum length of generated Srecords.
476 (--srec-forceS3): New parameter that restricts the generation of
477 Srecords to type S3 only.
478 * binutils.texi: Document new command line switches.
479 * objcopy.1: Docuemnt the new command line switches.
480 * NEWS: Announce the existence of the new command line switches.
482 2000-10-31 Nick Clifton <nickc@redhat.com>
484 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
485 code. Add Eric Chrisopher as maintainer of MN10300 port.
487 2000-10-12 Roger Sayle <roger@metaphorics.com>
489 * Make comma after string after icon/control optional.
491 2000-09-13 Anders Norlander <anorland@acc.umu.se>
493 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
495 * NEWS: Mention support for MIPS32.
497 2000-09-08 Nick Clifton <nickc@redhat.com>
499 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
501 2000-09-07 H.J. Lu <hjl@gnu.org>
503 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
504 * configure: Rebuild.
506 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
508 * configure: Rebuilt with new libtool.m4.
510 2000-09-05 Nick Clifton <nickc@redhat.com>
512 * aclocal.m4: Regenerate.
513 * config.in: Regenerate.
514 * configure: Regenerate.
516 2000-09-04 Todd Vierling <tv@wasabisystems.com>
518 * strip.1: Fix stray '\' in -o formatting.
520 2000-09-02 Nick Clifton <nickc@redhat.com>
522 * configure.in: Increase version number to 2.10.91.
523 * configure: Regenerate.
524 * aclocal.m4: Regenerate.
525 * config.in: Regenerate.
526 * po/binutils.pot: Regenerate.
528 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
530 * acinclude.m4: Include libtool and gettext macros from the
532 * aclocal.m4, configure: Rebuilt.
534 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
536 * resrc.c (close_input_stream): Delete extraneous logic
538 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
540 * NEWS: Mention support for CRIS.
542 2000-08-21 Nick Clifton <nickc@redhat.com>
544 * addr2line.c: Changed email address for Ulrich Lauther.
546 2000-08-17 Christopher C. Chimelis <chris@debian.org>
548 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
550 2000-08-17 Nick Clifton <nickc@redhat.com>
552 * readelf.c (display_debug_pubnames): Only issue warning
553 message once. Terminate message with a new line.
554 (display_debug_aranges): Only display version 2 debug info.
556 2000-08-14 Todd Vierling <tv@wasabisystems.com>
558 * objcopy.c (strip_main): Silently accept -d as an alias for -g
559 for compatability with old BSD systems.
561 2000-08-14 Jason Eckhardt <jle@cygnus.com>
563 * NEWS: Mention i860 support.
565 2000-08-11 Carlo Wood <carlo@alinoe.com>
567 * addr2line.c (main): Add const to char *.
569 2000-08-11 Geoff Keating <geoffk@cygnus.com>
571 * ar.c (main): Don't crash if called with no arguments
572 or only '-X32_64' as an argument.
574 2000-08-08 DJ Delorie <dj@redhat.com>
576 * resrc.c: use "gcc -xc" instead of -xc-header
578 2000-08-05 Jason Eckhardt <jle@cygnus.com>
580 * readelf.c (elf/i860.h): Include.
581 (dump_relocations): Add recognition of i860 architecture.
582 (guess_is_rela): Add recognition of i860 architecture.
584 2000-08-03 Nick Clifton <nickc@cygnus.com>
586 * MAINTAINERS: Add information about CGEN maintainers.
588 2000-07-26 Geoff Keating <geoffk@cygnus.com>
590 * nm.c (main): Ignore '-X32_64' as an option.
591 * ar.c (main): Likewise.
592 * binutils.texi (nm): Document new option.
595 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
597 * rdcoff.c (external_coff_symbol_p): K&R-ise.
599 2000-07-20 H.J. Lu <hjl@gnu.org>
601 * binutils.texi: Put back "@end table" deleted by
604 2000-07-05 Kenneth Block <krblock@computer.org>
606 * nm.c: Add optional style to demangle switch.
607 * objdump.c: Add optional style to demangle switch.
608 * addr2line.c: Add optional style to demangle switch.
609 * binutils.texi: Document optional style to demangle
612 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
614 * MAINTAINERS: Add self as CRIS port maintainer.
615 * readelf.c: Include elf/cris.h.
616 (guess_is_rela): Handle EM_CRIS.
617 (dump_relocations): Ditto.
618 (get_machine_name): Ditto.
619 * Makefile.am: Rebuild dependencies.
620 * Makefile.in: Regenerate.
621 * po/binutils.pot: Regenerate.
623 2000-07-19 H.J. Lu <hjl@gnu.org>
625 * readelf.c (get_dynamic_type): Change "AUXILARY" to
627 (process_dynamic_segment): Print out strings for DT_CONFIG,
628 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
630 2000-07-19 Mark Kettenis <kettenis@gnu.org>
632 * nm.c (usage): Change output of `nm --help' to include a
633 description of the purpose of the program and a detailed
634 description of the accepted options.
636 2000-07-19 H.J. Lu <hjl@gnu.org>
638 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
641 2000-07-19 H.J. Lu <hjl@gnu.org>
643 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
645 2000-07-19 H.J. Lu <hjl@gnu.org>
647 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
649 (process_dynamic_segment): Likewise.
651 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
652 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
653 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
654 DF_1_NODUMP and DF_1_CONLFAT.
656 2000-07-18 Nick Clifton <nickc@cygnus.com>
658 * binutils.texi (readelf): Fix spelling typo.
660 2000-07-11 Mark Kettenis <kettenis@gnu.org>
662 * objdump.c (usage): Make output of `objdump --help' more
663 consistent with the rest of the GNU world. Add a line describing
664 the purpose of the program.
666 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
668 * stabs.c (parse_stab_range_type): Cast to proper type to fix
671 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
673 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
675 (process_symbol_table): Ditto.
676 (procesS_extended_line_op): Ditto.
677 (display_debug_lines): Ditto.
678 (display_debug_pubnames): Ditto.
679 (read_and_display_attr): Ditto.
681 2000-07-09 Nick Clifton <nickc@cygnus.com>
683 * MAINTAINERS: Add several more port specific maintainers.
685 2000-07-05 Nick Clifton <nickc@cygnus.com>
687 * MAINTAINERS: Add blanket write privs for Michael Meissner.
689 2000-06-05 DJ Delorie <dj@redhat.com>
693 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
695 * dllwrap.c: Changed mistaken dyn_string_append() calls
696 to dyn_string_append_cstr().
698 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
700 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
701 struct debug_type stores size in bytes.
703 2000-07-01 Alan Modra <alan@linuxcare.com.au>
705 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
706 (CLEANFILES): Add DEPA.
707 * Makefile.in: Regenerate.
709 2000-06-27 Alan Modra <alan@linuxcare.com.au>
711 * ar.c: Revert incorrect 2000-06-25 patch.
712 * bucomm.c: Likewise.
714 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
716 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
717 (external_coff_symbol_p): New function.
718 (parse_coff): Use it.
720 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
722 * ar.c (normalize): Advance past both characters in a DOS based
723 <letter>: filepath prefix.
725 * bucomm.c (make_tempname): Likewise.
727 2000-06-24 Nick Clifton <nickc@cygnus.com>
729 * objdump.c (usage): Fix description of --stabs switch.
731 2000-06-22 Alan Modra <alan@linuxcare.com.au>
733 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
735 * Makefile.in: Regenerate.
737 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
739 * ar.c (normalize): Correct pointer comparison when checking for
742 * bucomm.c (make_tempname): Likewise.
744 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
745 and search for backslashes in the original pathname.
746 (ieee_add_bb11): Likewise.
748 2000-06-18 Nick Clifton <nickc@redhat.com>
750 * ar.c (print_contents): Improve verbose message.
752 2000-06-15 H.J. Lu <hjl@gnu.org>
754 * dyn-string.c: Removed. Not needed with dyn-string.c in
756 * dyn-string.h: Likewise.
758 * Makefile.am: Remove references to dyn-string.c and
759 dyn-string.h. Rebuild dependency.
760 * Makefile.in: Rebuild.
762 2000-06-15 H.J. Lu <hjl@gnu.org>
764 * binutils.texi: Put a warning on copying relocatable object
765 files between two different formats.
767 2000-06-13 DJ Delorie <dj@cygnus.com>
769 * rcparse.y (control): ICON controls take an id as the first
770 parameter, not an optional string. Also, call new convenience
771 function that takes res_id's.
772 * resrc.c (define_control): missing text means zero-length string,
774 (define_icon_control): New.
775 * windres.h: declare define_icon_control.
777 2000-06-13 H.J. Lu <hjl@gnu.org>
779 * configure: Regenerate.
781 2000-06-08 David O'Brien <obrien@FreeBSD.org>
783 * configure.in (VERSION): Update to show this is the CVS mainline.
785 2000-06-02 David O'Brien <obrien@FreeBSD.org>
787 * strings.c (isgraphic): Interpret <TAB> as a printable character,
788 analogous to <SPACE>.
790 2000-05-30 Alan Modra <alan@linuxcare.com.au>
792 * objdump.c (display_target_list): Use bfd_close_all_done, not
793 bfd_close to fix crash caused by 2000-05-24 change.
795 2000-05-25 DJ Delorie <dj@cygnus.com>
797 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
799 2000-05-26 Alan Modra <alan@linuxcare.com.au>
801 * Makefile.am: Update dependencies with "make dep-am"
802 * Makefile.in: Regenerate.
804 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
806 * ar.c: Include filenames.h.
807 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
808 and drive letters in file names.
809 (main): Support backslashes and drive letters in argv[0]. Drop
810 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
811 FILENAME_CMP instead of strcmp to compare file names.
812 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
814 (do_quick_append) [__GO32__]: Ditto.
815 (get_pos_bfd, delete_members, move_members, replace_members):
816 Compare file names with FILENAME_CMP.
818 * bucomm.c: Include filenames.h.
819 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
820 forward/backward slashes and drive letters in file names.
822 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
823 mixed forward/backward slashes and drive letters in file names.
825 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
826 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
829 * objcopy.c: Include filenames.h.
830 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
831 before comparing to "strip".
832 Use FILENAME_CMP to compare file names.
834 * arsup.c: Include filenames.h.
835 (map_over_list, ar_delete, ar_replace, ar_extract): Use
836 FILENAME_CMP to compare file names.
837 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
838 the temporary file name.
840 * configure.in: Check for setmode.
841 * configure: Regenerate.
843 2000-05-24 Alan Modra <alan@linuxcare.com.au>
845 * objdump.c (display_target_list): Close the bfd.
846 (display_info_table): Likewise.
848 2000-05-14 H.J. Lu (hjl@gnu.org)
850 * objcopy.c (filter_symbols): Don't strip global symbols in
851 relocatable object files.
853 2000-05-14 Alan Modra <alan@linuxcare.com.au>
855 * size.c (usage): Associate short options with corresponding long
856 option to give a clue as to their function.
858 2000-05-14 Philippe De Muyter <phdm@macqel.be>
860 * size.c (main): Accept and ignore `-f' option.
862 2000-05-13 Alan Modra <alan@linuxcare.com.au>
864 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
865 bindtextdomain): Replace defines with those from intl/libgettext.h
866 to quieten gcc warnings.
868 2000-05-12 H.J. Lu <hjl@gnu.org>
870 * nlmconv.c (temp_filename): Removed.
872 * nlmconv.c (link_inputs): Use make_temp_file () instead of
874 * objdump.c (display_target_list): Likewise.
875 (display_info_table): Likewise.
877 2000-05-08 Alan Modra <alan@linuxcare.com.au>
879 * objcopy.c (setup_section): Add const and gettext calls for err.
881 2000-05-02 H.J. Lu <hjl@gnu.org>
883 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
884 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
885 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
886 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
887 and ELFOSABI_OPENBSD.
889 2000-05-02 Kazu Hirata <kazu@hxi.com>
891 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
892 * srconv.c: Likewise.
893 * sysdump.c: Likewise.
895 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
897 * readelf.c (guess_is_rela): AVR uses RELA relocations.
898 (get_machine_name): machine name for EM_AVR added.
900 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
901 David Mosberger <davidm@hpl.hp.com>
903 * Makefile.am (readelf.o): Add elf/ia64.h.
904 * Makefile.in: Rebuild.
905 * readelf.c: Include elf/ia64.h.
906 (guess_is_rela, dump_relocations): Handle EM_IA_64.
908 2000-04-17 Timothy Wall <twall@cygnus.com>
910 * objdump.c (disassemble_data): Set octets per byte *after*
911 resolving arch/mach for binary files.
913 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
915 * arlex.l: Add directives to increase lex buffer size.
917 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
918 already included by bucomm.h.
920 2000-04-10 Philippe De Muyter <phdm@macqel.be>
922 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
923 `strftime' since strftime is not available on all systems.
924 (process_mips_specific): Ditto.
926 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
928 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
929 --enable-build-warnings option.
930 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
931 * Makefile.in, configure: Re-generate.
933 2000-04-06 Alan Modra <alan@linuxcare.com.au>
935 * addr2line.c: Update copyright.
936 * objcopy.1: Likewise, and title.
937 * strings.1: Likewise.
939 * version.c (print_version): Add 2000.
941 * rddbg.c (read_section_stabs_debugging_info): Don't use
942 bfd_size_type for strx to avoid printf problems if BFD64.
944 * bucomm.c: (report): Remove `static'.
945 Move inclusion of stdarg.h/vararg.h from here.
947 (CONST): Change all occurences to const.
948 (report): Declare it.
949 (bfd_fatal): Add ATTRIBUTE_NORETURN.
950 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
951 (non_fatal): Add ATTRIBUTE_PRINTF_1.
953 * ar.c (main): Use fatal or non_fatal instead of fprintf.
954 Correct a typo in an error message.
955 (do_quick_append): Use non_fatal instead of fprintf.
956 (move_members): Use fatal instead of fprintf, exit.
957 * coffdump.c (main): Same here.
959 * dlltool.c (display): Delete.
961 (inform): Use `report' instead of `display'.
962 (rvaafter): Remove trailing \n from fatal error msg.
965 (yyerror): Replace `warn' with `non_fatal', and remove \n.
966 (def_name): Likewise.
968 (scan_all_symbols): Likewise.
969 (gen_lib_file): Likewise.
970 (def_library): Likewise. Remove extra program_name too.
971 (run): Remove \n from inform strings.
972 (scan_drectve_symbols): Likewise.
973 (add_excludes): Likewise.
974 (scan_open_obj_file): Likewise.
975 (gen_exp_file): Likewise.
976 (gen_lib_file): Likewise.
977 (process_duplicates): Likewise.
979 * Makefile.am (dllwrap_SOURCES): Add version.c.
980 * dllwrap.c (program_version): Delete.
981 (print_version): Delete.
982 (display): Always print trailing \n.
984 (delete_temp_files): Use warn instead of fprintf. Use gettext.
987 (usage): gettext'ify.
988 (long_options): Add missing initialisers.
990 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
991 (select_output_format): Likewise.
992 (powerpc_mangle_relocs): Likewise.
993 (link_inputs): Likewise.
995 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
996 (set_output_format): Likewise.
997 (main): Use non_fatal instead of fprintf.
998 (display_rel_file): Likewise.
1000 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1001 (slurp_dynamic_symtab): Same here.
1002 (disassemble_data): And here.
1003 (read_section_stabs): And here.
1004 (read_section_stabs): And here.
1005 (dump_bfd): And here.
1007 (objdump_sprintf): Use fatal instead of fprintf, exit.
1008 (disassemble_data): Same here.
1010 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1011 (parse_coff_struct_type): Same here.
1012 (parse_coff_enum_type): And here.
1013 (parse_coff): And here.
1014 * rddbg.c (read_debugging_info): And here.
1015 * size.c (main): And here.
1016 * windres.c (format_from_name): And here.
1017 * wrstabs.c (stab_write_symbol): Here too.
1018 (write_stabs_in_sections_debugging_info): And here.
1019 (stab_int_type): And here.
1020 (stab_struct_field): And here.
1021 (stab_typdef): And here.
1023 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1024 * srconv.c (main): Same here.
1025 * strings.c (main): And here.
1026 (integer_arg): And here.
1027 * sysdump.c (main): And here.
1029 2000-04-06 Timothy Wall <twall@cygnus.com>
1031 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1033 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1035 * readelf.c (decode_location_expression): Loop through multiple
1037 (read_and_display_attr): Pass in length.
1039 * readelf.c (read_and_display_attr): Add CU offset to references.
1040 (display_debug_info): Pass it in.
1042 2000-04-06 Nick Clifton <nickc@cygnus.com>
1044 * readelf.c (decode_ARM_machine_flags): New function.
1045 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1048 (get_machine_name): Catch EM_AVR
1050 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1052 * binutils.texi: Remove optional `=' from long options that have
1053 an `=' in the argument.
1054 * objcopy.1: Here too. Remove extra space on discard-all.
1056 * binutils.texi (objcopy): Mention --redefine-sym.
1057 * objcopy.1: Here too.
1060 * objcopy.c (parse_flags): Split off flag names from error message
1061 gettext as they are not translated.
1062 (copy_main): Similarly split off option name for --add-section,
1063 --set-section-flags, --change-section-vma, --change-section-lma
1065 Some white space changes.
1067 from Matthew Benjamin <matt@linuxbox.nu>
1068 * objcopy.c (struct redefine_node): New.
1069 (redefine_sym_list): New.
1070 (redefine_list_append): New.
1071 (lookup_sym_redefinition): New.
1072 (OPTION_REDEFINE_SYM): New.
1073 (copy_options): Add --redefine-sym option.
1074 (copy_usage): Mention it.
1075 (filter_symbols): Rename symbols on redefine_sym_list.
1076 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1077 (copy_main): Handle OPTION_REDEFINE_SYM.
1079 2000-04-04 H.J. Lu <hjl@gnu.org>
1081 * readelf.c (process_symbol_table): Correctly read in symbol
1082 versioning information.
1084 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1086 * po/binutils.pot: Regenerate.
1088 * addr2line.c (usage): Restore translated part of bug string.
1089 * ar.c (usage): Likewise.
1090 * nlmconv.c (show_usage): Likewise.
1091 * nm.c (usage): Likewise.
1092 * objcopy.c (copy_usage): Likewise.
1093 (strip_usage): Likewise.
1094 * objdump.c (usage): Likewise.
1095 * readelf.c (usage): Likewise.
1096 * size.c (usage): Likewise.
1097 * strings.c (usage): Likewise.
1098 * windres.c (usage): Likewise.
1100 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1101 (DEP): Quote when passing vars to sub-make. Add warning
1103 (DEP1): Rewrite for "gcc -MM".
1104 (CLEANFILES): Add DEP2.
1105 Update dependencies.
1106 * Makefile.in: Regenerate.
1108 2000-04-04 H.J. Lu <hjl@gnu.org>
1110 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1111 (arparse.h): Depend on arparse.c
1112 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1114 2000-04-03 H.J. Lu (hjl@gnu.org)
1116 * size.c (usage): Use REPORT_BUGS_TO.
1118 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1120 * bucomm.h: #include "bin-bugs.h"
1121 * addr2line.c (usage): Use REPORT_BUGS_TO.
1122 * ar.c (usage): Likewise.
1123 * nlmconv.c (show_usage): Likewise.
1124 * nm.c (usage): Likewise.
1125 (OPTION_TARGET): Define.
1126 (long_options): Use OPTION_TARGET rather than 200.
1129 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1130 (strip_usage): Likewise.
1131 * objdump.c (usage): Likewise.
1132 * readelf.c (usage): Likewise.
1133 * strings.c (usage): Likewise.
1134 * windres.c (usage): Likewise.
1136 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1138 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1140 2000-03-27 Nick Clifton <nickc@cygnus.com>
1142 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1143 string offsets in corrupt stabs entries.
1145 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1147 * readelf.c: Include elf/avr.h
1148 (dump_relocations): Add EM_AVR case.
1150 2000-03-09 Tim Waugh <twaugh@redhat.com>
1152 * strings.1: Correct '-bytes' to '--bytes'.
1154 2000-03-08 H.J. Lu <hjl@gnu.org>
1156 * Makefile.am (install-exec-local): Depend on
1157 install-binPROGRAMS for parallel make.
1158 * Makefile.in: Regenerated.
1160 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1162 From Brad Lucier <lucier@math.purdue.edu>:
1163 * readelf.c (process_dynamic_segment): Add cast to make sure
1164 argument to %* is int.
1166 2000-02-25 H.J. Lu <hjl@gnu.org>
1168 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1170 2000-02-24 Nick Clifton <nickc@cygnus.com>
1172 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1173 * configure: Regenerate.
1175 * dlltool.c: Add support for sh-pe and mips-pe targets.
1176 * rescoff.c: Add support for sh-pe and mips-pe targets.
1178 2000-02-23 H.J. Lu <hjl@gnu.org>
1180 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1182 2000-02-22 Nick Clifton <nickc@cygnus.com>
1184 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1186 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1188 From Brad Lucier <lucier@math.purdue.edu>:
1189 * readelf.c (process_version_sections): Add casts to make sure
1190 argument to %* is an int.
1191 (process_mips_specific): Add casts to make printf arguments match
1194 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1196 * objdump.c (dump_section_header): Change `opb' to unsigned.
1197 (find_symbol_for_address): Same here.
1198 (disassemble_data): And here. Change `addr_offset',
1199 `stop_offset', `nextstop_offset' to unsigned long.
1200 (dump_data): Change opb to unsigned.
1202 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1204 * resrc.c: Remove unmatched #if for cygwin.
1206 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1208 * binutils.texi: Document the change of flavor name from atpcs-special
1209 to special-atpcs to prevent name conflict in gdb.
1211 2000-02-08 Timothy Wall <twall@redhat.com>
1213 * objdump.c (show_line): Fix bug preventing printing of the very
1214 first line (line zero) of a file when interlisting source and
1215 assembly. Added option to print entire context from start of file
1216 when the first line from that file is encountered.
1218 2000-02-03 Timothy Wall <twall@redhat.com>
1220 * objdump.c (dump_section_header, find_symbol_for_address,
1221 show_line, disassemble_bytes, disassemble_data, dump_data):
1222 distinguish between octets and bytes.
1224 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1226 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1227 check to unresolved symbols.
1228 (print_symbol_info_sysv): Ditto.
1229 (print_symbol_info_posix): Ditto.
1231 * binutils.texi: Document new 'V' symclass flag for nm.
1233 2000-01-27 Nick Clifton <nickc@redhat.com>
1235 * binutils.texi (objdump): Document new ARM specific
1236 disassembler options.
1238 * objdump.c (usage): Call disassembler_usage().
1240 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1242 * readelf.c (get_dynamic_flags): Return buff.
1243 (process_dynamic_segment): Don't pass error strings to printf
1245 (read_and_display_attr): Use lx and ld to print longs.
1246 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1250 2000-01-17 Nick Clifton <nickc@cygnus.com>
1252 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1254 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1256 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1258 (debug_tag_type): Here too.
1259 * ieee.c (ieee_builtin_type): And here.
1260 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1262 2000-01-13 Nick Clifton <nickc@cygnus.com>
1264 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1267 2000-01-11 Nick Clifton <nickc@cygnus.com>
1269 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1271 2000-01-10 Nick Clifton <nickc@cygnus.com>
1273 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1275 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1277 * windres.c (long_options): Add --use-temp-file and
1278 --no-use-temp-file options.
1282 * windres.h: Update read_rc_file prototype.
1284 * resrc.c (cpp_temp_file): New static variable.
1285 (istream_type): New static variable.
1286 (close_pipe): Delete function.
1287 (run_cmd): New static function.
1288 (open_input_stream): New static function.
1289 (close_input_stream): New static function.
1290 (look_for_default): Handle DOS directory separator. Use
1291 open_input_stream instead of popen.
1292 (read_rc_file): Likewise.
1294 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1297 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1299 * dlltool.c (create_compat_implib): New variable.
1300 (gen_exp_file): Use.
1301 (make_one_lib_file): Use.
1302 (long_options): Add --compat-implib option.
1306 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1307 (main): Use. Don't look for "32" in cygwin and mingw target names.
1309 2000-01-03 Nick Clifton <nickc@cygnus.com>
1311 * binutils.texi: Document new, ARM specific disassembler
1312 command line switch "-M force-thumb".
1314 For older changes see ChangeLog-9899
1320 version-control: never