1 2001-02-28 Philip Blundell <pb@futuretv.com>
3 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
4 ABI is in use; remove ambiguity between the "unknown" EABI and
5 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
6 renamed EF_xx constants.
8 2001-02-27 Alan Modra <alan@linuxcare.com.au>
10 * configure.in (BFD_VERSION): New.
11 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
12 * configure: Regenerate.
13 * Makefile.am: Run "make dep-am"
14 * Makefile.in: Regenerate.
16 2001-02-14 Nick Clifton <nickc@redhat.com>
18 * MAINTAINERS: Add "Obvious Fix" rule.
20 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
22 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
23 literal concatenation.
25 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
27 * readelf.c (struct unw_aux_info): Remove const from the info member.
28 (process_unwind): Don't type-cast the third argument to the
31 2001-02-11 Nick Clifton <nickc@redhat.com>
33 * readelf.c (dump_relocations): Free corrected allocated
35 (process_unwind): Fix compile time warning.
37 2001-02-10 Nick Clifton <nickc@redhat.com>
39 * binutils.texi: Document new --unwind option to readelf.
41 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
43 * readelf.c: Add linux target for S/390.
45 2001-02-10 Alan Modra <alan@linuxcare.com.au>
47 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
50 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
52 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
53 * aclocal.m4: Regenerate.
54 * configure: Regenerate.
56 2001-02-07 Todd Vierling <tv@wasabisystems.com>
58 * bucomm.c (bfd_target_vector): Change extern array to pointer.
59 * objdump.c (bfd_target_vector): Likewise.
61 2001-02-07 David Mosberger <davidm@hpl.hp.com>
63 * readelf.c (process_unwind): New function.
64 (slurp_ia64_unwind_table): Ditto.
65 (dump_ia64_unwind): Ditto.
66 (find_symbol_for_address): Ditto.
67 (slurp_rela_relocs): New function (split off from dump_relocations()).
68 (slurp_rel_relocs): Ditto.
69 (parse_args): Handle '-u' option.
71 * unwind-ia64.c: New file.
72 * unwind-ia64.h: New file.
73 * Makefile.am: Include unwind-ia64.c in readelf build.
74 * Makefile.in: Regenerate.
75 * po/binutils.pot: Regenerate.
77 2001-02-04 Philip Blundell <philb@gnu.org>
79 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
80 * configure: Regenerate.
82 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
84 * ieee.c (ieee_add_bb11): Don't check for backslashes
85 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
87 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
89 * ieee.c: Update copyright.
90 (ieee_start_compilation_unit): Don't check for backslashes
91 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
93 * stabs.c: Update copyright. Include "filenames.h".
94 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
96 2001-01-23 Jakub Jelinek <jakub@redhat.com>
98 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
99 sections are present before using them. Remove code duplication.
100 (process_symbol_table): Check if VERDEF or VERNEED sections are
101 present before using them.
103 2001-01-17 Nick Clifton <nickc@redhat.com>
105 * objcopy.c (copy_object): Fail if attempting to convert the
106 endianness of the input object file.
108 * binutils.texi: Explain that objcopy cannot convert endianness.
110 2001-01-16 Nick Clifton <nickc@redhat.com>
112 * readelf.c (string_table_length): New variable.
113 (SECTION_NAME): Catch out of range indices and missing section
115 (process_section_headers): Delete useless local variable
116 string_table_offset. Set the value of string_table_length
117 after loading the string table.
118 (process_mips_specific): Use SECTION_NAME macro.
119 (process_file): Set string_table_length to 0 when it is freed.
121 2001-01-12 Nick Clifton <nickc@redhat.com>
123 * version.c (print_version): Update copyright date.
125 2001-01-11 Peter Targett <peter.targett@arccores.com>
127 * readelf.c (dump_relocations): Include selection with EM_ARC.
128 (get_machine_name) Update name to "ARC".
130 2001-01-09 Nick Clifton <nickc@redhat.com>
132 * Makefile.am: Add rule to build objdump.o from objdump.c and
134 * Makefile.in: Regenerate.
136 * configure.in: Define OBJDUMP_DEFS. Default to empty.
137 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
138 -DDISASSEMBLER_NEEDS_RELOCS.
139 * configure: Regenerate.
141 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
142 is defined read in the relocs even if dump_reloc_info is
145 2001-01-07 Philip Blundell <philb@gnu.org>
147 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
151 2000-12-19 Nick Clifton <nickc@redhat.com>
153 * dlltool.c: Add missing support for arm-epoc-pe.
154 * configure.in: Add missing support for arm-epoc-pe.
155 * configure: Regenerate.
157 2000-12-15 Nick Clifton <nickc@redhat.com>
159 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
160 Mode parts of the x86 port.
162 2000-12-04 Andreas Jaeger <aj@suse.de>
164 * readelf.c (guess_is_rela): Add EM_X86_64.
165 (dump_relocations): Add EM_X86_64.
166 (get_machine_name): Add EM_X86_64.
167 Include "elf/x86-64.h".
169 2000-12-12 Nick Clifton <nickc@redhat.com>
171 * readelf.c: Fix formatting.
173 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
175 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
177 2000-12-07 Andrew Haley <aph@redhat.com>
179 * readelf.c (display_debug_frames): Only display columns that are
180 referenced by the frame debug info.
182 2000-12-05 Nick Clifton <nickc@redhat.com>
184 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
186 2000-12-04 Jason Merrill <jason@redhat.com>
188 * readelf.c (process_section_headers): Handle linkonce.wi sections.
189 (display_debug_section): Likewise.
190 (display_debug_info): Display CU header before bailing.
192 2000-12-01 Chris Demetriou <cgd@sibyte.com>
194 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
195 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
196 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
198 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
201 * readelf.c (get_machine_flags): Add case for
204 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
206 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
208 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
210 * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
211 Change sourceware.cygnus.com to sources.redhat.com.
212 Fix typo for "amongst".
214 2000-11-28 Nick Clifton <nickc@redhat.com>
216 * strip.1 (COPYING): Mention that the GNU Free Documentation
217 License is present in the sources, but not the output, and
218 also available from the GNU website.
219 (GNU Free Documentation License): Comment out this section.
228 * addr2line.1: Ditto.
230 2000-11-27 DJ Delorie <dj@redhat.com>
232 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
233 (parse_args): Support -wf option.
234 (process_section_headers): Ditto.
235 (debug_displays): Ditto.
236 (display_debug_frames): New, dump *_frame sections.
237 (frame_need_space): Support for above.
238 (frame_display_row): Ditto.
239 * binutils.texi: Document it.
241 2000-11-24 Nick Clifton <nickc@redhat.com>
243 * NEWS: Announce support for v5t, v5te and XScale.
245 2000-11-22 Nick Clifton <nickc@redhat.com>
247 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
248 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
249 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
250 (get_elf_section_flags: Add SHF_GROUP.
251 (process_section_headers): Adjust output for 32-bit binaries
252 to look nice on an 80 column terminal.
254 2000-11-20 H.J. Lu <hjl@gnu.org>
256 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
259 2000-11-17 Richard Henderson <rth@redhat.com>
261 * readelf.c (display_debug_lines): Adjust last change to
262 use sizeof (external->li_length).
264 2000-11-17 Richard Henderson <rth@redhat.com>
266 * readelf.c (display_debug_lines): Fix section length check
267 and end_of_sequence computation.
269 2000-11-06 Nick Clifton <nickc@redhat.com>
271 * binutils.texi: Add GNU Free Documentation License.
272 * objcopy.1: Add GNU Free Documentation License.
273 * objdump.1: Add GNU Free Documentation License.
274 * addr2line.1: Add GNU Free Documentation License.
275 * ar.1: Add GNU Free Documentation License.
276 * nlmconv.1: Add GNU Free Documentation License.
277 * nm.1: Add GNU Free Documentation License.
278 * ranlib.1: Add GNU Free Documentation License.
279 * size.1: Add GNU Free Documentation License.
280 * strings.1: Add GNU Free Documentation License.
281 * strip.1: Add GNU Free Documentation License.
283 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
285 * objcopy.c (--srec-len=nn): New parameter to set the
286 maximum length of generated Srecords.
287 (--srec-forceS3): New parameter that restricts the generation of
288 Srecords to type S3 only.
289 * binutils.texi: Document new command line switches.
290 * objcopy.1: Docuemnt the new command line switches.
291 * NEWS: Announce the existence of the new command line switches.
293 2000-10-31 Nick Clifton <nickc@redhat.com>
295 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
296 code. Add Eric Chrisopher as maintainer of MN10300 port.
298 2000-10-12 Roger Sayle <roger@metaphorics.com>
300 * Make comma after string after icon/control optional.
302 2000-09-13 Anders Norlander <anorland@acc.umu.se>
304 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
306 * NEWS: Mention support for MIPS32.
308 2000-09-08 Nick Clifton <nickc@redhat.com>
310 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
312 2000-09-07 H.J. Lu <hjl@gnu.org>
314 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
315 * configure: Rebuild.
317 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
319 * configure: Rebuilt with new libtool.m4.
321 2000-09-05 Nick Clifton <nickc@redhat.com>
323 * aclocal.m4: Regenerate.
324 * config.in: Regenerate.
325 * configure: Regenerate.
327 2000-09-04 Todd Vierling <tv@wasabisystems.com>
329 * strip.1: Fix stray '\' in -o formatting.
331 2000-09-02 Nick Clifton <nickc@redhat.com>
333 * configure.in: Increase version number to 2.10.91.
334 * configure: Regenerate.
335 * aclocal.m4: Regenerate.
336 * config.in: Regenerate.
337 * po/binutils.pot: Regenerate.
339 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
341 * acinclude.m4: Include libtool and gettext macros from the
343 * aclocal.m4, configure: Rebuilt.
345 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
347 * resrc.c (close_input_stream): Delete extraneous logic
349 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
351 * NEWS: Mention support for CRIS.
353 2000-08-21 Nick Clifton <nickc@redhat.com>
355 * addr2line.c: Changed email address for Ulrich Lauther.
357 2000-08-17 Christopher C. Chimelis <chris@debian.org>
359 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
361 2000-08-17 Nick Clifton <nickc@redhat.com>
363 * readelf.c (display_debug_pubnames): Only issue warning
364 message once. Terminate message with a new line.
365 (display_debug_aranges): Only display version 2 debug info.
367 2000-08-14 Todd Vierling <tv@wasabisystems.com>
369 * objcopy.c (strip_main): Silently accept -d as an alias for -g
370 for compatability with old BSD systems.
372 2000-08-14 Jason Eckhardt <jle@cygnus.com>
374 * NEWS: Mention i860 support.
376 2000-08-11 Carlo Wood <carlo@alinoe.com>
378 * addr2line.c (main): Add const to char *.
380 2000-08-11 Geoff Keating <geoffk@cygnus.com>
382 * ar.c (main): Don't crash if called with no arguments
383 or only '-X32_64' as an argument.
385 2000-08-08 DJ Delorie <dj@redhat.com>
387 * resrc.c: use "gcc -xc" instead of -xc-header
389 2000-08-05 Jason Eckhardt <jle@cygnus.com>
391 * readelf.c (elf/i860.h): Include.
392 (dump_relocations): Add recognition of i860 architecture.
393 (guess_is_rela): Add recognition of i860 architecture.
395 2000-08-03 Nick Clifton <nickc@cygnus.com>
397 * MAINTAINERS: Add information about CGEN maintainers.
399 2000-07-26 Geoff Keating <geoffk@cygnus.com>
401 * nm.c (main): Ignore '-X32_64' as an option.
402 * ar.c (main): Likewise.
403 * binutils.texi (nm): Document new option.
406 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
408 * rdcoff.c (external_coff_symbol_p): K&R-ise.
410 2000-07-20 H.J. Lu <hjl@gnu.org>
412 * binutils/binutils.texi: Put back "@end table" deleted by
415 2000-07-05 Kenneth Block <krblock@computer.org>
417 * binutils/nm.c: Add optional style to demangle switch.
418 * binutils/objdump.c: Add optional style to demangle switch.
419 * binutils/addr2line.c: Add optional style to demangle switch.
420 * binutils/binutils.texi: Document optional style to demangle
423 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
425 * MAINTAINERS: Add self as CRIS port maintainer.
426 * readelf.c: Include elf/cris.h.
427 (guess_is_rela): Handle EM_CRIS.
428 (dump_relocations): Ditto.
429 (get_machine_name): Ditto.
430 * Makefile.am: Rebuild dependencies.
431 * Makefile.in: Regenerate.
432 * po/binutils.pot: Regenerate.
434 2000-07-19 H.J. Lu <hjl@gnu.org>
436 * readelf.c (get_dynamic_type): Change "AUXILARY" to
438 (process_dynamic_segment): Print out strings for DT_CONFIG,
439 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
441 2000-07-19 Mark Kettenis <kettenis@gnu.org>
443 * nm.c (usage): Change output of `nm --help' to include a
444 description of the purpose of the program and a detailed
445 description of the accepted options.
447 2000-07-19 H.J. Lu <hjl@gnu.org>
449 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
452 2000-07-19 H.J. Lu <hjl@gnu.org>
454 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
456 2000-07-19 H.J. Lu <hjl@gnu.org>
458 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
460 (process_dynamic_segment): Likewise.
462 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
463 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
464 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
465 DF_1_NODUMP and DF_1_CONLFAT.
467 2000-07-18 Nick Clifton <nickc@cygnus.com>
469 * binutils.texi (readelf): Fix spelling typo.
471 2000-07-11 Mark Kettenis <kettenis@gnu.org>
473 * objdump.c (usage): Make output of `objdump --help' more
474 consistent with the rest of the GNU world. Add a line describing
475 the purpose of the program.
477 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
479 * stabs.c (parse_stab_range_type): Cast to proper type to fix
482 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
484 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
486 (process_symbol_table): Ditto.
487 (procesS_extended_line_op): Ditto.
488 (display_debug_lines): Ditto.
489 (display_debug_pubnames): Ditto.
490 (read_and_display_attr): Ditto.
492 2000-07-09 Nick Clifton <nickc@cygnus.com>
494 * MAINTAINERS: Add several more port specific maintainers.
496 2000-07-05 Nick Clifton <nickc@cygnus.com>
498 * MAINTAINERS: Add blanket write privs for Michael Meissner.
500 2000-06-05 DJ Delorie <dj@redhat.com>
504 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
506 * dllwrap.c: Changed mistaken dyn_string_append() calls
507 to dyn_string_append_cstr().
509 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
511 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
512 struct debug_type stores size in bytes.
514 2000-07-01 Alan Modra <alan@linuxcare.com.au>
516 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
517 (CLEANFILES): Add DEPA.
518 * Makefile.in: Regenerate.
520 2000-06-27 Alan Modra <alan@linuxcare.com.au>
522 * ar.c: Revert incorrect 2000-06-25 patch.
523 * bucomm.c: Likewise.
525 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
527 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
528 (external_coff_symbol_p): New function.
529 (parse_coff): Use it.
531 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
533 * ar.c (normalize): Advance past both characters in a DOS based
534 <letter>: filepath prefix.
536 * bucomm.c (make_tempname): Likewise.
538 2000-06-24 Nick Clifton <nickc@cygnus.com>
540 * objdump.c (usage): Fix description of --stabs switch.
542 2000-06-22 Alan Modra <alan@linuxcare.com.au>
544 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
546 * Makefile.in: Regenerate.
548 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
550 * ar.c (normalize): Correct pointer comparison when checking for
553 * bucomm.c (make_tempname): Likewise.
555 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
556 and search for backslashes in the original pathname.
557 (ieee_add_bb11): Likewise.
559 2000-06-18 Nick Clifton <nickc@redhat.com>
561 * ar.c (print_contents): Improve verbose message.
563 2000-06-15 H.J. Lu <hjl@gnu.org>
565 * dyn-string.c: Removed. Not needed with dyn-string.c in
567 * dyn-string.h: Likewise.
569 * Makefile.am: Remove references to dyn-string.c and
570 dyn-string.h. Rebuild dependency.
571 * Makefile.in: Rebuild.
573 2000-06-15 H.J. Lu <hjl@gnu.org>
575 * binutils.texi: Put a warning on copying relocatable object
576 files between two different formats.
578 2000-06-13 DJ Delorie <dj@cygnus.com>
580 * rcparse.y (control): ICON controls take an id as the first
581 parameter, not an optional string. Also, call new convenience
582 function that takes res_id's.
583 * resrc.c (define_control): missing text means zero-length string,
585 (define_icon_control): New.
586 * windres.h: declare define_icon_control.
588 2000-06-13 H.J. Lu <hjl@gnu.org>
590 * configure: Regenerate.
592 2000-06-08 David O'Brien <obrien@FreeBSD.org>
594 * configure.in (VERSION): Update to show this is the CVS mainline.
596 2000-06-02 David O'Brien <obrien@FreeBSD.org>
598 * strings.c (isgraphic): Interpret <TAB> as a printable character,
599 analogous to <SPACE>.
601 2000-05-30 Alan Modra <alan@linuxcare.com.au>
603 * objdump.c (display_target_list): Use bfd_close_all_done, not
604 bfd_close to fix crash caused by 2000-05-24 change.
606 2000-05-25 DJ Delorie <dj@cygnus.com>
608 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
610 2000-05-26 Alan Modra <alan@linuxcare.com.au>
612 * Makefile.am: Update dependencies with "make dep-am"
613 * Makefile.in: Regenerate.
615 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
617 * ar.c: Include filenames.h.
618 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
619 and drive letters in file names.
620 (main): Support backslashes and drive letters in argv[0]. Drop
621 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
622 FILENAME_CMP instead of strcmp to compare file names.
623 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
625 (do_quick_append) [__GO32__]: Ditto.
626 (get_pos_bfd, delete_members, move_members, replace_members):
627 Compare file names with FILENAME_CMP.
629 * bucomm.c: Include filenames.h.
630 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
631 forward/backward slashes and drive letters in file names.
633 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
634 mixed forward/backward slashes and drive letters in file names.
636 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
637 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
640 * objcopy.c: Include filenames.h.
641 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
642 before comparing to "strip".
643 Use FILENAME_CMP to compare file names.
645 * arsup.c: Include filenames.h.
646 (map_over_list, ar_delete, ar_replace, ar_extract): Use
647 FILENAME_CMP to compare file names.
648 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
649 the temporary file name.
651 * configure.in: Check for setmode.
652 * configure: Regenerate.
654 2000-05-24 Alan Modra <alan@linuxcare.com.au>
656 * objdump.c (display_target_list): Close the bfd.
657 (display_info_table): Likewise.
659 2000-05-14 H.J. Lu (hjl@gnu.org)
661 * objcopy.c (filter_symbols): Don't strip global symbols in
662 relocatable object files.
664 2000-05-14 Alan Modra <alan@linuxcare.com.au>
666 * size.c (usage): Associate short options with corresponding long
667 option to give a clue as to their function.
669 2000-05-14 Philippe De Muyter <phdm@macqel.be>
671 * size.c (main): Accept and ignore `-f' option.
673 2000-05-13 Alan Modra <alan@linuxcare.com.au>
675 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
676 bindtextdomain): Replace defines with those from intl/libgettext.h
677 to quieten gcc warnings.
679 2000-05-12 H.J. Lu <hjl@gnu.org>
681 * nlmconv.c (temp_filename): Removed.
683 * nlmconv.c (link_inputs): Use make_temp_file () instead of
685 * objdump.c (display_target_list): Likewise.
686 (display_info_table): Likewise.
688 2000-05-08 Alan Modra <alan@linuxcare.com.au>
690 * objcopy.c (setup_section): Add const and gettext calls for err.
692 2000-05-02 H.J. Lu <hjl@gnu.org>
694 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
695 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
696 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
697 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
698 and ELFOSABI_OPENBSD.
700 2000-05-02 Kazu Hirata <kazu@hxi.com>
702 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
703 * srconv.c: Likewise.
704 * sysdump.c: Likewise.
706 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
708 * readelf.c (guess_is_rela): AVR uses RELA relocations.
709 (get_machine_name): machine name for EM_AVR added.
711 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
712 David Mosberger <davidm@hpl.hp.com>
714 * Makefile.am (readelf.o): Add elf/ia64.h.
715 * Makefile.in: Rebuild.
716 * readelf.c: Include elf/ia64.h.
717 (guess_is_rela, dump_relocations): Handle EM_IA_64.
719 2000-04-17 Timothy Wall <twall@cygnus.com>
721 * objdump.c (disassemble_data): Set octets per byte *after*
722 resolving arch/mach for binary files.
724 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
726 * arlex.l: Add directives to increase lex buffer size.
728 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
729 already included by bucomm.h.
731 2000-04-10 Philippe De Muyter <phdm@macqel.be>
733 * readelf (dynamic_segment_mips_val): Call `sprintf', not
734 `strftime' since strftime is not available on all systems.
735 (process_mips_specific): Ditto.
737 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
739 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
740 --enable-build-warnings option.
741 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
742 * Makefile.in, configure: Re-generate.
744 2000-04-06 Alan Modra <alan@linuxcare.com.au>
746 * addr2line.c: Update copyright.
747 * objcopy.1: Likewise, and title.
748 * strings.1: Likewise.
750 * version.c (print_version): Add 2000.
752 * rddbg.c (read_section_stabs_debugging_info): Don't use
753 bfd_size_type for strx to avoid printf problems if BFD64.
755 * bucomm.c: (report): Remove `static'.
756 Move inclusion of stdarg.h/vararg.h from here.
758 (CONST): Change all occurences to const.
759 (report): Declare it.
760 (bfd_fatal): Add ATTRIBUTE_NORETURN.
761 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
762 (non_fatal): Add ATTRIBUTE_PRINTF_1.
764 * ar.c (main): Use fatal or non_fatal instead of fprintf.
765 Correct a typo in an error message.
766 (do_quick_append): Use non_fatal instead of fprintf.
767 (move_members): Use fatal instead of fprintf, exit.
768 * coffdump.c (main): Same here.
770 * dlltool.c (display): Delete.
772 (inform): Use `report' instead of `display'.
773 (rvaafter): Remove trailing \n from fatal error msg.
776 (yyerror): Replace `warn' with `non_fatal', and remove \n.
777 (def_name): Likewise.
779 (scan_all_symbols): Likewise.
780 (gen_lib_file): Likewise.
781 (def_library): Likewise. Remove extra program_name too.
782 (run): Remove \n from inform strings.
783 (scan_drectve_symbols): Likewise.
784 (add_excludes): Likewise.
785 (scan_open_obj_file): Likewise.
786 (gen_exp_file): Likewise.
787 (gen_lib_file): Likewise.
788 (process_duplicates): Likewise.
790 * Makefile.am (dllwrap_SOURCES): Add version.c.
791 * dllwrap.c (program_version): Delete.
792 (print_version): Delete.
793 (display): Always print trailing \n.
795 (delete_temp_files): Use warn instead of fprintf. Use gettext.
798 (usage): gettext'ify.
799 (long_options): Add missing initialisers.
801 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
802 (select_output_format): Likewise.
803 (powerpc_mangle_relocs): Likewise.
804 (link_inputs): Likewise.
806 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
807 (set_output_format): Likewise.
808 (main): Use non_fatal instead of fprintf.
809 (display_rel_file): Likewise.
811 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
812 (slurp_dynamic_symtab): Same here.
813 (disassemble_data): And here.
814 (read_section_stabs): And here.
815 (read_section_stabs): And here.
816 (dump_bfd): And here.
818 (objdump_sprintf): Use fatal instead of fprintf, exit.
819 (disassemble_data): Same here.
821 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
822 (parse_coff_struct_type): Same here.
823 (parse_coff_enum_type): And here.
824 (parse_coff): And here.
825 * rddbg.c (read_debugging_info): And here.
826 * size.c (main): And here.
827 * windres.c (format_from_name): And here.
828 * wrstabs.c (stab_write_symbol): Here too.
829 (write_stabs_in_sections_debugging_info): And here.
830 (stab_int_type): And here.
831 (stab_struct_field): And here.
832 (stab_typdef): And here.
834 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
835 * srconv.c (main): Same here.
836 * strings.c (main): And here.
837 (integer_arg): And here.
838 * sysdump.c (main): And here.
840 2000-04-06 Timothy Wall <twall@cygnus.com>
842 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
844 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
846 * readelf.c (decode_location_expression): Loop through multiple
848 (read_and_display_attr): Pass in length.
850 * readelf.c (read_and_display_attr): Add CU offset to references.
851 (display_debug_info): Pass it in.
853 2000-04-06 Nick Clifton <nickc@cygnus.com>
855 * readelf.c (decode_ARM_machine_flags): New function.
856 (get_machine_flags): Call decode_ARM_machine_flags for ARM
859 (get_machine_name): Catch EM_AVR
861 2000-04-05 Alan Modra <alan@linuxcare.com.au>
863 * binutils.texi: Remove optional `=' from long options that have
864 an `=' in the argument.
865 * objcopy.1: Here too. Remove extra space on discard-all.
867 * binutils.texi (objcopy): Mention --redefine-sym.
868 * objcopy.1: Here too.
871 * objcopy.c (parse_flags): Split off flag names from error message
872 gettext as they are not translated.
873 (copy_main): Similarly split off option name for --add-section,
874 --set-section-flags, --change-section-vma, --change-section-lma
876 Some white space changes.
878 from Matthew Benjamin <matt@linuxbox.nu>
879 * objcopy.c (struct redefine_node): New.
880 (redefine_sym_list): New.
881 (redefine_list_append): New.
882 (lookup_sym_redefinition): New.
883 (OPTION_REDEFINE_SYM): New.
884 (copy_options): Add --redefine-sym option.
885 (copy_usage): Mention it.
886 (filter_symbols): Rename symbols on redefine_sym_list.
887 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
888 (copy_main): Handle OPTION_REDEFINE_SYM.
890 2000-04-04 H.J. Lu <hjl@gnu.org>
892 * readelf.c (process_symbol_table): Correctly read in symbol
893 versioning information.
895 2000-04-04 Alan Modra <alan@linuxcare.com.au>
897 * po/binutils.pot: Regenerate.
899 * addr2line.c (usage): Restore translated part of bug string.
900 * ar.c (usage): Likewise.
901 * nlmconv.c (show_usage): Likewise.
902 * nm.c (usage): Likewise.
903 * objcopy.c (copy_usage): Likewise.
904 (strip_usage): Likewise.
905 * objdump.c (usage): Likewise.
906 * readelf.c (usage): Likewise.
907 * size.c (usage): Likewise.
908 * strings.c (usage): Likewise.
909 * windres.c (usage): Likewise.
911 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
912 (DEP): Quote when passing vars to sub-make. Add warning
914 (DEP1): Rewrite for "gcc -MM".
915 (CLEANFILES): Add DEP2.
917 * Makefile.in: Regenerate.
919 2000-04-04 H.J. Lu <hjl@gnu.org>
921 * Makefile.am (GENERATED_HFILES): Add rcparse.h
922 (arparse.h): Depend on arparse.c
923 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
925 2000-04-03 H.J. Lu (hjl@gnu.org)
927 * size.c (usage): Use REPORT_BUGS_TO.
929 2000-04-03 Alan Modra <alan@linuxcare.com.au>
931 * bucomm.h: #include "bin-bugs.h"
932 * addr2line.c (usage): Use REPORT_BUGS_TO.
933 * ar.c (usage): Likewise.
934 * nlmconv.c (show_usage): Likewise.
935 * nm.c (usage): Likewise.
936 (OPTION_TARGET): Define.
937 (long_options): Use OPTION_TARGET rather than 200.
940 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
941 (strip_usage): Likewise.
942 * objdump.c (usage): Likewise.
943 * readelf.c (usage): Likewise.
944 * strings.c (usage): Likewise.
945 * windres.c (usage): Likewise.
947 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
949 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
951 2000-03-27 Nick Clifton <nickc@cygnus.com>
953 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
954 string offsets in corrupt stabs entries.
956 2000-03-27 Alan Modra <alan@linuxcare.com.au>
958 * readelf.c: Include elf/avr.h
959 (dump_relocations): Add EM_AVR case.
961 2000-03-09 Tim Waugh <twaugh@redhat.com>
963 * strings.1: Correct '-bytes' to '--bytes'.
965 2000-03-08 H.J. Lu <hjl@gnu.org>
967 * Makefile.am (install-exec-local): Depend on
968 install-binPROGRAMS for parallel make.
969 * Makefile.in: Regenerated.
971 2000-02-27 Ian Lance Taylor <ian@zembu.com>
973 From Brad Lucier <lucier@math.purdue.edu>:
974 * readelf.c (process_dynamic_segment): Add cast to make sure
975 argument to %* is int.
977 2000-02-25 H.J. Lu <hjl@gnu.org>
979 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
981 2000-02-24 Nick Clifton <nickc@cygnus.com>
983 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
984 * configure: Regenerate.
986 * dlltoolc.: Add support for sh-pe and mips-pe targets.
987 * rescoff.c: Add support for sh-pe and mips-pe targets.
989 2000-02-23 H.J. Lu <hjl@gnu.org>
991 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
993 2000-02-22 Nick Clifton <nickc@cygnus.com>
995 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
997 2000-02-22 Ian Lance Taylor <ian@zembu.com>
999 From Brad Lucier <lucier@math.purdue.edu>:
1000 * readelf.c (process_version_sections): Add casts to make sure
1001 argument to %* is an int.
1002 (process_mips_specific): Add casts to make printf arguments match
1005 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1007 * objdump.c (dump_section_header): Change `opb' to unsigned.
1008 (find_symbol_for_address): Same here.
1009 (disassemble_data): And here. Change `addr_offset',
1010 `stop_offset', `nextstop_offset' to unsigned long.
1011 (dump_data): Change opb to unsigned.
1013 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1015 * resrc.c: Remove unmatched #if for cygwin.
1017 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1019 * binutils.texi: Document the change of flavor name from atpcs-special
1020 to special-atpcs to prevent name conflict in gdb.
1022 2000-02-08 Timothy Wall <twall@redhat.com>
1024 * objdump.c (show_line): Fix bug preventing printing of the very
1025 first line (line zero) of a file when interlisting source and
1026 assembly. Added option to print entire context from start of file
1027 when the first line from that file is encountered.
1029 2000-02-03 Timothy Wall <twall@redhat.com>
1031 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
1032 show_line, disassemble_bytes, disassemble_data, dump_data):
1033 distinguish between octets and bytes.
1035 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1037 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1038 check to unresolved symbols.
1039 (print_symbol_info_sysv): Ditto.
1040 (print_symbol_info_posix): Ditto.
1042 * binutils.texi: Document new 'V' symclass flag for nm.
1044 2000-01-27 Nick Clifton <nickc@redhat.com>
1046 * binutils.texi (objdump): Document new ARM specific
1047 disassembler options.
1049 * objdump.c (usage): Call disassembler_usage().
1051 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1053 * readelf.c (get_dynamic_flags): Return buff.
1054 (process_dynamic_segment): Don't pass error strings to printf
1056 (read_and_display_attr): Use lx and ld to print longs.
1057 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1061 2000-01-17 Nick Clifton <nickc@cygnus.com>
1063 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1065 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1067 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1069 (debug_tag_type): Here too.
1070 * ieee.c (ieee_builtin_type): And here.
1071 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1073 2000-01-13 Nick Clifton <nickc@cygnus.com>
1075 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1078 2000-01-11 Nick Clifton <nickc@cygnus.com>
1080 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1082 2000-01-10 Nick Clifton <nickc@cygnus.com>
1084 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1086 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1088 * windres.c (long_options): Add --use-temp-file and
1089 --no-use-temp-file options.
1093 * windres.h: Update read_rc_file prototype.
1095 * resrc.c (cpp_temp_file): New static variable.
1096 (istream_type): New static variable.
1097 (close_pipe): Delete function.
1098 (run_cmd): New static function.
1099 (open_input_stream): New static function.
1100 (close_input_stream): New static function.
1101 (look_for_default): Handle DOS directory separator. Use
1102 open_input_stream instead of popen.
1103 (read_rc_file): Likewise.
1105 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1108 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1110 * dlltool.c (create_compat_implib): New variable.
1111 (gen_exp_file): Use.
1112 (make_one_lib_file): Use.
1113 (long_options): Add --compat-implib option.
1117 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1118 (main): Use. Don't look for "32" in cygwin and mingw target names.
1120 2000-01-03 Nick Clifton <nickc@cygnus.com>
1122 * binutils.texi: Document new, ARM specific disassembler
1123 command line switch "-M force-thumb".
1125 For older changes see ChangeLog-9899
1131 version-control: never