1 2001-05-11 Jakub Jelinek <jakub@redhat.com>
3 * readelf.c (process_unwind): Print all unwind sections, not just
6 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
8 * readelf.c (process_unwind): Remove const specifier.
10 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
12 * strings.c (isgraphic): Do not use isascii() unless it is needed
13 for isprint() to work.
14 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
16 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
18 * NEWS: Announce support for OpenRISC.
20 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
22 * dlltool.c (do_default_excludes): Initialise to true.
24 2001-04-10 Alan Modra <amodra@one.net.au>
26 * MAINTAINERS: Update my email address
27 * nm.c (print_symbol_info_bsd): Use a simple printf string.
29 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
31 * readelf.c (display_debug_lines): Fix typo for "Prologue".
33 2001-03-30 H.J. Lu <hjl@gnu.org>
35 * readelf.c (process_unwind): Just return if do_unwind is 0.
37 2001-03-28 Roger Sayle <roger@metaphorics.com>
39 * dlltool.c (make_one_lib_file): Fix section flags for
40 .text, .data and .bss in stub ds*.o files to match those
43 2001-03-29 H.J. Lu <hjl@gnu.org>
45 * readelf.c (process_unwind): Only do unwind sections for
48 2001-03-28 H.J. Lu <hjl@gnu.org>
50 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
51 * Makefile.in: Regenerate.
53 2001-03-26 Andreas Jaeger <aj@suse.de>
55 * binutils.texi (nm): Fix texi syntax.
57 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
59 * binutils.texi: Put @c man begin and @c man end indications
60 to generate man pages using texi2pod and pod2man. Put @c man title
61 to identify each man. Add SEEALSO entries.
62 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
63 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
65 (*.1): Build the man pages from binutils.texi.
66 * Makefile.in: Regenerate.
68 2001-03-13 Eric Kohl <ekohl@rz-online.de>
70 * defparse.y (opt_equal_name): allow "." in name.
71 * dlltool.c (def_exports): Added ability to generate forwarded exports.
72 (gen_exp_file): Likewise.
74 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
76 * NEWS: Document addition of -B switch to objcopy.
77 * binutils.texi: Document addition of -B switch to objcopy.
78 * objcopy.c: (copy_options): Add --binary-architecture.
79 (copy_usage): Document -B/--binary-architecture.
80 (copy_main): Support -B/--binary-architecture. Set
81 bfd_external_binary_architecture.
83 2001-03-11 Andreas Jaeger <aj@suse.de>
85 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
86 (dump_relocations): Likewise.
87 (get_machine_name): Likewise.
89 2001-02-28 Nick Clifton <nickc@redhat.com>
91 * readelf.c: (struct unw_aux_info): Remove const modifier for
93 (process_unwind): Remove non-K&R compliant LHS type cast in call
94 to GET_DATA_ALLOC macro.
96 2001-02-28 Philip Blundell <pb@futuretv.com>
98 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
99 ABI is in use; remove ambiguity between the "unknown" EABI and
100 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
101 renamed EF_xx constants.
103 2001-02-27 Alan Modra <alan@linuxcare.com.au>
105 * configure.in (BFD_VERSION): New.
106 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
107 * configure: Regenerate.
108 * Makefile.am: Run "make dep-am"
109 * Makefile.in: Regenerate.
111 2001-02-14 Nick Clifton <nickc@redhat.com>
113 * MAINTAINERS: Add "Obvious Fix" rule.
115 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
117 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
118 literal concatenation.
120 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
122 * readelf.c (struct unw_aux_info): Remove const from the info member.
123 (process_unwind): Don't type-cast the third argument to the
124 GET_DATA_ALLOC macro.
126 2001-02-11 Nick Clifton <nickc@redhat.com>
128 * readelf.c (dump_relocations): Free corrected allocated
130 (process_unwind): Fix compile time warning.
132 2001-02-10 Nick Clifton <nickc@redhat.com>
134 * binutils.texi: Document new --unwind option to readelf.
136 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
138 * readelf.c: Add linux target for S/390.
140 2001-02-10 Alan Modra <alan@linuxcare.com.au>
142 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
145 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
147 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
148 * aclocal.m4: Regenerate.
149 * configure: Regenerate.
151 2001-02-07 Todd Vierling <tv@wasabisystems.com>
153 * bucomm.c (bfd_target_vector): Change extern array to pointer.
154 * objdump.c (bfd_target_vector): Likewise.
156 2001-02-07 David Mosberger <davidm@hpl.hp.com>
158 * readelf.c (process_unwind): New function.
159 (slurp_ia64_unwind_table): Ditto.
160 (dump_ia64_unwind): Ditto.
161 (find_symbol_for_address): Ditto.
162 (slurp_rela_relocs): New function (split off from dump_relocations()).
163 (slurp_rel_relocs): Ditto.
164 (parse_args): Handle '-u' option.
166 * unwind-ia64.c: New file.
167 * unwind-ia64.h: New file.
168 * Makefile.am: Include unwind-ia64.c in readelf build.
169 * Makefile.in: Regenerate.
170 * po/binutils.pot: Regenerate.
172 2001-02-04 Philip Blundell <philb@gnu.org>
174 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
175 * configure: Regenerate.
177 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
179 * ieee.c (ieee_add_bb11): Don't check for backslashes
180 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
182 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
184 * ieee.c: Update copyright.
185 (ieee_start_compilation_unit): Don't check for backslashes
186 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
188 * stabs.c: Update copyright. Include "filenames.h".
189 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
191 2001-01-23 Jakub Jelinek <jakub@redhat.com>
193 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
194 sections are present before using them. Remove code duplication.
195 (process_symbol_table): Check if VERDEF or VERNEED sections are
196 present before using them.
198 2001-01-17 Nick Clifton <nickc@redhat.com>
200 * objcopy.c (copy_object): Fail if attempting to convert the
201 endianness of the input object file.
203 * binutils.texi: Explain that objcopy cannot convert endianness.
205 2001-01-16 Nick Clifton <nickc@redhat.com>
207 * readelf.c (string_table_length): New variable.
208 (SECTION_NAME): Catch out of range indices and missing section
210 (process_section_headers): Delete useless local variable
211 string_table_offset. Set the value of string_table_length
212 after loading the string table.
213 (process_mips_specific): Use SECTION_NAME macro.
214 (process_file): Set string_table_length to 0 when it is freed.
216 2001-01-12 Nick Clifton <nickc@redhat.com>
218 * version.c (print_version): Update copyright date.
220 2001-01-11 Peter Targett <peter.targett@arccores.com>
222 * readelf.c (dump_relocations): Include selection with EM_ARC.
223 (get_machine_name) Update name to "ARC".
225 2001-01-09 Nick Clifton <nickc@redhat.com>
227 * Makefile.am: Add rule to build objdump.o from objdump.c and
229 * Makefile.in: Regenerate.
231 * configure.in: Define OBJDUMP_DEFS. Default to empty.
232 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
233 -DDISASSEMBLER_NEEDS_RELOCS.
234 * configure: Regenerate.
236 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
237 is defined read in the relocs even if dump_reloc_info is
240 2001-01-07 Philip Blundell <philb@gnu.org>
242 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
246 2000-12-19 Nick Clifton <nickc@redhat.com>
248 * dlltool.c: Add missing support for arm-epoc-pe.
249 * configure.in: Add missing support for arm-epoc-pe.
250 * configure: Regenerate.
252 2000-12-15 Nick Clifton <nickc@redhat.com>
254 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
255 Mode parts of the x86 port.
257 2000-12-04 Andreas Jaeger <aj@suse.de>
259 * readelf.c (guess_is_rela): Add EM_X86_64.
260 (dump_relocations): Add EM_X86_64.
261 (get_machine_name): Add EM_X86_64.
262 Include "elf/x86-64.h".
264 2000-12-12 Nick Clifton <nickc@redhat.com>
266 * readelf.c: Fix formatting.
268 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
270 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
272 2000-12-07 Andrew Haley <aph@redhat.com>
274 * readelf.c (display_debug_frames): Only display columns that are
275 referenced by the frame debug info.
277 2000-12-05 Nick Clifton <nickc@redhat.com>
279 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
281 2000-12-04 Jason Merrill <jason@redhat.com>
283 * readelf.c (process_section_headers): Handle linkonce.wi sections.
284 (display_debug_section): Likewise.
285 (display_debug_info): Display CU header before bailing.
287 2000-12-01 Chris Demetriou <cgd@sibyte.com>
289 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
290 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
291 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
293 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
296 * readelf.c (get_machine_flags): Add case for
299 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
301 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
303 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
305 * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
306 Change sourceware.cygnus.com to sources.redhat.com.
307 Fix typo for "amongst".
309 2000-11-28 Nick Clifton <nickc@redhat.com>
311 * strip.1 (COPYING): Mention that the GNU Free Documentation
312 License is present in the sources, but not the output, and
313 also available from the GNU website.
314 (GNU Free Documentation License): Comment out this section.
323 * addr2line.1: Ditto.
325 2000-11-27 DJ Delorie <dj@redhat.com>
327 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
328 (parse_args): Support -wf option.
329 (process_section_headers): Ditto.
330 (debug_displays): Ditto.
331 (display_debug_frames): New, dump *_frame sections.
332 (frame_need_space): Support for above.
333 (frame_display_row): Ditto.
334 * binutils.texi: Document it.
336 2000-11-24 Nick Clifton <nickc@redhat.com>
338 * NEWS: Announce support for v5t, v5te and XScale.
340 2000-11-22 Nick Clifton <nickc@redhat.com>
342 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
343 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
344 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
345 (get_elf_section_flags: Add SHF_GROUP.
346 (process_section_headers): Adjust output for 32-bit binaries
347 to look nice on an 80 column terminal.
349 2000-11-20 H.J. Lu <hjl@gnu.org>
351 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
354 2000-11-17 Richard Henderson <rth@redhat.com>
356 * readelf.c (display_debug_lines): Adjust last change to
357 use sizeof (external->li_length).
359 2000-11-17 Richard Henderson <rth@redhat.com>
361 * readelf.c (display_debug_lines): Fix section length check
362 and end_of_sequence computation.
364 2000-11-06 Nick Clifton <nickc@redhat.com>
366 * binutils.texi: Add GNU Free Documentation License.
367 * objcopy.1: Add GNU Free Documentation License.
368 * objdump.1: Add GNU Free Documentation License.
369 * addr2line.1: Add GNU Free Documentation License.
370 * ar.1: Add GNU Free Documentation License.
371 * nlmconv.1: Add GNU Free Documentation License.
372 * nm.1: Add GNU Free Documentation License.
373 * ranlib.1: Add GNU Free Documentation License.
374 * size.1: Add GNU Free Documentation License.
375 * strings.1: Add GNU Free Documentation License.
376 * strip.1: Add GNU Free Documentation License.
378 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
380 * objcopy.c (--srec-len=nn): New parameter to set the
381 maximum length of generated Srecords.
382 (--srec-forceS3): New parameter that restricts the generation of
383 Srecords to type S3 only.
384 * binutils.texi: Document new command line switches.
385 * objcopy.1: Docuemnt the new command line switches.
386 * NEWS: Announce the existence of the new command line switches.
388 2000-10-31 Nick Clifton <nickc@redhat.com>
390 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
391 code. Add Eric Chrisopher as maintainer of MN10300 port.
393 2000-10-12 Roger Sayle <roger@metaphorics.com>
395 * Make comma after string after icon/control optional.
397 2000-09-13 Anders Norlander <anorland@acc.umu.se>
399 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
401 * NEWS: Mention support for MIPS32.
403 2000-09-08 Nick Clifton <nickc@redhat.com>
405 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
407 2000-09-07 H.J. Lu <hjl@gnu.org>
409 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
410 * configure: Rebuild.
412 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
414 * configure: Rebuilt with new libtool.m4.
416 2000-09-05 Nick Clifton <nickc@redhat.com>
418 * aclocal.m4: Regenerate.
419 * config.in: Regenerate.
420 * configure: Regenerate.
422 2000-09-04 Todd Vierling <tv@wasabisystems.com>
424 * strip.1: Fix stray '\' in -o formatting.
426 2000-09-02 Nick Clifton <nickc@redhat.com>
428 * configure.in: Increase version number to 2.10.91.
429 * configure: Regenerate.
430 * aclocal.m4: Regenerate.
431 * config.in: Regenerate.
432 * po/binutils.pot: Regenerate.
434 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
436 * acinclude.m4: Include libtool and gettext macros from the
438 * aclocal.m4, configure: Rebuilt.
440 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
442 * resrc.c (close_input_stream): Delete extraneous logic
444 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
446 * NEWS: Mention support for CRIS.
448 2000-08-21 Nick Clifton <nickc@redhat.com>
450 * addr2line.c: Changed email address for Ulrich Lauther.
452 2000-08-17 Christopher C. Chimelis <chris@debian.org>
454 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
456 2000-08-17 Nick Clifton <nickc@redhat.com>
458 * readelf.c (display_debug_pubnames): Only issue warning
459 message once. Terminate message with a new line.
460 (display_debug_aranges): Only display version 2 debug info.
462 2000-08-14 Todd Vierling <tv@wasabisystems.com>
464 * objcopy.c (strip_main): Silently accept -d as an alias for -g
465 for compatability with old BSD systems.
467 2000-08-14 Jason Eckhardt <jle@cygnus.com>
469 * NEWS: Mention i860 support.
471 2000-08-11 Carlo Wood <carlo@alinoe.com>
473 * addr2line.c (main): Add const to char *.
475 2000-08-11 Geoff Keating <geoffk@cygnus.com>
477 * ar.c (main): Don't crash if called with no arguments
478 or only '-X32_64' as an argument.
480 2000-08-08 DJ Delorie <dj@redhat.com>
482 * resrc.c: use "gcc -xc" instead of -xc-header
484 2000-08-05 Jason Eckhardt <jle@cygnus.com>
486 * readelf.c (elf/i860.h): Include.
487 (dump_relocations): Add recognition of i860 architecture.
488 (guess_is_rela): Add recognition of i860 architecture.
490 2000-08-03 Nick Clifton <nickc@cygnus.com>
492 * MAINTAINERS: Add information about CGEN maintainers.
494 2000-07-26 Geoff Keating <geoffk@cygnus.com>
496 * nm.c (main): Ignore '-X32_64' as an option.
497 * ar.c (main): Likewise.
498 * binutils.texi (nm): Document new option.
501 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
503 * rdcoff.c (external_coff_symbol_p): K&R-ise.
505 2000-07-20 H.J. Lu <hjl@gnu.org>
507 * binutils.texi: Put back "@end table" deleted by
510 2000-07-05 Kenneth Block <krblock@computer.org>
512 * nm.c: Add optional style to demangle switch.
513 * objdump.c: Add optional style to demangle switch.
514 * addr2line.c: Add optional style to demangle switch.
515 * binutils.texi: Document optional style to demangle
518 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
520 * MAINTAINERS: Add self as CRIS port maintainer.
521 * readelf.c: Include elf/cris.h.
522 (guess_is_rela): Handle EM_CRIS.
523 (dump_relocations): Ditto.
524 (get_machine_name): Ditto.
525 * Makefile.am: Rebuild dependencies.
526 * Makefile.in: Regenerate.
527 * po/binutils.pot: Regenerate.
529 2000-07-19 H.J. Lu <hjl@gnu.org>
531 * readelf.c (get_dynamic_type): Change "AUXILARY" to
533 (process_dynamic_segment): Print out strings for DT_CONFIG,
534 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
536 2000-07-19 Mark Kettenis <kettenis@gnu.org>
538 * nm.c (usage): Change output of `nm --help' to include a
539 description of the purpose of the program and a detailed
540 description of the accepted options.
542 2000-07-19 H.J. Lu <hjl@gnu.org>
544 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
547 2000-07-19 H.J. Lu <hjl@gnu.org>
549 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
551 2000-07-19 H.J. Lu <hjl@gnu.org>
553 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
555 (process_dynamic_segment): Likewise.
557 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
558 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
559 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
560 DF_1_NODUMP and DF_1_CONLFAT.
562 2000-07-18 Nick Clifton <nickc@cygnus.com>
564 * binutils.texi (readelf): Fix spelling typo.
566 2000-07-11 Mark Kettenis <kettenis@gnu.org>
568 * objdump.c (usage): Make output of `objdump --help' more
569 consistent with the rest of the GNU world. Add a line describing
570 the purpose of the program.
572 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
574 * stabs.c (parse_stab_range_type): Cast to proper type to fix
577 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
579 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
581 (process_symbol_table): Ditto.
582 (procesS_extended_line_op): Ditto.
583 (display_debug_lines): Ditto.
584 (display_debug_pubnames): Ditto.
585 (read_and_display_attr): Ditto.
587 2000-07-09 Nick Clifton <nickc@cygnus.com>
589 * MAINTAINERS: Add several more port specific maintainers.
591 2000-07-05 Nick Clifton <nickc@cygnus.com>
593 * MAINTAINERS: Add blanket write privs for Michael Meissner.
595 2000-06-05 DJ Delorie <dj@redhat.com>
599 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
601 * dllwrap.c: Changed mistaken dyn_string_append() calls
602 to dyn_string_append_cstr().
604 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
606 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
607 struct debug_type stores size in bytes.
609 2000-07-01 Alan Modra <alan@linuxcare.com.au>
611 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
612 (CLEANFILES): Add DEPA.
613 * Makefile.in: Regenerate.
615 2000-06-27 Alan Modra <alan@linuxcare.com.au>
617 * ar.c: Revert incorrect 2000-06-25 patch.
618 * bucomm.c: Likewise.
620 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
622 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
623 (external_coff_symbol_p): New function.
624 (parse_coff): Use it.
626 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
628 * ar.c (normalize): Advance past both characters in a DOS based
629 <letter>: filepath prefix.
631 * bucomm.c (make_tempname): Likewise.
633 2000-06-24 Nick Clifton <nickc@cygnus.com>
635 * objdump.c (usage): Fix description of --stabs switch.
637 2000-06-22 Alan Modra <alan@linuxcare.com.au>
639 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
641 * Makefile.in: Regenerate.
643 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
645 * ar.c (normalize): Correct pointer comparison when checking for
648 * bucomm.c (make_tempname): Likewise.
650 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
651 and search for backslashes in the original pathname.
652 (ieee_add_bb11): Likewise.
654 2000-06-18 Nick Clifton <nickc@redhat.com>
656 * ar.c (print_contents): Improve verbose message.
658 2000-06-15 H.J. Lu <hjl@gnu.org>
660 * dyn-string.c: Removed. Not needed with dyn-string.c in
662 * dyn-string.h: Likewise.
664 * Makefile.am: Remove references to dyn-string.c and
665 dyn-string.h. Rebuild dependency.
666 * Makefile.in: Rebuild.
668 2000-06-15 H.J. Lu <hjl@gnu.org>
670 * binutils.texi: Put a warning on copying relocatable object
671 files between two different formats.
673 2000-06-13 DJ Delorie <dj@cygnus.com>
675 * rcparse.y (control): ICON controls take an id as the first
676 parameter, not an optional string. Also, call new convenience
677 function that takes res_id's.
678 * resrc.c (define_control): missing text means zero-length string,
680 (define_icon_control): New.
681 * windres.h: declare define_icon_control.
683 2000-06-13 H.J. Lu <hjl@gnu.org>
685 * configure: Regenerate.
687 2000-06-08 David O'Brien <obrien@FreeBSD.org>
689 * configure.in (VERSION): Update to show this is the CVS mainline.
691 2000-06-02 David O'Brien <obrien@FreeBSD.org>
693 * strings.c (isgraphic): Interpret <TAB> as a printable character,
694 analogous to <SPACE>.
696 2000-05-30 Alan Modra <alan@linuxcare.com.au>
698 * objdump.c (display_target_list): Use bfd_close_all_done, not
699 bfd_close to fix crash caused by 2000-05-24 change.
701 2000-05-25 DJ Delorie <dj@cygnus.com>
703 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
705 2000-05-26 Alan Modra <alan@linuxcare.com.au>
707 * Makefile.am: Update dependencies with "make dep-am"
708 * Makefile.in: Regenerate.
710 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
712 * ar.c: Include filenames.h.
713 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
714 and drive letters in file names.
715 (main): Support backslashes and drive letters in argv[0]. Drop
716 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
717 FILENAME_CMP instead of strcmp to compare file names.
718 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
720 (do_quick_append) [__GO32__]: Ditto.
721 (get_pos_bfd, delete_members, move_members, replace_members):
722 Compare file names with FILENAME_CMP.
724 * bucomm.c: Include filenames.h.
725 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
726 forward/backward slashes and drive letters in file names.
728 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
729 mixed forward/backward slashes and drive letters in file names.
731 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
732 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
735 * objcopy.c: Include filenames.h.
736 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
737 before comparing to "strip".
738 Use FILENAME_CMP to compare file names.
740 * arsup.c: Include filenames.h.
741 (map_over_list, ar_delete, ar_replace, ar_extract): Use
742 FILENAME_CMP to compare file names.
743 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
744 the temporary file name.
746 * configure.in: Check for setmode.
747 * configure: Regenerate.
749 2000-05-24 Alan Modra <alan@linuxcare.com.au>
751 * objdump.c (display_target_list): Close the bfd.
752 (display_info_table): Likewise.
754 2000-05-14 H.J. Lu (hjl@gnu.org)
756 * objcopy.c (filter_symbols): Don't strip global symbols in
757 relocatable object files.
759 2000-05-14 Alan Modra <alan@linuxcare.com.au>
761 * size.c (usage): Associate short options with corresponding long
762 option to give a clue as to their function.
764 2000-05-14 Philippe De Muyter <phdm@macqel.be>
766 * size.c (main): Accept and ignore `-f' option.
768 2000-05-13 Alan Modra <alan@linuxcare.com.au>
770 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
771 bindtextdomain): Replace defines with those from intl/libgettext.h
772 to quieten gcc warnings.
774 2000-05-12 H.J. Lu <hjl@gnu.org>
776 * nlmconv.c (temp_filename): Removed.
778 * nlmconv.c (link_inputs): Use make_temp_file () instead of
780 * objdump.c (display_target_list): Likewise.
781 (display_info_table): Likewise.
783 2000-05-08 Alan Modra <alan@linuxcare.com.au>
785 * objcopy.c (setup_section): Add const and gettext calls for err.
787 2000-05-02 H.J. Lu <hjl@gnu.org>
789 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
790 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
791 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
792 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
793 and ELFOSABI_OPENBSD.
795 2000-05-02 Kazu Hirata <kazu@hxi.com>
797 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
798 * srconv.c: Likewise.
799 * sysdump.c: Likewise.
801 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
803 * readelf.c (guess_is_rela): AVR uses RELA relocations.
804 (get_machine_name): machine name for EM_AVR added.
806 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
807 David Mosberger <davidm@hpl.hp.com>
809 * Makefile.am (readelf.o): Add elf/ia64.h.
810 * Makefile.in: Rebuild.
811 * readelf.c: Include elf/ia64.h.
812 (guess_is_rela, dump_relocations): Handle EM_IA_64.
814 2000-04-17 Timothy Wall <twall@cygnus.com>
816 * objdump.c (disassemble_data): Set octets per byte *after*
817 resolving arch/mach for binary files.
819 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
821 * arlex.l: Add directives to increase lex buffer size.
823 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
824 already included by bucomm.h.
826 2000-04-10 Philippe De Muyter <phdm@macqel.be>
828 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
829 `strftime' since strftime is not available on all systems.
830 (process_mips_specific): Ditto.
832 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
834 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
835 --enable-build-warnings option.
836 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
837 * Makefile.in, configure: Re-generate.
839 2000-04-06 Alan Modra <alan@linuxcare.com.au>
841 * addr2line.c: Update copyright.
842 * objcopy.1: Likewise, and title.
843 * strings.1: Likewise.
845 * version.c (print_version): Add 2000.
847 * rddbg.c (read_section_stabs_debugging_info): Don't use
848 bfd_size_type for strx to avoid printf problems if BFD64.
850 * bucomm.c: (report): Remove `static'.
851 Move inclusion of stdarg.h/vararg.h from here.
853 (CONST): Change all occurences to const.
854 (report): Declare it.
855 (bfd_fatal): Add ATTRIBUTE_NORETURN.
856 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
857 (non_fatal): Add ATTRIBUTE_PRINTF_1.
859 * ar.c (main): Use fatal or non_fatal instead of fprintf.
860 Correct a typo in an error message.
861 (do_quick_append): Use non_fatal instead of fprintf.
862 (move_members): Use fatal instead of fprintf, exit.
863 * coffdump.c (main): Same here.
865 * dlltool.c (display): Delete.
867 (inform): Use `report' instead of `display'.
868 (rvaafter): Remove trailing \n from fatal error msg.
871 (yyerror): Replace `warn' with `non_fatal', and remove \n.
872 (def_name): Likewise.
874 (scan_all_symbols): Likewise.
875 (gen_lib_file): Likewise.
876 (def_library): Likewise. Remove extra program_name too.
877 (run): Remove \n from inform strings.
878 (scan_drectve_symbols): Likewise.
879 (add_excludes): Likewise.
880 (scan_open_obj_file): Likewise.
881 (gen_exp_file): Likewise.
882 (gen_lib_file): Likewise.
883 (process_duplicates): Likewise.
885 * Makefile.am (dllwrap_SOURCES): Add version.c.
886 * dllwrap.c (program_version): Delete.
887 (print_version): Delete.
888 (display): Always print trailing \n.
890 (delete_temp_files): Use warn instead of fprintf. Use gettext.
893 (usage): gettext'ify.
894 (long_options): Add missing initialisers.
896 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
897 (select_output_format): Likewise.
898 (powerpc_mangle_relocs): Likewise.
899 (link_inputs): Likewise.
901 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
902 (set_output_format): Likewise.
903 (main): Use non_fatal instead of fprintf.
904 (display_rel_file): Likewise.
906 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
907 (slurp_dynamic_symtab): Same here.
908 (disassemble_data): And here.
909 (read_section_stabs): And here.
910 (read_section_stabs): And here.
911 (dump_bfd): And here.
913 (objdump_sprintf): Use fatal instead of fprintf, exit.
914 (disassemble_data): Same here.
916 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
917 (parse_coff_struct_type): Same here.
918 (parse_coff_enum_type): And here.
919 (parse_coff): And here.
920 * rddbg.c (read_debugging_info): And here.
921 * size.c (main): And here.
922 * windres.c (format_from_name): And here.
923 * wrstabs.c (stab_write_symbol): Here too.
924 (write_stabs_in_sections_debugging_info): And here.
925 (stab_int_type): And here.
926 (stab_struct_field): And here.
927 (stab_typdef): And here.
929 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
930 * srconv.c (main): Same here.
931 * strings.c (main): And here.
932 (integer_arg): And here.
933 * sysdump.c (main): And here.
935 2000-04-06 Timothy Wall <twall@cygnus.com>
937 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
939 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
941 * readelf.c (decode_location_expression): Loop through multiple
943 (read_and_display_attr): Pass in length.
945 * readelf.c (read_and_display_attr): Add CU offset to references.
946 (display_debug_info): Pass it in.
948 2000-04-06 Nick Clifton <nickc@cygnus.com>
950 * readelf.c (decode_ARM_machine_flags): New function.
951 (get_machine_flags): Call decode_ARM_machine_flags for ARM
954 (get_machine_name): Catch EM_AVR
956 2000-04-05 Alan Modra <alan@linuxcare.com.au>
958 * binutils.texi: Remove optional `=' from long options that have
959 an `=' in the argument.
960 * objcopy.1: Here too. Remove extra space on discard-all.
962 * binutils.texi (objcopy): Mention --redefine-sym.
963 * objcopy.1: Here too.
966 * objcopy.c (parse_flags): Split off flag names from error message
967 gettext as they are not translated.
968 (copy_main): Similarly split off option name for --add-section,
969 --set-section-flags, --change-section-vma, --change-section-lma
971 Some white space changes.
973 from Matthew Benjamin <matt@linuxbox.nu>
974 * objcopy.c (struct redefine_node): New.
975 (redefine_sym_list): New.
976 (redefine_list_append): New.
977 (lookup_sym_redefinition): New.
978 (OPTION_REDEFINE_SYM): New.
979 (copy_options): Add --redefine-sym option.
980 (copy_usage): Mention it.
981 (filter_symbols): Rename symbols on redefine_sym_list.
982 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
983 (copy_main): Handle OPTION_REDEFINE_SYM.
985 2000-04-04 H.J. Lu <hjl@gnu.org>
987 * readelf.c (process_symbol_table): Correctly read in symbol
988 versioning information.
990 2000-04-04 Alan Modra <alan@linuxcare.com.au>
992 * po/binutils.pot: Regenerate.
994 * addr2line.c (usage): Restore translated part of bug string.
995 * ar.c (usage): Likewise.
996 * nlmconv.c (show_usage): Likewise.
997 * nm.c (usage): Likewise.
998 * objcopy.c (copy_usage): Likewise.
999 (strip_usage): Likewise.
1000 * objdump.c (usage): Likewise.
1001 * readelf.c (usage): Likewise.
1002 * size.c (usage): Likewise.
1003 * strings.c (usage): Likewise.
1004 * windres.c (usage): Likewise.
1006 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1007 (DEP): Quote when passing vars to sub-make. Add warning
1009 (DEP1): Rewrite for "gcc -MM".
1010 (CLEANFILES): Add DEP2.
1011 Update dependencies.
1012 * Makefile.in: Regenerate.
1014 2000-04-04 H.J. Lu <hjl@gnu.org>
1016 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1017 (arparse.h): Depend on arparse.c
1018 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1020 2000-04-03 H.J. Lu (hjl@gnu.org)
1022 * size.c (usage): Use REPORT_BUGS_TO.
1024 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1026 * bucomm.h: #include "bin-bugs.h"
1027 * addr2line.c (usage): Use REPORT_BUGS_TO.
1028 * ar.c (usage): Likewise.
1029 * nlmconv.c (show_usage): Likewise.
1030 * nm.c (usage): Likewise.
1031 (OPTION_TARGET): Define.
1032 (long_options): Use OPTION_TARGET rather than 200.
1035 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1036 (strip_usage): Likewise.
1037 * objdump.c (usage): Likewise.
1038 * readelf.c (usage): Likewise.
1039 * strings.c (usage): Likewise.
1040 * windres.c (usage): Likewise.
1042 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1044 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1046 2000-03-27 Nick Clifton <nickc@cygnus.com>
1048 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1049 string offsets in corrupt stabs entries.
1051 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1053 * readelf.c: Include elf/avr.h
1054 (dump_relocations): Add EM_AVR case.
1056 2000-03-09 Tim Waugh <twaugh@redhat.com>
1058 * strings.1: Correct '-bytes' to '--bytes'.
1060 2000-03-08 H.J. Lu <hjl@gnu.org>
1062 * Makefile.am (install-exec-local): Depend on
1063 install-binPROGRAMS for parallel make.
1064 * Makefile.in: Regenerated.
1066 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1068 From Brad Lucier <lucier@math.purdue.edu>:
1069 * readelf.c (process_dynamic_segment): Add cast to make sure
1070 argument to %* is int.
1072 2000-02-25 H.J. Lu <hjl@gnu.org>
1074 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1076 2000-02-24 Nick Clifton <nickc@cygnus.com>
1078 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1079 * configure: Regenerate.
1081 * dlltool.c: Add support for sh-pe and mips-pe targets.
1082 * rescoff.c: Add support for sh-pe and mips-pe targets.
1084 2000-02-23 H.J. Lu <hjl@gnu.org>
1086 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1088 2000-02-22 Nick Clifton <nickc@cygnus.com>
1090 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1092 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1094 From Brad Lucier <lucier@math.purdue.edu>:
1095 * readelf.c (process_version_sections): Add casts to make sure
1096 argument to %* is an int.
1097 (process_mips_specific): Add casts to make printf arguments match
1100 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1102 * objdump.c (dump_section_header): Change `opb' to unsigned.
1103 (find_symbol_for_address): Same here.
1104 (disassemble_data): And here. Change `addr_offset',
1105 `stop_offset', `nextstop_offset' to unsigned long.
1106 (dump_data): Change opb to unsigned.
1108 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1110 * resrc.c: Remove unmatched #if for cygwin.
1112 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1114 * binutils.texi: Document the change of flavor name from atpcs-special
1115 to special-atpcs to prevent name conflict in gdb.
1117 2000-02-08 Timothy Wall <twall@redhat.com>
1119 * objdump.c (show_line): Fix bug preventing printing of the very
1120 first line (line zero) of a file when interlisting source and
1121 assembly. Added option to print entire context from start of file
1122 when the first line from that file is encountered.
1124 2000-02-03 Timothy Wall <twall@redhat.com>
1126 * objdump.c (dump_section_header, find_symbol_for_address,
1127 show_line, disassemble_bytes, disassemble_data, dump_data):
1128 distinguish between octets and bytes.
1130 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1132 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1133 check to unresolved symbols.
1134 (print_symbol_info_sysv): Ditto.
1135 (print_symbol_info_posix): Ditto.
1137 * binutils.texi: Document new 'V' symclass flag for nm.
1139 2000-01-27 Nick Clifton <nickc@redhat.com>
1141 * binutils.texi (objdump): Document new ARM specific
1142 disassembler options.
1144 * objdump.c (usage): Call disassembler_usage().
1146 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1148 * readelf.c (get_dynamic_flags): Return buff.
1149 (process_dynamic_segment): Don't pass error strings to printf
1151 (read_and_display_attr): Use lx and ld to print longs.
1152 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1156 2000-01-17 Nick Clifton <nickc@cygnus.com>
1158 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1160 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1162 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1164 (debug_tag_type): Here too.
1165 * ieee.c (ieee_builtin_type): And here.
1166 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1168 2000-01-13 Nick Clifton <nickc@cygnus.com>
1170 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1173 2000-01-11 Nick Clifton <nickc@cygnus.com>
1175 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1177 2000-01-10 Nick Clifton <nickc@cygnus.com>
1179 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1181 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1183 * windres.c (long_options): Add --use-temp-file and
1184 --no-use-temp-file options.
1188 * windres.h: Update read_rc_file prototype.
1190 * resrc.c (cpp_temp_file): New static variable.
1191 (istream_type): New static variable.
1192 (close_pipe): Delete function.
1193 (run_cmd): New static function.
1194 (open_input_stream): New static function.
1195 (close_input_stream): New static function.
1196 (look_for_default): Handle DOS directory separator. Use
1197 open_input_stream instead of popen.
1198 (read_rc_file): Likewise.
1200 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1203 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1205 * dlltool.c (create_compat_implib): New variable.
1206 (gen_exp_file): Use.
1207 (make_one_lib_file): Use.
1208 (long_options): Add --compat-implib option.
1212 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1213 (main): Use. Don't look for "32" in cygwin and mingw target names.
1215 2000-01-03 Nick Clifton <nickc@cygnus.com>
1217 * binutils.texi: Document new, ARM specific disassembler
1218 command line switch "-M force-thumb".
1220 For older changes see ChangeLog-9899
1226 version-control: never