1 2001-03-16 Philip Blundell <philb@gnu.org>
3 * configure: Regenerate.
5 2001-03-11 Philip Blundell <philb@gnu.org>
7 * configure.in: Set version to 2.11.
9 2001-02-13 Hans-Peter Nilsson <hp@bitrange.com>
11 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
12 * aclocal.m4: Regenerate.
13 * configure: Regenerate.
15 2001-02-10 Alan Modra <alan@linuxcare.com.au>
17 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
20 2001-02-04 Philip Blundell <philb@gnu.org>
22 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
23 * configure: Regenerate.
25 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
27 * ieee.c (ieee_add_bb11): Don't check for backslashes
28 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
30 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
32 * ieee.c: Update copyright.
33 (ieee_start_compilation_unit): Don't check for backslashes
34 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
36 * stabs.c: Update copyright. Include "filenames.h".
37 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
39 2001-01-23 Jakub Jelinek <jakub@redhat.com>
41 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
42 sections are present before using them. Remove code duplication.
43 (process_symbol_table): Check if VERDEF or VERNEED sections are
44 present before using them.
46 2001-01-17 Nick Clifton <nickc@redhat.com>
48 * objcopy.c (copy_object): Fail if attempting to convert the
49 endianness of the input object file.
51 * binutils.texi: Explain that objcopy cannot convert endianness.
53 2001-01-16 Nick Clifton <nickc@redhat.com>
55 * readelf.c (string_table_length): New variable.
56 (SECTION_NAME): Catch out of range indices and missing section
58 (process_section_headers): Delete useless local variable
59 string_table_offset. Set the value of string_table_length
60 after loading the string table.
61 (process_mips_specific): Use SECTION_NAME macro.
62 (process_file): Set string_table_length to 0 when it is freed.
64 2001-01-12 Nick Clifton <nickc@redhat.com>
66 * version.c (print_version): Update copyright date.
68 2001-01-11 Peter Targett <peter.targett@arccores.com>
70 * readelf.c (dump_relocations): Include selection with EM_ARC.
71 (get_machine_name) Update name to "ARC".
73 2001-01-09 Nick Clifton <nickc@redhat.com>
75 * Makefile.am: Add rule to build objdump.o from objdump.c and
77 * Makefile.in: Regenerate.
79 * configure.in: Define OBJDUMP_DEFS. Default to empty.
80 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
81 -DDISASSEMBLER_NEEDS_RELOCS.
82 * configure: Regenerate.
84 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
85 is defined read in the relocs even if dump_reloc_info is
88 2001-01-07 Philip Blundell <philb@gnu.org>
90 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
94 2000-12-19 Nick Clifton <nickc@redhat.com>
96 * dlltool.c: Add missing support for arm-epoc-pe.
97 * configure.in: Add missing support for arm-epoc-pe.
98 * configure: Regenerate.
100 2000-12-15 Nick Clifton <nickc@redhat.com>
102 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
103 Mode parts of the x86 port.
105 2000-12-04 Andreas Jaeger <aj@suse.de>
107 * readelf.c (guess_is_rela): Add EM_X86_64.
108 (dump_relocations): Add EM_X86_64.
109 (get_machine_name): Add EM_X86_64.
110 Include "elf/x86-64.h".
112 2000-12-12 Nick Clifton <nickc@redhat.com>
114 * readelf.c: Fix formatting.
116 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
118 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
120 2000-12-07 Andrew Haley <aph@redhat.com>
122 * readelf.c (display_debug_frames): Only display columns that are
123 referenced by the frame debug info.
125 2000-12-05 Nick Clifton <nickc@redhat.com>
127 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
129 2000-12-04 Jason Merrill <jason@redhat.com>
131 * readelf.c (process_section_headers): Handle linkonce.wi sections.
132 (display_debug_section): Likewise.
133 (display_debug_info): Display CU header before bailing.
135 2000-12-01 Chris Demetriou <cgd@sibyte.com>
137 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
138 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
139 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
141 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
144 * readelf.c (get_machine_flags): Add case for
147 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
149 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
151 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
153 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
154 Change sourceware.cygnus.com to sources.redhat.com.
155 Fix typo for "amongst".
157 2000-11-28 Nick Clifton <nickc@redhat.com>
159 * strip.1 (COPYING): Mention that the GNU Free Documentation
160 License is present in the sources, but not the output, and
161 also available from the GNU website.
162 (GNU Free Documentation License): Comment out this section.
171 * addr2line.1: Ditto.
173 2000-11-27 DJ Delorie <dj@redhat.com>
175 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
176 (parse_args): Support -wf option.
177 (process_section_headers): Ditto.
178 (debug_displays): Ditto.
179 (display_debug_frames): New, dump *_frame sections.
180 (frame_need_space): Support for above.
181 (frame_display_row): Ditto.
182 * binutils.texi: Document it.
184 2000-11-24 Nick Clifton <nickc@redhat.com>
186 * NEWS: Announce support for v5t, v5te and XScale.
188 2000-11-22 Nick Clifton <nickc@redhat.com>
190 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
191 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
192 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
193 (get_elf_section_flags: Add SHF_GROUP.
194 (process_section_headers): Adjust output for 32-bit binaries
195 to look nice on an 80 column terminal.
197 2000-11-20 H.J. Lu <hjl@gnu.org>
199 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
202 2000-11-17 Richard Henderson <rth@redhat.com>
204 * readelf.c (display_debug_lines): Adjust last change to
205 use sizeof (external->li_length).
207 2000-11-17 Richard Henderson <rth@redhat.com>
209 * readelf.c (display_debug_lines): Fix section length check
210 and end_of_sequence computation.
212 2000-11-06 Nick Clifton <nickc@redhat.com>
214 * binutils.texi: Add GNU Free Documentation License.
215 * objcopy.1: Add GNU Free Documentation License.
216 * objdump.1: Add GNU Free Documentation License.
217 * addr2line.1: Add GNU Free Documentation License.
218 * ar.1: Add GNU Free Documentation License.
219 * nlmconv.1: Add GNU Free Documentation License.
220 * nm.1: Add GNU Free Documentation License.
221 * ranlib.1: Add GNU Free Documentation License.
222 * size.1: Add GNU Free Documentation License.
223 * strings.1: Add GNU Free Documentation License.
224 * strip.1: Add GNU Free Documentation License.
226 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
228 * objcopy.c (--srec-len=nn): New parameter to set the
229 maximum length of generated Srecords.
230 (--srec-forceS3): New parameter that restricts the generation of
231 Srecords to type S3 only.
232 * binutils.texi: Document new command line switches.
233 * objcopy.1: Docuemnt the new command line switches.
234 * NEWS: Announce the existence of the new command line switches.
236 2000-10-31 Nick Clifton <nickc@redhat.com>
238 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
239 code. Add Eric Chrisopher as maintainer of MN10300 port.
241 2000-10-12 Roger Sayle <roger@metaphorics.com>
243 * Make comma after string after icon/control optional.
245 2000-09-13 Anders Norlander <anorland@acc.umu.se>
247 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
249 * NEWS: Mention support for MIPS32.
251 2000-09-08 Nick Clifton <nickc@redhat.com>
253 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
255 2000-09-07 H.J. Lu <hjl@gnu.org>
257 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
258 * configure: Rebuild.
260 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
262 * configure: Rebuilt with new libtool.m4.
264 2000-09-05 Nick Clifton <nickc@redhat.com>
266 * aclocal.m4: Regenerate.
267 * config.in: Regenerate.
268 * configure: Regenerate.
270 2000-09-04 Todd Vierling <tv@wasabisystems.com>
272 * strip.1: Fix stray '\' in -o formatting.
274 2000-09-02 Nick Clifton <nickc@redhat.com>
276 * configure.in: Increase version number to 2.10.91.
277 * configure: Regenerate.
278 * aclocal.m4: Regenerate.
279 * config.in: Regenerate.
280 * po/binutils.pot: Regenerate.
282 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
284 * acinclude.m4: Include libtool and gettext macros from the
286 * aclocal.m4, configure: Rebuilt.
288 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
290 * resrc.c (close_input_stream): Delete extraneous logic
292 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
294 * NEWS: Mention support for CRIS.
296 2000-08-21 Nick Clifton <nickc@redhat.com>
298 * addr2line.c: Changed email address for Ulrich Lauther.
300 2000-08-17 Christopher C. Chimelis <chris@debian.org>
302 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
304 2000-08-17 Nick Clifton <nickc@redhat.com>
306 * readelf.c (display_debug_pubnames): Only issue warning
307 message once. Terminate message with a new line.
308 (display_debug_aranges): Only display version 2 debug info.
310 2000-08-14 Todd Vierling <tv@wasabisystems.com>
312 * objcopy.c (strip_main): Silently accept -d as an alias for -g
313 for compatability with old BSD systems.
315 2000-08-14 Jason Eckhardt <jle@cygnus.com>
317 * NEWS: Mention i860 support.
319 2000-08-11 Carlo Wood <carlo@alinoe.com>
321 * addr2line.c (main): Add const to char *.
323 2000-08-11 Geoff Keating <geoffk@cygnus.com>
325 * ar.c (main): Don't crash if called with no arguments
326 or only '-X32_64' as an argument.
328 2000-08-08 DJ Delorie <dj@redhat.com>
330 * resrc.c: use "gcc -xc" instead of -xc-header
332 2000-08-05 Jason Eckhardt <jle@cygnus.com>
334 * readelf.c (elf/i860.h): Include.
335 (dump_relocations): Add recognition of i860 architecture.
336 (guess_is_rela): Add recognition of i860 architecture.
338 2000-08-03 Nick Clifton <nickc@cygnus.com>
340 * MAINTAINERS: Add information about CGEN maintainers.
342 2000-07-26 Geoff Keating <geoffk@cygnus.com>
344 * nm.c (main): Ignore '-X32_64' as an option.
345 * ar.c (main): Likewise.
346 * binutils.texi (nm): Document new option.
349 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
351 * rdcoff.c (external_coff_symbol_p): K&R-ise.
353 2000-07-20 H.J. Lu <hjl@gnu.org>
355 * binutils/binutils.texi: Put back "@end table" deleted by
358 2000-07-05 Kenneth Block <krblock@computer.org>
360 * binutils/nm.c: Add optional style to demangle switch.
361 * binutils/objdump.c: Add optional style to demangle switch.
362 * binutils/addr2line.c: Add optional style to demangle switch.
363 * binutils/binutils.texi: Document optional style to demangle
366 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
368 * MAINTAINERS: Add self as CRIS port maintainer.
369 * readelf.c: Include elf/cris.h.
370 (guess_is_rela): Handle EM_CRIS.
371 (dump_relocations): Ditto.
372 (get_machine_name): Ditto.
373 * Makefile.am: Rebuild dependencies.
374 * Makefile.in: Regenerate.
375 * po/binutils.pot: Regenerate.
377 2000-07-19 H.J. Lu <hjl@gnu.org>
379 * readelf.c (get_dynamic_type): Change "AUXILARY" to
381 (process_dynamic_segment): Print out strings for DT_CONFIG,
382 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
384 2000-07-19 Mark Kettenis <kettenis@gnu.org>
386 * nm.c (usage): Change output of `nm --help' to include a
387 description of the purpose of the program and a detailed
388 description of the accepted options.
390 2000-07-19 H.J. Lu <hjl@gnu.org>
392 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
395 2000-07-19 H.J. Lu <hjl@gnu.org>
397 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
399 2000-07-19 H.J. Lu <hjl@gnu.org>
401 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
403 (process_dynamic_segment): Likewise.
405 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
406 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
407 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
408 DF_1_NODUMP and DF_1_CONLFAT.
410 2000-07-18 Nick Clifton <nickc@cygnus.com>
412 * binutils.texi (readelf): Fix spelling typo.
414 2000-07-11 Mark Kettenis <kettenis@gnu.org>
416 * objdump.c (usage): Make output of `objdump --help' more
417 consistent with the rest of the GNU world. Add a line describing
418 the purpose of the program.
420 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
422 * stabs.c (parse_stab_range_type): Cast to proper type to fix
425 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
427 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
429 (process_symbol_table): Ditto.
430 (procesS_extended_line_op): Ditto.
431 (display_debug_lines): Ditto.
432 (display_debug_pubnames): Ditto.
433 (read_and_display_attr): Ditto.
435 2000-07-09 Nick Clifton <nickc@cygnus.com>
437 * MAINTAINERS: Add several more port specific maintainers.
439 2000-07-05 Nick Clifton <nickc@cygnus.com>
441 * MAINTAINERS: Add blanket write privs for Michael Meissner.
443 2000-06-05 DJ Delorie <dj@redhat.com>
447 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
449 * dllwrap.c: Changed mistaken dyn_string_append() calls
450 to dyn_string_append_cstr().
452 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
454 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
455 struct debug_type stores size in bytes.
457 2000-07-01 Alan Modra <alan@linuxcare.com.au>
459 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
460 (CLEANFILES): Add DEPA.
461 * Makefile.in: Regenerate.
463 2000-06-27 Alan Modra <alan@linuxcare.com.au>
465 * ar.c: Revert incorrect 2000-06-25 patch.
466 * bucomm.c: Likewise.
468 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
470 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
471 (external_coff_symbol_p): New function.
472 (parse_coff): Use it.
474 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
476 * ar.c (normalize): Advance past both characters in a DOS based
477 <letter>: filepath prefix.
479 * bucomm.c (make_tempname): Likewise.
481 2000-06-24 Nick Clifton <nickc@cygnus.com>
483 * objdump.c (usage): Fix description of --stabs switch.
485 2000-06-22 Alan Modra <alan@linuxcare.com.au>
487 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
489 * Makefile.in: Regenerate.
491 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
493 * ar.c (normalize): Correct pointer comparison when checking for
496 * bucomm.c (make_tempname): Likewise.
498 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
499 and search for backslashes in the original pathname.
500 (ieee_add_bb11): Likewise.
502 2000-06-18 Nick Clifton <nickc@redhat.com>
504 * ar.c (print_contents): Improve verbose message.
506 2000-06-15 H.J. Lu <hjl@gnu.org>
508 * dyn-string.c: Removed. Not needed with dyn-string.c in
510 * dyn-string.h: Likewise.
512 * Makefile.am: Remove references to dyn-string.c and
513 dyn-string.h. Rebuild dependency.
514 * Makefile.in: Rebuild.
516 2000-06-15 H.J. Lu <hjl@gnu.org>
518 * binutils.texi: Put a warning on copying relocatable object
519 files between two different formats.
521 2000-06-13 DJ Delorie <dj@cygnus.com>
523 * rcparse.y (control): ICON controls take an id as the first
524 parameter, not an optional string. Also, call new convenience
525 function that takes res_id's.
526 * resrc.c (define_control): missing text means zero-length string,
528 (define_icon_control): New.
529 * windres.h: declare define_icon_control.
531 2000-06-13 H.J. Lu <hjl@gnu.org>
533 * configure: Regenerate.
535 2000-06-08 David O'Brien <obrien@FreeBSD.org>
537 * configure.in (VERSION): Update to show this is the CVS mainline.
539 2000-06-02 David O'Brien <obrien@FreeBSD.org>
541 * strings.c (isgraphic): Interpret <TAB> as a printable character,
542 analogous to <SPACE>.
544 2000-05-30 Alan Modra <alan@linuxcare.com.au>
546 * objdump.c (display_target_list): Use bfd_close_all_done, not
547 bfd_close to fix crash caused by 2000-05-24 change.
549 2000-05-25 DJ Delorie <dj@cygnus.com>
551 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
553 2000-05-26 Alan Modra <alan@linuxcare.com.au>
555 * Makefile.am: Update dependencies with "make dep-am"
556 * Makefile.in: Regenerate.
558 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
560 * ar.c: Include filenames.h.
561 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
562 and drive letters in file names.
563 (main): Support backslashes and drive letters in argv[0]. Drop
564 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
565 FILENAME_CMP instead of strcmp to compare file names.
566 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
568 (do_quick_append) [__GO32__]: Ditto.
569 (get_pos_bfd, delete_members, move_members, replace_members):
570 Compare file names with FILENAME_CMP.
572 * bucomm.c: Include filenames.h.
573 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
574 forward/backward slashes and drive letters in file names.
576 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
577 mixed forward/backward slashes and drive letters in file names.
579 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
580 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
583 * objcopy.c: Include filenames.h.
584 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
585 before comparing to "strip".
586 Use FILENAME_CMP to compare file names.
588 * arsup.c: Include filenames.h.
589 (map_over_list, ar_delete, ar_replace, ar_extract): Use
590 FILENAME_CMP to compare file names.
591 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
592 the temporary file name.
594 * configure.in: Check for setmode.
595 * configure: Regenerate.
597 2000-05-24 Alan Modra <alan@linuxcare.com.au>
599 * objdump.c (display_target_list): Close the bfd.
600 (display_info_table): Likewise.
602 2000-05-14 H.J. Lu (hjl@gnu.org)
604 * objcopy.c (filter_symbols): Don't strip global symbols in
605 relocatable object files.
607 2000-05-14 Alan Modra <alan@linuxcare.com.au>
609 * size.c (usage): Associate short options with corresponding long
610 option to give a clue as to their function.
612 2000-05-14 Philippe De Muyter <phdm@macqel.be>
614 * size.c (main): Accept and ignore `-f' option.
616 2000-05-13 Alan Modra <alan@linuxcare.com.au>
618 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
619 bindtextdomain): Replace defines with those from intl/libgettext.h
620 to quieten gcc warnings.
622 2000-05-12 H.J. Lu <hjl@gnu.org>
624 * nlmconv.c (temp_filename): Removed.
626 * nlmconv.c (link_inputs): Use make_temp_file () instead of
628 * objdump.c (display_target_list): Likewise.
629 (display_info_table): Likewise.
631 2000-05-08 Alan Modra <alan@linuxcare.com.au>
633 * objcopy.c (setup_section): Add const and gettext calls for err.
635 2000-05-02 H.J. Lu <hjl@gnu.org>
637 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
638 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
639 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
640 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
641 and ELFOSABI_OPENBSD.
643 2000-05-02 Kazu Hirata <kazu@hxi.com>
645 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
646 * srconv.c: Likewise.
647 * sysdump.c: Likewise.
649 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
651 * readelf.c (guess_is_rela): AVR uses RELA relocations.
652 (get_machine_name): machine name for EM_AVR added.
654 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
655 David Mosberger <davidm@hpl.hp.com>
657 * Makefile.am (readelf.o): Add elf/ia64.h.
658 * Makefile.in: Rebuild.
659 * readelf.c: Include elf/ia64.h.
660 (guess_is_rela, dump_relocations): Handle EM_IA_64.
662 2000-04-17 Timothy Wall <twall@cygnus.com>
664 * objdump.c (disassemble_data): Set octets per byte *after*
665 resolving arch/mach for binary files.
667 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
669 * arlex.l: Add directives to increase lex buffer size.
671 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
672 already included by bucomm.h.
674 2000-04-10 Philippe De Muyter <phdm@macqel.be>
676 * readelf (dynamic_segment_mips_val): Call `sprintf', not
677 `strftime' since strftime is not available on all systems.
678 (process_mips_specific): Ditto.
680 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
682 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
683 --enable-build-warnings option.
684 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
685 * Makefile.in, configure: Re-generate.
687 2000-04-06 Alan Modra <alan@linuxcare.com.au>
689 * addr2line.c: Update copyright.
690 * objcopy.1: Likewise, and title.
691 * strings.1: Likewise.
693 * version.c (print_version): Add 2000.
695 * rddbg.c (read_section_stabs_debugging_info): Don't use
696 bfd_size_type for strx to avoid printf problems if BFD64.
698 * bucomm.c: (report): Remove `static'.
699 Move inclusion of stdarg.h/vararg.h from here.
701 (CONST): Change all occurences to const.
702 (report): Declare it.
703 (bfd_fatal): Add ATTRIBUTE_NORETURN.
704 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
705 (non_fatal): Add ATTRIBUTE_PRINTF_1.
707 * ar.c (main): Use fatal or non_fatal instead of fprintf.
708 Correct a typo in an error message.
709 (do_quick_append): Use non_fatal instead of fprintf.
710 (move_members): Use fatal instead of fprintf, exit.
711 * coffdump.c (main): Same here.
713 * dlltool.c (display): Delete.
715 (inform): Use `report' instead of `display'.
716 (rvaafter): Remove trailing \n from fatal error msg.
719 (yyerror): Replace `warn' with `non_fatal', and remove \n.
720 (def_name): Likewise.
722 (scan_all_symbols): Likewise.
723 (gen_lib_file): Likewise.
724 (def_library): Likewise. Remove extra program_name too.
725 (run): Remove \n from inform strings.
726 (scan_drectve_symbols): Likewise.
727 (add_excludes): Likewise.
728 (scan_open_obj_file): Likewise.
729 (gen_exp_file): Likewise.
730 (gen_lib_file): Likewise.
731 (process_duplicates): Likewise.
733 * Makefile.am (dllwrap_SOURCES): Add version.c.
734 * dllwrap.c (program_version): Delete.
735 (print_version): Delete.
736 (display): Always print trailing \n.
738 (delete_temp_files): Use warn instead of fprintf. Use gettext.
741 (usage): gettext'ify.
742 (long_options): Add missing initialisers.
744 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
745 (select_output_format): Likewise.
746 (powerpc_mangle_relocs): Likewise.
747 (link_inputs): Likewise.
749 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
750 (set_output_format): Likewise.
751 (main): Use non_fatal instead of fprintf.
752 (display_rel_file): Likewise.
754 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
755 (slurp_dynamic_symtab): Same here.
756 (disassemble_data): And here.
757 (read_section_stabs): And here.
758 (read_section_stabs): And here.
759 (dump_bfd): And here.
761 (objdump_sprintf): Use fatal instead of fprintf, exit.
762 (disassemble_data): Same here.
764 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
765 (parse_coff_struct_type): Same here.
766 (parse_coff_enum_type): And here.
767 (parse_coff): And here.
768 * rddbg.c (read_debugging_info): And here.
769 * size.c (main): And here.
770 * windres.c (format_from_name): And here.
771 * wrstabs.c (stab_write_symbol): Here too.
772 (write_stabs_in_sections_debugging_info): And here.
773 (stab_int_type): And here.
774 (stab_struct_field): And here.
775 (stab_typdef): And here.
777 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
778 * srconv.c (main): Same here.
779 * strings.c (main): And here.
780 (integer_arg): And here.
781 * sysdump.c (main): And here.
783 2000-04-06 Timothy Wall <twall@cygnus.com>
785 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
787 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
789 * readelf.c (decode_location_expression): Loop through multiple
791 (read_and_display_attr): Pass in length.
793 * readelf.c (read_and_display_attr): Add CU offset to references.
794 (display_debug_info): Pass it in.
796 2000-04-06 Nick Clifton <nickc@cygnus.com>
798 * readelf.c (decode_ARM_machine_flags): New function.
799 (get_machine_flags): Call decode_ARM_machine_flags for ARM
802 (get_machine_name): Catch EM_AVR
804 2000-04-05 Alan Modra <alan@linuxcare.com.au>
806 * binutils.texi: Remove optional `=' from long options that have
807 an `=' in the argument.
808 * objcopy.1: Here too. Remove extra space on discard-all.
810 * binutils.texi (objcopy): Mention --redefine-sym.
811 * objcopy.1: Here too.
814 * objcopy.c (parse_flags): Split off flag names from error message
815 gettext as they are not translated.
816 (copy_main): Similarly split off option name for --add-section,
817 --set-section-flags, --change-section-vma, --change-section-lma
819 Some white space changes.
821 from Matthew Benjamin <matt@linuxbox.nu>
822 * objcopy.c (struct redefine_node): New.
823 (redefine_sym_list): New.
824 (redefine_list_append): New.
825 (lookup_sym_redefinition): New.
826 (OPTION_REDEFINE_SYM): New.
827 (copy_options): Add --redefine-sym option.
828 (copy_usage): Mention it.
829 (filter_symbols): Rename symbols on redefine_sym_list.
830 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
831 (copy_main): Handle OPTION_REDEFINE_SYM.
833 2000-04-04 H.J. Lu <hjl@gnu.org>
835 * readelf.c (process_symbol_table): Correctly read in symbol
836 versioning information.
838 2000-04-04 Alan Modra <alan@linuxcare.com.au>
840 * po/binutils.pot: Regenerate.
842 * addr2line.c (usage): Restore translated part of bug string.
843 * ar.c (usage): Likewise.
844 * nlmconv.c (show_usage): Likewise.
845 * nm.c (usage): Likewise.
846 * objcopy.c (copy_usage): Likewise.
847 (strip_usage): Likewise.
848 * objdump.c (usage): Likewise.
849 * readelf.c (usage): Likewise.
850 * size.c (usage): Likewise.
851 * strings.c (usage): Likewise.
852 * windres.c (usage): Likewise.
854 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
855 (DEP): Quote when passing vars to sub-make. Add warning
857 (DEP1): Rewrite for "gcc -MM".
858 (CLEANFILES): Add DEP2.
860 * Makefile.in: Regenerate.
862 2000-04-04 H.J. Lu <hjl@gnu.org>
864 * Makefile.am (GENERATED_HFILES): Add rcparse.h
865 (arparse.h): Depend on arparse.c
866 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
868 2000-04-03 H.J. Lu (hjl@gnu.org)
870 * size.c (usage): Use REPORT_BUGS_TO.
872 2000-04-03 Alan Modra <alan@linuxcare.com.au>
874 * bucomm.h: #include "bin-bugs.h"
875 * addr2line.c (usage): Use REPORT_BUGS_TO.
876 * ar.c (usage): Likewise.
877 * nlmconv.c (show_usage): Likewise.
878 * nm.c (usage): Likewise.
879 (OPTION_TARGET): Define.
880 (long_options): Use OPTION_TARGET rather than 200.
883 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
884 (strip_usage): Likewise.
885 * objdump.c (usage): Likewise.
886 * readelf.c (usage): Likewise.
887 * strings.c (usage): Likewise.
888 * windres.c (usage): Likewise.
890 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
892 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
894 2000-03-27 Nick Clifton <nickc@cygnus.com>
896 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
897 string offsets in corrupt stabs entries.
899 2000-03-27 Alan Modra <alan@linuxcare.com.au>
901 * readelf.c: Include elf/avr.h
902 (dump_relocations): Add EM_AVR case.
904 2000-03-09 Tim Waugh <twaugh@redhat.com>
906 * strings.1: Correct '-bytes' to '--bytes'.
908 2000-03-08 H.J. Lu <hjl@gnu.org>
910 * Makefile.am (install-exec-local): Depend on
911 install-binPROGRAMS for parallel make.
912 * Makefile.in: Regenerated.
914 2000-02-27 Ian Lance Taylor <ian@zembu.com>
916 From Brad Lucier <lucier@math.purdue.edu>:
917 * readelf.c (process_dynamic_segment): Add cast to make sure
918 argument to %* is int.
920 2000-02-25 H.J. Lu <hjl@gnu.org>
922 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
924 2000-02-24 Nick Clifton <nickc@cygnus.com>
926 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
927 * configure: Regenerate.
929 * dlltoolc.: Add support for sh-pe and mips-pe targets.
930 * rescoff.c: Add support for sh-pe and mips-pe targets.
932 2000-02-23 H.J. Lu <hjl@gnu.org>
934 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
936 2000-02-22 Nick Clifton <nickc@cygnus.com>
938 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
940 2000-02-22 Ian Lance Taylor <ian@zembu.com>
942 From Brad Lucier <lucier@math.purdue.edu>:
943 * readelf.c (process_version_sections): Add casts to make sure
944 argument to %* is an int.
945 (process_mips_specific): Add casts to make printf arguments match
948 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
950 * objdump.c (dump_section_header): Change `opb' to unsigned.
951 (find_symbol_for_address): Same here.
952 (disassemble_data): And here. Change `addr_offset',
953 `stop_offset', `nextstop_offset' to unsigned long.
954 (dump_data): Change opb to unsigned.
956 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
958 * resrc.c: Remove unmatched #if for cygwin.
960 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
962 * binutils.texi: Document the change of flavor name from atpcs-special
963 to special-atpcs to prevent name conflict in gdb.
965 2000-02-08 Timothy Wall <twall@redhat.com>
967 * objdump.c (show_line): Fix bug preventing printing of the very
968 first line (line zero) of a file when interlisting source and
969 assembly. Added option to print entire context from start of file
970 when the first line from that file is encountered.
972 2000-02-03 Timothy Wall <twall@redhat.com>
974 * binutils/objdump.c (dump_section_header, find_symbol_for_address,
975 show_line, disassemble_bytes, disassemble_data, dump_data):
976 distinguish between octets and bytes.
978 2000-01-27 Thomas de Lellis <tdel@windriver.com>
980 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
981 check to unresolved symbols.
982 (print_symbol_info_sysv): Ditto.
983 (print_symbol_info_posix): Ditto.
985 * binutils.texi: Document new 'V' symclass flag for nm.
987 2000-01-27 Nick Clifton <nickc@redhat.com>
989 * binutils.texi (objdump): Document new ARM specific
990 disassembler options.
992 * objdump.c (usage): Call disassembler_usage().
994 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
996 * readelf.c (get_dynamic_flags): Return buff.
997 (process_dynamic_segment): Don't pass error strings to printf
999 (read_and_display_attr): Use lx and ld to print longs.
1000 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1004 2000-01-17 Nick Clifton <nickc@cygnus.com>
1006 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1008 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1010 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1012 (debug_tag_type): Here too.
1013 * ieee.c (ieee_builtin_type): And here.
1014 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1016 2000-01-13 Nick Clifton <nickc@cygnus.com>
1018 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1021 2000-01-11 Nick Clifton <nickc@cygnus.com>
1023 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1025 2000-01-10 Nick Clifton <nickc@cygnus.com>
1027 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1029 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1031 * windres.c (long_options): Add --use-temp-file and
1032 --no-use-temp-file options.
1036 * windres.h: Update read_rc_file prototype.
1038 * resrc.c (cpp_temp_file): New static variable.
1039 (istream_type): New static variable.
1040 (close_pipe): Delete function.
1041 (run_cmd): New static function.
1042 (open_input_stream): New static function.
1043 (close_input_stream): New static function.
1044 (look_for_default): Handle DOS directory separator. Use
1045 open_input_stream instead of popen.
1046 (read_rc_file): Likewise.
1048 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1051 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1053 * dlltool.c (create_compat_implib): New variable.
1054 (gen_exp_file): Use.
1055 (make_one_lib_file): Use.
1056 (long_options): Add --compat-implib option.
1060 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1061 (main): Use. Don't look for "32" in cygwin and mingw target names.
1063 2000-01-03 Nick Clifton <nickc@cygnus.com>
1065 * binutils.texi: Document new, ARM specific disassembler
1066 command line switch "-M force-thumb".
1068 For older changes see ChangeLog-9899
1074 version-control: never