1 2001-02-28 Nick Clifton <nickc@redhat.com>
3 * readelf.c: (struct unw_aux_info): Remove const modifier for
5 (process_unwind): Remove non-K&R compliant LHS type cast in call
6 to GET_DATA_ALLOC macro.
8 2001-02-28 Philip Blundell <pb@futuretv.com>
10 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
11 ABI is in use; remove ambiguity between the "unknown" EABI and
12 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
13 renamed EF_xx constants.
15 2001-02-27 Alan Modra <alan@linuxcare.com.au>
17 * configure.in (BFD_VERSION): New.
18 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
19 * configure: Regenerate.
20 * Makefile.am: Run "make dep-am"
21 * Makefile.in: Regenerate.
23 2001-02-14 Nick Clifton <nickc@redhat.com>
25 * MAINTAINERS: Add "Obvious Fix" rule.
27 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
29 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
30 literal concatenation.
32 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
34 * readelf.c (struct unw_aux_info): Remove const from the info member.
35 (process_unwind): Don't type-cast the third argument to the
38 2001-02-11 Nick Clifton <nickc@redhat.com>
40 * readelf.c (dump_relocations): Free corrected allocated
42 (process_unwind): Fix compile time warning.
44 2001-02-10 Nick Clifton <nickc@redhat.com>
46 * binutils.texi: Document new --unwind option to readelf.
48 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
50 * readelf.c: Add linux target for S/390.
52 2001-02-10 Alan Modra <alan@linuxcare.com.au>
54 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
57 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
59 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
60 * aclocal.m4: Regenerate.
61 * configure: Regenerate.
63 2001-02-07 Todd Vierling <tv@wasabisystems.com>
65 * bucomm.c (bfd_target_vector): Change extern array to pointer.
66 * objdump.c (bfd_target_vector): Likewise.
68 2001-02-07 David Mosberger <davidm@hpl.hp.com>
70 * readelf.c (process_unwind): New function.
71 (slurp_ia64_unwind_table): Ditto.
72 (dump_ia64_unwind): Ditto.
73 (find_symbol_for_address): Ditto.
74 (slurp_rela_relocs): New function (split off from dump_relocations()).
75 (slurp_rel_relocs): Ditto.
76 (parse_args): Handle '-u' option.
78 * unwind-ia64.c: New file.
79 * unwind-ia64.h: New file.
80 * Makefile.am: Include unwind-ia64.c in readelf build.
81 * Makefile.in: Regenerate.
82 * po/binutils.pot: Regenerate.
84 2001-02-04 Philip Blundell <philb@gnu.org>
86 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
87 * configure: Regenerate.
89 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
91 * ieee.c (ieee_add_bb11): Don't check for backslashes
92 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
94 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
96 * ieee.c: Update copyright.
97 (ieee_start_compilation_unit): Don't check for backslashes
98 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
100 * stabs.c: Update copyright. Include "filenames.h".
101 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
103 2001-01-23 Jakub Jelinek <jakub@redhat.com>
105 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
106 sections are present before using them. Remove code duplication.
107 (process_symbol_table): Check if VERDEF or VERNEED sections are
108 present before using them.
110 2001-01-17 Nick Clifton <nickc@redhat.com>
112 * objcopy.c (copy_object): Fail if attempting to convert the
113 endianness of the input object file.
115 * binutils.texi: Explain that objcopy cannot convert endianness.
117 2001-01-16 Nick Clifton <nickc@redhat.com>
119 * readelf.c (string_table_length): New variable.
120 (SECTION_NAME): Catch out of range indices and missing section
122 (process_section_headers): Delete useless local variable
123 string_table_offset. Set the value of string_table_length
124 after loading the string table.
125 (process_mips_specific): Use SECTION_NAME macro.
126 (process_file): Set string_table_length to 0 when it is freed.
128 2001-01-12 Nick Clifton <nickc@redhat.com>
130 * version.c (print_version): Update copyright date.
132 2001-01-11 Peter Targett <peter.targett@arccores.com>
134 * readelf.c (dump_relocations): Include selection with EM_ARC.
135 (get_machine_name) Update name to "ARC".
137 2001-01-09 Nick Clifton <nickc@redhat.com>
139 * Makefile.am: Add rule to build objdump.o from objdump.c and
141 * Makefile.in: Regenerate.
143 * configure.in: Define OBJDUMP_DEFS. Default to empty.
144 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
145 -DDISASSEMBLER_NEEDS_RELOCS.
146 * configure: Regenerate.
148 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
149 is defined read in the relocs even if dump_reloc_info is
152 2001-01-07 Philip Blundell <philb@gnu.org>
154 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
158 2000-12-19 Nick Clifton <nickc@redhat.com>
160 * dlltool.c: Add missing support for arm-epoc-pe.
161 * configure.in: Add missing support for arm-epoc-pe.
162 * configure: Regenerate.
164 2000-12-15 Nick Clifton <nickc@redhat.com>
166 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
167 Mode parts of the x86 port.
169 2000-12-04 Andreas Jaeger <aj@suse.de>
171 * readelf.c (guess_is_rela): Add EM_X86_64.
172 (dump_relocations): Add EM_X86_64.
173 (get_machine_name): Add EM_X86_64.
174 Include "elf/x86-64.h".
176 2000-12-12 Nick Clifton <nickc@redhat.com>
178 * readelf.c: Fix formatting.
180 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
182 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
184 2000-12-07 Andrew Haley <aph@redhat.com>
186 * readelf.c (display_debug_frames): Only display columns that are
187 referenced by the frame debug info.
189 2000-12-05 Nick Clifton <nickc@redhat.com>
191 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
193 2000-12-04 Jason Merrill <jason@redhat.com>
195 * readelf.c (process_section_headers): Handle linkonce.wi sections.
196 (display_debug_section): Likewise.
197 (display_debug_info): Display CU header before bailing.
199 2000-12-01 Chris Demetriou <cgd@sibyte.com>
201 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
202 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
203 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
205 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
208 * readelf.c (get_machine_flags): Add case for
211 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
213 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
215 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
217 * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
218 Change sourceware.cygnus.com to sources.redhat.com.
219 Fix typo for "amongst".
221 2000-11-28 Nick Clifton <nickc@redhat.com>
223 * strip.1 (COPYING): Mention that the GNU Free Documentation
224 License is present in the sources, but not the output, and
225 also available from the GNU website.
226 (GNU Free Documentation License): Comment out this section.
235 * addr2line.1: Ditto.
237 2000-11-27 DJ Delorie <dj@redhat.com>
239 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
240 (parse_args): Support -wf option.
241 (process_section_headers): Ditto.
242 (debug_displays): Ditto.
243 (display_debug_frames): New, dump *_frame sections.
244 (frame_need_space): Support for above.
245 (frame_display_row): Ditto.
246 * binutils.texi: Document it.
248 2000-11-24 Nick Clifton <nickc@redhat.com>
250 * NEWS: Announce support for v5t, v5te and XScale.
252 2000-11-22 Nick Clifton <nickc@redhat.com>
254 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
255 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
256 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
257 (get_elf_section_flags: Add SHF_GROUP.
258 (process_section_headers): Adjust output for 32-bit binaries
259 to look nice on an 80 column terminal.
261 2000-11-20 H.J. Lu <hjl@gnu.org>
263 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
266 2000-11-17 Richard Henderson <rth@redhat.com>
268 * readelf.c (display_debug_lines): Adjust last change to
269 use sizeof (external->li_length).
271 2000-11-17 Richard Henderson <rth@redhat.com>
273 * readelf.c (display_debug_lines): Fix section length check
274 and end_of_sequence computation.
276 2000-11-06 Nick Clifton <nickc@redhat.com>
278 * binutils.texi: Add GNU Free Documentation License.
279 * objcopy.1: Add GNU Free Documentation License.
280 * objdump.1: Add GNU Free Documentation License.
281 * addr2line.1: Add GNU Free Documentation License.
282 * ar.1: Add GNU Free Documentation License.
283 * nlmconv.1: Add GNU Free Documentation License.
284 * nm.1: Add GNU Free Documentation License.
285 * ranlib.1: Add GNU Free Documentation License.
286 * size.1: Add GNU Free Documentation License.
287 * strings.1: Add GNU Free Documentation License.
288 * strip.1: Add GNU Free Documentation License.
290 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
292 * objcopy.c (--srec-len=nn): New parameter to set the
293 maximum length of generated Srecords.
294 (--srec-forceS3): New parameter that restricts the generation of
295 Srecords to type S3 only.
296 * binutils.texi: Document new command line switches.
297 * objcopy.1: Docuemnt the new command line switches.
298 * NEWS: Announce the existence of the new command line switches.
300 2000-10-31 Nick Clifton <nickc@redhat.com>
302 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
303 code. Add Eric Chrisopher as maintainer of MN10300 port.
305 2000-10-12 Roger Sayle <roger@metaphorics.com>
307 * Make comma after string after icon/control optional.
309 2000-09-13 Anders Norlander <anorland@acc.umu.se>
311 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
313 * NEWS: Mention support for MIPS32.
315 2000-09-08 Nick Clifton <nickc@redhat.com>
317 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
319 2000-09-07 H.J. Lu <hjl@gnu.org>
321 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
322 * configure: Rebuild.
324 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
326 * configure: Rebuilt with new libtool.m4.
328 2000-09-05 Nick Clifton <nickc@redhat.com>
330 * aclocal.m4: Regenerate.
331 * config.in: Regenerate.
332 * configure: Regenerate.
334 2000-09-04 Todd Vierling <tv@wasabisystems.com>
336 * strip.1: Fix stray '\' in -o formatting.
338 2000-09-02 Nick Clifton <nickc@redhat.com>
340 * configure.in: Increase version number to 2.10.91.
341 * configure: Regenerate.
342 * aclocal.m4: Regenerate.
343 * config.in: Regenerate.
344 * po/binutils.pot: Regenerate.
346 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
348 * acinclude.m4: Include libtool and gettext macros from the
350 * aclocal.m4, configure: Rebuilt.
352 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
354 * resrc.c (close_input_stream): Delete extraneous logic
356 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
358 * NEWS: Mention support for CRIS.
360 2000-08-21 Nick Clifton <nickc@redhat.com>
362 * addr2line.c: Changed email address for Ulrich Lauther.
364 2000-08-17 Christopher C. Chimelis <chris@debian.org>
366 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
368 2000-08-17 Nick Clifton <nickc@redhat.com>
370 * readelf.c (display_debug_pubnames): Only issue warning
371 message once. Terminate message with a new line.
372 (display_debug_aranges): Only display version 2 debug info.
374 2000-08-14 Todd Vierling <tv@wasabisystems.com>
376 * objcopy.c (strip_main): Silently accept -d as an alias for -g
377 for compatability with old BSD systems.
379 2000-08-14 Jason Eckhardt <jle@cygnus.com>
381 * NEWS: Mention i860 support.
383 2000-08-11 Carlo Wood <carlo@alinoe.com>
385 * addr2line.c (main): Add const to char *.
387 2000-08-11 Geoff Keating <geoffk@cygnus.com>
389 * ar.c (main): Don't crash if called with no arguments
390 or only '-X32_64' as an argument.
392 2000-08-08 DJ Delorie <dj@redhat.com>
394 * resrc.c: use "gcc -xc" instead of -xc-header
396 2000-08-05 Jason Eckhardt <jle@cygnus.com>
398 * readelf.c (elf/i860.h): Include.
399 (dump_relocations): Add recognition of i860 architecture.
400 (guess_is_rela): Add recognition of i860 architecture.
402 2000-08-03 Nick Clifton <nickc@cygnus.com>
404 * MAINTAINERS: Add information about CGEN maintainers.
406 2000-07-26 Geoff Keating <geoffk@cygnus.com>
408 * nm.c (main): Ignore '-X32_64' as an option.
409 * ar.c (main): Likewise.
410 * binutils.texi (nm): Document new option.
413 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
415 * rdcoff.c (external_coff_symbol_p): K&R-ise.
417 2000-07-20 H.J. Lu <hjl@gnu.org>
419 * binutils/binutils.texi: Put back "@end table" deleted by
422 2000-07-05 Kenneth Block <krblock@computer.org>
424 * binutils/nm.c: Add optional style to demangle switch.
425 * binutils/objdump.c: Add optional style to demangle switch.
426 * binutils/addr2line.c: Add optional style to demangle switch.
427 * binutils/binutils.texi: Document optional style to demangle
430 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
432 * MAINTAINERS: Add self as CRIS port maintainer.
433 * readelf.c: Include elf/cris.h.
434 (guess_is_rela): Handle EM_CRIS.
435 (dump_relocations): Ditto.
436 (get_machine_name): Ditto.
437 * Makefile.am: Rebuild dependencies.
438 * Makefile.in: Regenerate.
439 * po/binutils.pot: Regenerate.
441 2000-07-19 H.J. Lu <hjl@gnu.org>
443 * readelf.c (get_dynamic_type): Change "AUXILARY" to
445 (process_dynamic_segment): Print out strings for DT_CONFIG,
446 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
448 2000-07-19 Mark Kettenis <kettenis@gnu.org>
450 * nm.c (usage): Change output of `nm --help' to include a
451 description of the purpose of the program and a detailed
452 description of the accepted options.
454 2000-07-19 H.J. Lu <hjl@gnu.org>
456 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
459 2000-07-19 H.J. Lu <hjl@gnu.org>
461 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
463 2000-07-19 H.J. Lu <hjl@gnu.org>
465 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
467 (process_dynamic_segment): Likewise.
469 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
470 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
471 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
472 DF_1_NODUMP and DF_1_CONLFAT.
474 2000-07-18 Nick Clifton <nickc@cygnus.com>
476 * binutils.texi (readelf): Fix spelling typo.
478 2000-07-11 Mark Kettenis <kettenis@gnu.org>
480 * objdump.c (usage): Make output of `objdump --help' more
481 consistent with the rest of the GNU world. Add a line describing
482 the purpose of the program.
484 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
486 * stabs.c (parse_stab_range_type): Cast to proper type to fix
489 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
491 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
493 (process_symbol_table): Ditto.
494 (procesS_extended_line_op): Ditto.
495 (display_debug_lines): Ditto.
496 (display_debug_pubnames): Ditto.
497 (read_and_display_attr): Ditto.
499 2000-07-09 Nick Clifton <nickc@cygnus.com>
501 * MAINTAINERS: Add several more port specific maintainers.
503 2000-07-05 Nick Clifton <nickc@cygnus.com>
505 * MAINTAINERS: Add blanket write privs for Michael Meissner.
507 2000-06-05 DJ Delorie <dj@redhat.com>
511 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
513 * dllwrap.c: Changed mistaken dyn_string_append() calls
514 to dyn_string_append_cstr().
516 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
518 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
519 struct debug_type stores size in bytes.
521 2000-07-01 Alan Modra <alan@linuxcare.com.au>
523 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
524 (CLEANFILES): Add DEPA.
525 * Makefile.in: Regenerate.
527 2000-06-27 Alan Modra <alan@linuxcare.com.au>
529 * ar.c: Revert incorrect 2000-06-25 patch.
530 * bucomm.c: Likewise.
532 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
534 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
535 (external_coff_symbol_p): New function.
536 (parse_coff): Use it.
538 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
540 * ar.c (normalize): Advance past both characters in a DOS based
541 <letter>: filepath prefix.
543 * bucomm.c (make_tempname): Likewise.
545 2000-06-24 Nick Clifton <nickc@cygnus.com>
547 * objdump.c (usage): Fix description of --stabs switch.
549 2000-06-22 Alan Modra <alan@linuxcare.com.au>
551 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
553 * Makefile.in: Regenerate.
555 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
557 * ar.c (normalize): Correct pointer comparison when checking for
560 * bucomm.c (make_tempname): Likewise.
562 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
563 and search for backslashes in the original pathname.
564 (ieee_add_bb11): Likewise.
566 2000-06-18 Nick Clifton <nickc@redhat.com>
568 * ar.c (print_contents): Improve verbose message.
570 2000-06-15 H.J. Lu <hjl@gnu.org>
572 * dyn-string.c: Removed. Not needed with dyn-string.c in
574 * dyn-string.h: Likewise.
576 * Makefile.am: Remove references to dyn-string.c and
577 dyn-string.h. Rebuild dependency.
578 * Makefile.in: Rebuild.
580 2000-06-15 H.J. Lu <hjl@gnu.org>
582 * binutils.texi: Put a warning on copying relocatable object
583 files between two different formats.
585 2000-06-13 DJ Delorie <dj@cygnus.com>
587 * rcparse.y (control): ICON controls take an id as the first
588 parameter, not an optional string. Also, call new convenience
589 function that takes res_id's.
590 * resrc.c (define_control): missing text means zero-length string,
592 (define_icon_control): New.
593 * windres.h: declare define_icon_control.
595 2000-06-13 H.J. Lu <hjl@gnu.org>
597 * configure: Regenerate.
599 2000-06-08 David O'Brien <obrien@FreeBSD.org>
601 * configure.in (VERSION): Update to show this is the CVS mainline.
603 2000-06-02 David O'Brien <obrien@FreeBSD.org>
605 * strings.c (isgraphic): Interpret <TAB> as a printable character,
606 analogous to <SPACE>.
608 2000-05-30 Alan Modra <alan@linuxcare.com.au>
610 * objdump.c (display_target_list): Use bfd_close_all_done, not
611 bfd_close to fix crash caused by 2000-05-24 change.
613 2000-05-25 DJ Delorie <dj@cygnus.com>
615 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
617 2000-05-26 Alan Modra <alan@linuxcare.com.au>
619 * Makefile.am: Update dependencies with "make dep-am"
620 * Makefile.in: Regenerate.
622 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
624 * ar.c: Include filenames.h.
625 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
626 and drive letters in file names.
627 (main): Support backslashes and drive letters in argv[0]. Drop
628 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
629 FILENAME_CMP instead of strcmp to compare file names.
630 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
632 (do_quick_append) [__GO32__]: Ditto.
633 (get_pos_bfd, delete_members, move_members, replace_members):
634 Compare file names with FILENAME_CMP.
636 * bucomm.c: Include filenames.h.
637 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
638 forward/backward slashes and drive letters in file names.
640 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
641 mixed forward/backward slashes and drive letters in file names.
643 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
644 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
647 * objcopy.c: Include filenames.h.
648 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
649 before comparing to "strip".
650 Use FILENAME_CMP to compare file names.
652 * arsup.c: Include filenames.h.
653 (map_over_list, ar_delete, ar_replace, ar_extract): Use
654 FILENAME_CMP to compare file names.
655 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
656 the temporary file name.
658 * configure.in: Check for setmode.
659 * configure: Regenerate.
661 2000-05-24 Alan Modra <alan@linuxcare.com.au>
663 * objdump.c (display_target_list): Close the bfd.
664 (display_info_table): Likewise.
666 2000-05-14 H.J. Lu (hjl@gnu.org)
668 * objcopy.c (filter_symbols): Don't strip global symbols in
669 relocatable object files.
671 2000-05-14 Alan Modra <alan@linuxcare.com.au>
673 * size.c (usage): Associate short options with corresponding long
674 option to give a clue as to their function.
676 2000-05-14 Philippe De Muyter <phdm@macqel.be>
678 * size.c (main): Accept and ignore `-f' option.
680 2000-05-13 Alan Modra <alan@linuxcare.com.au>
682 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
683 bindtextdomain): Replace defines with those from intl/libgettext.h
684 to quieten gcc warnings.
686 2000-05-12 H.J. Lu <hjl@gnu.org>
688 * nlmconv.c (temp_filename): Removed.
690 * nlmconv.c (link_inputs): Use make_temp_file () instead of
692 * objdump.c (display_target_list): Likewise.
693 (display_info_table): Likewise.
695 2000-05-08 Alan Modra <alan@linuxcare.com.au>
697 * objcopy.c (setup_section): Add const and gettext calls for err.
699 2000-05-02 H.J. Lu <hjl@gnu.org>
701 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
702 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
703 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
704 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
705 and ELFOSABI_OPENBSD.
707 2000-05-02 Kazu Hirata <kazu@hxi.com>
709 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
710 * srconv.c: Likewise.
711 * sysdump.c: Likewise.
713 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
715 * readelf.c (guess_is_rela): AVR uses RELA relocations.
716 (get_machine_name): machine name for EM_AVR added.
718 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
719 David Mosberger <davidm@hpl.hp.com>
721 * Makefile.am (readelf.o): Add elf/ia64.h.
722 * Makefile.in: Rebuild.
723 * readelf.c: Include elf/ia64.h.
724 (guess_is_rela, dump_relocations): Handle EM_IA_64.
726 2000-04-17 Timothy Wall <twall@cygnus.com>
728 * objdump.c (disassemble_data): Set octets per byte *after*
729 resolving arch/mach for binary files.
731 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
733 * arlex.l: Add directives to increase lex buffer size.
735 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
736 already included by bucomm.h.
738 2000-04-10 Philippe De Muyter <phdm@macqel.be>
740 * readelf (dynamic_segment_mips_val): Call `sprintf', not
741 `strftime' since strftime is not available on all systems.
742 (process_mips_specific): Ditto.
744 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
746 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
747 --enable-build-warnings option.
748 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
749 * Makefile.in, configure: Re-generate.
751 2000-04-06 Alan Modra <alan@linuxcare.com.au>
753 * addr2line.c: Update copyright.
754 * objcopy.1: Likewise, and title.
755 * strings.1: Likewise.
757 * version.c (print_version): Add 2000.
759 * rddbg.c (read_section_stabs_debugging_info): Don't use
760 bfd_size_type for strx to avoid printf problems if BFD64.
762 * bucomm.c: (report): Remove `static'.
763 Move inclusion of stdarg.h/vararg.h from here.
765 (CONST): Change all occurences to const.
766 (report): Declare it.
767 (bfd_fatal): Add ATTRIBUTE_NORETURN.
768 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
769 (non_fatal): Add ATTRIBUTE_PRINTF_1.
771 * ar.c (main): Use fatal or non_fatal instead of fprintf.
772 Correct a typo in an error message.
773 (do_quick_append): Use non_fatal instead of fprintf.
774 (move_members): Use fatal instead of fprintf, exit.
775 * coffdump.c (main): Same here.
777 * dlltool.c (display): Delete.
779 (inform): Use `report' instead of `display'.
780 (rvaafter): Remove trailing \n from fatal error msg.
783 (yyerror): Replace `warn' with `non_fatal', and remove \n.
784 (def_name): Likewise.
786 (scan_all_symbols): Likewise.
787 (gen_lib_file): Likewise.
788 (def_library): Likewise. Remove extra program_name too.
789 (run): Remove \n from inform strings.
790 (scan_drectve_symbols): Likewise.
791 (add_excludes): Likewise.
792 (scan_open_obj_file): Likewise.
793 (gen_exp_file): Likewise.
794 (gen_lib_file): Likewise.
795 (process_duplicates): Likewise.
797 * Makefile.am (dllwrap_SOURCES): Add version.c.
798 * dllwrap.c (program_version): Delete.
799 (print_version): Delete.
800 (display): Always print trailing \n.
802 (delete_temp_files): Use warn instead of fprintf. Use gettext.
805 (usage): gettext'ify.
806 (long_options): Add missing initialisers.
808 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
809 (select_output_format): Likewise.
810 (powerpc_mangle_relocs): Likewise.
811 (link_inputs): Likewise.
813 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
814 (set_output_format): Likewise.
815 (main): Use non_fatal instead of fprintf.
816 (display_rel_file): Likewise.
818 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
819 (slurp_dynamic_symtab): Same here.
820 (disassemble_data): And here.
821 (read_section_stabs): And here.
822 (read_section_stabs): And here.
823 (dump_bfd): And here.
825 (objdump_sprintf): Use fatal instead of fprintf, exit.
826 (disassemble_data): Same here.
828 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
829 (parse_coff_struct_type): Same here.
830 (parse_coff_enum_type): And here.
831 (parse_coff): And here.
832 * rddbg.c (read_debugging_info): And here.
833 * size.c (main): And here.
834 * windres.c (format_from_name): And here.
835 * wrstabs.c (stab_write_symbol): Here too.
836 (write_stabs_in_sections_debugging_info): And here.
837 (stab_int_type): And here.
838 (stab_struct_field): And here.
839 (stab_typdef): And here.
841 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
842 * srconv.c (main): Same here.
843 * strings.c (main): And here.
844 (integer_arg): And here.
845 * sysdump.c (main): And here.
847 2000-04-06 Timothy Wall <twall@cygnus.com>
849 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
851 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
853 * readelf.c (decode_location_expression): Loop through multiple
855 (read_and_display_attr): Pass in length.
857 * readelf.c (read_and_display_attr): Add CU offset to references.
858 (display_debug_info): Pass it in.
860 2000-04-06 Nick Clifton <nickc@cygnus.com>
862 * readelf.c (decode_ARM_machine_flags): New function.
863 (get_machine_flags): Call decode_ARM_machine_flags for ARM
866 (get_machine_name): Catch EM_AVR
868 2000-04-05 Alan Modra <alan@linuxcare.com.au>
870 * binutils.texi: Remove optional `=' from long options that have
871 an `=' in the argument.
872 * objcopy.1: Here too. Remove extra space on discard-all.
874 * binutils.texi (objcopy): Mention --redefine-sym.
875 * objcopy.1: Here too.
878 * objcopy.c (parse_flags): Split off flag names from error message
879 gettext as they are not translated.
880 (copy_main): Similarly split off option name for --add-section,
881 --set-section-flags, --change-section-vma, --change-section-lma
883 Some white space changes.
885 from Matthew Benjamin <matt@linuxbox.nu>
886 * objcopy.c (struct redefine_node): New.
887 (redefine_sym_list): New.
888 (redefine_list_append): New.
889 (lookup_sym_redefinition): New.
890 (OPTION_REDEFINE_SYM): New.
891 (copy_options): Add --redefine-sym option.
892 (copy_usage): Mention it.
893 (filter_symbols): Rename symbols on redefine_sym_list.
894 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
895 (copy_main): Handle OPTION_REDEFINE_SYM.
897 2000-04-04 H.J. Lu <hjl@gnu.org>
899 * readelf.c (process_symbol_table): Correctly read in symbol
900 versioning information.
902 2000-04-04 Alan Modra <alan@linuxcare.com.au>
904 * po/binutils.pot: Regenerate.
906 * addr2line.c (usage): Restore translated part of bug string.
907 * ar.c (usage): Likewise.
908 * nlmconv.c (show_usage): Likewise.
909 * nm.c (usage): Likewise.
910 * objcopy.c (copy_usage): Likewise.
911 (strip_usage): Likewise.
912 * objdump.c (usage): Likewise.
913 * readelf.c (usage): Likewise.
914 * size.c (usage): Likewise.
915 * strings.c (usage): Likewise.
916 * windres.c (usage): Likewise.
918 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
919 (DEP): Quote when passing vars to sub-make. Add warning
921 (DEP1): Rewrite for "gcc -MM".
922 (CLEANFILES): Add DEP2.
924 * Makefile.in: Regenerate.
926 2000-04-04 H.J. Lu <hjl@gnu.org>
928 * Makefile.am (GENERATED_HFILES): Add rcparse.h
929 (arparse.h): Depend on arparse.c
930 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
932 2000-04-03 H.J. Lu (hjl@gnu.org)
934 * size.c (usage): Use REPORT_BUGS_TO.
936 2000-04-03 Alan Modra <alan@linuxcare.com.au>
938 * bucomm.h: #include "bin-bugs.h"
939 * addr2line.c (usage): Use REPORT_BUGS_TO.
940 * ar.c (usage): Likewise.
941 * nlmconv.c (show_usage): Likewise.
942 * nm.c (usage): Likewise.
943 (OPTION_TARGET): Define.
944 (long_options): Use OPTION_TARGET rather than 200.
947 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
948 (strip_usage): Likewise.
949 * objdump.c (usage): Likewise.
950 * readelf.c (usage): Likewise.
951 * strings.c (usage): Likewise.
952 * windres.c (usage): Likewise.
954 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
956 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
958 2000-03-27 Nick Clifton <nickc@cygnus.com>
960 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
961 string offsets in corrupt stabs entries.
963 2000-03-27 Alan Modra <alan@linuxcare.com.au>
965 * readelf.c: Include elf/avr.h
966 (dump_relocations): Add EM_AVR case.
968 2000-03-09 Tim Waugh <twaugh@redhat.com>
970 * strings.1: Correct '-bytes' to '--bytes'.
972 2000-03-08 H.J. Lu <hjl@gnu.org>
974 * Makefile.am (install-exec-local): Depend on
975 install-binPROGRAMS for parallel make.
976 * Makefile.in: Regenerated.
978 2000-02-27 Ian Lance Taylor <ian@zembu.com>
980 From Brad Lucier <lucier@math.purdue.edu>:
981 * readelf.c (process_dynamic_segment): Add cast to make sure
982 argument to %* is int.
984 2000-02-25 H.J. Lu <hjl@gnu.org>
986 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
988 2000-02-24 Nick Clifton <nickc@cygnus.com>
990 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
991 * configure: Regenerate.
993 * dlltoolc.: Add support for sh-pe and mips-pe targets.
994 * rescoff.c: Add support for sh-pe and mips-pe targets.
996 2000-02-23 H.J. Lu <hjl@gnu.org>
998 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1000 2000-02-22 Nick Clifton <nickc@cygnus.com>
1002 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1004 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1006 From Brad Lucier <lucier@math.purdue.edu>:
1007 * readelf.c (process_version_sections): Add casts to make sure
1008 argument to %* is an int.
1009 (process_mips_specific): Add casts to make printf arguments match
1012 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1014 * objdump.c (dump_section_header): Change `opb' to unsigned.
1015 (find_symbol_for_address): Same here.
1016 (disassemble_data): And here. Change `addr_offset',
1017 `stop_offset', `nextstop_offset' to unsigned long.
1018 (dump_data): Change opb to unsigned.
1020 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1022 * resrc.c: Remove unmatched #if for cygwin.
1024 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1026 * binutils.texi: Document the change of flavor name from atpcs-special
1027 to special-atpcs to prevent name conflict in gdb.
1029 2000-02-08 Timothy Wall <twall@redhat.com>
1031 * objdump.c (show_line): Fix bug preventing printing of the very
1032 first line (line zero) of a file when interlisting source and
1033 assembly. Added option to print entire context from start of file
1034 when the first line from that file is encountered.
1036 2000-02-03 Timothy Wall <twall@redhat.com>
1038 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
1039 show_line, disassemble_bytes, disassemble_data, dump_data):
1040 distinguish between octets and bytes.
1042 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1044 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1045 check to unresolved symbols.
1046 (print_symbol_info_sysv): Ditto.
1047 (print_symbol_info_posix): Ditto.
1049 * binutils.texi: Document new 'V' symclass flag for nm.
1051 2000-01-27 Nick Clifton <nickc@redhat.com>
1053 * binutils.texi (objdump): Document new ARM specific
1054 disassembler options.
1056 * objdump.c (usage): Call disassembler_usage().
1058 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1060 * readelf.c (get_dynamic_flags): Return buff.
1061 (process_dynamic_segment): Don't pass error strings to printf
1063 (read_and_display_attr): Use lx and ld to print longs.
1064 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1068 2000-01-17 Nick Clifton <nickc@cygnus.com>
1070 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1072 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1074 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1076 (debug_tag_type): Here too.
1077 * ieee.c (ieee_builtin_type): And here.
1078 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1080 2000-01-13 Nick Clifton <nickc@cygnus.com>
1082 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1085 2000-01-11 Nick Clifton <nickc@cygnus.com>
1087 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1089 2000-01-10 Nick Clifton <nickc@cygnus.com>
1091 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1093 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1095 * windres.c (long_options): Add --use-temp-file and
1096 --no-use-temp-file options.
1100 * windres.h: Update read_rc_file prototype.
1102 * resrc.c (cpp_temp_file): New static variable.
1103 (istream_type): New static variable.
1104 (close_pipe): Delete function.
1105 (run_cmd): New static function.
1106 (open_input_stream): New static function.
1107 (close_input_stream): New static function.
1108 (look_for_default): Handle DOS directory separator. Use
1109 open_input_stream instead of popen.
1110 (read_rc_file): Likewise.
1112 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1115 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1117 * dlltool.c (create_compat_implib): New variable.
1118 (gen_exp_file): Use.
1119 (make_one_lib_file): Use.
1120 (long_options): Add --compat-implib option.
1124 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1125 (main): Use. Don't look for "32" in cygwin and mingw target names.
1127 2000-01-03 Nick Clifton <nickc@cygnus.com>
1129 * binutils.texi: Document new, ARM specific disassembler
1130 command line switch "-M force-thumb".
1132 For older changes see ChangeLog-9899
1138 version-control: never