1 2001-05-16 Richard Henderson <rth@redhat.com>
3 * readelf.c (do_debug_frames_interp): New.
4 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
5 (byte_get_big_endian): Likewise.
6 (parse_args) ['F']: Set do_debug_frames_interp.
7 (Frame_Chunk): Make data_factor signed, add fde_encoding.
8 (frame_display_row): Don't trunc pc_begin to int.
9 (size_of_encoded_value): New.
10 (display_debug_frames): Handle 64-bit targets. Print raw data
11 unless do_debug_frames_interp.
12 (debug_displays): Remove duplicate .debug_frame.
14 2001-05-15 Ralf Baechle <ralf@gnu.org>
16 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
17 The former constant was never in active use and is used otherwise
20 2001-05-11 Jakub Jelinek <jakub@redhat.com>
22 * readelf.c (process_unwind): Print all unwind sections, not just
25 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
27 * readelf.c (process_unwind): Remove const specifier.
29 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
31 * strings.c (isgraphic): Do not use isascii() unless it is needed
32 for isprint() to work.
33 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
35 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
37 * NEWS: Announce support for OpenRISC.
39 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
41 * dlltool.c (do_default_excludes): Initialise to true.
43 2001-04-10 Alan Modra <amodra@one.net.au>
45 * MAINTAINERS: Update my email address
46 * nm.c (print_symbol_info_bsd): Use a simple printf string.
48 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
50 * readelf.c (display_debug_lines): Fix typo for "Prologue".
52 2001-03-30 H.J. Lu <hjl@gnu.org>
54 * readelf.c (process_unwind): Just return if do_unwind is 0.
56 2001-03-28 Roger Sayle <roger@metaphorics.com>
58 * dlltool.c (make_one_lib_file): Fix section flags for
59 .text, .data and .bss in stub ds*.o files to match those
62 2001-03-29 H.J. Lu <hjl@gnu.org>
64 * readelf.c (process_unwind): Only do unwind sections for
67 2001-03-28 H.J. Lu <hjl@gnu.org>
69 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
70 * Makefile.in: Regenerate.
72 2001-03-26 Andreas Jaeger <aj@suse.de>
74 * binutils.texi (nm): Fix texi syntax.
76 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
78 * binutils.texi: Put @c man begin and @c man end indications
79 to generate man pages using texi2pod and pod2man. Put @c man title
80 to identify each man. Add SEEALSO entries.
81 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
82 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
84 (*.1): Build the man pages from binutils.texi.
85 * Makefile.in: Regenerate.
87 2001-03-13 Eric Kohl <ekohl@rz-online.de>
89 * defparse.y (opt_equal_name): allow "." in name.
90 * dlltool.c (def_exports): Added ability to generate forwarded exports.
91 (gen_exp_file): Likewise.
93 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
95 * NEWS: Document addition of -B switch to objcopy.
96 * binutils.texi: Document addition of -B switch to objcopy.
97 * objcopy.c: (copy_options): Add --binary-architecture.
98 (copy_usage): Document -B/--binary-architecture.
99 (copy_main): Support -B/--binary-architecture. Set
100 bfd_external_binary_architecture.
102 2001-03-11 Andreas Jaeger <aj@suse.de>
104 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
105 (dump_relocations): Likewise.
106 (get_machine_name): Likewise.
108 2001-02-28 Nick Clifton <nickc@redhat.com>
110 * readelf.c: (struct unw_aux_info): Remove const modifier for
112 (process_unwind): Remove non-K&R compliant LHS type cast in call
113 to GET_DATA_ALLOC macro.
115 2001-02-28 Philip Blundell <pb@futuretv.com>
117 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
118 ABI is in use; remove ambiguity between the "unknown" EABI and
119 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
120 renamed EF_xx constants.
122 2001-02-27 Alan Modra <alan@linuxcare.com.au>
124 * configure.in (BFD_VERSION): New.
125 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
126 * configure: Regenerate.
127 * Makefile.am: Run "make dep-am"
128 * Makefile.in: Regenerate.
130 2001-02-14 Nick Clifton <nickc@redhat.com>
132 * MAINTAINERS: Add "Obvious Fix" rule.
134 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
136 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
137 literal concatenation.
139 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
141 * readelf.c (struct unw_aux_info): Remove const from the info member.
142 (process_unwind): Don't type-cast the third argument to the
143 GET_DATA_ALLOC macro.
145 2001-02-11 Nick Clifton <nickc@redhat.com>
147 * readelf.c (dump_relocations): Free corrected allocated
149 (process_unwind): Fix compile time warning.
151 2001-02-10 Nick Clifton <nickc@redhat.com>
153 * binutils.texi: Document new --unwind option to readelf.
155 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
157 * readelf.c: Add linux target for S/390.
159 2001-02-10 Alan Modra <alan@linuxcare.com.au>
161 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
164 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
166 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
167 * aclocal.m4: Regenerate.
168 * configure: Regenerate.
170 2001-02-07 Todd Vierling <tv@wasabisystems.com>
172 * bucomm.c (bfd_target_vector): Change extern array to pointer.
173 * objdump.c (bfd_target_vector): Likewise.
175 2001-02-07 David Mosberger <davidm@hpl.hp.com>
177 * readelf.c (process_unwind): New function.
178 (slurp_ia64_unwind_table): Ditto.
179 (dump_ia64_unwind): Ditto.
180 (find_symbol_for_address): Ditto.
181 (slurp_rela_relocs): New function (split off from dump_relocations()).
182 (slurp_rel_relocs): Ditto.
183 (parse_args): Handle '-u' option.
185 * unwind-ia64.c: New file.
186 * unwind-ia64.h: New file.
187 * Makefile.am: Include unwind-ia64.c in readelf build.
188 * Makefile.in: Regenerate.
189 * po/binutils.pot: Regenerate.
191 2001-02-04 Philip Blundell <philb@gnu.org>
193 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
194 * configure: Regenerate.
196 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
198 * ieee.c (ieee_add_bb11): Don't check for backslashes
199 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
201 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
203 * ieee.c: Update copyright.
204 (ieee_start_compilation_unit): Don't check for backslashes
205 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
207 * stabs.c: Update copyright. Include "filenames.h".
208 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
210 2001-01-23 Jakub Jelinek <jakub@redhat.com>
212 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
213 sections are present before using them. Remove code duplication.
214 (process_symbol_table): Check if VERDEF or VERNEED sections are
215 present before using them.
217 2001-01-17 Nick Clifton <nickc@redhat.com>
219 * objcopy.c (copy_object): Fail if attempting to convert the
220 endianness of the input object file.
222 * binutils.texi: Explain that objcopy cannot convert endianness.
224 2001-01-16 Nick Clifton <nickc@redhat.com>
226 * readelf.c (string_table_length): New variable.
227 (SECTION_NAME): Catch out of range indices and missing section
229 (process_section_headers): Delete useless local variable
230 string_table_offset. Set the value of string_table_length
231 after loading the string table.
232 (process_mips_specific): Use SECTION_NAME macro.
233 (process_file): Set string_table_length to 0 when it is freed.
235 2001-01-12 Nick Clifton <nickc@redhat.com>
237 * version.c (print_version): Update copyright date.
239 2001-01-11 Peter Targett <peter.targett@arccores.com>
241 * readelf.c (dump_relocations): Include selection with EM_ARC.
242 (get_machine_name) Update name to "ARC".
244 2001-01-09 Nick Clifton <nickc@redhat.com>
246 * Makefile.am: Add rule to build objdump.o from objdump.c and
248 * Makefile.in: Regenerate.
250 * configure.in: Define OBJDUMP_DEFS. Default to empty.
251 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
252 -DDISASSEMBLER_NEEDS_RELOCS.
253 * configure: Regenerate.
255 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
256 is defined read in the relocs even if dump_reloc_info is
259 2001-01-07 Philip Blundell <philb@gnu.org>
261 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
265 2000-12-19 Nick Clifton <nickc@redhat.com>
267 * dlltool.c: Add missing support for arm-epoc-pe.
268 * configure.in: Add missing support for arm-epoc-pe.
269 * configure: Regenerate.
271 2000-12-15 Nick Clifton <nickc@redhat.com>
273 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
274 Mode parts of the x86 port.
276 2000-12-04 Andreas Jaeger <aj@suse.de>
278 * readelf.c (guess_is_rela): Add EM_X86_64.
279 (dump_relocations): Add EM_X86_64.
280 (get_machine_name): Add EM_X86_64.
281 Include "elf/x86-64.h".
283 2000-12-12 Nick Clifton <nickc@redhat.com>
285 * readelf.c: Fix formatting.
287 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
289 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
291 2000-12-07 Andrew Haley <aph@redhat.com>
293 * readelf.c (display_debug_frames): Only display columns that are
294 referenced by the frame debug info.
296 2000-12-05 Nick Clifton <nickc@redhat.com>
298 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
300 2000-12-04 Jason Merrill <jason@redhat.com>
302 * readelf.c (process_section_headers): Handle linkonce.wi sections.
303 (display_debug_section): Likewise.
304 (display_debug_info): Display CU header before bailing.
306 2000-12-01 Chris Demetriou <cgd@sibyte.com>
308 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
309 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
310 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
312 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
315 * readelf.c (get_machine_flags): Add case for
318 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
320 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
322 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
324 * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
325 Change sourceware.cygnus.com to sources.redhat.com.
326 Fix typo for "amongst".
328 2000-11-28 Nick Clifton <nickc@redhat.com>
330 * strip.1 (COPYING): Mention that the GNU Free Documentation
331 License is present in the sources, but not the output, and
332 also available from the GNU website.
333 (GNU Free Documentation License): Comment out this section.
342 * addr2line.1: Ditto.
344 2000-11-27 DJ Delorie <dj@redhat.com>
346 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
347 (parse_args): Support -wf option.
348 (process_section_headers): Ditto.
349 (debug_displays): Ditto.
350 (display_debug_frames): New, dump *_frame sections.
351 (frame_need_space): Support for above.
352 (frame_display_row): Ditto.
353 * binutils.texi: Document it.
355 2000-11-24 Nick Clifton <nickc@redhat.com>
357 * NEWS: Announce support for v5t, v5te and XScale.
359 2000-11-22 Nick Clifton <nickc@redhat.com>
361 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
362 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
363 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
364 (get_elf_section_flags: Add SHF_GROUP.
365 (process_section_headers): Adjust output for 32-bit binaries
366 to look nice on an 80 column terminal.
368 2000-11-20 H.J. Lu <hjl@gnu.org>
370 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
373 2000-11-17 Richard Henderson <rth@redhat.com>
375 * readelf.c (display_debug_lines): Adjust last change to
376 use sizeof (external->li_length).
378 2000-11-17 Richard Henderson <rth@redhat.com>
380 * readelf.c (display_debug_lines): Fix section length check
381 and end_of_sequence computation.
383 2000-11-06 Nick Clifton <nickc@redhat.com>
385 * binutils.texi: Add GNU Free Documentation License.
386 * objcopy.1: Add GNU Free Documentation License.
387 * objdump.1: Add GNU Free Documentation License.
388 * addr2line.1: Add GNU Free Documentation License.
389 * ar.1: Add GNU Free Documentation License.
390 * nlmconv.1: Add GNU Free Documentation License.
391 * nm.1: Add GNU Free Documentation License.
392 * ranlib.1: Add GNU Free Documentation License.
393 * size.1: Add GNU Free Documentation License.
394 * strings.1: Add GNU Free Documentation License.
395 * strip.1: Add GNU Free Documentation License.
397 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
399 * objcopy.c (--srec-len=nn): New parameter to set the
400 maximum length of generated Srecords.
401 (--srec-forceS3): New parameter that restricts the generation of
402 Srecords to type S3 only.
403 * binutils.texi: Document new command line switches.
404 * objcopy.1: Docuemnt the new command line switches.
405 * NEWS: Announce the existence of the new command line switches.
407 2000-10-31 Nick Clifton <nickc@redhat.com>
409 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
410 code. Add Eric Chrisopher as maintainer of MN10300 port.
412 2000-10-12 Roger Sayle <roger@metaphorics.com>
414 * Make comma after string after icon/control optional.
416 2000-09-13 Anders Norlander <anorland@acc.umu.se>
418 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
420 * NEWS: Mention support for MIPS32.
422 2000-09-08 Nick Clifton <nickc@redhat.com>
424 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
426 2000-09-07 H.J. Lu <hjl@gnu.org>
428 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
429 * configure: Rebuild.
431 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
433 * configure: Rebuilt with new libtool.m4.
435 2000-09-05 Nick Clifton <nickc@redhat.com>
437 * aclocal.m4: Regenerate.
438 * config.in: Regenerate.
439 * configure: Regenerate.
441 2000-09-04 Todd Vierling <tv@wasabisystems.com>
443 * strip.1: Fix stray '\' in -o formatting.
445 2000-09-02 Nick Clifton <nickc@redhat.com>
447 * configure.in: Increase version number to 2.10.91.
448 * configure: Regenerate.
449 * aclocal.m4: Regenerate.
450 * config.in: Regenerate.
451 * po/binutils.pot: Regenerate.
453 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
455 * acinclude.m4: Include libtool and gettext macros from the
457 * aclocal.m4, configure: Rebuilt.
459 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
461 * resrc.c (close_input_stream): Delete extraneous logic
463 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
465 * NEWS: Mention support for CRIS.
467 2000-08-21 Nick Clifton <nickc@redhat.com>
469 * addr2line.c: Changed email address for Ulrich Lauther.
471 2000-08-17 Christopher C. Chimelis <chris@debian.org>
473 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
475 2000-08-17 Nick Clifton <nickc@redhat.com>
477 * readelf.c (display_debug_pubnames): Only issue warning
478 message once. Terminate message with a new line.
479 (display_debug_aranges): Only display version 2 debug info.
481 2000-08-14 Todd Vierling <tv@wasabisystems.com>
483 * objcopy.c (strip_main): Silently accept -d as an alias for -g
484 for compatability with old BSD systems.
486 2000-08-14 Jason Eckhardt <jle@cygnus.com>
488 * NEWS: Mention i860 support.
490 2000-08-11 Carlo Wood <carlo@alinoe.com>
492 * addr2line.c (main): Add const to char *.
494 2000-08-11 Geoff Keating <geoffk@cygnus.com>
496 * ar.c (main): Don't crash if called with no arguments
497 or only '-X32_64' as an argument.
499 2000-08-08 DJ Delorie <dj@redhat.com>
501 * resrc.c: use "gcc -xc" instead of -xc-header
503 2000-08-05 Jason Eckhardt <jle@cygnus.com>
505 * readelf.c (elf/i860.h): Include.
506 (dump_relocations): Add recognition of i860 architecture.
507 (guess_is_rela): Add recognition of i860 architecture.
509 2000-08-03 Nick Clifton <nickc@cygnus.com>
511 * MAINTAINERS: Add information about CGEN maintainers.
513 2000-07-26 Geoff Keating <geoffk@cygnus.com>
515 * nm.c (main): Ignore '-X32_64' as an option.
516 * ar.c (main): Likewise.
517 * binutils.texi (nm): Document new option.
520 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
522 * rdcoff.c (external_coff_symbol_p): K&R-ise.
524 2000-07-20 H.J. Lu <hjl@gnu.org>
526 * binutils.texi: Put back "@end table" deleted by
529 2000-07-05 Kenneth Block <krblock@computer.org>
531 * nm.c: Add optional style to demangle switch.
532 * objdump.c: Add optional style to demangle switch.
533 * addr2line.c: Add optional style to demangle switch.
534 * binutils.texi: Document optional style to demangle
537 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
539 * MAINTAINERS: Add self as CRIS port maintainer.
540 * readelf.c: Include elf/cris.h.
541 (guess_is_rela): Handle EM_CRIS.
542 (dump_relocations): Ditto.
543 (get_machine_name): Ditto.
544 * Makefile.am: Rebuild dependencies.
545 * Makefile.in: Regenerate.
546 * po/binutils.pot: Regenerate.
548 2000-07-19 H.J. Lu <hjl@gnu.org>
550 * readelf.c (get_dynamic_type): Change "AUXILARY" to
552 (process_dynamic_segment): Print out strings for DT_CONFIG,
553 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
555 2000-07-19 Mark Kettenis <kettenis@gnu.org>
557 * nm.c (usage): Change output of `nm --help' to include a
558 description of the purpose of the program and a detailed
559 description of the accepted options.
561 2000-07-19 H.J. Lu <hjl@gnu.org>
563 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
566 2000-07-19 H.J. Lu <hjl@gnu.org>
568 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
570 2000-07-19 H.J. Lu <hjl@gnu.org>
572 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
574 (process_dynamic_segment): Likewise.
576 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
577 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
578 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
579 DF_1_NODUMP and DF_1_CONLFAT.
581 2000-07-18 Nick Clifton <nickc@cygnus.com>
583 * binutils.texi (readelf): Fix spelling typo.
585 2000-07-11 Mark Kettenis <kettenis@gnu.org>
587 * objdump.c (usage): Make output of `objdump --help' more
588 consistent with the rest of the GNU world. Add a line describing
589 the purpose of the program.
591 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
593 * stabs.c (parse_stab_range_type): Cast to proper type to fix
596 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
598 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
600 (process_symbol_table): Ditto.
601 (procesS_extended_line_op): Ditto.
602 (display_debug_lines): Ditto.
603 (display_debug_pubnames): Ditto.
604 (read_and_display_attr): Ditto.
606 2000-07-09 Nick Clifton <nickc@cygnus.com>
608 * MAINTAINERS: Add several more port specific maintainers.
610 2000-07-05 Nick Clifton <nickc@cygnus.com>
612 * MAINTAINERS: Add blanket write privs for Michael Meissner.
614 2000-06-05 DJ Delorie <dj@redhat.com>
618 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
620 * dllwrap.c: Changed mistaken dyn_string_append() calls
621 to dyn_string_append_cstr().
623 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
625 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
626 struct debug_type stores size in bytes.
628 2000-07-01 Alan Modra <alan@linuxcare.com.au>
630 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
631 (CLEANFILES): Add DEPA.
632 * Makefile.in: Regenerate.
634 2000-06-27 Alan Modra <alan@linuxcare.com.au>
636 * ar.c: Revert incorrect 2000-06-25 patch.
637 * bucomm.c: Likewise.
639 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
641 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
642 (external_coff_symbol_p): New function.
643 (parse_coff): Use it.
645 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
647 * ar.c (normalize): Advance past both characters in a DOS based
648 <letter>: filepath prefix.
650 * bucomm.c (make_tempname): Likewise.
652 2000-06-24 Nick Clifton <nickc@cygnus.com>
654 * objdump.c (usage): Fix description of --stabs switch.
656 2000-06-22 Alan Modra <alan@linuxcare.com.au>
658 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
660 * Makefile.in: Regenerate.
662 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
664 * ar.c (normalize): Correct pointer comparison when checking for
667 * bucomm.c (make_tempname): Likewise.
669 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
670 and search for backslashes in the original pathname.
671 (ieee_add_bb11): Likewise.
673 2000-06-18 Nick Clifton <nickc@redhat.com>
675 * ar.c (print_contents): Improve verbose message.
677 2000-06-15 H.J. Lu <hjl@gnu.org>
679 * dyn-string.c: Removed. Not needed with dyn-string.c in
681 * dyn-string.h: Likewise.
683 * Makefile.am: Remove references to dyn-string.c and
684 dyn-string.h. Rebuild dependency.
685 * Makefile.in: Rebuild.
687 2000-06-15 H.J. Lu <hjl@gnu.org>
689 * binutils.texi: Put a warning on copying relocatable object
690 files between two different formats.
692 2000-06-13 DJ Delorie <dj@cygnus.com>
694 * rcparse.y (control): ICON controls take an id as the first
695 parameter, not an optional string. Also, call new convenience
696 function that takes res_id's.
697 * resrc.c (define_control): missing text means zero-length string,
699 (define_icon_control): New.
700 * windres.h: declare define_icon_control.
702 2000-06-13 H.J. Lu <hjl@gnu.org>
704 * configure: Regenerate.
706 2000-06-08 David O'Brien <obrien@FreeBSD.org>
708 * configure.in (VERSION): Update to show this is the CVS mainline.
710 2000-06-02 David O'Brien <obrien@FreeBSD.org>
712 * strings.c (isgraphic): Interpret <TAB> as a printable character,
713 analogous to <SPACE>.
715 2000-05-30 Alan Modra <alan@linuxcare.com.au>
717 * objdump.c (display_target_list): Use bfd_close_all_done, not
718 bfd_close to fix crash caused by 2000-05-24 change.
720 2000-05-25 DJ Delorie <dj@cygnus.com>
722 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
724 2000-05-26 Alan Modra <alan@linuxcare.com.au>
726 * Makefile.am: Update dependencies with "make dep-am"
727 * Makefile.in: Regenerate.
729 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
731 * ar.c: Include filenames.h.
732 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
733 and drive letters in file names.
734 (main): Support backslashes and drive letters in argv[0]. Drop
735 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
736 FILENAME_CMP instead of strcmp to compare file names.
737 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
739 (do_quick_append) [__GO32__]: Ditto.
740 (get_pos_bfd, delete_members, move_members, replace_members):
741 Compare file names with FILENAME_CMP.
743 * bucomm.c: Include filenames.h.
744 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
745 forward/backward slashes and drive letters in file names.
747 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
748 mixed forward/backward slashes and drive letters in file names.
750 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
751 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
754 * objcopy.c: Include filenames.h.
755 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
756 before comparing to "strip".
757 Use FILENAME_CMP to compare file names.
759 * arsup.c: Include filenames.h.
760 (map_over_list, ar_delete, ar_replace, ar_extract): Use
761 FILENAME_CMP to compare file names.
762 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
763 the temporary file name.
765 * configure.in: Check for setmode.
766 * configure: Regenerate.
768 2000-05-24 Alan Modra <alan@linuxcare.com.au>
770 * objdump.c (display_target_list): Close the bfd.
771 (display_info_table): Likewise.
773 2000-05-14 H.J. Lu (hjl@gnu.org)
775 * objcopy.c (filter_symbols): Don't strip global symbols in
776 relocatable object files.
778 2000-05-14 Alan Modra <alan@linuxcare.com.au>
780 * size.c (usage): Associate short options with corresponding long
781 option to give a clue as to their function.
783 2000-05-14 Philippe De Muyter <phdm@macqel.be>
785 * size.c (main): Accept and ignore `-f' option.
787 2000-05-13 Alan Modra <alan@linuxcare.com.au>
789 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
790 bindtextdomain): Replace defines with those from intl/libgettext.h
791 to quieten gcc warnings.
793 2000-05-12 H.J. Lu <hjl@gnu.org>
795 * nlmconv.c (temp_filename): Removed.
797 * nlmconv.c (link_inputs): Use make_temp_file () instead of
799 * objdump.c (display_target_list): Likewise.
800 (display_info_table): Likewise.
802 2000-05-08 Alan Modra <alan@linuxcare.com.au>
804 * objcopy.c (setup_section): Add const and gettext calls for err.
806 2000-05-02 H.J. Lu <hjl@gnu.org>
808 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
809 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
810 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
811 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
812 and ELFOSABI_OPENBSD.
814 2000-05-02 Kazu Hirata <kazu@hxi.com>
816 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
817 * srconv.c: Likewise.
818 * sysdump.c: Likewise.
820 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
822 * readelf.c (guess_is_rela): AVR uses RELA relocations.
823 (get_machine_name): machine name for EM_AVR added.
825 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
826 David Mosberger <davidm@hpl.hp.com>
828 * Makefile.am (readelf.o): Add elf/ia64.h.
829 * Makefile.in: Rebuild.
830 * readelf.c: Include elf/ia64.h.
831 (guess_is_rela, dump_relocations): Handle EM_IA_64.
833 2000-04-17 Timothy Wall <twall@cygnus.com>
835 * objdump.c (disassemble_data): Set octets per byte *after*
836 resolving arch/mach for binary files.
838 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
840 * arlex.l: Add directives to increase lex buffer size.
842 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
843 already included by bucomm.h.
845 2000-04-10 Philippe De Muyter <phdm@macqel.be>
847 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
848 `strftime' since strftime is not available on all systems.
849 (process_mips_specific): Ditto.
851 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
853 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
854 --enable-build-warnings option.
855 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
856 * Makefile.in, configure: Re-generate.
858 2000-04-06 Alan Modra <alan@linuxcare.com.au>
860 * addr2line.c: Update copyright.
861 * objcopy.1: Likewise, and title.
862 * strings.1: Likewise.
864 * version.c (print_version): Add 2000.
866 * rddbg.c (read_section_stabs_debugging_info): Don't use
867 bfd_size_type for strx to avoid printf problems if BFD64.
869 * bucomm.c: (report): Remove `static'.
870 Move inclusion of stdarg.h/vararg.h from here.
872 (CONST): Change all occurences to const.
873 (report): Declare it.
874 (bfd_fatal): Add ATTRIBUTE_NORETURN.
875 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
876 (non_fatal): Add ATTRIBUTE_PRINTF_1.
878 * ar.c (main): Use fatal or non_fatal instead of fprintf.
879 Correct a typo in an error message.
880 (do_quick_append): Use non_fatal instead of fprintf.
881 (move_members): Use fatal instead of fprintf, exit.
882 * coffdump.c (main): Same here.
884 * dlltool.c (display): Delete.
886 (inform): Use `report' instead of `display'.
887 (rvaafter): Remove trailing \n from fatal error msg.
890 (yyerror): Replace `warn' with `non_fatal', and remove \n.
891 (def_name): Likewise.
893 (scan_all_symbols): Likewise.
894 (gen_lib_file): Likewise.
895 (def_library): Likewise. Remove extra program_name too.
896 (run): Remove \n from inform strings.
897 (scan_drectve_symbols): Likewise.
898 (add_excludes): Likewise.
899 (scan_open_obj_file): Likewise.
900 (gen_exp_file): Likewise.
901 (gen_lib_file): Likewise.
902 (process_duplicates): Likewise.
904 * Makefile.am (dllwrap_SOURCES): Add version.c.
905 * dllwrap.c (program_version): Delete.
906 (print_version): Delete.
907 (display): Always print trailing \n.
909 (delete_temp_files): Use warn instead of fprintf. Use gettext.
912 (usage): gettext'ify.
913 (long_options): Add missing initialisers.
915 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
916 (select_output_format): Likewise.
917 (powerpc_mangle_relocs): Likewise.
918 (link_inputs): Likewise.
920 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
921 (set_output_format): Likewise.
922 (main): Use non_fatal instead of fprintf.
923 (display_rel_file): Likewise.
925 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
926 (slurp_dynamic_symtab): Same here.
927 (disassemble_data): And here.
928 (read_section_stabs): And here.
929 (read_section_stabs): And here.
930 (dump_bfd): And here.
932 (objdump_sprintf): Use fatal instead of fprintf, exit.
933 (disassemble_data): Same here.
935 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
936 (parse_coff_struct_type): Same here.
937 (parse_coff_enum_type): And here.
938 (parse_coff): And here.
939 * rddbg.c (read_debugging_info): And here.
940 * size.c (main): And here.
941 * windres.c (format_from_name): And here.
942 * wrstabs.c (stab_write_symbol): Here too.
943 (write_stabs_in_sections_debugging_info): And here.
944 (stab_int_type): And here.
945 (stab_struct_field): And here.
946 (stab_typdef): And here.
948 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
949 * srconv.c (main): Same here.
950 * strings.c (main): And here.
951 (integer_arg): And here.
952 * sysdump.c (main): And here.
954 2000-04-06 Timothy Wall <twall@cygnus.com>
956 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
958 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
960 * readelf.c (decode_location_expression): Loop through multiple
962 (read_and_display_attr): Pass in length.
964 * readelf.c (read_and_display_attr): Add CU offset to references.
965 (display_debug_info): Pass it in.
967 2000-04-06 Nick Clifton <nickc@cygnus.com>
969 * readelf.c (decode_ARM_machine_flags): New function.
970 (get_machine_flags): Call decode_ARM_machine_flags for ARM
973 (get_machine_name): Catch EM_AVR
975 2000-04-05 Alan Modra <alan@linuxcare.com.au>
977 * binutils.texi: Remove optional `=' from long options that have
978 an `=' in the argument.
979 * objcopy.1: Here too. Remove extra space on discard-all.
981 * binutils.texi (objcopy): Mention --redefine-sym.
982 * objcopy.1: Here too.
985 * objcopy.c (parse_flags): Split off flag names from error message
986 gettext as they are not translated.
987 (copy_main): Similarly split off option name for --add-section,
988 --set-section-flags, --change-section-vma, --change-section-lma
990 Some white space changes.
992 from Matthew Benjamin <matt@linuxbox.nu>
993 * objcopy.c (struct redefine_node): New.
994 (redefine_sym_list): New.
995 (redefine_list_append): New.
996 (lookup_sym_redefinition): New.
997 (OPTION_REDEFINE_SYM): New.
998 (copy_options): Add --redefine-sym option.
999 (copy_usage): Mention it.
1000 (filter_symbols): Rename symbols on redefine_sym_list.
1001 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1002 (copy_main): Handle OPTION_REDEFINE_SYM.
1004 2000-04-04 H.J. Lu <hjl@gnu.org>
1006 * readelf.c (process_symbol_table): Correctly read in symbol
1007 versioning information.
1009 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1011 * po/binutils.pot: Regenerate.
1013 * addr2line.c (usage): Restore translated part of bug string.
1014 * ar.c (usage): Likewise.
1015 * nlmconv.c (show_usage): Likewise.
1016 * nm.c (usage): Likewise.
1017 * objcopy.c (copy_usage): Likewise.
1018 (strip_usage): Likewise.
1019 * objdump.c (usage): Likewise.
1020 * readelf.c (usage): Likewise.
1021 * size.c (usage): Likewise.
1022 * strings.c (usage): Likewise.
1023 * windres.c (usage): Likewise.
1025 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1026 (DEP): Quote when passing vars to sub-make. Add warning
1028 (DEP1): Rewrite for "gcc -MM".
1029 (CLEANFILES): Add DEP2.
1030 Update dependencies.
1031 * Makefile.in: Regenerate.
1033 2000-04-04 H.J. Lu <hjl@gnu.org>
1035 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1036 (arparse.h): Depend on arparse.c
1037 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1039 2000-04-03 H.J. Lu (hjl@gnu.org)
1041 * size.c (usage): Use REPORT_BUGS_TO.
1043 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1045 * bucomm.h: #include "bin-bugs.h"
1046 * addr2line.c (usage): Use REPORT_BUGS_TO.
1047 * ar.c (usage): Likewise.
1048 * nlmconv.c (show_usage): Likewise.
1049 * nm.c (usage): Likewise.
1050 (OPTION_TARGET): Define.
1051 (long_options): Use OPTION_TARGET rather than 200.
1054 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1055 (strip_usage): Likewise.
1056 * objdump.c (usage): Likewise.
1057 * readelf.c (usage): Likewise.
1058 * strings.c (usage): Likewise.
1059 * windres.c (usage): Likewise.
1061 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1063 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1065 2000-03-27 Nick Clifton <nickc@cygnus.com>
1067 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1068 string offsets in corrupt stabs entries.
1070 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1072 * readelf.c: Include elf/avr.h
1073 (dump_relocations): Add EM_AVR case.
1075 2000-03-09 Tim Waugh <twaugh@redhat.com>
1077 * strings.1: Correct '-bytes' to '--bytes'.
1079 2000-03-08 H.J. Lu <hjl@gnu.org>
1081 * Makefile.am (install-exec-local): Depend on
1082 install-binPROGRAMS for parallel make.
1083 * Makefile.in: Regenerated.
1085 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1087 From Brad Lucier <lucier@math.purdue.edu>:
1088 * readelf.c (process_dynamic_segment): Add cast to make sure
1089 argument to %* is int.
1091 2000-02-25 H.J. Lu <hjl@gnu.org>
1093 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1095 2000-02-24 Nick Clifton <nickc@cygnus.com>
1097 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1098 * configure: Regenerate.
1100 * dlltool.c: Add support for sh-pe and mips-pe targets.
1101 * rescoff.c: Add support for sh-pe and mips-pe targets.
1103 2000-02-23 H.J. Lu <hjl@gnu.org>
1105 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1107 2000-02-22 Nick Clifton <nickc@cygnus.com>
1109 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1111 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1113 From Brad Lucier <lucier@math.purdue.edu>:
1114 * readelf.c (process_version_sections): Add casts to make sure
1115 argument to %* is an int.
1116 (process_mips_specific): Add casts to make printf arguments match
1119 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1121 * objdump.c (dump_section_header): Change `opb' to unsigned.
1122 (find_symbol_for_address): Same here.
1123 (disassemble_data): And here. Change `addr_offset',
1124 `stop_offset', `nextstop_offset' to unsigned long.
1125 (dump_data): Change opb to unsigned.
1127 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1129 * resrc.c: Remove unmatched #if for cygwin.
1131 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1133 * binutils.texi: Document the change of flavor name from atpcs-special
1134 to special-atpcs to prevent name conflict in gdb.
1136 2000-02-08 Timothy Wall <twall@redhat.com>
1138 * objdump.c (show_line): Fix bug preventing printing of the very
1139 first line (line zero) of a file when interlisting source and
1140 assembly. Added option to print entire context from start of file
1141 when the first line from that file is encountered.
1143 2000-02-03 Timothy Wall <twall@redhat.com>
1145 * objdump.c (dump_section_header, find_symbol_for_address,
1146 show_line, disassemble_bytes, disassemble_data, dump_data):
1147 distinguish between octets and bytes.
1149 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1151 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1152 check to unresolved symbols.
1153 (print_symbol_info_sysv): Ditto.
1154 (print_symbol_info_posix): Ditto.
1156 * binutils.texi: Document new 'V' symclass flag for nm.
1158 2000-01-27 Nick Clifton <nickc@redhat.com>
1160 * binutils.texi (objdump): Document new ARM specific
1161 disassembler options.
1163 * objdump.c (usage): Call disassembler_usage().
1165 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1167 * readelf.c (get_dynamic_flags): Return buff.
1168 (process_dynamic_segment): Don't pass error strings to printf
1170 (read_and_display_attr): Use lx and ld to print longs.
1171 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1175 2000-01-17 Nick Clifton <nickc@cygnus.com>
1177 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1179 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1181 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1183 (debug_tag_type): Here too.
1184 * ieee.c (ieee_builtin_type): And here.
1185 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1187 2000-01-13 Nick Clifton <nickc@cygnus.com>
1189 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1192 2000-01-11 Nick Clifton <nickc@cygnus.com>
1194 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1196 2000-01-10 Nick Clifton <nickc@cygnus.com>
1198 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1200 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1202 * windres.c (long_options): Add --use-temp-file and
1203 --no-use-temp-file options.
1207 * windres.h: Update read_rc_file prototype.
1209 * resrc.c (cpp_temp_file): New static variable.
1210 (istream_type): New static variable.
1211 (close_pipe): Delete function.
1212 (run_cmd): New static function.
1213 (open_input_stream): New static function.
1214 (close_input_stream): New static function.
1215 (look_for_default): Handle DOS directory separator. Use
1216 open_input_stream instead of popen.
1217 (read_rc_file): Likewise.
1219 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1222 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1224 * dlltool.c (create_compat_implib): New variable.
1225 (gen_exp_file): Use.
1226 (make_one_lib_file): Use.
1227 (long_options): Add --compat-implib option.
1231 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1232 (main): Use. Don't look for "32" in cygwin and mingw target names.
1234 2000-01-03 Nick Clifton <nickc@cygnus.com>
1236 * binutils.texi: Document new, ARM specific disassembler
1237 command line switch "-M force-thumb".
1239 For older changes see ChangeLog-9899
1245 version-control: never