1 2001-02-14 Nick Clifton <nickc@redhat.com>
3 * MAINTAINERS: Add "Obvious Fix" rule.
5 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
10 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
12 * readelf.c (struct unw_aux_info): Remove const from the info member.
13 (process_unwind): Don't type-cast the third argument to the
16 2001-02-11 Nick Clifton <nickc@redhat.com>
18 * readelf.c (dump_relocations): Free corrected allocated
20 (process_unwind): Fix compile time warning.
22 2001-02-10 Nick Clifton <nickc@redhat.com>
24 * binutils.texi: Document new --unwind option to readelf.
26 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
28 * readelf.c: Add linux target for S/390.
30 2001-02-10 Alan Modra <alan@linuxcare.com.au>
32 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
35 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
37 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
38 * aclocal.m4: Regenerate.
39 * configure: Regenerate.
41 2001-02-07 Todd Vierling <tv@wasabisystems.com>
43 * bucomm.c (bfd_target_vector): Change extern array to pointer.
44 * objdump.c (bfd_target_vector): Likewise.
46 2001-02-07 David Mosberger <davidm@hpl.hp.com>
48 * readelf.c (process_unwind): New function.
49 (slurp_ia64_unwind_table): Ditto.
50 (dump_ia64_unwind): Ditto.
51 (find_symbol_for_address): Ditto.
52 (slurp_rela_relocs): New function (split off from dump_relocations()).
53 (slurp_rel_relocs): Ditto.
54 (parse_args): Handle '-u' option.
56 * unwind-ia64.c: New file.
57 * unwind-ia64.h: New file.
58 * Makefile.am: Include unwind-ia64.c in readelf build.
59 * Makefile.in: Regenerate.
60 * po/binutils.pot: Regenerate.
62 2001-02-04 Philip Blundell <philb@gnu.org>
64 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
65 * configure: Regenerate.
67 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
69 * ieee.c (ieee_add_bb11): Don't check for backslashes
70 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
72 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
74 * ieee.c: Update copyright.
75 (ieee_start_compilation_unit): Don't check for backslashes
76 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
78 * stabs.c: Update copyright. Include "filenames.h".
79 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
81 2001-01-23 Jakub Jelinek <jakub@redhat.com>
83 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
84 sections are present before using them. Remove code duplication.
85 (process_symbol_table): Check if VERDEF or VERNEED sections are
86 present before using them.
88 2001-01-17 Nick Clifton <nickc@redhat.com>
90 * objcopy.c (copy_object): Fail if attempting to convert the
91 endianness of the input object file.
93 * binutils.texi: Explain that objcopy cannot convert endianness.
95 2001-01-16 Nick Clifton <nickc@redhat.com>
97 * readelf.c (string_table_length): New variable.
98 (SECTION_NAME): Catch out of range indices and missing section
100 (process_section_headers): Delete useless local variable
101 string_table_offset. Set the value of string_table_length
102 after loading the string table.
103 (process_mips_specific): Use SECTION_NAME macro.
104 (process_file): Set string_table_length to 0 when it is freed.
106 2001-01-12 Nick Clifton <nickc@redhat.com>
108 * version.c (print_version): Update copyright date.
110 2001-01-11 Peter Targett <peter.targett@arccores.com>
112 * readelf.c (dump_relocations): Include selection with EM_ARC.
113 (get_machine_name) Update name to "ARC".
115 2001-01-09 Nick Clifton <nickc@redhat.com>
117 * Makefile.am: Add rule to build objdump.o from objdump.c and
119 * Makefile.in: Regenerate.
121 * configure.in: Define OBJDUMP_DEFS. Default to empty.
122 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
123 -DDISASSEMBLER_NEEDS_RELOCS.
124 * configure: Regenerate.
126 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
127 is defined read in the relocs even if dump_reloc_info is
130 2001-01-07 Philip Blundell <philb@gnu.org>
132 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
136 2000-12-19 Nick Clifton <nickc@redhat.com>
138 * dlltool.c: Add missing support for arm-epoc-pe.
139 * configure.in: Add missing support for arm-epoc-pe.
140 * configure: Regenerate.
142 2000-12-15 Nick Clifton <nickc@redhat.com>
144 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
145 Mode parts of the x86 port.
147 2000-12-04 Andreas Jaeger <aj@suse.de>
149 * readelf.c (guess_is_rela): Add EM_X86_64.
150 (dump_relocations): Add EM_X86_64.
151 (get_machine_name): Add EM_X86_64.
152 Include "elf/x86-64.h".
154 2000-12-12 Nick Clifton <nickc@redhat.com>
156 * readelf.c: Fix formatting.
158 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
160 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
162 2000-12-07 Andrew Haley <aph@redhat.com>
164 * readelf.c (display_debug_frames): Only display columns that are
165 referenced by the frame debug info.
167 2000-12-05 Nick Clifton <nickc@redhat.com>
169 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
171 2000-12-04 Jason Merrill <jason@redhat.com>
173 * readelf.c (process_section_headers): Handle linkonce.wi sections.
174 (display_debug_section): Likewise.
175 (display_debug_info): Display CU header before bailing.
177 2000-12-01 Chris Demetriou <cgd@sibyte.com>
179 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
180 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
181 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
183 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
186 * readelf.c (get_machine_flags): Add case for
189 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
191 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
193 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
195 * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
196 Change sourceware.cygnus.com to sources.redhat.com.
197 Fix typo for "amongst".
199 2000-11-28 Nick Clifton <nickc@redhat.com>
201 * strip.1 (COPYING): Mention that the GNU Free Documentation
202 License is present in the sources, but not the output, and
203 also available from the GNU website.
204 (GNU Free Documentation License): Comment out this section.
213 * addr2line.1: Ditto.
215 2000-11-27 DJ Delorie <dj@redhat.com>
217 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
218 (parse_args): Support -wf option.
219 (process_section_headers): Ditto.
220 (debug_displays): Ditto.
221 (display_debug_frames): New, dump *_frame sections.
222 (frame_need_space): Support for above.
223 (frame_display_row): Ditto.
224 * binutils.texi: Document it.
226 2000-11-24 Nick Clifton <nickc@redhat.com>
228 * NEWS: Announce support for v5t, v5te and XScale.
230 2000-11-22 Nick Clifton <nickc@redhat.com>
232 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
233 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
234 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
235 (get_elf_section_flags: Add SHF_GROUP.
236 (process_section_headers): Adjust output for 32-bit binaries
237 to look nice on an 80 column terminal.
239 2000-11-20 H.J. Lu <hjl@gnu.org>
241 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
244 2000-11-17 Richard Henderson <rth@redhat.com>
246 * readelf.c (display_debug_lines): Adjust last change to
247 use sizeof (external->li_length).
249 2000-11-17 Richard Henderson <rth@redhat.com>
251 * readelf.c (display_debug_lines): Fix section length check
252 and end_of_sequence computation.
254 2000-11-06 Nick Clifton <nickc@redhat.com>
256 * binutils.texi: Add GNU Free Documentation License.
257 * objcopy.1: Add GNU Free Documentation License.
258 * objdump.1: Add GNU Free Documentation License.
259 * addr2line.1: Add GNU Free Documentation License.
260 * ar.1: Add GNU Free Documentation License.
261 * nlmconv.1: Add GNU Free Documentation License.
262 * nm.1: Add GNU Free Documentation License.
263 * ranlib.1: Add GNU Free Documentation License.
264 * size.1: Add GNU Free Documentation License.
265 * strings.1: Add GNU Free Documentation License.
266 * strip.1: Add GNU Free Documentation License.
268 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
270 * objcopy.c (--srec-len=nn): New parameter to set the
271 maximum length of generated Srecords.
272 (--srec-forceS3): New parameter that restricts the generation of
273 Srecords to type S3 only.
274 * binutils.texi: Document new command line switches.
275 * objcopy.1: Docuemnt the new command line switches.
276 * NEWS: Announce the existence of the new command line switches.
278 2000-10-31 Nick Clifton <nickc@redhat.com>
280 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
281 code. Add Eric Chrisopher as maintainer of MN10300 port.
283 2000-10-12 Roger Sayle <roger@metaphorics.com>
285 * Make comma after string after icon/control optional.
287 2000-09-13 Anders Norlander <anorland@acc.umu.se>
289 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
291 * NEWS: Mention support for MIPS32.
293 2000-09-08 Nick Clifton <nickc@redhat.com>
295 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
297 2000-09-07 H.J. Lu <hjl@gnu.org>
299 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
300 * configure: Rebuild.
302 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
304 * configure: Rebuilt with new libtool.m4.
306 2000-09-05 Nick Clifton <nickc@redhat.com>
308 * aclocal.m4: Regenerate.
309 * config.in: Regenerate.
310 * configure: Regenerate.
312 2000-09-04 Todd Vierling <tv@wasabisystems.com>
314 * strip.1: Fix stray '\' in -o formatting.
316 2000-09-02 Nick Clifton <nickc@redhat.com>
318 * configure.in: Increase version number to 2.10.91.
319 * configure: Regenerate.
320 * aclocal.m4: Regenerate.
321 * config.in: Regenerate.
322 * po/binutils.pot: Regenerate.
324 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
326 * acinclude.m4: Include libtool and gettext macros from the
328 * aclocal.m4, configure: Rebuilt.
330 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
332 * resrc.c (close_input_stream): Delete extraneous logic
334 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
336 * NEWS: Mention support for CRIS.
338 2000-08-21 Nick Clifton <nickc@redhat.com>
340 * addr2line.c: Changed email address for Ulrich Lauther.
342 2000-08-17 Christopher C. Chimelis <chris@debian.org>
344 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
346 2000-08-17 Nick Clifton <nickc@redhat.com>
348 * readelf.c (display_debug_pubnames): Only issue warning
349 message once. Terminate message with a new line.
350 (display_debug_aranges): Only display version 2 debug info.
352 2000-08-14 Todd Vierling <tv@wasabisystems.com>
354 * objcopy.c (strip_main): Silently accept -d as an alias for -g
355 for compatability with old BSD systems.
357 2000-08-14 Jason Eckhardt <jle@cygnus.com>
359 * NEWS: Mention i860 support.
361 2000-08-11 Carlo Wood <carlo@alinoe.com>
363 * addr2line.c (main): Add const to char *.
365 2000-08-11 Geoff Keating <geoffk@cygnus.com>
367 * ar.c (main): Don't crash if called with no arguments
368 or only '-X32_64' as an argument.
370 2000-08-08 DJ Delorie <dj@redhat.com>
372 * resrc.c: use "gcc -xc" instead of -xc-header
374 2000-08-05 Jason Eckhardt <jle@cygnus.com>
376 * readelf.c (elf/i860.h): Include.
377 (dump_relocations): Add recognition of i860 architecture.
378 (guess_is_rela): Add recognition of i860 architecture.
380 2000-08-03 Nick Clifton <nickc@cygnus.com>
382 * MAINTAINERS: Add information about CGEN maintainers.
384 2000-07-26 Geoff Keating <geoffk@cygnus.com>
386 * nm.c (main): Ignore '-X32_64' as an option.
387 * ar.c (main): Likewise.
388 * binutils.texi (nm): Document new option.
391 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
393 * rdcoff.c (external_coff_symbol_p): K&R-ise.
395 2000-07-20 H.J. Lu <hjl@gnu.org>
397 * binutils/binutils.texi: Put back "@end table" deleted by
400 2000-07-05 Kenneth Block <krblock@computer.org>
402 * binutils/nm.c: Add optional style to demangle switch.
403 * binutils/objdump.c: Add optional style to demangle switch.
404 * binutils/addr2line.c: Add optional style to demangle switch.
405 * binutils/binutils.texi: Document optional style to demangle
408 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
410 * MAINTAINERS: Add self as CRIS port maintainer.
411 * readelf.c: Include elf/cris.h.
412 (guess_is_rela): Handle EM_CRIS.
413 (dump_relocations): Ditto.
414 (get_machine_name): Ditto.
415 * Makefile.am: Rebuild dependencies.
416 * Makefile.in: Regenerate.
417 * po/binutils.pot: Regenerate.
419 2000-07-19 H.J. Lu <hjl@gnu.org>
421 * readelf.c (get_dynamic_type): Change "AUXILARY" to
423 (process_dynamic_segment): Print out strings for DT_CONFIG,
424 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
426 2000-07-19 Mark Kettenis <kettenis@gnu.org>
428 * nm.c (usage): Change output of `nm --help' to include a
429 description of the purpose of the program and a detailed
430 description of the accepted options.
432 2000-07-19 H.J. Lu <hjl@gnu.org>
434 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
437 2000-07-19 H.J. Lu <hjl@gnu.org>
439 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
441 2000-07-19 H.J. Lu <hjl@gnu.org>
443 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
445 (process_dynamic_segment): Likewise.
447 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
448 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
449 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
450 DF_1_NODUMP and DF_1_CONLFAT.
452 2000-07-18 Nick Clifton <nickc@cygnus.com>
454 * binutils.texi (readelf): Fix spelling typo.
456 2000-07-11 Mark Kettenis <kettenis@gnu.org>
458 * objdump.c (usage): Make output of `objdump --help' more
459 consistent with the rest of the GNU world. Add a line describing
460 the purpose of the program.
462 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
464 * stabs.c (parse_stab_range_type): Cast to proper type to fix
467 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
469 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
471 (process_symbol_table): Ditto.
472 (procesS_extended_line_op): Ditto.
473 (display_debug_lines): Ditto.
474 (display_debug_pubnames): Ditto.
475 (read_and_display_attr): Ditto.
477 2000-07-09 Nick Clifton <nickc@cygnus.com>
479 * MAINTAINERS: Add several more port specific maintainers.
481 2000-07-05 Nick Clifton <nickc@cygnus.com>
483 * MAINTAINERS: Add blanket write privs for Michael Meissner.
485 2000-06-05 DJ Delorie <dj@redhat.com>
489 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
491 * dllwrap.c: Changed mistaken dyn_string_append() calls
492 to dyn_string_append_cstr().
494 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
496 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
497 struct debug_type stores size in bytes.
499 2000-07-01 Alan Modra <alan@linuxcare.com.au>
501 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
502 (CLEANFILES): Add DEPA.
503 * Makefile.in: Regenerate.
505 2000-06-27 Alan Modra <alan@linuxcare.com.au>
507 * ar.c: Revert incorrect 2000-06-25 patch.
508 * bucomm.c: Likewise.
510 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
512 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
513 (external_coff_symbol_p): New function.
514 (parse_coff): Use it.
516 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
518 * ar.c (normalize): Advance past both characters in a DOS based
519 <letter>: filepath prefix.
521 * bucomm.c (make_tempname): Likewise.
523 2000-06-24 Nick Clifton <nickc@cygnus.com>
525 * objdump.c (usage): Fix description of --stabs switch.
527 2000-06-22 Alan Modra <alan@linuxcare.com.au>
529 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
531 * Makefile.in: Regenerate.
533 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
535 * ar.c (normalize): Correct pointer comparison when checking for
538 * bucomm.c (make_tempname): Likewise.
540 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
541 and search for backslashes in the original pathname.
542 (ieee_add_bb11): Likewise.
544 2000-06-18 Nick Clifton <nickc@redhat.com>
546 * ar.c (print_contents): Improve verbose message.
548 2000-06-15 H.J. Lu <hjl@gnu.org>
550 * dyn-string.c: Removed. Not needed with dyn-string.c in
552 * dyn-string.h: Likewise.
554 * Makefile.am: Remove references to dyn-string.c and
555 dyn-string.h. Rebuild dependency.
556 * Makefile.in: Rebuild.
558 2000-06-15 H.J. Lu <hjl@gnu.org>
560 * binutils.texi: Put a warning on copying relocatable object
561 files between two different formats.
563 2000-06-13 DJ Delorie <dj@cygnus.com>
565 * rcparse.y (control): ICON controls take an id as the first
566 parameter, not an optional string. Also, call new convenience
567 function that takes res_id's.
568 * resrc.c (define_control): missing text means zero-length string,
570 (define_icon_control): New.
571 * windres.h: declare define_icon_control.
573 2000-06-13 H.J. Lu <hjl@gnu.org>
575 * configure: Regenerate.
577 2000-06-08 David O'Brien <obrien@FreeBSD.org>
579 * configure.in (VERSION): Update to show this is the CVS mainline.
581 2000-06-02 David O'Brien <obrien@FreeBSD.org>
583 * strings.c (isgraphic): Interpret <TAB> as a printable character,
584 analogous to <SPACE>.
586 2000-05-30 Alan Modra <alan@linuxcare.com.au>
588 * objdump.c (display_target_list): Use bfd_close_all_done, not
589 bfd_close to fix crash caused by 2000-05-24 change.
591 2000-05-25 DJ Delorie <dj@cygnus.com>
593 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
595 2000-05-26 Alan Modra <alan@linuxcare.com.au>
597 * Makefile.am: Update dependencies with "make dep-am"
598 * Makefile.in: Regenerate.
600 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
602 * ar.c: Include filenames.h.
603 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
604 and drive letters in file names.
605 (main): Support backslashes and drive letters in argv[0]. Drop
606 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
607 FILENAME_CMP instead of strcmp to compare file names.
608 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
610 (do_quick_append) [__GO32__]: Ditto.
611 (get_pos_bfd, delete_members, move_members, replace_members):
612 Compare file names with FILENAME_CMP.
614 * bucomm.c: Include filenames.h.
615 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
616 forward/backward slashes and drive letters in file names.
618 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
619 mixed forward/backward slashes and drive letters in file names.
621 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
622 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
625 * objcopy.c: Include filenames.h.
626 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
627 before comparing to "strip".
628 Use FILENAME_CMP to compare file names.
630 * arsup.c: Include filenames.h.
631 (map_over_list, ar_delete, ar_replace, ar_extract): Use
632 FILENAME_CMP to compare file names.
633 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
634 the temporary file name.
636 * configure.in: Check for setmode.
637 * configure: Regenerate.
639 2000-05-24 Alan Modra <alan@linuxcare.com.au>
641 * objdump.c (display_target_list): Close the bfd.
642 (display_info_table): Likewise.
644 2000-05-14 H.J. Lu (hjl@gnu.org)
646 * objcopy.c (filter_symbols): Don't strip global symbols in
647 relocatable object files.
649 2000-05-14 Alan Modra <alan@linuxcare.com.au>
651 * size.c (usage): Associate short options with corresponding long
652 option to give a clue as to their function.
654 2000-05-14 Philippe De Muyter <phdm@macqel.be>
656 * size.c (main): Accept and ignore `-f' option.
658 2000-05-13 Alan Modra <alan@linuxcare.com.au>
660 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
661 bindtextdomain): Replace defines with those from intl/libgettext.h
662 to quieten gcc warnings.
664 2000-05-12 H.J. Lu <hjl@gnu.org>
666 * nlmconv.c (temp_filename): Removed.
668 * nlmconv.c (link_inputs): Use make_temp_file () instead of
670 * objdump.c (display_target_list): Likewise.
671 (display_info_table): Likewise.
673 2000-05-08 Alan Modra <alan@linuxcare.com.au>
675 * objcopy.c (setup_section): Add const and gettext calls for err.
677 2000-05-02 H.J. Lu <hjl@gnu.org>
679 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
680 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
681 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
682 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
683 and ELFOSABI_OPENBSD.
685 2000-05-02 Kazu Hirata <kazu@hxi.com>
687 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
688 * srconv.c: Likewise.
689 * sysdump.c: Likewise.
691 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
693 * readelf.c (guess_is_rela): AVR uses RELA relocations.
694 (get_machine_name): machine name for EM_AVR added.
696 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
697 David Mosberger <davidm@hpl.hp.com>
699 * Makefile.am (readelf.o): Add elf/ia64.h.
700 * Makefile.in: Rebuild.
701 * readelf.c: Include elf/ia64.h.
702 (guess_is_rela, dump_relocations): Handle EM_IA_64.
704 2000-04-17 Timothy Wall <twall@cygnus.com>
706 * objdump.c (disassemble_data): Set octets per byte *after*
707 resolving arch/mach for binary files.
709 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
711 * arlex.l: Add directives to increase lex buffer size.
713 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
714 already included by bucomm.h.
716 2000-04-10 Philippe De Muyter <phdm@macqel.be>
718 * readelf (dynamic_segment_mips_val): Call `sprintf', not
719 `strftime' since strftime is not available on all systems.
720 (process_mips_specific): Ditto.
722 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
724 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
725 --enable-build-warnings option.
726 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
727 * Makefile.in, configure: Re-generate.
729 2000-04-06 Alan Modra <alan@linuxcare.com.au>
731 * addr2line.c: Update copyright.
732 * objcopy.1: Likewise, and title.
733 * strings.1: Likewise.
735 * version.c (print_version): Add 2000.
737 * rddbg.c (read_section_stabs_debugging_info): Don't use
738 bfd_size_type for strx to avoid printf problems if BFD64.
740 * bucomm.c: (report): Remove `static'.
741 Move inclusion of stdarg.h/vararg.h from here.
743 (CONST): Change all occurences to const.
744 (report): Declare it.
745 (bfd_fatal): Add ATTRIBUTE_NORETURN.
746 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
747 (non_fatal): Add ATTRIBUTE_PRINTF_1.
749 * ar.c (main): Use fatal or non_fatal instead of fprintf.
750 Correct a typo in an error message.
751 (do_quick_append): Use non_fatal instead of fprintf.
752 (move_members): Use fatal instead of fprintf, exit.
753 * coffdump.c (main): Same here.
755 * dlltool.c (display): Delete.
757 (inform): Use `report' instead of `display'.
758 (rvaafter): Remove trailing \n from fatal error msg.
761 (yyerror): Replace `warn' with `non_fatal', and remove \n.
762 (def_name): Likewise.
764 (scan_all_symbols): Likewise.
765 (gen_lib_file): Likewise.
766 (def_library): Likewise. Remove extra program_name too.
767 (run): Remove \n from inform strings.
768 (scan_drectve_symbols): Likewise.
769 (add_excludes): Likewise.
770 (scan_open_obj_file): Likewise.
771 (gen_exp_file): Likewise.
772 (gen_lib_file): Likewise.
773 (process_duplicates): Likewise.
775 * Makefile.am (dllwrap_SOURCES): Add version.c.
776 * dllwrap.c (program_version): Delete.
777 (print_version): Delete.
778 (display): Always print trailing \n.
780 (delete_temp_files): Use warn instead of fprintf. Use gettext.
783 (usage): gettext'ify.
784 (long_options): Add missing initialisers.
786 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
787 (select_output_format): Likewise.
788 (powerpc_mangle_relocs): Likewise.
789 (link_inputs): Likewise.
791 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
792 (set_output_format): Likewise.
793 (main): Use non_fatal instead of fprintf.
794 (display_rel_file): Likewise.
796 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
797 (slurp_dynamic_symtab): Same here.
798 (disassemble_data): And here.
799 (read_section_stabs): And here.
800 (read_section_stabs): And here.
801 (dump_bfd): And here.
803 (objdump_sprintf): Use fatal instead of fprintf, exit.
804 (disassemble_data): Same here.
806 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
807 (parse_coff_struct_type): Same here.
808 (parse_coff_enum_type): And here.
809 (parse_coff): And here.
810 * rddbg.c (read_debugging_info): And here.
811 * size.c (main): And here.
812 * windres.c (format_from_name): And here.
813 * wrstabs.c (stab_write_symbol): Here too.
814 (write_stabs_in_sections_debugging_info): And here.
815 (stab_int_type): And here.
816 (stab_struct_field): And here.
817 (stab_typdef): And here.
819 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
820 * srconv.c (main): Same here.
821 * strings.c (main): And here.
822 (integer_arg): And here.
823 * sysdump.c (main): And here.
825 2000-04-06 Timothy Wall <twall@cygnus.com>
827 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
829 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
831 * readelf.c (decode_location_expression): Loop through multiple
833 (read_and_display_attr): Pass in length.
835 * readelf.c (read_and_display_attr): Add CU offset to references.
836 (display_debug_info): Pass it in.
838 2000-04-06 Nick Clifton <nickc@cygnus.com>
840 * readelf.c (decode_ARM_machine_flags): New function.
841 (get_machine_flags): Call decode_ARM_machine_flags for ARM
844 (get_machine_name): Catch EM_AVR
846 2000-04-05 Alan Modra <alan@linuxcare.com.au>
848 * binutils.texi: Remove optional `=' from long options that have
849 an `=' in the argument.
850 * objcopy.1: Here too. Remove extra space on discard-all.
852 * binutils.texi (objcopy): Mention --redefine-sym.
853 * objcopy.1: Here too.
856 * objcopy.c (parse_flags): Split off flag names from error message
857 gettext as they are not translated.
858 (copy_main): Similarly split off option name for --add-section,
859 --set-section-flags, --change-section-vma, --change-section-lma
861 Some white space changes.
863 from Matthew Benjamin <matt@linuxbox.nu>
864 * objcopy.c (struct redefine_node): New.
865 (redefine_sym_list): New.
866 (redefine_list_append): New.
867 (lookup_sym_redefinition): New.
868 (OPTION_REDEFINE_SYM): New.
869 (copy_options): Add --redefine-sym option.
870 (copy_usage): Mention it.
871 (filter_symbols): Rename symbols on redefine_sym_list.
872 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
873 (copy_main): Handle OPTION_REDEFINE_SYM.
875 2000-04-04 H.J. Lu <hjl@gnu.org>
877 * readelf.c (process_symbol_table): Correctly read in symbol
878 versioning information.
880 2000-04-04 Alan Modra <alan@linuxcare.com.au>
882 * po/binutils.pot: Regenerate.
884 * addr2line.c (usage): Restore translated part of bug string.
885 * ar.c (usage): Likewise.
886 * nlmconv.c (show_usage): Likewise.
887 * nm.c (usage): Likewise.
888 * objcopy.c (copy_usage): Likewise.
889 (strip_usage): Likewise.
890 * objdump.c (usage): Likewise.
891 * readelf.c (usage): Likewise.
892 * size.c (usage): Likewise.
893 * strings.c (usage): Likewise.
894 * windres.c (usage): Likewise.
896 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
897 (DEP): Quote when passing vars to sub-make. Add warning
899 (DEP1): Rewrite for "gcc -MM".
900 (CLEANFILES): Add DEP2.
902 * Makefile.in: Regenerate.
904 2000-04-04 H.J. Lu <hjl@gnu.org>
906 * Makefile.am (GENERATED_HFILES): Add rcparse.h
907 (arparse.h): Depend on arparse.c
908 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
910 2000-04-03 H.J. Lu (hjl@gnu.org)
912 * size.c (usage): Use REPORT_BUGS_TO.
914 2000-04-03 Alan Modra <alan@linuxcare.com.au>
916 * bucomm.h: #include "bin-bugs.h"
917 * addr2line.c (usage): Use REPORT_BUGS_TO.
918 * ar.c (usage): Likewise.
919 * nlmconv.c (show_usage): Likewise.
920 * nm.c (usage): Likewise.
921 (OPTION_TARGET): Define.
922 (long_options): Use OPTION_TARGET rather than 200.
925 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
926 (strip_usage): Likewise.
927 * objdump.c (usage): Likewise.
928 * readelf.c (usage): Likewise.
929 * strings.c (usage): Likewise.
930 * windres.c (usage): Likewise.
932 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
934 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
936 2000-03-27 Nick Clifton <nickc@cygnus.com>
938 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
939 string offsets in corrupt stabs entries.
941 2000-03-27 Alan Modra <alan@linuxcare.com.au>
943 * readelf.c: Include elf/avr.h
944 (dump_relocations): Add EM_AVR case.
946 2000-03-09 Tim Waugh <twaugh@redhat.com>
948 * strings.1: Correct '-bytes' to '--bytes'.
950 2000-03-08 H.J. Lu <hjl@gnu.org>
952 * Makefile.am (install-exec-local): Depend on
953 install-binPROGRAMS for parallel make.
954 * Makefile.in: Regenerated.
956 2000-02-27 Ian Lance Taylor <ian@zembu.com>
958 From Brad Lucier <lucier@math.purdue.edu>:
959 * readelf.c (process_dynamic_segment): Add cast to make sure
960 argument to %* is int.
962 2000-02-25 H.J. Lu <hjl@gnu.org>
964 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
966 2000-02-24 Nick Clifton <nickc@cygnus.com>
968 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
969 * configure: Regenerate.
971 * dlltoolc.: Add support for sh-pe and mips-pe targets.
972 * rescoff.c: Add support for sh-pe and mips-pe targets.
974 2000-02-23 H.J. Lu <hjl@gnu.org>
976 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
978 2000-02-22 Nick Clifton <nickc@cygnus.com>
980 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
982 2000-02-22 Ian Lance Taylor <ian@zembu.com>
984 From Brad Lucier <lucier@math.purdue.edu>:
985 * readelf.c (process_version_sections): Add casts to make sure
986 argument to %* is an int.
987 (process_mips_specific): Add casts to make printf arguments match
990 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
992 * objdump.c (dump_section_header): Change `opb' to unsigned.
993 (find_symbol_for_address): Same here.
994 (disassemble_data): And here. Change `addr_offset',
995 `stop_offset', `nextstop_offset' to unsigned long.
996 (dump_data): Change opb to unsigned.
998 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1000 * resrc.c: Remove unmatched #if for cygwin.
1002 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1004 * binutils.texi: Document the change of flavor name from atpcs-special
1005 to special-atpcs to prevent name conflict in gdb.
1007 2000-02-08 Timothy Wall <twall@redhat.com>
1009 * objdump.c (show_line): Fix bug preventing printing of the very
1010 first line (line zero) of a file when interlisting source and
1011 assembly. Added option to print entire context from start of file
1012 when the first line from that file is encountered.
1014 2000-02-03 Timothy Wall <twall@redhat.com>
1016 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
1017 show_line, disassemble_bytes, disassemble_data, dump_data):
1018 distinguish between octets and bytes.
1020 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1022 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1023 check to unresolved symbols.
1024 (print_symbol_info_sysv): Ditto.
1025 (print_symbol_info_posix): Ditto.
1027 * binutils.texi: Document new 'V' symclass flag for nm.
1029 2000-01-27 Nick Clifton <nickc@redhat.com>
1031 * binutils.texi (objdump): Document new ARM specific
1032 disassembler options.
1034 * objdump.c (usage): Call disassembler_usage().
1036 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1038 * readelf.c (get_dynamic_flags): Return buff.
1039 (process_dynamic_segment): Don't pass error strings to printf
1041 (read_and_display_attr): Use lx and ld to print longs.
1042 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1046 2000-01-17 Nick Clifton <nickc@cygnus.com>
1048 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1050 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1052 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1054 (debug_tag_type): Here too.
1055 * ieee.c (ieee_builtin_type): And here.
1056 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1058 2000-01-13 Nick Clifton <nickc@cygnus.com>
1060 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1063 2000-01-11 Nick Clifton <nickc@cygnus.com>
1065 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1067 2000-01-10 Nick Clifton <nickc@cygnus.com>
1069 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1071 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1073 * windres.c (long_options): Add --use-temp-file and
1074 --no-use-temp-file options.
1078 * windres.h: Update read_rc_file prototype.
1080 * resrc.c (cpp_temp_file): New static variable.
1081 (istream_type): New static variable.
1082 (close_pipe): Delete function.
1083 (run_cmd): New static function.
1084 (open_input_stream): New static function.
1085 (close_input_stream): New static function.
1086 (look_for_default): Handle DOS directory separator. Use
1087 open_input_stream instead of popen.
1088 (read_rc_file): Likewise.
1090 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1093 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1095 * dlltool.c (create_compat_implib): New variable.
1096 (gen_exp_file): Use.
1097 (make_one_lib_file): Use.
1098 (long_options): Add --compat-implib option.
1102 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1103 (main): Use. Don't look for "32" in cygwin and mingw target names.
1105 2000-01-03 Nick Clifton <nickc@cygnus.com>
1107 * binutils.texi: Document new, ARM specific disassembler
1108 command line switch "-M force-thumb".
1110 For older changes see ChangeLog-9899
1116 version-control: never