1 2001-06-10 Philip Blundell <philb@gnu.org>
3 * configure.in: Set version to 2.11.1.
4 * configure: Regenerate.
6 2001-06-09 Alan Modra <amodra@bigpond.net.au>
8 * NEWS: Mention hppa64-elf. Add binutils-2.11 marker.
10 * MAINTAINERS: Replace with mainline version.
12 2001-06-07 Alan Modra <amodra@bigpond.net.au>
14 * Most files: Update copyright notices.
16 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
18 * objcopy.c: Add new switches: --keep-global-symbol,
19 --keep-symbols, --localize-symbols, --keep-global-symbols and
21 * binutils.texi: Document new switches.
22 * objcopy.1: Regenerate.
23 * NEWS: Announce new feature.
25 2001-05-28 Philip Blundell <philb@gnu.org>
27 From 2001-05-28 Andreas Jaeger <aj@suse.de>
28 * readelf.c (display_debug_frames): Fix warnings: Remove unused
29 variables, fix format strings.
31 From 2001-05-16 Richard Henderson <rth@redhat.com>
32 * readelf.c (do_debug_frames_interp): New.
33 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
34 (byte_get_big_endian): Likewise.
35 (parse_args) ['F']: Set do_debug_frames_interp.
36 (Frame_Chunk): Make data_factor signed, add fde_encoding.
37 (frame_display_row): Don't trunc pc_begin to int.
38 (size_of_encoded_value): New.
39 (display_debug_frames): Handle 64-bit targets. Print raw data
40 unless do_debug_frames_interp.
41 (debug_displays): Remove duplicate .debug_frame.
43 From 2001-05-15 Ralf Baechle <ralf@gnu.org>
44 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
45 The former constant was never in active use and is used otherwise
48 From 2001-05-11 Jakub Jelinek <jakub@redhat.com>
49 * readelf.c (process_unwind): Print all unwind sections, not just
52 From 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
53 * readelf.c (process_unwind): Remove const specifier.
55 From 2001-03-30 H.J. Lu <hjl@gnu.org>
56 * readelf.c (process_unwind): Just return if do_unwind is 0.
58 From 2001-03-29 H.J. Lu <hjl@gnu.org>
59 * readelf.c (process_unwind): Only do unwind sections for
62 From 2001-02-28 Nick Clifton <nickc@redhat.com>
63 * readelf.c: (struct unw_aux_info): Remove const modifier for
65 (process_unwind): Remove non-K&R compliant LHS type cast in call
66 to GET_DATA_ALLOC macro.
68 From 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
69 * readelf.c (struct unw_aux_info): Remove const from the info member.
70 (process_unwind): Don't type-cast the third argument to the
73 From 2001-02-11 Nick Clifton <nickc@redhat.com>
74 * readelf.c (dump_relocations): Free corrected allocated
76 (process_unwind): Fix compile time warning.
78 From 2001-02-07 David Mosberger <davidm@hpl.hp.com>
79 * readelf.c (process_unwind): New function.
80 (slurp_ia64_unwind_table): Ditto.
81 (dump_ia64_unwind): Ditto.
82 (find_symbol_for_address): Ditto.
83 (slurp_rela_relocs): New function (split off from dump_relocations()).
84 (slurp_rel_relocs): Ditto.
85 (parse_args): Handle '-u' option.
86 * unwind-ia64.c: New file.
87 * unwind-ia64.h: New file.
88 * Makefile.am: Include unwind-ia64.c in readelf build.
89 * Makefile.in: Regenerate.
90 * po/binutils.pot: Regenerate.
92 2001-04-06 Hans-Peter Nilsson <hp@axis.com>
94 * readelf.c (display_debug_lines): Fix typo for "Prologue".
96 2001-03-16 Philip Blundell <philb@gnu.org>
98 * configure: Regenerate.
100 2001-03-11 Philip Blundell <philb@gnu.org>
102 * configure.in: Set version to 2.11.
104 2001-02-13 Hans-Peter Nilsson <hp@bitrange.com>
106 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
107 * aclocal.m4: Regenerate.
108 * configure: Regenerate.
110 2001-02-10 Alan Modra <alan@linuxcare.com.au>
112 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
115 2001-02-04 Philip Blundell <philb@gnu.org>
117 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
118 * configure: Regenerate.
120 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
122 * ieee.c (ieee_add_bb11): Don't check for backslashes
123 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
125 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
127 * ieee.c: Update copyright.
128 (ieee_start_compilation_unit): Don't check for backslashes
129 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
131 * stabs.c: Update copyright. Include "filenames.h".
132 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
134 2001-01-23 Jakub Jelinek <jakub@redhat.com>
136 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
137 sections are present before using them. Remove code duplication.
138 (process_symbol_table): Check if VERDEF or VERNEED sections are
139 present before using them.
141 2001-01-17 Nick Clifton <nickc@redhat.com>
143 * objcopy.c (copy_object): Fail if attempting to convert the
144 endianness of the input object file.
146 * binutils.texi: Explain that objcopy cannot convert endianness.
148 2001-01-16 Nick Clifton <nickc@redhat.com>
150 * readelf.c (string_table_length): New variable.
151 (SECTION_NAME): Catch out of range indices and missing section
153 (process_section_headers): Delete useless local variable
154 string_table_offset. Set the value of string_table_length
155 after loading the string table.
156 (process_mips_specific): Use SECTION_NAME macro.
157 (process_file): Set string_table_length to 0 when it is freed.
159 2001-01-12 Nick Clifton <nickc@redhat.com>
161 * version.c (print_version): Update copyright date.
163 2001-01-11 Peter Targett <peter.targett@arccores.com>
165 * readelf.c (dump_relocations): Include selection with EM_ARC.
166 (get_machine_name) Update name to "ARC".
168 2001-01-09 Nick Clifton <nickc@redhat.com>
170 * Makefile.am: Add rule to build objdump.o from objdump.c and
172 * Makefile.in: Regenerate.
174 * configure.in: Define OBJDUMP_DEFS. Default to empty.
175 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
176 -DDISASSEMBLER_NEEDS_RELOCS.
177 * configure: Regenerate.
179 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
180 is defined read in the relocs even if dump_reloc_info is
183 2001-01-07 Philip Blundell <philb@gnu.org>
185 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
189 2000-12-19 Nick Clifton <nickc@redhat.com>
191 * dlltool.c: Add missing support for arm-epoc-pe.
192 * configure.in: Add missing support for arm-epoc-pe.
193 * configure: Regenerate.
195 2000-12-15 Nick Clifton <nickc@redhat.com>
197 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
198 Mode parts of the x86 port.
200 2000-12-04 Andreas Jaeger <aj@suse.de>
202 * readelf.c (guess_is_rela): Add EM_X86_64.
203 (dump_relocations): Add EM_X86_64.
204 (get_machine_name): Add EM_X86_64.
205 Include "elf/x86-64.h".
207 2000-12-12 Nick Clifton <nickc@redhat.com>
209 * readelf.c: Fix formatting.
211 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
213 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
215 2000-12-07 Andrew Haley <aph@redhat.com>
217 * readelf.c (display_debug_frames): Only display columns that are
218 referenced by the frame debug info.
220 2000-12-05 Nick Clifton <nickc@redhat.com>
222 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
224 2000-12-04 Jason Merrill <jason@redhat.com>
226 * readelf.c (process_section_headers): Handle linkonce.wi sections.
227 (display_debug_section): Likewise.
228 (display_debug_info): Display CU header before bailing.
230 2000-12-01 Chris Demetriou <cgd@sibyte.com>
232 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
233 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
234 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
236 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
239 * readelf.c (get_machine_flags): Add case for
242 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
244 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
246 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
248 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
249 Change sourceware.cygnus.com to sources.redhat.com.
250 Fix typo for "amongst".
252 2000-11-28 Nick Clifton <nickc@redhat.com>
254 * strip.1 (COPYING): Mention that the GNU Free Documentation
255 License is present in the sources, but not the output, and
256 also available from the GNU website.
257 (GNU Free Documentation License): Comment out this section.
266 * addr2line.1: Ditto.
268 2000-11-27 DJ Delorie <dj@redhat.com>
270 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
271 (parse_args): Support -wf option.
272 (process_section_headers): Ditto.
273 (debug_displays): Ditto.
274 (display_debug_frames): New, dump *_frame sections.
275 (frame_need_space): Support for above.
276 (frame_display_row): Ditto.
277 * binutils.texi: Document it.
279 2000-11-24 Nick Clifton <nickc@redhat.com>
281 * NEWS: Announce support for v5t, v5te and XScale.
283 2000-11-22 Nick Clifton <nickc@redhat.com>
285 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
286 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
287 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
288 (get_elf_section_flags: Add SHF_GROUP.
289 (process_section_headers): Adjust output for 32-bit binaries
290 to look nice on an 80 column terminal.
292 2000-11-20 H.J. Lu <hjl@gnu.org>
294 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
297 2000-11-17 Richard Henderson <rth@redhat.com>
299 * readelf.c (display_debug_lines): Adjust last change to
300 use sizeof (external->li_length).
302 2000-11-17 Richard Henderson <rth@redhat.com>
304 * readelf.c (display_debug_lines): Fix section length check
305 and end_of_sequence computation.
307 2000-11-06 Nick Clifton <nickc@redhat.com>
309 * binutils.texi: Add GNU Free Documentation License.
310 * objcopy.1: Add GNU Free Documentation License.
311 * objdump.1: Add GNU Free Documentation License.
312 * addr2line.1: Add GNU Free Documentation License.
313 * ar.1: Add GNU Free Documentation License.
314 * nlmconv.1: Add GNU Free Documentation License.
315 * nm.1: Add GNU Free Documentation License.
316 * ranlib.1: Add GNU Free Documentation License.
317 * size.1: Add GNU Free Documentation License.
318 * strings.1: Add GNU Free Documentation License.
319 * strip.1: Add GNU Free Documentation License.
321 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
323 * objcopy.c (--srec-len=nn): New parameter to set the
324 maximum length of generated Srecords.
325 (--srec-forceS3): New parameter that restricts the generation of
326 Srecords to type S3 only.
327 * binutils.texi: Document new command line switches.
328 * objcopy.1: Docuemnt the new command line switches.
329 * NEWS: Announce the existence of the new command line switches.
331 2000-10-31 Nick Clifton <nickc@redhat.com>
333 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
334 code. Add Eric Chrisopher as maintainer of MN10300 port.
336 2000-10-12 Roger Sayle <roger@metaphorics.com>
338 * Make comma after string after icon/control optional.
340 2000-09-13 Anders Norlander <anorland@acc.umu.se>
342 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
344 * NEWS: Mention support for MIPS32.
346 2000-09-08 Nick Clifton <nickc@redhat.com>
348 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
350 2000-09-07 H.J. Lu <hjl@gnu.org>
352 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
353 * configure: Rebuild.
355 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
357 * configure: Rebuilt with new libtool.m4.
359 2000-09-05 Nick Clifton <nickc@redhat.com>
361 * aclocal.m4: Regenerate.
362 * config.in: Regenerate.
363 * configure: Regenerate.
365 2000-09-04 Todd Vierling <tv@wasabisystems.com>
367 * strip.1: Fix stray '\' in -o formatting.
369 2000-09-02 Nick Clifton <nickc@redhat.com>
371 * configure.in: Increase version number to 2.10.91.
372 * configure: Regenerate.
373 * aclocal.m4: Regenerate.
374 * config.in: Regenerate.
375 * po/binutils.pot: Regenerate.
377 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
379 * acinclude.m4: Include libtool and gettext macros from the
381 * aclocal.m4, configure: Rebuilt.
383 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
385 * resrc.c (close_input_stream): Delete extraneous logic
387 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
389 * NEWS: Mention support for CRIS.
391 2000-08-21 Nick Clifton <nickc@redhat.com>
393 * addr2line.c: Changed email address for Ulrich Lauther.
395 2000-08-17 Christopher C. Chimelis <chris@debian.org>
397 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
399 2000-08-17 Nick Clifton <nickc@redhat.com>
401 * readelf.c (display_debug_pubnames): Only issue warning
402 message once. Terminate message with a new line.
403 (display_debug_aranges): Only display version 2 debug info.
405 2000-08-14 Todd Vierling <tv@wasabisystems.com>
407 * objcopy.c (strip_main): Silently accept -d as an alias for -g
408 for compatability with old BSD systems.
410 2000-08-14 Jason Eckhardt <jle@cygnus.com>
412 * NEWS: Mention i860 support.
414 2000-08-11 Carlo Wood <carlo@alinoe.com>
416 * addr2line.c (main): Add const to char *.
418 2000-08-11 Geoff Keating <geoffk@cygnus.com>
420 * ar.c (main): Don't crash if called with no arguments
421 or only '-X32_64' as an argument.
423 2000-08-08 DJ Delorie <dj@redhat.com>
425 * resrc.c: use "gcc -xc" instead of -xc-header
427 2000-08-05 Jason Eckhardt <jle@cygnus.com>
429 * readelf.c (elf/i860.h): Include.
430 (dump_relocations): Add recognition of i860 architecture.
431 (guess_is_rela): Add recognition of i860 architecture.
433 2000-08-03 Nick Clifton <nickc@cygnus.com>
435 * MAINTAINERS: Add information about CGEN maintainers.
437 2000-07-26 Geoff Keating <geoffk@cygnus.com>
439 * nm.c (main): Ignore '-X32_64' as an option.
440 * ar.c (main): Likewise.
441 * binutils.texi (nm): Document new option.
444 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
446 * rdcoff.c (external_coff_symbol_p): K&R-ise.
448 2000-07-20 H.J. Lu <hjl@gnu.org>
450 * binutils.texi: Put back "@end table" deleted by
453 2000-07-05 Kenneth Block <krblock@computer.org>
455 * nm.c: Add optional style to demangle switch.
456 * objdump.c: Add optional style to demangle switch.
457 * addr2line.c: Add optional style to demangle switch.
458 * binutils.texi: Document optional style to demangle
461 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
463 * MAINTAINERS: Add self as CRIS port maintainer.
464 * readelf.c: Include elf/cris.h.
465 (guess_is_rela): Handle EM_CRIS.
466 (dump_relocations): Ditto.
467 (get_machine_name): Ditto.
468 * Makefile.am: Rebuild dependencies.
469 * Makefile.in: Regenerate.
470 * po/binutils.pot: Regenerate.
472 2000-07-19 H.J. Lu <hjl@gnu.org>
474 * readelf.c (get_dynamic_type): Change "AUXILARY" to
476 (process_dynamic_segment): Print out strings for DT_CONFIG,
477 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
479 2000-07-19 Mark Kettenis <kettenis@gnu.org>
481 * nm.c (usage): Change output of `nm --help' to include a
482 description of the purpose of the program and a detailed
483 description of the accepted options.
485 2000-07-19 H.J. Lu <hjl@gnu.org>
487 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
490 2000-07-19 H.J. Lu <hjl@gnu.org>
492 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
494 2000-07-19 H.J. Lu <hjl@gnu.org>
496 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
498 (process_dynamic_segment): Likewise.
500 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
501 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
502 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
503 DF_1_NODUMP and DF_1_CONLFAT.
505 2000-07-18 Nick Clifton <nickc@cygnus.com>
507 * binutils.texi (readelf): Fix spelling typo.
509 2000-07-11 Mark Kettenis <kettenis@gnu.org>
511 * objdump.c (usage): Make output of `objdump --help' more
512 consistent with the rest of the GNU world. Add a line describing
513 the purpose of the program.
515 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
517 * stabs.c (parse_stab_range_type): Cast to proper type to fix
520 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
522 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
524 (process_symbol_table): Ditto.
525 (procesS_extended_line_op): Ditto.
526 (display_debug_lines): Ditto.
527 (display_debug_pubnames): Ditto.
528 (read_and_display_attr): Ditto.
530 2000-07-09 Nick Clifton <nickc@cygnus.com>
532 * MAINTAINERS: Add several more port specific maintainers.
534 2000-07-05 Nick Clifton <nickc@cygnus.com>
536 * MAINTAINERS: Add blanket write privs for Michael Meissner.
538 2000-06-05 DJ Delorie <dj@redhat.com>
542 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
544 * dllwrap.c: Changed mistaken dyn_string_append() calls
545 to dyn_string_append_cstr().
547 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
549 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
550 struct debug_type stores size in bytes.
552 2000-07-01 Alan Modra <alan@linuxcare.com.au>
554 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
555 (CLEANFILES): Add DEPA.
556 * Makefile.in: Regenerate.
558 2000-06-27 Alan Modra <alan@linuxcare.com.au>
560 * ar.c: Revert incorrect 2000-06-25 patch.
561 * bucomm.c: Likewise.
563 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
565 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
566 (external_coff_symbol_p): New function.
567 (parse_coff): Use it.
569 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
571 * ar.c (normalize): Advance past both characters in a DOS based
572 <letter>: filepath prefix.
574 * bucomm.c (make_tempname): Likewise.
576 2000-06-24 Nick Clifton <nickc@cygnus.com>
578 * objdump.c (usage): Fix description of --stabs switch.
580 2000-06-22 Alan Modra <alan@linuxcare.com.au>
582 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
584 * Makefile.in: Regenerate.
586 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
588 * ar.c (normalize): Correct pointer comparison when checking for
591 * bucomm.c (make_tempname): Likewise.
593 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
594 and search for backslashes in the original pathname.
595 (ieee_add_bb11): Likewise.
597 2000-06-18 Nick Clifton <nickc@redhat.com>
599 * ar.c (print_contents): Improve verbose message.
601 2000-06-15 H.J. Lu <hjl@gnu.org>
603 * dyn-string.c: Removed. Not needed with dyn-string.c in
605 * dyn-string.h: Likewise.
607 * Makefile.am: Remove references to dyn-string.c and
608 dyn-string.h. Rebuild dependency.
609 * Makefile.in: Rebuild.
611 2000-06-15 H.J. Lu <hjl@gnu.org>
613 * binutils.texi: Put a warning on copying relocatable object
614 files between two different formats.
616 2000-06-13 DJ Delorie <dj@cygnus.com>
618 * rcparse.y (control): ICON controls take an id as the first
619 parameter, not an optional string. Also, call new convenience
620 function that takes res_id's.
621 * resrc.c (define_control): missing text means zero-length string,
623 (define_icon_control): New.
624 * windres.h: declare define_icon_control.
626 2000-06-13 H.J. Lu <hjl@gnu.org>
628 * configure: Regenerate.
630 2000-06-08 David O'Brien <obrien@FreeBSD.org>
632 * configure.in (VERSION): Update to show this is the CVS mainline.
634 2000-06-02 David O'Brien <obrien@FreeBSD.org>
636 * strings.c (isgraphic): Interpret <TAB> as a printable character,
637 analogous to <SPACE>.
639 2000-05-30 Alan Modra <alan@linuxcare.com.au>
641 * objdump.c (display_target_list): Use bfd_close_all_done, not
642 bfd_close to fix crash caused by 2000-05-24 change.
644 2000-05-25 DJ Delorie <dj@cygnus.com>
646 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
648 2000-05-26 Alan Modra <alan@linuxcare.com.au>
650 * Makefile.am: Update dependencies with "make dep-am"
651 * Makefile.in: Regenerate.
653 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
655 * ar.c: Include filenames.h.
656 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
657 and drive letters in file names.
658 (main): Support backslashes and drive letters in argv[0]. Drop
659 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
660 FILENAME_CMP instead of strcmp to compare file names.
661 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
663 (do_quick_append) [__GO32__]: Ditto.
664 (get_pos_bfd, delete_members, move_members, replace_members):
665 Compare file names with FILENAME_CMP.
667 * bucomm.c: Include filenames.h.
668 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
669 forward/backward slashes and drive letters in file names.
671 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
672 mixed forward/backward slashes and drive letters in file names.
674 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
675 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
678 * objcopy.c: Include filenames.h.
679 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
680 before comparing to "strip".
681 Use FILENAME_CMP to compare file names.
683 * arsup.c: Include filenames.h.
684 (map_over_list, ar_delete, ar_replace, ar_extract): Use
685 FILENAME_CMP to compare file names.
686 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
687 the temporary file name.
689 * configure.in: Check for setmode.
690 * configure: Regenerate.
692 2000-05-24 Alan Modra <alan@linuxcare.com.au>
694 * objdump.c (display_target_list): Close the bfd.
695 (display_info_table): Likewise.
697 2000-05-14 H.J. Lu (hjl@gnu.org)
699 * objcopy.c (filter_symbols): Don't strip global symbols in
700 relocatable object files.
702 2000-05-14 Alan Modra <alan@linuxcare.com.au>
704 * size.c (usage): Associate short options with corresponding long
705 option to give a clue as to their function.
707 2000-05-14 Philippe De Muyter <phdm@macqel.be>
709 * size.c (main): Accept and ignore `-f' option.
711 2000-05-13 Alan Modra <alan@linuxcare.com.au>
713 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
714 bindtextdomain): Replace defines with those from intl/libgettext.h
715 to quieten gcc warnings.
717 2000-05-12 H.J. Lu <hjl@gnu.org>
719 * nlmconv.c (temp_filename): Removed.
721 * nlmconv.c (link_inputs): Use make_temp_file () instead of
723 * objdump.c (display_target_list): Likewise.
724 (display_info_table): Likewise.
726 2000-05-08 Alan Modra <alan@linuxcare.com.au>
728 * objcopy.c (setup_section): Add const and gettext calls for err.
730 2000-05-02 H.J. Lu <hjl@gnu.org>
732 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
733 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
734 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
735 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
736 and ELFOSABI_OPENBSD.
738 2000-05-02 Kazu Hirata <kazu@hxi.com>
740 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
741 * srconv.c: Likewise.
742 * sysdump.c: Likewise.
744 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
746 * readelf.c (guess_is_rela): AVR uses RELA relocations.
747 (get_machine_name): machine name for EM_AVR added.
749 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
750 David Mosberger <davidm@hpl.hp.com>
752 * Makefile.am (readelf.o): Add elf/ia64.h.
753 * Makefile.in: Rebuild.
754 * readelf.c: Include elf/ia64.h.
755 (guess_is_rela, dump_relocations): Handle EM_IA_64.
757 2000-04-17 Timothy Wall <twall@cygnus.com>
759 * objdump.c (disassemble_data): Set octets per byte *after*
760 resolving arch/mach for binary files.
762 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
764 * arlex.l: Add directives to increase lex buffer size.
766 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
767 already included by bucomm.h.
769 2000-04-10 Philippe De Muyter <phdm@macqel.be>
771 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
772 `strftime' since strftime is not available on all systems.
773 (process_mips_specific): Ditto.
775 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
777 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
778 --enable-build-warnings option.
779 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
780 * Makefile.in, configure: Re-generate.
782 2000-04-06 Alan Modra <alan@linuxcare.com.au>
784 * addr2line.c: Update copyright.
785 * objcopy.1: Likewise, and title.
786 * strings.1: Likewise.
788 * version.c (print_version): Add 2000.
790 * rddbg.c (read_section_stabs_debugging_info): Don't use
791 bfd_size_type for strx to avoid printf problems if BFD64.
793 * bucomm.c: (report): Remove `static'.
794 Move inclusion of stdarg.h/vararg.h from here.
796 (CONST): Change all occurences to const.
797 (report): Declare it.
798 (bfd_fatal): Add ATTRIBUTE_NORETURN.
799 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
800 (non_fatal): Add ATTRIBUTE_PRINTF_1.
802 * ar.c (main): Use fatal or non_fatal instead of fprintf.
803 Correct a typo in an error message.
804 (do_quick_append): Use non_fatal instead of fprintf.
805 (move_members): Use fatal instead of fprintf, exit.
806 * coffdump.c (main): Same here.
808 * dlltool.c (display): Delete.
810 (inform): Use `report' instead of `display'.
811 (rvaafter): Remove trailing \n from fatal error msg.
814 (yyerror): Replace `warn' with `non_fatal', and remove \n.
815 (def_name): Likewise.
817 (scan_all_symbols): Likewise.
818 (gen_lib_file): Likewise.
819 (def_library): Likewise. Remove extra program_name too.
820 (run): Remove \n from inform strings.
821 (scan_drectve_symbols): Likewise.
822 (add_excludes): Likewise.
823 (scan_open_obj_file): Likewise.
824 (gen_exp_file): Likewise.
825 (gen_lib_file): Likewise.
826 (process_duplicates): Likewise.
828 * Makefile.am (dllwrap_SOURCES): Add version.c.
829 * dllwrap.c (program_version): Delete.
830 (print_version): Delete.
831 (display): Always print trailing \n.
833 (delete_temp_files): Use warn instead of fprintf. Use gettext.
836 (usage): gettext'ify.
837 (long_options): Add missing initialisers.
839 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
840 (select_output_format): Likewise.
841 (powerpc_mangle_relocs): Likewise.
842 (link_inputs): Likewise.
844 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
845 (set_output_format): Likewise.
846 (main): Use non_fatal instead of fprintf.
847 (display_rel_file): Likewise.
849 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
850 (slurp_dynamic_symtab): Same here.
851 (disassemble_data): And here.
852 (read_section_stabs): And here.
853 (read_section_stabs): And here.
854 (dump_bfd): And here.
856 (objdump_sprintf): Use fatal instead of fprintf, exit.
857 (disassemble_data): Same here.
859 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
860 (parse_coff_struct_type): Same here.
861 (parse_coff_enum_type): And here.
862 (parse_coff): And here.
863 * rddbg.c (read_debugging_info): And here.
864 * size.c (main): And here.
865 * windres.c (format_from_name): And here.
866 * wrstabs.c (stab_write_symbol): Here too.
867 (write_stabs_in_sections_debugging_info): And here.
868 (stab_int_type): And here.
869 (stab_struct_field): And here.
870 (stab_typdef): And here.
872 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
873 * srconv.c (main): Same here.
874 * strings.c (main): And here.
875 (integer_arg): And here.
876 * sysdump.c (main): And here.
878 2000-04-06 Timothy Wall <twall@cygnus.com>
880 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
882 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
884 * readelf.c (decode_location_expression): Loop through multiple
886 (read_and_display_attr): Pass in length.
888 * readelf.c (read_and_display_attr): Add CU offset to references.
889 (display_debug_info): Pass it in.
891 2000-04-06 Nick Clifton <nickc@cygnus.com>
893 * readelf.c (decode_ARM_machine_flags): New function.
894 (get_machine_flags): Call decode_ARM_machine_flags for ARM
897 (get_machine_name): Catch EM_AVR
899 2000-04-05 Alan Modra <alan@linuxcare.com.au>
901 * binutils.texi: Remove optional `=' from long options that have
902 an `=' in the argument.
903 * objcopy.1: Here too. Remove extra space on discard-all.
905 * binutils.texi (objcopy): Mention --redefine-sym.
906 * objcopy.1: Here too.
909 * objcopy.c (parse_flags): Split off flag names from error message
910 gettext as they are not translated.
911 (copy_main): Similarly split off option name for --add-section,
912 --set-section-flags, --change-section-vma, --change-section-lma
914 Some white space changes.
916 from Matthew Benjamin <matt@linuxbox.nu>
917 * objcopy.c (struct redefine_node): New.
918 (redefine_sym_list): New.
919 (redefine_list_append): New.
920 (lookup_sym_redefinition): New.
921 (OPTION_REDEFINE_SYM): New.
922 (copy_options): Add --redefine-sym option.
923 (copy_usage): Mention it.
924 (filter_symbols): Rename symbols on redefine_sym_list.
925 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
926 (copy_main): Handle OPTION_REDEFINE_SYM.
928 2000-04-04 H.J. Lu <hjl@gnu.org>
930 * readelf.c (process_symbol_table): Correctly read in symbol
931 versioning information.
933 2000-04-04 Alan Modra <alan@linuxcare.com.au>
935 * po/binutils.pot: Regenerate.
937 * addr2line.c (usage): Restore translated part of bug string.
938 * ar.c (usage): Likewise.
939 * nlmconv.c (show_usage): Likewise.
940 * nm.c (usage): Likewise.
941 * objcopy.c (copy_usage): Likewise.
942 (strip_usage): Likewise.
943 * objdump.c (usage): Likewise.
944 * readelf.c (usage): Likewise.
945 * size.c (usage): Likewise.
946 * strings.c (usage): Likewise.
947 * windres.c (usage): Likewise.
949 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
950 (DEP): Quote when passing vars to sub-make. Add warning
952 (DEP1): Rewrite for "gcc -MM".
953 (CLEANFILES): Add DEP2.
955 * Makefile.in: Regenerate.
957 2000-04-04 H.J. Lu <hjl@gnu.org>
959 * Makefile.am (GENERATED_HFILES): Add rcparse.h
960 (arparse.h): Depend on arparse.c
961 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
963 2000-04-03 H.J. Lu (hjl@gnu.org)
965 * size.c (usage): Use REPORT_BUGS_TO.
967 2000-04-03 Alan Modra <alan@linuxcare.com.au>
969 * bucomm.h: #include "bin-bugs.h"
970 * addr2line.c (usage): Use REPORT_BUGS_TO.
971 * ar.c (usage): Likewise.
972 * nlmconv.c (show_usage): Likewise.
973 * nm.c (usage): Likewise.
974 (OPTION_TARGET): Define.
975 (long_options): Use OPTION_TARGET rather than 200.
978 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
979 (strip_usage): Likewise.
980 * objdump.c (usage): Likewise.
981 * readelf.c (usage): Likewise.
982 * strings.c (usage): Likewise.
983 * windres.c (usage): Likewise.
985 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
987 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
989 2000-03-27 Nick Clifton <nickc@cygnus.com>
991 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
992 string offsets in corrupt stabs entries.
994 2000-03-27 Alan Modra <alan@linuxcare.com.au>
996 * readelf.c: Include elf/avr.h
997 (dump_relocations): Add EM_AVR case.
999 2000-03-09 Tim Waugh <twaugh@redhat.com>
1001 * strings.1: Correct '-bytes' to '--bytes'.
1003 2000-03-08 H.J. Lu <hjl@gnu.org>
1005 * Makefile.am (install-exec-local): Depend on
1006 install-binPROGRAMS for parallel make.
1007 * Makefile.in: Regenerated.
1009 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1011 From Brad Lucier <lucier@math.purdue.edu>:
1012 * readelf.c (process_dynamic_segment): Add cast to make sure
1013 argument to %* is int.
1015 2000-02-25 H.J. Lu <hjl@gnu.org>
1017 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1019 2000-02-24 Nick Clifton <nickc@cygnus.com>
1021 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1022 * configure: Regenerate.
1024 * dlltool.c: Add support for sh-pe and mips-pe targets.
1025 * rescoff.c: Add support for sh-pe and mips-pe targets.
1027 2000-02-23 H.J. Lu <hjl@gnu.org>
1029 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1031 2000-02-22 Nick Clifton <nickc@cygnus.com>
1033 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1035 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1037 From Brad Lucier <lucier@math.purdue.edu>:
1038 * readelf.c (process_version_sections): Add casts to make sure
1039 argument to %* is an int.
1040 (process_mips_specific): Add casts to make printf arguments match
1043 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1045 * objdump.c (dump_section_header): Change `opb' to unsigned.
1046 (find_symbol_for_address): Same here.
1047 (disassemble_data): And here. Change `addr_offset',
1048 `stop_offset', `nextstop_offset' to unsigned long.
1049 (dump_data): Change opb to unsigned.
1051 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1053 * resrc.c: Remove unmatched #if for cygwin.
1055 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1057 * binutils.texi: Document the change of flavor name from atpcs-special
1058 to special-atpcs to prevent name conflict in gdb.
1060 2000-02-08 Timothy Wall <twall@redhat.com>
1062 * objdump.c (show_line): Fix bug preventing printing of the very
1063 first line (line zero) of a file when interlisting source and
1064 assembly. Added option to print entire context from start of file
1065 when the first line from that file is encountered.
1067 2000-02-03 Timothy Wall <twall@redhat.com>
1069 * objdump.c (dump_section_header, find_symbol_for_address,
1070 show_line, disassemble_bytes, disassemble_data, dump_data):
1071 distinguish between octets and bytes.
1073 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1075 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1076 check to unresolved symbols.
1077 (print_symbol_info_sysv): Ditto.
1078 (print_symbol_info_posix): Ditto.
1080 * binutils.texi: Document new 'V' symclass flag for nm.
1082 2000-01-27 Nick Clifton <nickc@redhat.com>
1084 * binutils.texi (objdump): Document new ARM specific
1085 disassembler options.
1087 * objdump.c (usage): Call disassembler_usage().
1089 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1091 * readelf.c (get_dynamic_flags): Return buff.
1092 (process_dynamic_segment): Don't pass error strings to printf
1094 (read_and_display_attr): Use lx and ld to print longs.
1095 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1099 2000-01-17 Nick Clifton <nickc@cygnus.com>
1101 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1103 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1105 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1107 (debug_tag_type): Here too.
1108 * ieee.c (ieee_builtin_type): And here.
1109 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1111 2000-01-13 Nick Clifton <nickc@cygnus.com>
1113 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1116 2000-01-11 Nick Clifton <nickc@cygnus.com>
1118 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1120 2000-01-10 Nick Clifton <nickc@cygnus.com>
1122 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1124 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1126 * windres.c (long_options): Add --use-temp-file and
1127 --no-use-temp-file options.
1131 * windres.h: Update read_rc_file prototype.
1133 * resrc.c (cpp_temp_file): New static variable.
1134 (istream_type): New static variable.
1135 (close_pipe): Delete function.
1136 (run_cmd): New static function.
1137 (open_input_stream): New static function.
1138 (close_input_stream): New static function.
1139 (look_for_default): Handle DOS directory separator. Use
1140 open_input_stream instead of popen.
1141 (read_rc_file): Likewise.
1143 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1146 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1148 * dlltool.c (create_compat_implib): New variable.
1149 (gen_exp_file): Use.
1150 (make_one_lib_file): Use.
1151 (long_options): Add --compat-implib option.
1155 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1156 (main): Use. Don't look for "32" in cygwin and mingw target names.
1158 2000-01-03 Nick Clifton <nickc@cygnus.com>
1160 * binutils.texi: Document new, ARM specific disassembler
1161 command line switch "-M force-thumb".
1163 For older changes see ChangeLog-9899
1169 version-control: never