1 2001-03-29 H.J. Lu <hjl@gnu.org>
3 * readelf.c (process_unwind): Only do unwind sections for
6 2001-03-28 H.J. Lu <hjl@gnu.org>
8 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
9 * Makefile.in: Regenerate.
11 2001-03-26 Andreas Jaeger <aj@suse.de>
13 * binutils.texi (nm): Fix texi syntax.
15 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17 * binutils.texi: Put @c man begin and @c man end indications
18 to generate man pages using texi2pod and pod2man. Put @c man title
19 to identify each man. Add SEEALSO entries.
20 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
21 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
23 (*.1): Build the man pages from binutils.texi.
24 * Makefile.in: Regenerate.
26 2001-03-13 Eric Kohl <ekohl@rz-online.de>
28 * defparse.y (opt_equal_name): allow "." in name.
29 * dlltool.c (def_exports): Added ability to generate forwarded exports.
30 (gen_exp_file): Likewise.
32 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
34 * NEWS: Document addition of -B switch to objcopy.
35 * binutils.texi: Document addition of -B switch to objcopy.
36 * objcopy.c: (copy_options): Add --binary-architecture.
37 (copy_usage): Document -B/--binary-architecture.
38 (copy_main): Support -B/--binary-architecture. Set
39 bfd_external_binary_architecture.
41 2001-03-11 Andreas Jaeger <aj@suse.de>
43 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
44 (dump_relocations): Likewise.
45 (get_machine_name): Likewise.
47 2001-02-28 Nick Clifton <nickc@redhat.com>
49 * readelf.c: (struct unw_aux_info): Remove const modifier for
51 (process_unwind): Remove non-K&R compliant LHS type cast in call
52 to GET_DATA_ALLOC macro.
54 2001-02-28 Philip Blundell <pb@futuretv.com>
56 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
57 ABI is in use; remove ambiguity between the "unknown" EABI and
58 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
59 renamed EF_xx constants.
61 2001-02-27 Alan Modra <alan@linuxcare.com.au>
63 * configure.in (BFD_VERSION): New.
64 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
65 * configure: Regenerate.
66 * Makefile.am: Run "make dep-am"
67 * Makefile.in: Regenerate.
69 2001-02-14 Nick Clifton <nickc@redhat.com>
71 * MAINTAINERS: Add "Obvious Fix" rule.
73 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
75 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
76 literal concatenation.
78 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
80 * readelf.c (struct unw_aux_info): Remove const from the info member.
81 (process_unwind): Don't type-cast the third argument to the
84 2001-02-11 Nick Clifton <nickc@redhat.com>
86 * readelf.c (dump_relocations): Free corrected allocated
88 (process_unwind): Fix compile time warning.
90 2001-02-10 Nick Clifton <nickc@redhat.com>
92 * binutils.texi: Document new --unwind option to readelf.
94 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
96 * readelf.c: Add linux target for S/390.
98 2001-02-10 Alan Modra <alan@linuxcare.com.au>
100 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
103 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
105 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
106 * aclocal.m4: Regenerate.
107 * configure: Regenerate.
109 2001-02-07 Todd Vierling <tv@wasabisystems.com>
111 * bucomm.c (bfd_target_vector): Change extern array to pointer.
112 * objdump.c (bfd_target_vector): Likewise.
114 2001-02-07 David Mosberger <davidm@hpl.hp.com>
116 * readelf.c (process_unwind): New function.
117 (slurp_ia64_unwind_table): Ditto.
118 (dump_ia64_unwind): Ditto.
119 (find_symbol_for_address): Ditto.
120 (slurp_rela_relocs): New function (split off from dump_relocations()).
121 (slurp_rel_relocs): Ditto.
122 (parse_args): Handle '-u' option.
124 * unwind-ia64.c: New file.
125 * unwind-ia64.h: New file.
126 * Makefile.am: Include unwind-ia64.c in readelf build.
127 * Makefile.in: Regenerate.
128 * po/binutils.pot: Regenerate.
130 2001-02-04 Philip Blundell <philb@gnu.org>
132 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
133 * configure: Regenerate.
135 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
137 * ieee.c (ieee_add_bb11): Don't check for backslashes
138 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
140 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
142 * ieee.c: Update copyright.
143 (ieee_start_compilation_unit): Don't check for backslashes
144 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
146 * stabs.c: Update copyright. Include "filenames.h".
147 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
149 2001-01-23 Jakub Jelinek <jakub@redhat.com>
151 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
152 sections are present before using them. Remove code duplication.
153 (process_symbol_table): Check if VERDEF or VERNEED sections are
154 present before using them.
156 2001-01-17 Nick Clifton <nickc@redhat.com>
158 * objcopy.c (copy_object): Fail if attempting to convert the
159 endianness of the input object file.
161 * binutils.texi: Explain that objcopy cannot convert endianness.
163 2001-01-16 Nick Clifton <nickc@redhat.com>
165 * readelf.c (string_table_length): New variable.
166 (SECTION_NAME): Catch out of range indices and missing section
168 (process_section_headers): Delete useless local variable
169 string_table_offset. Set the value of string_table_length
170 after loading the string table.
171 (process_mips_specific): Use SECTION_NAME macro.
172 (process_file): Set string_table_length to 0 when it is freed.
174 2001-01-12 Nick Clifton <nickc@redhat.com>
176 * version.c (print_version): Update copyright date.
178 2001-01-11 Peter Targett <peter.targett@arccores.com>
180 * readelf.c (dump_relocations): Include selection with EM_ARC.
181 (get_machine_name) Update name to "ARC".
183 2001-01-09 Nick Clifton <nickc@redhat.com>
185 * Makefile.am: Add rule to build objdump.o from objdump.c and
187 * Makefile.in: Regenerate.
189 * configure.in: Define OBJDUMP_DEFS. Default to empty.
190 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
191 -DDISASSEMBLER_NEEDS_RELOCS.
192 * configure: Regenerate.
194 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
195 is defined read in the relocs even if dump_reloc_info is
198 2001-01-07 Philip Blundell <philb@gnu.org>
200 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
204 2000-12-19 Nick Clifton <nickc@redhat.com>
206 * dlltool.c: Add missing support for arm-epoc-pe.
207 * configure.in: Add missing support for arm-epoc-pe.
208 * configure: Regenerate.
210 2000-12-15 Nick Clifton <nickc@redhat.com>
212 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
213 Mode parts of the x86 port.
215 2000-12-04 Andreas Jaeger <aj@suse.de>
217 * readelf.c (guess_is_rela): Add EM_X86_64.
218 (dump_relocations): Add EM_X86_64.
219 (get_machine_name): Add EM_X86_64.
220 Include "elf/x86-64.h".
222 2000-12-12 Nick Clifton <nickc@redhat.com>
224 * readelf.c: Fix formatting.
226 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
228 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
230 2000-12-07 Andrew Haley <aph@redhat.com>
232 * readelf.c (display_debug_frames): Only display columns that are
233 referenced by the frame debug info.
235 2000-12-05 Nick Clifton <nickc@redhat.com>
237 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
239 2000-12-04 Jason Merrill <jason@redhat.com>
241 * readelf.c (process_section_headers): Handle linkonce.wi sections.
242 (display_debug_section): Likewise.
243 (display_debug_info): Display CU header before bailing.
245 2000-12-01 Chris Demetriou <cgd@sibyte.com>
247 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
248 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
249 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
251 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
254 * readelf.c (get_machine_flags): Add case for
257 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
259 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
261 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
263 * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
264 Change sourceware.cygnus.com to sources.redhat.com.
265 Fix typo for "amongst".
267 2000-11-28 Nick Clifton <nickc@redhat.com>
269 * strip.1 (COPYING): Mention that the GNU Free Documentation
270 License is present in the sources, but not the output, and
271 also available from the GNU website.
272 (GNU Free Documentation License): Comment out this section.
281 * addr2line.1: Ditto.
283 2000-11-27 DJ Delorie <dj@redhat.com>
285 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
286 (parse_args): Support -wf option.
287 (process_section_headers): Ditto.
288 (debug_displays): Ditto.
289 (display_debug_frames): New, dump *_frame sections.
290 (frame_need_space): Support for above.
291 (frame_display_row): Ditto.
292 * binutils.texi: Document it.
294 2000-11-24 Nick Clifton <nickc@redhat.com>
296 * NEWS: Announce support for v5t, v5te and XScale.
298 2000-11-22 Nick Clifton <nickc@redhat.com>
300 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
301 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
302 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
303 (get_elf_section_flags: Add SHF_GROUP.
304 (process_section_headers): Adjust output for 32-bit binaries
305 to look nice on an 80 column terminal.
307 2000-11-20 H.J. Lu <hjl@gnu.org>
309 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
312 2000-11-17 Richard Henderson <rth@redhat.com>
314 * readelf.c (display_debug_lines): Adjust last change to
315 use sizeof (external->li_length).
317 2000-11-17 Richard Henderson <rth@redhat.com>
319 * readelf.c (display_debug_lines): Fix section length check
320 and end_of_sequence computation.
322 2000-11-06 Nick Clifton <nickc@redhat.com>
324 * binutils.texi: Add GNU Free Documentation License.
325 * objcopy.1: Add GNU Free Documentation License.
326 * objdump.1: Add GNU Free Documentation License.
327 * addr2line.1: Add GNU Free Documentation License.
328 * ar.1: Add GNU Free Documentation License.
329 * nlmconv.1: Add GNU Free Documentation License.
330 * nm.1: Add GNU Free Documentation License.
331 * ranlib.1: Add GNU Free Documentation License.
332 * size.1: Add GNU Free Documentation License.
333 * strings.1: Add GNU Free Documentation License.
334 * strip.1: Add GNU Free Documentation License.
336 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
338 * objcopy.c (--srec-len=nn): New parameter to set the
339 maximum length of generated Srecords.
340 (--srec-forceS3): New parameter that restricts the generation of
341 Srecords to type S3 only.
342 * binutils.texi: Document new command line switches.
343 * objcopy.1: Docuemnt the new command line switches.
344 * NEWS: Announce the existence of the new command line switches.
346 2000-10-31 Nick Clifton <nickc@redhat.com>
348 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
349 code. Add Eric Chrisopher as maintainer of MN10300 port.
351 2000-10-12 Roger Sayle <roger@metaphorics.com>
353 * Make comma after string after icon/control optional.
355 2000-09-13 Anders Norlander <anorland@acc.umu.se>
357 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
359 * NEWS: Mention support for MIPS32.
361 2000-09-08 Nick Clifton <nickc@redhat.com>
363 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
365 2000-09-07 H.J. Lu <hjl@gnu.org>
367 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
368 * configure: Rebuild.
370 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
372 * configure: Rebuilt with new libtool.m4.
374 2000-09-05 Nick Clifton <nickc@redhat.com>
376 * aclocal.m4: Regenerate.
377 * config.in: Regenerate.
378 * configure: Regenerate.
380 2000-09-04 Todd Vierling <tv@wasabisystems.com>
382 * strip.1: Fix stray '\' in -o formatting.
384 2000-09-02 Nick Clifton <nickc@redhat.com>
386 * configure.in: Increase version number to 2.10.91.
387 * configure: Regenerate.
388 * aclocal.m4: Regenerate.
389 * config.in: Regenerate.
390 * po/binutils.pot: Regenerate.
392 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
394 * acinclude.m4: Include libtool and gettext macros from the
396 * aclocal.m4, configure: Rebuilt.
398 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
400 * resrc.c (close_input_stream): Delete extraneous logic
402 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
404 * NEWS: Mention support for CRIS.
406 2000-08-21 Nick Clifton <nickc@redhat.com>
408 * addr2line.c: Changed email address for Ulrich Lauther.
410 2000-08-17 Christopher C. Chimelis <chris@debian.org>
412 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
414 2000-08-17 Nick Clifton <nickc@redhat.com>
416 * readelf.c (display_debug_pubnames): Only issue warning
417 message once. Terminate message with a new line.
418 (display_debug_aranges): Only display version 2 debug info.
420 2000-08-14 Todd Vierling <tv@wasabisystems.com>
422 * objcopy.c (strip_main): Silently accept -d as an alias for -g
423 for compatability with old BSD systems.
425 2000-08-14 Jason Eckhardt <jle@cygnus.com>
427 * NEWS: Mention i860 support.
429 2000-08-11 Carlo Wood <carlo@alinoe.com>
431 * addr2line.c (main): Add const to char *.
433 2000-08-11 Geoff Keating <geoffk@cygnus.com>
435 * ar.c (main): Don't crash if called with no arguments
436 or only '-X32_64' as an argument.
438 2000-08-08 DJ Delorie <dj@redhat.com>
440 * resrc.c: use "gcc -xc" instead of -xc-header
442 2000-08-05 Jason Eckhardt <jle@cygnus.com>
444 * readelf.c (elf/i860.h): Include.
445 (dump_relocations): Add recognition of i860 architecture.
446 (guess_is_rela): Add recognition of i860 architecture.
448 2000-08-03 Nick Clifton <nickc@cygnus.com>
450 * MAINTAINERS: Add information about CGEN maintainers.
452 2000-07-26 Geoff Keating <geoffk@cygnus.com>
454 * nm.c (main): Ignore '-X32_64' as an option.
455 * ar.c (main): Likewise.
456 * binutils.texi (nm): Document new option.
459 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
461 * rdcoff.c (external_coff_symbol_p): K&R-ise.
463 2000-07-20 H.J. Lu <hjl@gnu.org>
465 * binutils.texi: Put back "@end table" deleted by
468 2000-07-05 Kenneth Block <krblock@computer.org>
470 * nm.c: Add optional style to demangle switch.
471 * objdump.c: Add optional style to demangle switch.
472 * addr2line.c: Add optional style to demangle switch.
473 * binutils.texi: Document optional style to demangle
476 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
478 * MAINTAINERS: Add self as CRIS port maintainer.
479 * readelf.c: Include elf/cris.h.
480 (guess_is_rela): Handle EM_CRIS.
481 (dump_relocations): Ditto.
482 (get_machine_name): Ditto.
483 * Makefile.am: Rebuild dependencies.
484 * Makefile.in: Regenerate.
485 * po/binutils.pot: Regenerate.
487 2000-07-19 H.J. Lu <hjl@gnu.org>
489 * readelf.c (get_dynamic_type): Change "AUXILARY" to
491 (process_dynamic_segment): Print out strings for DT_CONFIG,
492 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
494 2000-07-19 Mark Kettenis <kettenis@gnu.org>
496 * nm.c (usage): Change output of `nm --help' to include a
497 description of the purpose of the program and a detailed
498 description of the accepted options.
500 2000-07-19 H.J. Lu <hjl@gnu.org>
502 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
505 2000-07-19 H.J. Lu <hjl@gnu.org>
507 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
509 2000-07-19 H.J. Lu <hjl@gnu.org>
511 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
513 (process_dynamic_segment): Likewise.
515 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
516 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
517 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
518 DF_1_NODUMP and DF_1_CONLFAT.
520 2000-07-18 Nick Clifton <nickc@cygnus.com>
522 * binutils.texi (readelf): Fix spelling typo.
524 2000-07-11 Mark Kettenis <kettenis@gnu.org>
526 * objdump.c (usage): Make output of `objdump --help' more
527 consistent with the rest of the GNU world. Add a line describing
528 the purpose of the program.
530 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
532 * stabs.c (parse_stab_range_type): Cast to proper type to fix
535 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
537 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
539 (process_symbol_table): Ditto.
540 (procesS_extended_line_op): Ditto.
541 (display_debug_lines): Ditto.
542 (display_debug_pubnames): Ditto.
543 (read_and_display_attr): Ditto.
545 2000-07-09 Nick Clifton <nickc@cygnus.com>
547 * MAINTAINERS: Add several more port specific maintainers.
549 2000-07-05 Nick Clifton <nickc@cygnus.com>
551 * MAINTAINERS: Add blanket write privs for Michael Meissner.
553 2000-06-05 DJ Delorie <dj@redhat.com>
557 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
559 * dllwrap.c: Changed mistaken dyn_string_append() calls
560 to dyn_string_append_cstr().
562 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
564 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
565 struct debug_type stores size in bytes.
567 2000-07-01 Alan Modra <alan@linuxcare.com.au>
569 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
570 (CLEANFILES): Add DEPA.
571 * Makefile.in: Regenerate.
573 2000-06-27 Alan Modra <alan@linuxcare.com.au>
575 * ar.c: Revert incorrect 2000-06-25 patch.
576 * bucomm.c: Likewise.
578 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
580 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
581 (external_coff_symbol_p): New function.
582 (parse_coff): Use it.
584 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
586 * ar.c (normalize): Advance past both characters in a DOS based
587 <letter>: filepath prefix.
589 * bucomm.c (make_tempname): Likewise.
591 2000-06-24 Nick Clifton <nickc@cygnus.com>
593 * objdump.c (usage): Fix description of --stabs switch.
595 2000-06-22 Alan Modra <alan@linuxcare.com.au>
597 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
599 * Makefile.in: Regenerate.
601 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
603 * ar.c (normalize): Correct pointer comparison when checking for
606 * bucomm.c (make_tempname): Likewise.
608 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
609 and search for backslashes in the original pathname.
610 (ieee_add_bb11): Likewise.
612 2000-06-18 Nick Clifton <nickc@redhat.com>
614 * ar.c (print_contents): Improve verbose message.
616 2000-06-15 H.J. Lu <hjl@gnu.org>
618 * dyn-string.c: Removed. Not needed with dyn-string.c in
620 * dyn-string.h: Likewise.
622 * Makefile.am: Remove references to dyn-string.c and
623 dyn-string.h. Rebuild dependency.
624 * Makefile.in: Rebuild.
626 2000-06-15 H.J. Lu <hjl@gnu.org>
628 * binutils.texi: Put a warning on copying relocatable object
629 files between two different formats.
631 2000-06-13 DJ Delorie <dj@cygnus.com>
633 * rcparse.y (control): ICON controls take an id as the first
634 parameter, not an optional string. Also, call new convenience
635 function that takes res_id's.
636 * resrc.c (define_control): missing text means zero-length string,
638 (define_icon_control): New.
639 * windres.h: declare define_icon_control.
641 2000-06-13 H.J. Lu <hjl@gnu.org>
643 * configure: Regenerate.
645 2000-06-08 David O'Brien <obrien@FreeBSD.org>
647 * configure.in (VERSION): Update to show this is the CVS mainline.
649 2000-06-02 David O'Brien <obrien@FreeBSD.org>
651 * strings.c (isgraphic): Interpret <TAB> as a printable character,
652 analogous to <SPACE>.
654 2000-05-30 Alan Modra <alan@linuxcare.com.au>
656 * objdump.c (display_target_list): Use bfd_close_all_done, not
657 bfd_close to fix crash caused by 2000-05-24 change.
659 2000-05-25 DJ Delorie <dj@cygnus.com>
661 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
663 2000-05-26 Alan Modra <alan@linuxcare.com.au>
665 * Makefile.am: Update dependencies with "make dep-am"
666 * Makefile.in: Regenerate.
668 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
670 * ar.c: Include filenames.h.
671 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
672 and drive letters in file names.
673 (main): Support backslashes and drive letters in argv[0]. Drop
674 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
675 FILENAME_CMP instead of strcmp to compare file names.
676 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
678 (do_quick_append) [__GO32__]: Ditto.
679 (get_pos_bfd, delete_members, move_members, replace_members):
680 Compare file names with FILENAME_CMP.
682 * bucomm.c: Include filenames.h.
683 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
684 forward/backward slashes and drive letters in file names.
686 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
687 mixed forward/backward slashes and drive letters in file names.
689 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
690 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
693 * objcopy.c: Include filenames.h.
694 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
695 before comparing to "strip".
696 Use FILENAME_CMP to compare file names.
698 * arsup.c: Include filenames.h.
699 (map_over_list, ar_delete, ar_replace, ar_extract): Use
700 FILENAME_CMP to compare file names.
701 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
702 the temporary file name.
704 * configure.in: Check for setmode.
705 * configure: Regenerate.
707 2000-05-24 Alan Modra <alan@linuxcare.com.au>
709 * objdump.c (display_target_list): Close the bfd.
710 (display_info_table): Likewise.
712 2000-05-14 H.J. Lu (hjl@gnu.org)
714 * objcopy.c (filter_symbols): Don't strip global symbols in
715 relocatable object files.
717 2000-05-14 Alan Modra <alan@linuxcare.com.au>
719 * size.c (usage): Associate short options with corresponding long
720 option to give a clue as to their function.
722 2000-05-14 Philippe De Muyter <phdm@macqel.be>
724 * size.c (main): Accept and ignore `-f' option.
726 2000-05-13 Alan Modra <alan@linuxcare.com.au>
728 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
729 bindtextdomain): Replace defines with those from intl/libgettext.h
730 to quieten gcc warnings.
732 2000-05-12 H.J. Lu <hjl@gnu.org>
734 * nlmconv.c (temp_filename): Removed.
736 * nlmconv.c (link_inputs): Use make_temp_file () instead of
738 * objdump.c (display_target_list): Likewise.
739 (display_info_table): Likewise.
741 2000-05-08 Alan Modra <alan@linuxcare.com.au>
743 * objcopy.c (setup_section): Add const and gettext calls for err.
745 2000-05-02 H.J. Lu <hjl@gnu.org>
747 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
748 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
749 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
750 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
751 and ELFOSABI_OPENBSD.
753 2000-05-02 Kazu Hirata <kazu@hxi.com>
755 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
756 * srconv.c: Likewise.
757 * sysdump.c: Likewise.
759 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
761 * readelf.c (guess_is_rela): AVR uses RELA relocations.
762 (get_machine_name): machine name for EM_AVR added.
764 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
765 David Mosberger <davidm@hpl.hp.com>
767 * Makefile.am (readelf.o): Add elf/ia64.h.
768 * Makefile.in: Rebuild.
769 * readelf.c: Include elf/ia64.h.
770 (guess_is_rela, dump_relocations): Handle EM_IA_64.
772 2000-04-17 Timothy Wall <twall@cygnus.com>
774 * objdump.c (disassemble_data): Set octets per byte *after*
775 resolving arch/mach for binary files.
777 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
779 * arlex.l: Add directives to increase lex buffer size.
781 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
782 already included by bucomm.h.
784 2000-04-10 Philippe De Muyter <phdm@macqel.be>
786 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
787 `strftime' since strftime is not available on all systems.
788 (process_mips_specific): Ditto.
790 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
792 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
793 --enable-build-warnings option.
794 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
795 * Makefile.in, configure: Re-generate.
797 2000-04-06 Alan Modra <alan@linuxcare.com.au>
799 * addr2line.c: Update copyright.
800 * objcopy.1: Likewise, and title.
801 * strings.1: Likewise.
803 * version.c (print_version): Add 2000.
805 * rddbg.c (read_section_stabs_debugging_info): Don't use
806 bfd_size_type for strx to avoid printf problems if BFD64.
808 * bucomm.c: (report): Remove `static'.
809 Move inclusion of stdarg.h/vararg.h from here.
811 (CONST): Change all occurences to const.
812 (report): Declare it.
813 (bfd_fatal): Add ATTRIBUTE_NORETURN.
814 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
815 (non_fatal): Add ATTRIBUTE_PRINTF_1.
817 * ar.c (main): Use fatal or non_fatal instead of fprintf.
818 Correct a typo in an error message.
819 (do_quick_append): Use non_fatal instead of fprintf.
820 (move_members): Use fatal instead of fprintf, exit.
821 * coffdump.c (main): Same here.
823 * dlltool.c (display): Delete.
825 (inform): Use `report' instead of `display'.
826 (rvaafter): Remove trailing \n from fatal error msg.
829 (yyerror): Replace `warn' with `non_fatal', and remove \n.
830 (def_name): Likewise.
832 (scan_all_symbols): Likewise.
833 (gen_lib_file): Likewise.
834 (def_library): Likewise. Remove extra program_name too.
835 (run): Remove \n from inform strings.
836 (scan_drectve_symbols): Likewise.
837 (add_excludes): Likewise.
838 (scan_open_obj_file): Likewise.
839 (gen_exp_file): Likewise.
840 (gen_lib_file): Likewise.
841 (process_duplicates): Likewise.
843 * Makefile.am (dllwrap_SOURCES): Add version.c.
844 * dllwrap.c (program_version): Delete.
845 (print_version): Delete.
846 (display): Always print trailing \n.
848 (delete_temp_files): Use warn instead of fprintf. Use gettext.
851 (usage): gettext'ify.
852 (long_options): Add missing initialisers.
854 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
855 (select_output_format): Likewise.
856 (powerpc_mangle_relocs): Likewise.
857 (link_inputs): Likewise.
859 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
860 (set_output_format): Likewise.
861 (main): Use non_fatal instead of fprintf.
862 (display_rel_file): Likewise.
864 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
865 (slurp_dynamic_symtab): Same here.
866 (disassemble_data): And here.
867 (read_section_stabs): And here.
868 (read_section_stabs): And here.
869 (dump_bfd): And here.
871 (objdump_sprintf): Use fatal instead of fprintf, exit.
872 (disassemble_data): Same here.
874 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
875 (parse_coff_struct_type): Same here.
876 (parse_coff_enum_type): And here.
877 (parse_coff): And here.
878 * rddbg.c (read_debugging_info): And here.
879 * size.c (main): And here.
880 * windres.c (format_from_name): And here.
881 * wrstabs.c (stab_write_symbol): Here too.
882 (write_stabs_in_sections_debugging_info): And here.
883 (stab_int_type): And here.
884 (stab_struct_field): And here.
885 (stab_typdef): And here.
887 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
888 * srconv.c (main): Same here.
889 * strings.c (main): And here.
890 (integer_arg): And here.
891 * sysdump.c (main): And here.
893 2000-04-06 Timothy Wall <twall@cygnus.com>
895 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
897 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
899 * readelf.c (decode_location_expression): Loop through multiple
901 (read_and_display_attr): Pass in length.
903 * readelf.c (read_and_display_attr): Add CU offset to references.
904 (display_debug_info): Pass it in.
906 2000-04-06 Nick Clifton <nickc@cygnus.com>
908 * readelf.c (decode_ARM_machine_flags): New function.
909 (get_machine_flags): Call decode_ARM_machine_flags for ARM
912 (get_machine_name): Catch EM_AVR
914 2000-04-05 Alan Modra <alan@linuxcare.com.au>
916 * binutils.texi: Remove optional `=' from long options that have
917 an `=' in the argument.
918 * objcopy.1: Here too. Remove extra space on discard-all.
920 * binutils.texi (objcopy): Mention --redefine-sym.
921 * objcopy.1: Here too.
924 * objcopy.c (parse_flags): Split off flag names from error message
925 gettext as they are not translated.
926 (copy_main): Similarly split off option name for --add-section,
927 --set-section-flags, --change-section-vma, --change-section-lma
929 Some white space changes.
931 from Matthew Benjamin <matt@linuxbox.nu>
932 * objcopy.c (struct redefine_node): New.
933 (redefine_sym_list): New.
934 (redefine_list_append): New.
935 (lookup_sym_redefinition): New.
936 (OPTION_REDEFINE_SYM): New.
937 (copy_options): Add --redefine-sym option.
938 (copy_usage): Mention it.
939 (filter_symbols): Rename symbols on redefine_sym_list.
940 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
941 (copy_main): Handle OPTION_REDEFINE_SYM.
943 2000-04-04 H.J. Lu <hjl@gnu.org>
945 * readelf.c (process_symbol_table): Correctly read in symbol
946 versioning information.
948 2000-04-04 Alan Modra <alan@linuxcare.com.au>
950 * po/binutils.pot: Regenerate.
952 * addr2line.c (usage): Restore translated part of bug string.
953 * ar.c (usage): Likewise.
954 * nlmconv.c (show_usage): Likewise.
955 * nm.c (usage): Likewise.
956 * objcopy.c (copy_usage): Likewise.
957 (strip_usage): Likewise.
958 * objdump.c (usage): Likewise.
959 * readelf.c (usage): Likewise.
960 * size.c (usage): Likewise.
961 * strings.c (usage): Likewise.
962 * windres.c (usage): Likewise.
964 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
965 (DEP): Quote when passing vars to sub-make. Add warning
967 (DEP1): Rewrite for "gcc -MM".
968 (CLEANFILES): Add DEP2.
970 * Makefile.in: Regenerate.
972 2000-04-04 H.J. Lu <hjl@gnu.org>
974 * Makefile.am (GENERATED_HFILES): Add rcparse.h
975 (arparse.h): Depend on arparse.c
976 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
978 2000-04-03 H.J. Lu (hjl@gnu.org)
980 * size.c (usage): Use REPORT_BUGS_TO.
982 2000-04-03 Alan Modra <alan@linuxcare.com.au>
984 * bucomm.h: #include "bin-bugs.h"
985 * addr2line.c (usage): Use REPORT_BUGS_TO.
986 * ar.c (usage): Likewise.
987 * nlmconv.c (show_usage): Likewise.
988 * nm.c (usage): Likewise.
989 (OPTION_TARGET): Define.
990 (long_options): Use OPTION_TARGET rather than 200.
993 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
994 (strip_usage): Likewise.
995 * objdump.c (usage): Likewise.
996 * readelf.c (usage): Likewise.
997 * strings.c (usage): Likewise.
998 * windres.c (usage): Likewise.
1000 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1002 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1004 2000-03-27 Nick Clifton <nickc@cygnus.com>
1006 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1007 string offsets in corrupt stabs entries.
1009 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1011 * readelf.c: Include elf/avr.h
1012 (dump_relocations): Add EM_AVR case.
1014 2000-03-09 Tim Waugh <twaugh@redhat.com>
1016 * strings.1: Correct '-bytes' to '--bytes'.
1018 2000-03-08 H.J. Lu <hjl@gnu.org>
1020 * Makefile.am (install-exec-local): Depend on
1021 install-binPROGRAMS for parallel make.
1022 * Makefile.in: Regenerated.
1024 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1026 From Brad Lucier <lucier@math.purdue.edu>:
1027 * readelf.c (process_dynamic_segment): Add cast to make sure
1028 argument to %* is int.
1030 2000-02-25 H.J. Lu <hjl@gnu.org>
1032 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1034 2000-02-24 Nick Clifton <nickc@cygnus.com>
1036 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1037 * configure: Regenerate.
1039 * dlltool.c: Add support for sh-pe and mips-pe targets.
1040 * rescoff.c: Add support for sh-pe and mips-pe targets.
1042 2000-02-23 H.J. Lu <hjl@gnu.org>
1044 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1046 2000-02-22 Nick Clifton <nickc@cygnus.com>
1048 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1050 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1052 From Brad Lucier <lucier@math.purdue.edu>:
1053 * readelf.c (process_version_sections): Add casts to make sure
1054 argument to %* is an int.
1055 (process_mips_specific): Add casts to make printf arguments match
1058 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1060 * objdump.c (dump_section_header): Change `opb' to unsigned.
1061 (find_symbol_for_address): Same here.
1062 (disassemble_data): And here. Change `addr_offset',
1063 `stop_offset', `nextstop_offset' to unsigned long.
1064 (dump_data): Change opb to unsigned.
1066 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1068 * resrc.c: Remove unmatched #if for cygwin.
1070 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1072 * binutils.texi: Document the change of flavor name from atpcs-special
1073 to special-atpcs to prevent name conflict in gdb.
1075 2000-02-08 Timothy Wall <twall@redhat.com>
1077 * objdump.c (show_line): Fix bug preventing printing of the very
1078 first line (line zero) of a file when interlisting source and
1079 assembly. Added option to print entire context from start of file
1080 when the first line from that file is encountered.
1082 2000-02-03 Timothy Wall <twall@redhat.com>
1084 * objdump.c (dump_section_header, find_symbol_for_address,
1085 show_line, disassemble_bytes, disassemble_data, dump_data):
1086 distinguish between octets and bytes.
1088 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1090 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1091 check to unresolved symbols.
1092 (print_symbol_info_sysv): Ditto.
1093 (print_symbol_info_posix): Ditto.
1095 * binutils.texi: Document new 'V' symclass flag for nm.
1097 2000-01-27 Nick Clifton <nickc@redhat.com>
1099 * binutils.texi (objdump): Document new ARM specific
1100 disassembler options.
1102 * objdump.c (usage): Call disassembler_usage().
1104 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1106 * readelf.c (get_dynamic_flags): Return buff.
1107 (process_dynamic_segment): Don't pass error strings to printf
1109 (read_and_display_attr): Use lx and ld to print longs.
1110 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1114 2000-01-17 Nick Clifton <nickc@cygnus.com>
1116 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1118 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1120 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1122 (debug_tag_type): Here too.
1123 * ieee.c (ieee_builtin_type): And here.
1124 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1126 2000-01-13 Nick Clifton <nickc@cygnus.com>
1128 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1131 2000-01-11 Nick Clifton <nickc@cygnus.com>
1133 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1135 2000-01-10 Nick Clifton <nickc@cygnus.com>
1137 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1139 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1141 * windres.c (long_options): Add --use-temp-file and
1142 --no-use-temp-file options.
1146 * windres.h: Update read_rc_file prototype.
1148 * resrc.c (cpp_temp_file): New static variable.
1149 (istream_type): New static variable.
1150 (close_pipe): Delete function.
1151 (run_cmd): New static function.
1152 (open_input_stream): New static function.
1153 (close_input_stream): New static function.
1154 (look_for_default): Handle DOS directory separator. Use
1155 open_input_stream instead of popen.
1156 (read_rc_file): Likewise.
1158 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1161 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1163 * dlltool.c (create_compat_implib): New variable.
1164 (gen_exp_file): Use.
1165 (make_one_lib_file): Use.
1166 (long_options): Add --compat-implib option.
1170 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1171 (main): Use. Don't look for "32" in cygwin and mingw target names.
1173 2000-01-03 Nick Clifton <nickc@cygnus.com>
1175 * binutils.texi: Document new, ARM specific disassembler
1176 command line switch "-M force-thumb".
1178 For older changes see ChangeLog-9899
1184 version-control: never