1 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
3 * readelf.c: Restore formatting.
5 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
7 * Makefile.am: Move documentation into doc subdirectory.
8 * Makefile.in: Regenerated.
9 * binutils.texi: Move into doc subdirectory.
10 * addr2line.1: Removed.
12 * dlltool.1: Likewise.
13 * nlmconv.1: Likewise.
15 * objcopy.1: Likewise.
16 * objdump.1: Likewise.
18 * readelf.1: Likewise.
20 * strings.1: Likewise.
22 * windres.1: Likewise.
23 * cxxfilt.man: Likewise.
25 * doc/Makefile.am: New file.
26 * doc/Makefile.in: Generate.
28 2001-06-09 Alan Modra <amodra@bigpond.net.au>
30 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
32 2001-06-01 Alan Modra <amodra@bigpond.net.au>
34 * MAINTAINERS: Update my email address.
36 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
38 * objcopy.c: Add new switches: --keep-global-symbol,
39 --keep-symbols, --localize-symbols, --keep-global-symbols and
41 * binutils.texi: Document new switches.
42 * objcopy.1: Regenerate.
43 * NEWS: Announce new feature.
45 2001-05-28 Andreas Jaeger <aj@suse.de>
47 * readelf.c (display_debug_frames): Fix warnings: Remove unused
48 variables, fix format strings.
50 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
52 * objdump.c (disassemble_bytes): Remove section VMA adjustment
53 when computing the address of the line to show.
55 2001-05-16 Richard Henderson <rth@redhat.com>
57 * readelf.c (do_debug_frames_interp): New.
58 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
59 (byte_get_big_endian): Likewise.
60 (parse_args) ['F']: Set do_debug_frames_interp.
61 (Frame_Chunk): Make data_factor signed, add fde_encoding.
62 (frame_display_row): Don't trunc pc_begin to int.
63 (size_of_encoded_value): New.
64 (display_debug_frames): Handle 64-bit targets. Print raw data
65 unless do_debug_frames_interp.
66 (debug_displays): Remove duplicate .debug_frame.
68 2001-05-15 Ralf Baechle <ralf@gnu.org>
70 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
71 The former constant was never in active use and is used otherwise
74 2001-05-11 Jakub Jelinek <jakub@redhat.com>
76 * readelf.c (process_unwind): Print all unwind sections, not just
79 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
81 * readelf.c (process_unwind): Remove const specifier.
83 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
85 * strings.c (isgraphic): Do not use isascii() unless it is needed
86 for isprint() to work.
87 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
89 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
91 * NEWS: Announce support for OpenRISC.
93 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
95 * dlltool.c (do_default_excludes): Initialise to true.
97 2001-04-10 Alan Modra <amodra@one.net.au>
99 * MAINTAINERS: Update my email address
100 * nm.c (print_symbol_info_bsd): Use a simple printf string.
102 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
104 * readelf.c (display_debug_lines): Fix typo for "Prologue".
106 2001-03-30 H.J. Lu <hjl@gnu.org>
108 * readelf.c (process_unwind): Just return if do_unwind is 0.
110 2001-03-28 Roger Sayle <roger@metaphorics.com>
112 * dlltool.c (make_one_lib_file): Fix section flags for
113 .text, .data and .bss in stub ds*.o files to match those
116 2001-03-29 H.J. Lu <hjl@gnu.org>
118 * readelf.c (process_unwind): Only do unwind sections for
121 2001-03-28 H.J. Lu <hjl@gnu.org>
123 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
124 * Makefile.in: Regenerate.
126 2001-03-26 Andreas Jaeger <aj@suse.de>
128 * binutils.texi (nm): Fix texi syntax.
130 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
132 * binutils.texi: Put @c man begin and @c man end indications
133 to generate man pages using texi2pod and pod2man. Put @c man title
134 to identify each man. Add SEEALSO entries.
135 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
136 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
138 (*.1): Build the man pages from binutils.texi.
139 * Makefile.in: Regenerate.
141 2001-03-13 Eric Kohl <ekohl@rz-online.de>
143 * defparse.y (opt_equal_name): allow "." in name.
144 * dlltool.c (def_exports): Added ability to generate forwarded exports.
145 (gen_exp_file): Likewise.
147 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
149 * NEWS: Document addition of -B switch to objcopy.
150 * binutils.texi: Document addition of -B switch to objcopy.
151 * objcopy.c: (copy_options): Add --binary-architecture.
152 (copy_usage): Document -B/--binary-architecture.
153 (copy_main): Support -B/--binary-architecture. Set
154 bfd_external_binary_architecture.
156 2001-03-11 Andreas Jaeger <aj@suse.de>
158 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
159 (dump_relocations): Likewise.
160 (get_machine_name): Likewise.
162 2001-02-28 Nick Clifton <nickc@redhat.com>
164 * readelf.c: (struct unw_aux_info): Remove const modifier for
166 (process_unwind): Remove non-K&R compliant LHS type cast in call
167 to GET_DATA_ALLOC macro.
169 2001-02-28 Philip Blundell <pb@futuretv.com>
171 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
172 ABI is in use; remove ambiguity between the "unknown" EABI and
173 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
174 renamed EF_xx constants.
176 2001-02-27 Alan Modra <alan@linuxcare.com.au>
178 * configure.in (BFD_VERSION): New.
179 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
180 * configure: Regenerate.
181 * Makefile.am: Run "make dep-am"
182 * Makefile.in: Regenerate.
184 2001-02-14 Nick Clifton <nickc@redhat.com>
186 * MAINTAINERS: Add "Obvious Fix" rule.
188 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
190 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
191 literal concatenation.
193 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
195 * readelf.c (struct unw_aux_info): Remove const from the info member.
196 (process_unwind): Don't type-cast the third argument to the
197 GET_DATA_ALLOC macro.
199 2001-02-11 Nick Clifton <nickc@redhat.com>
201 * readelf.c (dump_relocations): Free corrected allocated
203 (process_unwind): Fix compile time warning.
205 2001-02-10 Nick Clifton <nickc@redhat.com>
207 * binutils.texi: Document new --unwind option to readelf.
209 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
211 * readelf.c: Add linux target for S/390.
213 2001-02-10 Alan Modra <alan@linuxcare.com.au>
215 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
218 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
220 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
221 * aclocal.m4: Regenerate.
222 * configure: Regenerate.
224 2001-02-07 Todd Vierling <tv@wasabisystems.com>
226 * bucomm.c (bfd_target_vector): Change extern array to pointer.
227 * objdump.c (bfd_target_vector): Likewise.
229 2001-02-07 David Mosberger <davidm@hpl.hp.com>
231 * readelf.c (process_unwind): New function.
232 (slurp_ia64_unwind_table): Ditto.
233 (dump_ia64_unwind): Ditto.
234 (find_symbol_for_address): Ditto.
235 (slurp_rela_relocs): New function (split off from dump_relocations()).
236 (slurp_rel_relocs): Ditto.
237 (parse_args): Handle '-u' option.
239 * unwind-ia64.c: New file.
240 * unwind-ia64.h: New file.
241 * Makefile.am: Include unwind-ia64.c in readelf build.
242 * Makefile.in: Regenerate.
243 * po/binutils.pot: Regenerate.
245 2001-02-04 Philip Blundell <philb@gnu.org>
247 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
248 * configure: Regenerate.
250 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
252 * ieee.c (ieee_add_bb11): Don't check for backslashes
253 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
255 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
257 * ieee.c: Update copyright.
258 (ieee_start_compilation_unit): Don't check for backslashes
259 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
261 * stabs.c: Update copyright. Include "filenames.h".
262 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
264 2001-01-23 Jakub Jelinek <jakub@redhat.com>
266 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
267 sections are present before using them. Remove code duplication.
268 (process_symbol_table): Check if VERDEF or VERNEED sections are
269 present before using them.
271 2001-01-17 Nick Clifton <nickc@redhat.com>
273 * objcopy.c (copy_object): Fail if attempting to convert the
274 endianness of the input object file.
276 * binutils.texi: Explain that objcopy cannot convert endianness.
278 2001-01-16 Nick Clifton <nickc@redhat.com>
280 * readelf.c (string_table_length): New variable.
281 (SECTION_NAME): Catch out of range indices and missing section
283 (process_section_headers): Delete useless local variable
284 string_table_offset. Set the value of string_table_length
285 after loading the string table.
286 (process_mips_specific): Use SECTION_NAME macro.
287 (process_file): Set string_table_length to 0 when it is freed.
289 2001-01-12 Nick Clifton <nickc@redhat.com>
291 * version.c (print_version): Update copyright date.
293 2001-01-11 Peter Targett <peter.targett@arccores.com>
295 * readelf.c (dump_relocations): Include selection with EM_ARC.
296 (get_machine_name) Update name to "ARC".
298 2001-01-09 Nick Clifton <nickc@redhat.com>
300 * Makefile.am: Add rule to build objdump.o from objdump.c and
302 * Makefile.in: Regenerate.
304 * configure.in: Define OBJDUMP_DEFS. Default to empty.
305 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
306 -DDISASSEMBLER_NEEDS_RELOCS.
307 * configure: Regenerate.
309 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
310 is defined read in the relocs even if dump_reloc_info is
313 2001-01-07 Philip Blundell <philb@gnu.org>
315 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
319 2000-12-19 Nick Clifton <nickc@redhat.com>
321 * dlltool.c: Add missing support for arm-epoc-pe.
322 * configure.in: Add missing support for arm-epoc-pe.
323 * configure: Regenerate.
325 2000-12-15 Nick Clifton <nickc@redhat.com>
327 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
328 Mode parts of the x86 port.
330 2000-12-04 Andreas Jaeger <aj@suse.de>
332 * readelf.c (guess_is_rela): Add EM_X86_64.
333 (dump_relocations): Add EM_X86_64.
334 (get_machine_name): Add EM_X86_64.
335 Include "elf/x86-64.h".
337 2000-12-12 Nick Clifton <nickc@redhat.com>
339 * readelf.c: Fix formatting.
341 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
343 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
345 2000-12-07 Andrew Haley <aph@redhat.com>
347 * readelf.c (display_debug_frames): Only display columns that are
348 referenced by the frame debug info.
350 2000-12-05 Nick Clifton <nickc@redhat.com>
352 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
354 2000-12-04 Jason Merrill <jason@redhat.com>
356 * readelf.c (process_section_headers): Handle linkonce.wi sections.
357 (display_debug_section): Likewise.
358 (display_debug_info): Display CU header before bailing.
360 2000-12-01 Chris Demetriou <cgd@sibyte.com>
362 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
363 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
364 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
366 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
369 * readelf.c (get_machine_flags): Add case for
372 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
374 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
376 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
378 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
379 Change sourceware.cygnus.com to sources.redhat.com.
380 Fix typo for "amongst".
382 2000-11-28 Nick Clifton <nickc@redhat.com>
384 * strip.1 (COPYING): Mention that the GNU Free Documentation
385 License is present in the sources, but not the output, and
386 also available from the GNU website.
387 (GNU Free Documentation License): Comment out this section.
396 * addr2line.1: Ditto.
398 2000-11-27 DJ Delorie <dj@redhat.com>
400 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
401 (parse_args): Support -wf option.
402 (process_section_headers): Ditto.
403 (debug_displays): Ditto.
404 (display_debug_frames): New, dump *_frame sections.
405 (frame_need_space): Support for above.
406 (frame_display_row): Ditto.
407 * binutils.texi: Document it.
409 2000-11-24 Nick Clifton <nickc@redhat.com>
411 * NEWS: Announce support for v5t, v5te and XScale.
413 2000-11-22 Nick Clifton <nickc@redhat.com>
415 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
416 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
417 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
418 (get_elf_section_flags: Add SHF_GROUP.
419 (process_section_headers): Adjust output for 32-bit binaries
420 to look nice on an 80 column terminal.
422 2000-11-20 H.J. Lu <hjl@gnu.org>
424 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
427 2000-11-17 Richard Henderson <rth@redhat.com>
429 * readelf.c (display_debug_lines): Adjust last change to
430 use sizeof (external->li_length).
432 2000-11-17 Richard Henderson <rth@redhat.com>
434 * readelf.c (display_debug_lines): Fix section length check
435 and end_of_sequence computation.
437 2000-11-06 Nick Clifton <nickc@redhat.com>
439 * binutils.texi: Add GNU Free Documentation License.
440 * objcopy.1: Add GNU Free Documentation License.
441 * objdump.1: Add GNU Free Documentation License.
442 * addr2line.1: Add GNU Free Documentation License.
443 * ar.1: Add GNU Free Documentation License.
444 * nlmconv.1: Add GNU Free Documentation License.
445 * nm.1: Add GNU Free Documentation License.
446 * ranlib.1: Add GNU Free Documentation License.
447 * size.1: Add GNU Free Documentation License.
448 * strings.1: Add GNU Free Documentation License.
449 * strip.1: Add GNU Free Documentation License.
451 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
453 * objcopy.c (--srec-len=nn): New parameter to set the
454 maximum length of generated Srecords.
455 (--srec-forceS3): New parameter that restricts the generation of
456 Srecords to type S3 only.
457 * binutils.texi: Document new command line switches.
458 * objcopy.1: Docuemnt the new command line switches.
459 * NEWS: Announce the existence of the new command line switches.
461 2000-10-31 Nick Clifton <nickc@redhat.com>
463 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
464 code. Add Eric Chrisopher as maintainer of MN10300 port.
466 2000-10-12 Roger Sayle <roger@metaphorics.com>
468 * Make comma after string after icon/control optional.
470 2000-09-13 Anders Norlander <anorland@acc.umu.se>
472 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
474 * NEWS: Mention support for MIPS32.
476 2000-09-08 Nick Clifton <nickc@redhat.com>
478 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
480 2000-09-07 H.J. Lu <hjl@gnu.org>
482 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
483 * configure: Rebuild.
485 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
487 * configure: Rebuilt with new libtool.m4.
489 2000-09-05 Nick Clifton <nickc@redhat.com>
491 * aclocal.m4: Regenerate.
492 * config.in: Regenerate.
493 * configure: Regenerate.
495 2000-09-04 Todd Vierling <tv@wasabisystems.com>
497 * strip.1: Fix stray '\' in -o formatting.
499 2000-09-02 Nick Clifton <nickc@redhat.com>
501 * configure.in: Increase version number to 2.10.91.
502 * configure: Regenerate.
503 * aclocal.m4: Regenerate.
504 * config.in: Regenerate.
505 * po/binutils.pot: Regenerate.
507 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
509 * acinclude.m4: Include libtool and gettext macros from the
511 * aclocal.m4, configure: Rebuilt.
513 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
515 * resrc.c (close_input_stream): Delete extraneous logic
517 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
519 * NEWS: Mention support for CRIS.
521 2000-08-21 Nick Clifton <nickc@redhat.com>
523 * addr2line.c: Changed email address for Ulrich Lauther.
525 2000-08-17 Christopher C. Chimelis <chris@debian.org>
527 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
529 2000-08-17 Nick Clifton <nickc@redhat.com>
531 * readelf.c (display_debug_pubnames): Only issue warning
532 message once. Terminate message with a new line.
533 (display_debug_aranges): Only display version 2 debug info.
535 2000-08-14 Todd Vierling <tv@wasabisystems.com>
537 * objcopy.c (strip_main): Silently accept -d as an alias for -g
538 for compatability with old BSD systems.
540 2000-08-14 Jason Eckhardt <jle@cygnus.com>
542 * NEWS: Mention i860 support.
544 2000-08-11 Carlo Wood <carlo@alinoe.com>
546 * addr2line.c (main): Add const to char *.
548 2000-08-11 Geoff Keating <geoffk@cygnus.com>
550 * ar.c (main): Don't crash if called with no arguments
551 or only '-X32_64' as an argument.
553 2000-08-08 DJ Delorie <dj@redhat.com>
555 * resrc.c: use "gcc -xc" instead of -xc-header
557 2000-08-05 Jason Eckhardt <jle@cygnus.com>
559 * readelf.c (elf/i860.h): Include.
560 (dump_relocations): Add recognition of i860 architecture.
561 (guess_is_rela): Add recognition of i860 architecture.
563 2000-08-03 Nick Clifton <nickc@cygnus.com>
565 * MAINTAINERS: Add information about CGEN maintainers.
567 2000-07-26 Geoff Keating <geoffk@cygnus.com>
569 * nm.c (main): Ignore '-X32_64' as an option.
570 * ar.c (main): Likewise.
571 * binutils.texi (nm): Document new option.
574 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
576 * rdcoff.c (external_coff_symbol_p): K&R-ise.
578 2000-07-20 H.J. Lu <hjl@gnu.org>
580 * binutils.texi: Put back "@end table" deleted by
583 2000-07-05 Kenneth Block <krblock@computer.org>
585 * nm.c: Add optional style to demangle switch.
586 * objdump.c: Add optional style to demangle switch.
587 * addr2line.c: Add optional style to demangle switch.
588 * binutils.texi: Document optional style to demangle
591 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
593 * MAINTAINERS: Add self as CRIS port maintainer.
594 * readelf.c: Include elf/cris.h.
595 (guess_is_rela): Handle EM_CRIS.
596 (dump_relocations): Ditto.
597 (get_machine_name): Ditto.
598 * Makefile.am: Rebuild dependencies.
599 * Makefile.in: Regenerate.
600 * po/binutils.pot: Regenerate.
602 2000-07-19 H.J. Lu <hjl@gnu.org>
604 * readelf.c (get_dynamic_type): Change "AUXILARY" to
606 (process_dynamic_segment): Print out strings for DT_CONFIG,
607 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
609 2000-07-19 Mark Kettenis <kettenis@gnu.org>
611 * nm.c (usage): Change output of `nm --help' to include a
612 description of the purpose of the program and a detailed
613 description of the accepted options.
615 2000-07-19 H.J. Lu <hjl@gnu.org>
617 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
620 2000-07-19 H.J. Lu <hjl@gnu.org>
622 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
624 2000-07-19 H.J. Lu <hjl@gnu.org>
626 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
628 (process_dynamic_segment): Likewise.
630 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
631 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
632 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
633 DF_1_NODUMP and DF_1_CONLFAT.
635 2000-07-18 Nick Clifton <nickc@cygnus.com>
637 * binutils.texi (readelf): Fix spelling typo.
639 2000-07-11 Mark Kettenis <kettenis@gnu.org>
641 * objdump.c (usage): Make output of `objdump --help' more
642 consistent with the rest of the GNU world. Add a line describing
643 the purpose of the program.
645 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
647 * stabs.c (parse_stab_range_type): Cast to proper type to fix
650 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
652 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
654 (process_symbol_table): Ditto.
655 (procesS_extended_line_op): Ditto.
656 (display_debug_lines): Ditto.
657 (display_debug_pubnames): Ditto.
658 (read_and_display_attr): Ditto.
660 2000-07-09 Nick Clifton <nickc@cygnus.com>
662 * MAINTAINERS: Add several more port specific maintainers.
664 2000-07-05 Nick Clifton <nickc@cygnus.com>
666 * MAINTAINERS: Add blanket write privs for Michael Meissner.
668 2000-06-05 DJ Delorie <dj@redhat.com>
672 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
674 * dllwrap.c: Changed mistaken dyn_string_append() calls
675 to dyn_string_append_cstr().
677 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
679 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
680 struct debug_type stores size in bytes.
682 2000-07-01 Alan Modra <alan@linuxcare.com.au>
684 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
685 (CLEANFILES): Add DEPA.
686 * Makefile.in: Regenerate.
688 2000-06-27 Alan Modra <alan@linuxcare.com.au>
690 * ar.c: Revert incorrect 2000-06-25 patch.
691 * bucomm.c: Likewise.
693 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
695 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
696 (external_coff_symbol_p): New function.
697 (parse_coff): Use it.
699 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
701 * ar.c (normalize): Advance past both characters in a DOS based
702 <letter>: filepath prefix.
704 * bucomm.c (make_tempname): Likewise.
706 2000-06-24 Nick Clifton <nickc@cygnus.com>
708 * objdump.c (usage): Fix description of --stabs switch.
710 2000-06-22 Alan Modra <alan@linuxcare.com.au>
712 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
714 * Makefile.in: Regenerate.
716 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
718 * ar.c (normalize): Correct pointer comparison when checking for
721 * bucomm.c (make_tempname): Likewise.
723 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
724 and search for backslashes in the original pathname.
725 (ieee_add_bb11): Likewise.
727 2000-06-18 Nick Clifton <nickc@redhat.com>
729 * ar.c (print_contents): Improve verbose message.
731 2000-06-15 H.J. Lu <hjl@gnu.org>
733 * dyn-string.c: Removed. Not needed with dyn-string.c in
735 * dyn-string.h: Likewise.
737 * Makefile.am: Remove references to dyn-string.c and
738 dyn-string.h. Rebuild dependency.
739 * Makefile.in: Rebuild.
741 2000-06-15 H.J. Lu <hjl@gnu.org>
743 * binutils.texi: Put a warning on copying relocatable object
744 files between two different formats.
746 2000-06-13 DJ Delorie <dj@cygnus.com>
748 * rcparse.y (control): ICON controls take an id as the first
749 parameter, not an optional string. Also, call new convenience
750 function that takes res_id's.
751 * resrc.c (define_control): missing text means zero-length string,
753 (define_icon_control): New.
754 * windres.h: declare define_icon_control.
756 2000-06-13 H.J. Lu <hjl@gnu.org>
758 * configure: Regenerate.
760 2000-06-08 David O'Brien <obrien@FreeBSD.org>
762 * configure.in (VERSION): Update to show this is the CVS mainline.
764 2000-06-02 David O'Brien <obrien@FreeBSD.org>
766 * strings.c (isgraphic): Interpret <TAB> as a printable character,
767 analogous to <SPACE>.
769 2000-05-30 Alan Modra <alan@linuxcare.com.au>
771 * objdump.c (display_target_list): Use bfd_close_all_done, not
772 bfd_close to fix crash caused by 2000-05-24 change.
774 2000-05-25 DJ Delorie <dj@cygnus.com>
776 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
778 2000-05-26 Alan Modra <alan@linuxcare.com.au>
780 * Makefile.am: Update dependencies with "make dep-am"
781 * Makefile.in: Regenerate.
783 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
785 * ar.c: Include filenames.h.
786 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
787 and drive letters in file names.
788 (main): Support backslashes and drive letters in argv[0]. Drop
789 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
790 FILENAME_CMP instead of strcmp to compare file names.
791 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
793 (do_quick_append) [__GO32__]: Ditto.
794 (get_pos_bfd, delete_members, move_members, replace_members):
795 Compare file names with FILENAME_CMP.
797 * bucomm.c: Include filenames.h.
798 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
799 forward/backward slashes and drive letters in file names.
801 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
802 mixed forward/backward slashes and drive letters in file names.
804 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
805 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
808 * objcopy.c: Include filenames.h.
809 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
810 before comparing to "strip".
811 Use FILENAME_CMP to compare file names.
813 * arsup.c: Include filenames.h.
814 (map_over_list, ar_delete, ar_replace, ar_extract): Use
815 FILENAME_CMP to compare file names.
816 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
817 the temporary file name.
819 * configure.in: Check for setmode.
820 * configure: Regenerate.
822 2000-05-24 Alan Modra <alan@linuxcare.com.au>
824 * objdump.c (display_target_list): Close the bfd.
825 (display_info_table): Likewise.
827 2000-05-14 H.J. Lu (hjl@gnu.org)
829 * objcopy.c (filter_symbols): Don't strip global symbols in
830 relocatable object files.
832 2000-05-14 Alan Modra <alan@linuxcare.com.au>
834 * size.c (usage): Associate short options with corresponding long
835 option to give a clue as to their function.
837 2000-05-14 Philippe De Muyter <phdm@macqel.be>
839 * size.c (main): Accept and ignore `-f' option.
841 2000-05-13 Alan Modra <alan@linuxcare.com.au>
843 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
844 bindtextdomain): Replace defines with those from intl/libgettext.h
845 to quieten gcc warnings.
847 2000-05-12 H.J. Lu <hjl@gnu.org>
849 * nlmconv.c (temp_filename): Removed.
851 * nlmconv.c (link_inputs): Use make_temp_file () instead of
853 * objdump.c (display_target_list): Likewise.
854 (display_info_table): Likewise.
856 2000-05-08 Alan Modra <alan@linuxcare.com.au>
858 * objcopy.c (setup_section): Add const and gettext calls for err.
860 2000-05-02 H.J. Lu <hjl@gnu.org>
862 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
863 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
864 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
865 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
866 and ELFOSABI_OPENBSD.
868 2000-05-02 Kazu Hirata <kazu@hxi.com>
870 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
871 * srconv.c: Likewise.
872 * sysdump.c: Likewise.
874 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
876 * readelf.c (guess_is_rela): AVR uses RELA relocations.
877 (get_machine_name): machine name for EM_AVR added.
879 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
880 David Mosberger <davidm@hpl.hp.com>
882 * Makefile.am (readelf.o): Add elf/ia64.h.
883 * Makefile.in: Rebuild.
884 * readelf.c: Include elf/ia64.h.
885 (guess_is_rela, dump_relocations): Handle EM_IA_64.
887 2000-04-17 Timothy Wall <twall@cygnus.com>
889 * objdump.c (disassemble_data): Set octets per byte *after*
890 resolving arch/mach for binary files.
892 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
894 * arlex.l: Add directives to increase lex buffer size.
896 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
897 already included by bucomm.h.
899 2000-04-10 Philippe De Muyter <phdm@macqel.be>
901 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
902 `strftime' since strftime is not available on all systems.
903 (process_mips_specific): Ditto.
905 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
907 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
908 --enable-build-warnings option.
909 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
910 * Makefile.in, configure: Re-generate.
912 2000-04-06 Alan Modra <alan@linuxcare.com.au>
914 * addr2line.c: Update copyright.
915 * objcopy.1: Likewise, and title.
916 * strings.1: Likewise.
918 * version.c (print_version): Add 2000.
920 * rddbg.c (read_section_stabs_debugging_info): Don't use
921 bfd_size_type for strx to avoid printf problems if BFD64.
923 * bucomm.c: (report): Remove `static'.
924 Move inclusion of stdarg.h/vararg.h from here.
926 (CONST): Change all occurences to const.
927 (report): Declare it.
928 (bfd_fatal): Add ATTRIBUTE_NORETURN.
929 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
930 (non_fatal): Add ATTRIBUTE_PRINTF_1.
932 * ar.c (main): Use fatal or non_fatal instead of fprintf.
933 Correct a typo in an error message.
934 (do_quick_append): Use non_fatal instead of fprintf.
935 (move_members): Use fatal instead of fprintf, exit.
936 * coffdump.c (main): Same here.
938 * dlltool.c (display): Delete.
940 (inform): Use `report' instead of `display'.
941 (rvaafter): Remove trailing \n from fatal error msg.
944 (yyerror): Replace `warn' with `non_fatal', and remove \n.
945 (def_name): Likewise.
947 (scan_all_symbols): Likewise.
948 (gen_lib_file): Likewise.
949 (def_library): Likewise. Remove extra program_name too.
950 (run): Remove \n from inform strings.
951 (scan_drectve_symbols): Likewise.
952 (add_excludes): Likewise.
953 (scan_open_obj_file): Likewise.
954 (gen_exp_file): Likewise.
955 (gen_lib_file): Likewise.
956 (process_duplicates): Likewise.
958 * Makefile.am (dllwrap_SOURCES): Add version.c.
959 * dllwrap.c (program_version): Delete.
960 (print_version): Delete.
961 (display): Always print trailing \n.
963 (delete_temp_files): Use warn instead of fprintf. Use gettext.
966 (usage): gettext'ify.
967 (long_options): Add missing initialisers.
969 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
970 (select_output_format): Likewise.
971 (powerpc_mangle_relocs): Likewise.
972 (link_inputs): Likewise.
974 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
975 (set_output_format): Likewise.
976 (main): Use non_fatal instead of fprintf.
977 (display_rel_file): Likewise.
979 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
980 (slurp_dynamic_symtab): Same here.
981 (disassemble_data): And here.
982 (read_section_stabs): And here.
983 (read_section_stabs): And here.
984 (dump_bfd): And here.
986 (objdump_sprintf): Use fatal instead of fprintf, exit.
987 (disassemble_data): Same here.
989 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
990 (parse_coff_struct_type): Same here.
991 (parse_coff_enum_type): And here.
992 (parse_coff): And here.
993 * rddbg.c (read_debugging_info): And here.
994 * size.c (main): And here.
995 * windres.c (format_from_name): And here.
996 * wrstabs.c (stab_write_symbol): Here too.
997 (write_stabs_in_sections_debugging_info): And here.
998 (stab_int_type): And here.
999 (stab_struct_field): And here.
1000 (stab_typdef): And here.
1002 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1003 * srconv.c (main): Same here.
1004 * strings.c (main): And here.
1005 (integer_arg): And here.
1006 * sysdump.c (main): And here.
1008 2000-04-06 Timothy Wall <twall@cygnus.com>
1010 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1012 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1014 * readelf.c (decode_location_expression): Loop through multiple
1016 (read_and_display_attr): Pass in length.
1018 * readelf.c (read_and_display_attr): Add CU offset to references.
1019 (display_debug_info): Pass it in.
1021 2000-04-06 Nick Clifton <nickc@cygnus.com>
1023 * readelf.c (decode_ARM_machine_flags): New function.
1024 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1027 (get_machine_name): Catch EM_AVR
1029 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1031 * binutils.texi: Remove optional `=' from long options that have
1032 an `=' in the argument.
1033 * objcopy.1: Here too. Remove extra space on discard-all.
1035 * binutils.texi (objcopy): Mention --redefine-sym.
1036 * objcopy.1: Here too.
1039 * objcopy.c (parse_flags): Split off flag names from error message
1040 gettext as they are not translated.
1041 (copy_main): Similarly split off option name for --add-section,
1042 --set-section-flags, --change-section-vma, --change-section-lma
1044 Some white space changes.
1046 from Matthew Benjamin <matt@linuxbox.nu>
1047 * objcopy.c (struct redefine_node): New.
1048 (redefine_sym_list): New.
1049 (redefine_list_append): New.
1050 (lookup_sym_redefinition): New.
1051 (OPTION_REDEFINE_SYM): New.
1052 (copy_options): Add --redefine-sym option.
1053 (copy_usage): Mention it.
1054 (filter_symbols): Rename symbols on redefine_sym_list.
1055 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1056 (copy_main): Handle OPTION_REDEFINE_SYM.
1058 2000-04-04 H.J. Lu <hjl@gnu.org>
1060 * readelf.c (process_symbol_table): Correctly read in symbol
1061 versioning information.
1063 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1065 * po/binutils.pot: Regenerate.
1067 * addr2line.c (usage): Restore translated part of bug string.
1068 * ar.c (usage): Likewise.
1069 * nlmconv.c (show_usage): Likewise.
1070 * nm.c (usage): Likewise.
1071 * objcopy.c (copy_usage): Likewise.
1072 (strip_usage): Likewise.
1073 * objdump.c (usage): Likewise.
1074 * readelf.c (usage): Likewise.
1075 * size.c (usage): Likewise.
1076 * strings.c (usage): Likewise.
1077 * windres.c (usage): Likewise.
1079 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1080 (DEP): Quote when passing vars to sub-make. Add warning
1082 (DEP1): Rewrite for "gcc -MM".
1083 (CLEANFILES): Add DEP2.
1084 Update dependencies.
1085 * Makefile.in: Regenerate.
1087 2000-04-04 H.J. Lu <hjl@gnu.org>
1089 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1090 (arparse.h): Depend on arparse.c
1091 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1093 2000-04-03 H.J. Lu (hjl@gnu.org)
1095 * size.c (usage): Use REPORT_BUGS_TO.
1097 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1099 * bucomm.h: #include "bin-bugs.h"
1100 * addr2line.c (usage): Use REPORT_BUGS_TO.
1101 * ar.c (usage): Likewise.
1102 * nlmconv.c (show_usage): Likewise.
1103 * nm.c (usage): Likewise.
1104 (OPTION_TARGET): Define.
1105 (long_options): Use OPTION_TARGET rather than 200.
1108 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1109 (strip_usage): Likewise.
1110 * objdump.c (usage): Likewise.
1111 * readelf.c (usage): Likewise.
1112 * strings.c (usage): Likewise.
1113 * windres.c (usage): Likewise.
1115 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1117 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1119 2000-03-27 Nick Clifton <nickc@cygnus.com>
1121 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1122 string offsets in corrupt stabs entries.
1124 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1126 * readelf.c: Include elf/avr.h
1127 (dump_relocations): Add EM_AVR case.
1129 2000-03-09 Tim Waugh <twaugh@redhat.com>
1131 * strings.1: Correct '-bytes' to '--bytes'.
1133 2000-03-08 H.J. Lu <hjl@gnu.org>
1135 * Makefile.am (install-exec-local): Depend on
1136 install-binPROGRAMS for parallel make.
1137 * Makefile.in: Regenerated.
1139 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1141 From Brad Lucier <lucier@math.purdue.edu>:
1142 * readelf.c (process_dynamic_segment): Add cast to make sure
1143 argument to %* is int.
1145 2000-02-25 H.J. Lu <hjl@gnu.org>
1147 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1149 2000-02-24 Nick Clifton <nickc@cygnus.com>
1151 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1152 * configure: Regenerate.
1154 * dlltool.c: Add support for sh-pe and mips-pe targets.
1155 * rescoff.c: Add support for sh-pe and mips-pe targets.
1157 2000-02-23 H.J. Lu <hjl@gnu.org>
1159 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1161 2000-02-22 Nick Clifton <nickc@cygnus.com>
1163 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1165 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1167 From Brad Lucier <lucier@math.purdue.edu>:
1168 * readelf.c (process_version_sections): Add casts to make sure
1169 argument to %* is an int.
1170 (process_mips_specific): Add casts to make printf arguments match
1173 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1175 * objdump.c (dump_section_header): Change `opb' to unsigned.
1176 (find_symbol_for_address): Same here.
1177 (disassemble_data): And here. Change `addr_offset',
1178 `stop_offset', `nextstop_offset' to unsigned long.
1179 (dump_data): Change opb to unsigned.
1181 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1183 * resrc.c: Remove unmatched #if for cygwin.
1185 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1187 * binutils.texi: Document the change of flavor name from atpcs-special
1188 to special-atpcs to prevent name conflict in gdb.
1190 2000-02-08 Timothy Wall <twall@redhat.com>
1192 * objdump.c (show_line): Fix bug preventing printing of the very
1193 first line (line zero) of a file when interlisting source and
1194 assembly. Added option to print entire context from start of file
1195 when the first line from that file is encountered.
1197 2000-02-03 Timothy Wall <twall@redhat.com>
1199 * objdump.c (dump_section_header, find_symbol_for_address,
1200 show_line, disassemble_bytes, disassemble_data, dump_data):
1201 distinguish between octets and bytes.
1203 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1205 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1206 check to unresolved symbols.
1207 (print_symbol_info_sysv): Ditto.
1208 (print_symbol_info_posix): Ditto.
1210 * binutils.texi: Document new 'V' symclass flag for nm.
1212 2000-01-27 Nick Clifton <nickc@redhat.com>
1214 * binutils.texi (objdump): Document new ARM specific
1215 disassembler options.
1217 * objdump.c (usage): Call disassembler_usage().
1219 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1221 * readelf.c (get_dynamic_flags): Return buff.
1222 (process_dynamic_segment): Don't pass error strings to printf
1224 (read_and_display_attr): Use lx and ld to print longs.
1225 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1229 2000-01-17 Nick Clifton <nickc@cygnus.com>
1231 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1233 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1235 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1237 (debug_tag_type): Here too.
1238 * ieee.c (ieee_builtin_type): And here.
1239 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1241 2000-01-13 Nick Clifton <nickc@cygnus.com>
1243 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1246 2000-01-11 Nick Clifton <nickc@cygnus.com>
1248 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1250 2000-01-10 Nick Clifton <nickc@cygnus.com>
1252 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1254 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1256 * windres.c (long_options): Add --use-temp-file and
1257 --no-use-temp-file options.
1261 * windres.h: Update read_rc_file prototype.
1263 * resrc.c (cpp_temp_file): New static variable.
1264 (istream_type): New static variable.
1265 (close_pipe): Delete function.
1266 (run_cmd): New static function.
1267 (open_input_stream): New static function.
1268 (close_input_stream): New static function.
1269 (look_for_default): Handle DOS directory separator. Use
1270 open_input_stream instead of popen.
1271 (read_rc_file): Likewise.
1273 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1276 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1278 * dlltool.c (create_compat_implib): New variable.
1279 (gen_exp_file): Use.
1280 (make_one_lib_file): Use.
1281 (long_options): Add --compat-implib option.
1285 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1286 (main): Use. Don't look for "32" in cygwin and mingw target names.
1288 2000-01-03 Nick Clifton <nickc@cygnus.com>
1290 * binutils.texi: Document new, ARM specific disassembler
1291 command line switch "-M force-thumb".
1293 For older changes see ChangeLog-9899
1299 version-control: never