1 2001-08-10 H.J. Lu <hjl@gnu.org>
3 * nm.c (print_value): Add one arg, bfd *.
4 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
5 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
6 (print_symbol_info_sysv): Likewise.
7 (print_symbol_info_posix): Likewise.
9 * objdump.c (dump_section_header): Replace printf_vma with
11 (print_section_stabs): Likewise.
12 (dump_bfd_header): Likewise.
13 (objdump_print_value): Replace sprintf_vma with
15 (disassemble_bytes): Likewise.
16 (dump_reloc_set): Likewise.
18 2001-08-10 Andreas Jaeger <aj@suse.de>
20 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
22 * configure: Regenerate.
24 2001-08-09 Alan Modra <amodra@bigpond.net.au>
26 * readelf.c: Add missing prototypes.
27 * objdump.c: Likewise. Format existing prototypes.
29 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
31 * readelf.c (display_debug_info): Add to abbrev_offset the addend
32 of any RELA relocation for the abbrev_offset memory location that
33 refers to the .debug_abbrev section symbol.
35 2001-08-07 H.J. Lu <hjl@gnu.org>
37 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
38 (main): Return process_file ().
40 2001-08-05 Philip Blundell <philb@gnu.org>
42 * doc/binutils.texi: Use "Thumb" not "THUMB".
44 2001-08-03 John Healy <jhealy@redhat.com>
46 Patch suggested by Frank Eigler <fche@redhat.com>.
47 * objdump.c (disassemble_data): Fill in section member of the
48 disasm_info structure.
50 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
52 * configure.in: Added --with-windres option.
53 * configure: Regenerated.
55 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
57 * doc/binutils.texi: Use @command{name} for commands;
58 use @option{-opt} for options; use @table @env for list of options;
59 remove spaces arround [ | ] in synopsis.
61 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
64 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
66 * objcopy.c: Fix formatting.
67 (section_rename): New structure.
68 (OPTION_RENAME_SECTION): New switch.
69 (copy_usage): Document new switch.
70 (add_section_rename): New function: Add a node to the section
72 (find_section_rename): New function: Find the new name and
74 (setup_section): Call find_section_name to determine the name
75 of the output section.
76 (copy_main): Handle OPTION_RENAME_SECTION.
77 * binutils.texi: Document new switch.
78 * NEWS: Mention new switch.
80 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
82 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
83 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
86 2001-07-28 Matthias Kramm <kramm@quiss.org>
88 * bucomm.c (list_supported_architectures): New function.
89 * bucomm.h (list_supported_architectures): Declare.
90 * objdump.c (usage): Call the above.
92 2001-07-25 Dave Brolley <brolley@redhat.com>
94 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
95 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
97 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
99 * README: Update for 2.11. Change bug reporting email address.
100 * MAINTAINERS: Tidy up. Change bug reporting email address.
102 2001-07-16 DJ Delorie <dj@redhat.com>
104 * resres.c (write_res_header): Align header size.
105 (res_align_file): Calculate alignment correctly.
107 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
109 * resrc.c (write_rc_resource): Likewise.
110 * windres.h (SUBLANG_SHIFT): Define - as 10.
112 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
114 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
116 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
118 * MAINTAINERS: Add notes about branch checkins.
120 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
122 * readelf.c (display_debug_macinfo): New function, display
123 .debug_macinfo section.
124 (do_debug_macinfo): New variable.
125 (parse_args): Handle "-w[mM]" to mean display macro info.
126 (process_section_headers): Handle debug_macinfo.
127 (debug_displays): Replace unsupported function with macinfo
128 function for .debug_macinfo display.
129 * doc/binutils.texi: Document new command line switch.
130 * NEWS: Document new feature of readelf.
132 2001-07-05 H.J. Lu <hjl@gnu.org>
134 * objcopy.c (filter_symbols): Don't turn undefined symbols
137 2001-07-03 H.J. Lu <hjl@gnu.org>
139 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
142 (dlltool.1): Likewise.
143 (nlmconv.1): Likewise.
145 (objcopy.1): Likewise.
146 (objdump.1): Likewise.
147 (ranlib.1): Likewise.
148 (readelf.1): Likewise.
150 (strings.1): Likewise.
152 (windres.1): Likewise.
153 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
154 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
157 * doc/Makefile.in: Regenerated.
159 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
161 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
163 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
165 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
167 2001-06-29 James Cownie <jcownie@etnus.com>
169 * readelf.c: Support DWARF 2.1 attributes.
171 2001-06-28 Alan Modra <amodra@bigpond.net.au>
173 * readelf.c (GET_DATA_ALLOC): Remove.
175 (get_data): New function combining above macros, with an extra
177 (slurp_rela_relocs): Use get_data, and catch error return.
178 (slurp_rel_relocs): Likewise.
179 (get_32bit_program_headers): Likewise.
180 (get_64bit_program_headers): Likewise.
181 (get_32bit_section_headers): Likewise.
182 (get_64bit_section_headers): Likewise.
183 (get_32bit_elf_symbols): Likewise.
184 (get_64bit_elf_symbols): Likewise.
185 (process_section_headers): Likewise.
186 (process_relocs): Likewise.
187 (slurp_ia64_unwind_table): Likewise.
188 (process_unwind): Likewise.
189 (get_32bit_dynamic_segment): Likewise.
190 (get_64bit_dynamic_segment): Likewise.
191 (process_dynamic_segment): Likewise.
192 (process_version_sections): Likewise.
193 (process_symbol_table): Likewise.
194 (dump_section): Likewise.
195 (display_debug_info): Likewise.
196 (display_debug_section): Likewise.
197 (process_section_contents): Likewise.
198 (process_corefile_note_segment): Likewise.
199 (process_mips_specific): Likewise. Also free econf32, econf64.
201 2001-06-25 Alan Modra <amodra@bigpond.net.au>
203 * readelf.c (dump_relocations): Print "bad symbol index" if
204 symtab == NULL with non-zero symtab_index.
205 (process_relocs): Don't bomb if reloc section has no symsec.
207 2001-06-24 H.J. Lu <hjl@gnu.org>
209 * objcopy.c (strip_main): Revert the change made on 2001-05-30
211 (copy_main): Apply the the change made to strip_main on
212 2001-05-30 by accident.
214 2001-06-23 Andreas Jaeger <aj@suse.de>
216 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
218 (unw_decode_x2): Likewise.
219 (unw_decode_x3): Likewise.
220 (unw_decode_x4): Likewise.
222 2001-06-23 Ben Elliston <bje@redhat.com>
224 * MAINTAINERS: Add myself as M88k maintainer.
226 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
228 * objcopy.c (strip_main): Support -o or --output-file command lien
231 2001-06-19 H.J. Lu <hjl@gnu.org>
233 * doc/Makefile.in: Regenerated.
235 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
237 * readelf.c: Restore formatting.
239 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
241 * Makefile.am: Move documentation into doc subdirectory.
242 * Makefile.in: Regenerated.
243 * binutils.texi: Move into doc subdirectory.
244 * addr2line.1: Removed.
246 * dlltool.1: Likewise.
247 * nlmconv.1: Likewise.
249 * objcopy.1: Likewise.
250 * objdump.1: Likewise.
251 * ranlib.1: Likewise.
252 * readelf.1: Likewise.
254 * strings.1: Likewise.
256 * windres.1: Likewise.
257 * cxxfilt.man: Likewise.
258 * doc: New Directory.
259 * doc/Makefile.am: New file.
260 * doc/Makefile.in: Generate.
262 2001-06-09 Alan Modra <amodra@bigpond.net.au>
264 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
266 2001-06-01 Alan Modra <amodra@bigpond.net.au>
268 * MAINTAINERS: Update my email address.
270 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
272 * objcopy.c: Add new switches: --keep-global-symbol,
273 --keep-symbols, --localize-symbols, --keep-global-symbols and
275 * binutils.texi: Document new switches.
276 * objcopy.1: Regenerate.
277 * NEWS: Announce new feature.
279 2001-05-28 Andreas Jaeger <aj@suse.de>
281 * readelf.c (display_debug_frames): Fix warnings: Remove unused
282 variables, fix format strings.
284 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
286 * objdump.c (disassemble_bytes): Remove section VMA adjustment
287 when computing the address of the line to show.
289 2001-05-16 Richard Henderson <rth@redhat.com>
291 * readelf.c (do_debug_frames_interp): New.
292 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
293 (byte_get_big_endian): Likewise.
294 (parse_args) ['F']: Set do_debug_frames_interp.
295 (Frame_Chunk): Make data_factor signed, add fde_encoding.
296 (frame_display_row): Don't trunc pc_begin to int.
297 (size_of_encoded_value): New.
298 (display_debug_frames): Handle 64-bit targets. Print raw data
299 unless do_debug_frames_interp.
300 (debug_displays): Remove duplicate .debug_frame.
302 2001-05-15 Ralf Baechle <ralf@gnu.org>
304 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
305 The former constant was never in active use and is used otherwise
308 2001-05-11 Jakub Jelinek <jakub@redhat.com>
310 * readelf.c (process_unwind): Print all unwind sections, not just
313 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
315 * readelf.c (process_unwind): Remove const specifier.
317 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
319 * strings.c (isgraphic): Do not use isascii() unless it is needed
320 for isprint() to work.
321 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
323 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
325 * NEWS: Announce support for OpenRISC.
327 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
329 * dlltool.c (do_default_excludes): Initialise to true.
331 2001-04-10 Alan Modra <amodra@one.net.au>
333 * MAINTAINERS: Update my email address
334 * nm.c (print_symbol_info_bsd): Use a simple printf string.
336 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
338 * readelf.c (display_debug_lines): Fix typo for "Prologue".
340 2001-03-30 H.J. Lu <hjl@gnu.org>
342 * readelf.c (process_unwind): Just return if do_unwind is 0.
344 2001-03-28 Roger Sayle <roger@metaphorics.com>
346 * dlltool.c (make_one_lib_file): Fix section flags for
347 .text, .data and .bss in stub ds*.o files to match those
350 2001-03-29 H.J. Lu <hjl@gnu.org>
352 * readelf.c (process_unwind): Only do unwind sections for
355 2001-03-28 H.J. Lu <hjl@gnu.org>
357 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
358 * Makefile.in: Regenerate.
360 2001-03-26 Andreas Jaeger <aj@suse.de>
362 * binutils.texi (nm): Fix texi syntax.
364 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
366 * binutils.texi: Put @c man begin and @c man end indications
367 to generate man pages using texi2pod and pod2man. Put @c man title
368 to identify each man. Add SEEALSO entries.
369 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
370 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
372 (*.1): Build the man pages from binutils.texi.
373 * Makefile.in: Regenerate.
375 2001-03-13 Eric Kohl <ekohl@rz-online.de>
377 * defparse.y (opt_equal_name): allow "." in name.
378 * dlltool.c (def_exports): Added ability to generate forwarded exports.
379 (gen_exp_file): Likewise.
381 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
383 * NEWS: Document addition of -B switch to objcopy.
384 * binutils.texi: Document addition of -B switch to objcopy.
385 * objcopy.c: (copy_options): Add --binary-architecture.
386 (copy_usage): Document -B/--binary-architecture.
387 (copy_main): Support -B/--binary-architecture. Set
388 bfd_external_binary_architecture.
390 2001-03-11 Andreas Jaeger <aj@suse.de>
392 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
393 (dump_relocations): Likewise.
394 (get_machine_name): Likewise.
396 2001-02-28 Nick Clifton <nickc@redhat.com>
398 * readelf.c: (struct unw_aux_info): Remove const modifier for
400 (process_unwind): Remove non-K&R compliant LHS type cast in call
401 to GET_DATA_ALLOC macro.
403 2001-02-28 Philip Blundell <pb@futuretv.com>
405 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
406 ABI is in use; remove ambiguity between the "unknown" EABI and
407 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
408 renamed EF_xx constants.
410 2001-02-27 Alan Modra <alan@linuxcare.com.au>
412 * configure.in (BFD_VERSION): New.
413 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
414 * configure: Regenerate.
415 * Makefile.am: Run "make dep-am"
416 * Makefile.in: Regenerate.
418 2001-02-14 Nick Clifton <nickc@redhat.com>
420 * MAINTAINERS: Add "Obvious Fix" rule.
422 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
424 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
425 literal concatenation.
427 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
429 * readelf.c (struct unw_aux_info): Remove const from the info member.
430 (process_unwind): Don't type-cast the third argument to the
431 GET_DATA_ALLOC macro.
433 2001-02-11 Nick Clifton <nickc@redhat.com>
435 * readelf.c (dump_relocations): Free corrected allocated
437 (process_unwind): Fix compile time warning.
439 2001-02-10 Nick Clifton <nickc@redhat.com>
441 * binutils.texi: Document new --unwind option to readelf.
443 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
445 * readelf.c: Add linux target for S/390.
447 2001-02-10 Alan Modra <alan@linuxcare.com.au>
449 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
452 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
454 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
455 * aclocal.m4: Regenerate.
456 * configure: Regenerate.
458 2001-02-07 Todd Vierling <tv@wasabisystems.com>
460 * bucomm.c (bfd_target_vector): Change extern array to pointer.
461 * objdump.c (bfd_target_vector): Likewise.
463 2001-02-07 David Mosberger <davidm@hpl.hp.com>
465 * readelf.c (process_unwind): New function.
466 (slurp_ia64_unwind_table): Ditto.
467 (dump_ia64_unwind): Ditto.
468 (find_symbol_for_address): Ditto.
469 (slurp_rela_relocs): New function (split off from dump_relocations()).
470 (slurp_rel_relocs): Ditto.
471 (parse_args): Handle '-u' option.
473 * unwind-ia64.c: New file.
474 * unwind-ia64.h: New file.
475 * Makefile.am: Include unwind-ia64.c in readelf build.
476 * Makefile.in: Regenerate.
477 * po/binutils.pot: Regenerate.
479 2001-02-04 Philip Blundell <philb@gnu.org>
481 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
482 * configure: Regenerate.
484 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
486 * ieee.c (ieee_add_bb11): Don't check for backslashes
487 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
489 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
491 * ieee.c: Update copyright.
492 (ieee_start_compilation_unit): Don't check for backslashes
493 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
495 * stabs.c: Update copyright. Include "filenames.h".
496 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
498 2001-01-23 Jakub Jelinek <jakub@redhat.com>
500 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
501 sections are present before using them. Remove code duplication.
502 (process_symbol_table): Check if VERDEF or VERNEED sections are
503 present before using them.
505 2001-01-17 Nick Clifton <nickc@redhat.com>
507 * objcopy.c (copy_object): Fail if attempting to convert the
508 endianness of the input object file.
510 * binutils.texi: Explain that objcopy cannot convert endianness.
512 2001-01-16 Nick Clifton <nickc@redhat.com>
514 * readelf.c (string_table_length): New variable.
515 (SECTION_NAME): Catch out of range indices and missing section
517 (process_section_headers): Delete useless local variable
518 string_table_offset. Set the value of string_table_length
519 after loading the string table.
520 (process_mips_specific): Use SECTION_NAME macro.
521 (process_file): Set string_table_length to 0 when it is freed.
523 2001-01-12 Nick Clifton <nickc@redhat.com>
525 * version.c (print_version): Update copyright date.
527 2001-01-11 Peter Targett <peter.targett@arccores.com>
529 * readelf.c (dump_relocations): Include selection with EM_ARC.
530 (get_machine_name) Update name to "ARC".
532 2001-01-09 Nick Clifton <nickc@redhat.com>
534 * Makefile.am: Add rule to build objdump.o from objdump.c and
536 * Makefile.in: Regenerate.
538 * configure.in: Define OBJDUMP_DEFS. Default to empty.
539 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
540 -DDISASSEMBLER_NEEDS_RELOCS.
541 * configure: Regenerate.
543 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
544 is defined read in the relocs even if dump_reloc_info is
547 2001-01-07 Philip Blundell <philb@gnu.org>
549 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
553 2000-12-19 Nick Clifton <nickc@redhat.com>
555 * dlltool.c: Add missing support for arm-epoc-pe.
556 * configure.in: Add missing support for arm-epoc-pe.
557 * configure: Regenerate.
559 2000-12-15 Nick Clifton <nickc@redhat.com>
561 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
562 Mode parts of the x86 port.
564 2000-12-04 Andreas Jaeger <aj@suse.de>
566 * readelf.c (guess_is_rela): Add EM_X86_64.
567 (dump_relocations): Add EM_X86_64.
568 (get_machine_name): Add EM_X86_64.
569 Include "elf/x86-64.h".
571 2000-12-12 Nick Clifton <nickc@redhat.com>
573 * readelf.c: Fix formatting.
575 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
577 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
579 2000-12-07 Andrew Haley <aph@redhat.com>
581 * readelf.c (display_debug_frames): Only display columns that are
582 referenced by the frame debug info.
584 2000-12-05 Nick Clifton <nickc@redhat.com>
586 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
588 2000-12-04 Jason Merrill <jason@redhat.com>
590 * readelf.c (process_section_headers): Handle linkonce.wi sections.
591 (display_debug_section): Likewise.
592 (display_debug_info): Display CU header before bailing.
594 2000-12-01 Chris Demetriou <cgd@sibyte.com>
596 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
597 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
598 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
600 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
603 * readelf.c (get_machine_flags): Add case for
606 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
608 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
610 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
612 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
613 Change sourceware.cygnus.com to sources.redhat.com.
614 Fix typo for "amongst".
616 2000-11-28 Nick Clifton <nickc@redhat.com>
618 * strip.1 (COPYING): Mention that the GNU Free Documentation
619 License is present in the sources, but not the output, and
620 also available from the GNU website.
621 (GNU Free Documentation License): Comment out this section.
630 * addr2line.1: Ditto.
632 2000-11-27 DJ Delorie <dj@redhat.com>
634 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
635 (parse_args): Support -wf option.
636 (process_section_headers): Ditto.
637 (debug_displays): Ditto.
638 (display_debug_frames): New, dump *_frame sections.
639 (frame_need_space): Support for above.
640 (frame_display_row): Ditto.
641 * binutils.texi: Document it.
643 2000-11-24 Nick Clifton <nickc@redhat.com>
645 * NEWS: Announce support for v5t, v5te and XScale.
647 2000-11-22 Nick Clifton <nickc@redhat.com>
649 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
650 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
651 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
652 (get_elf_section_flags: Add SHF_GROUP.
653 (process_section_headers): Adjust output for 32-bit binaries
654 to look nice on an 80 column terminal.
656 2000-11-20 H.J. Lu <hjl@gnu.org>
658 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
661 2000-11-17 Richard Henderson <rth@redhat.com>
663 * readelf.c (display_debug_lines): Adjust last change to
664 use sizeof (external->li_length).
666 2000-11-17 Richard Henderson <rth@redhat.com>
668 * readelf.c (display_debug_lines): Fix section length check
669 and end_of_sequence computation.
671 2000-11-06 Nick Clifton <nickc@redhat.com>
673 * binutils.texi: Add GNU Free Documentation License.
674 * objcopy.1: Add GNU Free Documentation License.
675 * objdump.1: Add GNU Free Documentation License.
676 * addr2line.1: Add GNU Free Documentation License.
677 * ar.1: Add GNU Free Documentation License.
678 * nlmconv.1: Add GNU Free Documentation License.
679 * nm.1: Add GNU Free Documentation License.
680 * ranlib.1: Add GNU Free Documentation License.
681 * size.1: Add GNU Free Documentation License.
682 * strings.1: Add GNU Free Documentation License.
683 * strip.1: Add GNU Free Documentation License.
685 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
687 * objcopy.c (--srec-len=nn): New parameter to set the
688 maximum length of generated Srecords.
689 (--srec-forceS3): New parameter that restricts the generation of
690 Srecords to type S3 only.
691 * binutils.texi: Document new command line switches.
692 * objcopy.1: Docuemnt the new command line switches.
693 * NEWS: Announce the existence of the new command line switches.
695 2000-10-31 Nick Clifton <nickc@redhat.com>
697 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
698 code. Add Eric Chrisopher as maintainer of MN10300 port.
700 2000-10-12 Roger Sayle <roger@metaphorics.com>
702 * Make comma after string after icon/control optional.
704 2000-09-13 Anders Norlander <anorland@acc.umu.se>
706 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
708 * NEWS: Mention support for MIPS32.
710 2000-09-08 Nick Clifton <nickc@redhat.com>
712 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
714 2000-09-07 H.J. Lu <hjl@gnu.org>
716 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
717 * configure: Rebuild.
719 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
721 * configure: Rebuilt with new libtool.m4.
723 2000-09-05 Nick Clifton <nickc@redhat.com>
725 * aclocal.m4: Regenerate.
726 * config.in: Regenerate.
727 * configure: Regenerate.
729 2000-09-04 Todd Vierling <tv@wasabisystems.com>
731 * strip.1: Fix stray '\' in -o formatting.
733 2000-09-02 Nick Clifton <nickc@redhat.com>
735 * configure.in: Increase version number to 2.10.91.
736 * configure: Regenerate.
737 * aclocal.m4: Regenerate.
738 * config.in: Regenerate.
739 * po/binutils.pot: Regenerate.
741 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
743 * acinclude.m4: Include libtool and gettext macros from the
745 * aclocal.m4, configure: Rebuilt.
747 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
749 * resrc.c (close_input_stream): Delete extraneous logic
751 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
753 * NEWS: Mention support for CRIS.
755 2000-08-21 Nick Clifton <nickc@redhat.com>
757 * addr2line.c: Changed email address for Ulrich Lauther.
759 2000-08-17 Christopher C. Chimelis <chris@debian.org>
761 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
763 2000-08-17 Nick Clifton <nickc@redhat.com>
765 * readelf.c (display_debug_pubnames): Only issue warning
766 message once. Terminate message with a new line.
767 (display_debug_aranges): Only display version 2 debug info.
769 2000-08-14 Todd Vierling <tv@wasabisystems.com>
771 * objcopy.c (strip_main): Silently accept -d as an alias for -g
772 for compatability with old BSD systems.
774 2000-08-14 Jason Eckhardt <jle@cygnus.com>
776 * NEWS: Mention i860 support.
778 2000-08-11 Carlo Wood <carlo@alinoe.com>
780 * addr2line.c (main): Add const to char *.
782 2000-08-11 Geoff Keating <geoffk@cygnus.com>
784 * ar.c (main): Don't crash if called with no arguments
785 or only '-X32_64' as an argument.
787 2000-08-08 DJ Delorie <dj@redhat.com>
789 * resrc.c: use "gcc -xc" instead of -xc-header
791 2000-08-05 Jason Eckhardt <jle@cygnus.com>
793 * readelf.c (elf/i860.h): Include.
794 (dump_relocations): Add recognition of i860 architecture.
795 (guess_is_rela): Add recognition of i860 architecture.
797 2000-08-03 Nick Clifton <nickc@cygnus.com>
799 * MAINTAINERS: Add information about CGEN maintainers.
801 2000-07-26 Geoff Keating <geoffk@cygnus.com>
803 * nm.c (main): Ignore '-X32_64' as an option.
804 * ar.c (main): Likewise.
805 * binutils.texi (nm): Document new option.
808 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
810 * rdcoff.c (external_coff_symbol_p): K&R-ise.
812 2000-07-20 H.J. Lu <hjl@gnu.org>
814 * binutils.texi: Put back "@end table" deleted by
817 2000-07-05 Kenneth Block <krblock@computer.org>
819 * nm.c: Add optional style to demangle switch.
820 * objdump.c: Add optional style to demangle switch.
821 * addr2line.c: Add optional style to demangle switch.
822 * binutils.texi: Document optional style to demangle
825 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
827 * MAINTAINERS: Add self as CRIS port maintainer.
828 * readelf.c: Include elf/cris.h.
829 (guess_is_rela): Handle EM_CRIS.
830 (dump_relocations): Ditto.
831 (get_machine_name): Ditto.
832 * Makefile.am: Rebuild dependencies.
833 * Makefile.in: Regenerate.
834 * po/binutils.pot: Regenerate.
836 2000-07-19 H.J. Lu <hjl@gnu.org>
838 * readelf.c (get_dynamic_type): Change "AUXILARY" to
840 (process_dynamic_segment): Print out strings for DT_CONFIG,
841 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
843 2000-07-19 Mark Kettenis <kettenis@gnu.org>
845 * nm.c (usage): Change output of `nm --help' to include a
846 description of the purpose of the program and a detailed
847 description of the accepted options.
849 2000-07-19 H.J. Lu <hjl@gnu.org>
851 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
854 2000-07-19 H.J. Lu <hjl@gnu.org>
856 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
858 2000-07-19 H.J. Lu <hjl@gnu.org>
860 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
862 (process_dynamic_segment): Likewise.
864 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
865 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
866 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
867 DF_1_NODUMP and DF_1_CONLFAT.
869 2000-07-18 Nick Clifton <nickc@cygnus.com>
871 * binutils.texi (readelf): Fix spelling typo.
873 2000-07-11 Mark Kettenis <kettenis@gnu.org>
875 * objdump.c (usage): Make output of `objdump --help' more
876 consistent with the rest of the GNU world. Add a line describing
877 the purpose of the program.
879 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
881 * stabs.c (parse_stab_range_type): Cast to proper type to fix
884 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
886 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
888 (process_symbol_table): Ditto.
889 (procesS_extended_line_op): Ditto.
890 (display_debug_lines): Ditto.
891 (display_debug_pubnames): Ditto.
892 (read_and_display_attr): Ditto.
894 2000-07-09 Nick Clifton <nickc@cygnus.com>
896 * MAINTAINERS: Add several more port specific maintainers.
898 2000-07-05 Nick Clifton <nickc@cygnus.com>
900 * MAINTAINERS: Add blanket write privs for Michael Meissner.
902 2000-06-05 DJ Delorie <dj@redhat.com>
906 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
908 * dllwrap.c: Changed mistaken dyn_string_append() calls
909 to dyn_string_append_cstr().
911 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
913 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
914 struct debug_type stores size in bytes.
916 2000-07-01 Alan Modra <alan@linuxcare.com.au>
918 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
919 (CLEANFILES): Add DEPA.
920 * Makefile.in: Regenerate.
922 2000-06-27 Alan Modra <alan@linuxcare.com.au>
924 * ar.c: Revert incorrect 2000-06-25 patch.
925 * bucomm.c: Likewise.
927 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
929 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
930 (external_coff_symbol_p): New function.
931 (parse_coff): Use it.
933 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
935 * ar.c (normalize): Advance past both characters in a DOS based
936 <letter>: filepath prefix.
938 * bucomm.c (make_tempname): Likewise.
940 2000-06-24 Nick Clifton <nickc@cygnus.com>
942 * objdump.c (usage): Fix description of --stabs switch.
944 2000-06-22 Alan Modra <alan@linuxcare.com.au>
946 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
948 * Makefile.in: Regenerate.
950 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
952 * ar.c (normalize): Correct pointer comparison when checking for
955 * bucomm.c (make_tempname): Likewise.
957 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
958 and search for backslashes in the original pathname.
959 (ieee_add_bb11): Likewise.
961 2000-06-18 Nick Clifton <nickc@redhat.com>
963 * ar.c (print_contents): Improve verbose message.
965 2000-06-15 H.J. Lu <hjl@gnu.org>
967 * dyn-string.c: Removed. Not needed with dyn-string.c in
969 * dyn-string.h: Likewise.
971 * Makefile.am: Remove references to dyn-string.c and
972 dyn-string.h. Rebuild dependency.
973 * Makefile.in: Rebuild.
975 2000-06-15 H.J. Lu <hjl@gnu.org>
977 * binutils.texi: Put a warning on copying relocatable object
978 files between two different formats.
980 2000-06-13 DJ Delorie <dj@cygnus.com>
982 * rcparse.y (control): ICON controls take an id as the first
983 parameter, not an optional string. Also, call new convenience
984 function that takes res_id's.
985 * resrc.c (define_control): missing text means zero-length string,
987 (define_icon_control): New.
988 * windres.h: declare define_icon_control.
990 2000-06-13 H.J. Lu <hjl@gnu.org>
992 * configure: Regenerate.
994 2000-06-08 David O'Brien <obrien@FreeBSD.org>
996 * configure.in (VERSION): Update to show this is the CVS mainline.
998 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1000 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1001 analogous to <SPACE>.
1003 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1005 * objdump.c (display_target_list): Use bfd_close_all_done, not
1006 bfd_close to fix crash caused by 2000-05-24 change.
1008 2000-05-25 DJ Delorie <dj@cygnus.com>
1010 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1012 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1014 * Makefile.am: Update dependencies with "make dep-am"
1015 * Makefile.in: Regenerate.
1017 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1019 * ar.c: Include filenames.h.
1020 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1021 and drive letters in file names.
1022 (main): Support backslashes and drive letters in argv[0]. Drop
1023 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1024 FILENAME_CMP instead of strcmp to compare file names.
1025 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1027 (do_quick_append) [__GO32__]: Ditto.
1028 (get_pos_bfd, delete_members, move_members, replace_members):
1029 Compare file names with FILENAME_CMP.
1031 * bucomm.c: Include filenames.h.
1032 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1033 forward/backward slashes and drive letters in file names.
1035 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1036 mixed forward/backward slashes and drive letters in file names.
1038 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1039 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1042 * objcopy.c: Include filenames.h.
1043 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1044 before comparing to "strip".
1045 Use FILENAME_CMP to compare file names.
1047 * arsup.c: Include filenames.h.
1048 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1049 FILENAME_CMP to compare file names.
1050 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1051 the temporary file name.
1053 * configure.in: Check for setmode.
1054 * configure: Regenerate.
1056 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1058 * objdump.c (display_target_list): Close the bfd.
1059 (display_info_table): Likewise.
1061 2000-05-14 H.J. Lu (hjl@gnu.org)
1063 * objcopy.c (filter_symbols): Don't strip global symbols in
1064 relocatable object files.
1066 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1068 * size.c (usage): Associate short options with corresponding long
1069 option to give a clue as to their function.
1071 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1073 * size.c (main): Accept and ignore `-f' option.
1075 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1077 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1078 bindtextdomain): Replace defines with those from intl/libgettext.h
1079 to quieten gcc warnings.
1081 2000-05-12 H.J. Lu <hjl@gnu.org>
1083 * nlmconv.c (temp_filename): Removed.
1085 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1086 choose_temp_base ().
1087 * objdump.c (display_target_list): Likewise.
1088 (display_info_table): Likewise.
1090 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1092 * objcopy.c (setup_section): Add const and gettext calls for err.
1094 2000-05-02 H.J. Lu <hjl@gnu.org>
1096 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1097 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1098 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1099 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1100 and ELFOSABI_OPENBSD.
1102 2000-05-02 Kazu Hirata <kazu@hxi.com>
1104 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1105 * srconv.c: Likewise.
1106 * sysdump.c: Likewise.
1108 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
1110 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1111 (get_machine_name): machine name for EM_AVR added.
1113 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1114 David Mosberger <davidm@hpl.hp.com>
1116 * Makefile.am (readelf.o): Add elf/ia64.h.
1117 * Makefile.in: Rebuild.
1118 * readelf.c: Include elf/ia64.h.
1119 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1121 2000-04-17 Timothy Wall <twall@cygnus.com>
1123 * objdump.c (disassemble_data): Set octets per byte *after*
1124 resolving arch/mach for binary files.
1126 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1128 * arlex.l: Add directives to increase lex buffer size.
1130 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1131 already included by bucomm.h.
1133 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1135 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1136 `strftime' since strftime is not available on all systems.
1137 (process_mips_specific): Ditto.
1139 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1141 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1142 --enable-build-warnings option.
1143 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1144 * Makefile.in, configure: Re-generate.
1146 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1148 * addr2line.c: Update copyright.
1149 * objcopy.1: Likewise, and title.
1150 * strings.1: Likewise.
1152 * version.c (print_version): Add 2000.
1154 * rddbg.c (read_section_stabs_debugging_info): Don't use
1155 bfd_size_type for strx to avoid printf problems if BFD64.
1157 * bucomm.c: (report): Remove `static'.
1158 Move inclusion of stdarg.h/vararg.h from here.
1159 * bucomm.h: To here.
1160 (CONST): Change all occurences to const.
1161 (report): Declare it.
1162 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1163 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1164 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1166 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1167 Correct a typo in an error message.
1168 (do_quick_append): Use non_fatal instead of fprintf.
1169 (move_members): Use fatal instead of fprintf, exit.
1170 * coffdump.c (main): Same here.
1172 * dlltool.c (display): Delete.
1174 (inform): Use `report' instead of `display'.
1175 (rvaafter): Remove trailing \n from fatal error msg.
1177 (asm_prefix): Ditto.
1178 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1179 (def_name): Likewise.
1181 (scan_all_symbols): Likewise.
1182 (gen_lib_file): Likewise.
1183 (def_library): Likewise. Remove extra program_name too.
1184 (run): Remove \n from inform strings.
1185 (scan_drectve_symbols): Likewise.
1186 (add_excludes): Likewise.
1187 (scan_open_obj_file): Likewise.
1188 (gen_exp_file): Likewise.
1189 (gen_lib_file): Likewise.
1190 (process_duplicates): Likewise.
1192 * Makefile.am (dllwrap_SOURCES): Add version.c.
1193 * dllwrap.c (program_version): Delete.
1194 (print_version): Delete.
1195 (display): Always print trailing \n.
1197 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1200 (usage): gettext'ify.
1201 (long_options): Add missing initialisers.
1203 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1204 (select_output_format): Likewise.
1205 (powerpc_mangle_relocs): Likewise.
1206 (link_inputs): Likewise.
1208 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1209 (set_output_format): Likewise.
1210 (main): Use non_fatal instead of fprintf.
1211 (display_rel_file): Likewise.
1213 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1214 (slurp_dynamic_symtab): Same here.
1215 (disassemble_data): And here.
1216 (read_section_stabs): And here.
1217 (read_section_stabs): And here.
1218 (dump_bfd): And here.
1220 (objdump_sprintf): Use fatal instead of fprintf, exit.
1221 (disassemble_data): Same here.
1223 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1224 (parse_coff_struct_type): Same here.
1225 (parse_coff_enum_type): And here.
1226 (parse_coff): And here.
1227 * rddbg.c (read_debugging_info): And here.
1228 * size.c (main): And here.
1229 * windres.c (format_from_name): And here.
1230 * wrstabs.c (stab_write_symbol): Here too.
1231 (write_stabs_in_sections_debugging_info): And here.
1232 (stab_int_type): And here.
1233 (stab_struct_field): And here.
1234 (stab_typdef): And here.
1236 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1237 * srconv.c (main): Same here.
1238 * strings.c (main): And here.
1239 (integer_arg): And here.
1240 * sysdump.c (main): And here.
1242 2000-04-06 Timothy Wall <twall@cygnus.com>
1244 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1246 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1248 * readelf.c (decode_location_expression): Loop through multiple
1250 (read_and_display_attr): Pass in length.
1252 * readelf.c (read_and_display_attr): Add CU offset to references.
1253 (display_debug_info): Pass it in.
1255 2000-04-06 Nick Clifton <nickc@cygnus.com>
1257 * readelf.c (decode_ARM_machine_flags): New function.
1258 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1261 (get_machine_name): Catch EM_AVR
1263 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1265 * binutils.texi: Remove optional `=' from long options that have
1266 an `=' in the argument.
1267 * objcopy.1: Here too. Remove extra space on discard-all.
1269 * binutils.texi (objcopy): Mention --redefine-sym.
1270 * objcopy.1: Here too.
1273 * objcopy.c (parse_flags): Split off flag names from error message
1274 gettext as they are not translated.
1275 (copy_main): Similarly split off option name for --add-section,
1276 --set-section-flags, --change-section-vma, --change-section-lma
1278 Some white space changes.
1280 from Matthew Benjamin <matt@linuxbox.nu>
1281 * objcopy.c (struct redefine_node): New.
1282 (redefine_sym_list): New.
1283 (redefine_list_append): New.
1284 (lookup_sym_redefinition): New.
1285 (OPTION_REDEFINE_SYM): New.
1286 (copy_options): Add --redefine-sym option.
1287 (copy_usage): Mention it.
1288 (filter_symbols): Rename symbols on redefine_sym_list.
1289 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1290 (copy_main): Handle OPTION_REDEFINE_SYM.
1292 2000-04-04 H.J. Lu <hjl@gnu.org>
1294 * readelf.c (process_symbol_table): Correctly read in symbol
1295 versioning information.
1297 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1299 * po/binutils.pot: Regenerate.
1301 * addr2line.c (usage): Restore translated part of bug string.
1302 * ar.c (usage): Likewise.
1303 * nlmconv.c (show_usage): Likewise.
1304 * nm.c (usage): Likewise.
1305 * objcopy.c (copy_usage): Likewise.
1306 (strip_usage): Likewise.
1307 * objdump.c (usage): Likewise.
1308 * readelf.c (usage): Likewise.
1309 * size.c (usage): Likewise.
1310 * strings.c (usage): Likewise.
1311 * windres.c (usage): Likewise.
1313 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1314 (DEP): Quote when passing vars to sub-make. Add warning
1316 (DEP1): Rewrite for "gcc -MM".
1317 (CLEANFILES): Add DEP2.
1318 Update dependencies.
1319 * Makefile.in: Regenerate.
1321 2000-04-04 H.J. Lu <hjl@gnu.org>
1323 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1324 (arparse.h): Depend on arparse.c
1325 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1327 2000-04-03 H.J. Lu (hjl@gnu.org)
1329 * size.c (usage): Use REPORT_BUGS_TO.
1331 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1333 * bucomm.h: #include "bin-bugs.h"
1334 * addr2line.c (usage): Use REPORT_BUGS_TO.
1335 * ar.c (usage): Likewise.
1336 * nlmconv.c (show_usage): Likewise.
1337 * nm.c (usage): Likewise.
1338 (OPTION_TARGET): Define.
1339 (long_options): Use OPTION_TARGET rather than 200.
1342 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1343 (strip_usage): Likewise.
1344 * objdump.c (usage): Likewise.
1345 * readelf.c (usage): Likewise.
1346 * strings.c (usage): Likewise.
1347 * windres.c (usage): Likewise.
1349 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1351 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1353 2000-03-27 Nick Clifton <nickc@cygnus.com>
1355 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1356 string offsets in corrupt stabs entries.
1358 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1360 * readelf.c: Include elf/avr.h
1361 (dump_relocations): Add EM_AVR case.
1363 2000-03-09 Tim Waugh <twaugh@redhat.com>
1365 * strings.1: Correct '-bytes' to '--bytes'.
1367 2000-03-08 H.J. Lu <hjl@gnu.org>
1369 * Makefile.am (install-exec-local): Depend on
1370 install-binPROGRAMS for parallel make.
1371 * Makefile.in: Regenerated.
1373 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1375 From Brad Lucier <lucier@math.purdue.edu>:
1376 * readelf.c (process_dynamic_segment): Add cast to make sure
1377 argument to %* is int.
1379 2000-02-25 H.J. Lu <hjl@gnu.org>
1381 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1383 2000-02-24 Nick Clifton <nickc@cygnus.com>
1385 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1386 * configure: Regenerate.
1388 * dlltool.c: Add support for sh-pe and mips-pe targets.
1389 * rescoff.c: Add support for sh-pe and mips-pe targets.
1391 2000-02-23 H.J. Lu <hjl@gnu.org>
1393 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1395 2000-02-22 Nick Clifton <nickc@cygnus.com>
1397 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1399 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1401 From Brad Lucier <lucier@math.purdue.edu>:
1402 * readelf.c (process_version_sections): Add casts to make sure
1403 argument to %* is an int.
1404 (process_mips_specific): Add casts to make printf arguments match
1407 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1409 * objdump.c (dump_section_header): Change `opb' to unsigned.
1410 (find_symbol_for_address): Same here.
1411 (disassemble_data): And here. Change `addr_offset',
1412 `stop_offset', `nextstop_offset' to unsigned long.
1413 (dump_data): Change opb to unsigned.
1415 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1417 * resrc.c: Remove unmatched #if for cygwin.
1419 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1421 * binutils.texi: Document the change of flavor name from atpcs-special
1422 to special-atpcs to prevent name conflict in gdb.
1424 2000-02-08 Timothy Wall <twall@redhat.com>
1426 * objdump.c (show_line): Fix bug preventing printing of the very
1427 first line (line zero) of a file when interlisting source and
1428 assembly. Added option to print entire context from start of file
1429 when the first line from that file is encountered.
1431 2000-02-03 Timothy Wall <twall@redhat.com>
1433 * objdump.c (dump_section_header, find_symbol_for_address,
1434 show_line, disassemble_bytes, disassemble_data, dump_data):
1435 distinguish between octets and bytes.
1437 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1439 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1440 check to unresolved symbols.
1441 (print_symbol_info_sysv): Ditto.
1442 (print_symbol_info_posix): Ditto.
1444 * binutils.texi: Document new 'V' symclass flag for nm.
1446 2000-01-27 Nick Clifton <nickc@redhat.com>
1448 * binutils.texi (objdump): Document new ARM specific
1449 disassembler options.
1451 * objdump.c (usage): Call disassembler_usage().
1453 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1455 * readelf.c (get_dynamic_flags): Return buff.
1456 (process_dynamic_segment): Don't pass error strings to printf
1458 (read_and_display_attr): Use lx and ld to print longs.
1459 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1463 2000-01-17 Nick Clifton <nickc@cygnus.com>
1465 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1467 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1469 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1471 (debug_tag_type): Here too.
1472 * ieee.c (ieee_builtin_type): And here.
1473 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1475 2000-01-13 Nick Clifton <nickc@cygnus.com>
1477 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1480 2000-01-11 Nick Clifton <nickc@cygnus.com>
1482 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1484 2000-01-10 Nick Clifton <nickc@cygnus.com>
1486 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1488 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1490 * windres.c (long_options): Add --use-temp-file and
1491 --no-use-temp-file options.
1495 * windres.h: Update read_rc_file prototype.
1497 * resrc.c (cpp_temp_file): New static variable.
1498 (istream_type): New static variable.
1499 (close_pipe): Delete function.
1500 (run_cmd): New static function.
1501 (open_input_stream): New static function.
1502 (close_input_stream): New static function.
1503 (look_for_default): Handle DOS directory separator. Use
1504 open_input_stream instead of popen.
1505 (read_rc_file): Likewise.
1507 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1510 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1512 * dlltool.c (create_compat_implib): New variable.
1513 (gen_exp_file): Use.
1514 (make_one_lib_file): Use.
1515 (long_options): Add --compat-implib option.
1519 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1520 (main): Use. Don't look for "32" in cygwin and mingw target names.
1522 2000-01-03 Nick Clifton <nickc@cygnus.com>
1524 * binutils.texi: Document new, ARM specific disassembler
1525 command line switch "-M force-thumb".
1527 For older changes see ChangeLog-9899
1533 version-control: never