1 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
3 * configure.in: Check for strcoll.
4 * configure: Regenerate.
5 * config.in: Regenerate.
6 * nm.c (main): Set locale for LC_COLLATE category.
7 (non_numeric_forward): Use strcoll if available.
9 2002-06-20 Dave Brolley <brolley@redhat.com>
11 * MAINTAINERS: Add self as fr30 and frv maintainer.
13 2002-06-18 H.J. Lu (hjl@gnu.org)
15 * nm.c: Include "elf/common.h".
16 (extended_symbol_info): Add elfinfo, a pointer to
18 (SYM_SIZE): Use elfinfo if it is not NULL.
19 (get_symbol_type): New function.
20 (display_archive): Set print_width for each archive member.
21 (display_file): Likewise.
22 (display_rel_file): Don't set print_width here.
23 (print_object_filename_sysv): Handle print_width.
24 (print_archive_member_sysv): Likewise.
25 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
26 (print_symbol): Set the elfinfo field in extended_symbol_info
28 (print_object_filename_sysv): Fix the output format.
29 (print_symbol_info_sysv): Print type and section for ELF.
31 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
33 * nm.c (print_size_symbols): Remove assignment, which makes
34 the symbol's size equal to its value when --size-sort is
37 2002-06-18 Dave Brolley <brolley@redhat.com>
40 * readelf.c (elf/frv.h): #include it.
41 (guess_is_rela): Support EM_CYGNUS_FRV.
42 (dump_relocations): Ditto.
43 (get_machine_name): Ditto.
44 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
46 2002-06-18 Jakub Jelinek <jakub@redhat.com>
48 * readelf.c (get_file_header): Only read the first section header if
51 2002-06-15 H.J. Lu (hjl@gnu.org)
53 * nm.c (print_size): New variable. Initialize to 0.
54 (long_options): Add 'S'/"print-size".
56 (print_symbol_info_bsd): Print size only if print_size is not
59 * doc/binutils.texi: Document -S/--print-size.
61 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
63 * nm.c (struct extended_symbol_info): New strcuture: Add the size
64 of the symbols to the information provided by the symbol_info
66 (print_symbols): Pass the symbol size to print_symbol.
67 (print_size_symbols): Pass the symbol size to print_symbol.
68 (print_symbol): Extra argument: The size of the symbol. Store
69 this in the extended_symbol_info structure.
70 (print_symbol_info): Change type of info parameter to
71 extended_symbol_info. Display the size, if known.
72 (print_symbol_info_posix): Likewise.
73 (print_symbol_info_sysv): Likewise.
75 2002-06-08 Alan Modra <amodra@bigpond.net.au>
77 * Makefile.am: Run "make dep-am".
78 * Makefile.in: Regenerate.
79 * doc/Makefile.in: Regnerate.
81 * bucomm.c: Replace CONST with const.
83 * objdump.c: Likewise.
85 2002-06-07 H.J. Lu <hjl@gnu.org>
87 * readelf.c (DW_CFA_GNU_args_size): Don't define.
88 (DW_CFA_GNU_negative_offset_extended): Likewise.
89 (DW_CFA_GNU_window_save): Likewise.
90 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
91 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
93 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
95 * nm.c: When computing size of symbols for an ELF target use the
98 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
100 * testsuite/binutils-all/objcopy.exp: clear xfail for
102 * testsuite/binutils-all/hppa/objdump.exp: Return if
105 2002-06-05 Alan Modra <amodra@bigpond.net.au>
107 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
109 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
111 * objdump.c: Fix formatting.
113 2002-05-29 Ben Elliston <bje@redhat.com>
115 * MAINTAINERS: Add self as M68k maintainer.
117 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
119 * readelf.c: Modified/Added DLX elf support.
121 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
123 * arsup.c: Fix formatting.
124 * debug.c (debug_record_label): Add missing colon to error
126 * ieee.c (parse_ieee_ty): Fix spelling typo.
127 * readelf.c (process_program_headers): Remove English assumption
128 about making a plural word.
129 (process_section_headers): Likewise.
130 (process_relocs): Allow quotes to be translated.
131 (process_unwind): Likewise,
132 (process_mips_specific): Improve error message.
133 (get_note_type): Fix spelling typo.
135 * configure.in (ALL_LINGUAS): Add sv
136 * po/sv.po: New file.
138 2002-05-27 Alan Modra <amodra@bigpond.net.au>
140 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
141 (unw_print_grmask): Likewise.
142 (unw_print_frmask): Likewise.
144 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
146 * arsup.c: Remove ARGSUSED.
149 * nlmconv.c: Likewise.
152 * wrstabs.c: Likewise.
154 2002-05-25 Alan Modra <amodra@bigpond.net.au>
156 * arlex.l: Use #include "" instead of <> for local header files.
157 * coffdump.c: Likewise.
158 * coffgrok.c: Likewise.
159 * nlmconv.c: Likewise.
160 * nlmheader.y: Likewise.
161 * srconv.c: Likewise.
162 * strings.c: Likewise.
163 * sysdump.c: Likewise.
164 * unwind-ia64.h: Likewise.
165 * windres.h: Likewise.
166 * winduni.h: Likewise.
168 2002-05-24 Tom Rix <trix@redhat.com>
170 * MAINTAINERS: Add self as the d10v maintainer.
172 2002-05-24 TAMURA Kent <kent@netbsd.org>
174 * configure.in: Builds dlltool for i386-netbsdpe.
175 * configure: Regenerate.
177 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
179 * size.c: Fix formatting.
180 * srconv.c: Likewise.
182 * sysdump.c: Likewise.
183 * unwind-ia64.c: Likewise.
184 * wrstabs.c: Likewise.
186 2002-05-23 Jakub Jelinek <jakub@redhat.com>
188 * readelf.c (get_segment_type): Add PT_TLS.
189 (get_elf_section_flags): Add SHF_TLS.
190 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
191 (process_dynamic_segment): Use puts instead of printf.
192 (get_symbol_type): Support STT_TLS.
193 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
194 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
195 Add SEC_THREAD_LOCAL.
197 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
199 * rdcoff.c: Fix formatting.
201 * readelf.c: Likewise.
202 * rename.c: Likewise.
203 * resbin.c: Likewise.
205 * resres.c: Likewise.
207 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
209 * filemode.c: Fix formatting.
211 * is-ranlib.c: Likewise.
212 * is-strip.c: Likewise.
213 * maybe-ranlib.c: Likewise.
214 * maybe-strip.c: Likewise.
215 * nlmconv.c: Likewise.
217 * not-ranlib.c: Likewise.
218 * not-strip.c: Likewise.
219 * objcopy.c: Likewise.
220 * objdump.c: Likewise.
222 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
224 * objdump.c (dump_headers): Fix output formatting for ELF32
225 architectures in a BFD64 enabled toolchain.
227 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
229 * debug.c: Fix formatting.
231 * dlltool.c: Likewise.
232 * dllwrap.c: Likewise.
233 * emul_aix.c: Likewise.
234 * emul_vanilla.c: Likewise.
236 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
238 * addr2line.c: Fix formatting.
242 * binemul.c: Likewise.
243 * binemul.h: Likewise.
244 * bucomm.c: Likewise.
245 * coffdump.c: Likewise.
246 * coffgrok.c: Likewise.
247 * coffgrok.h: Likewise.
249 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
251 * MAINTAINERS: Add myself as the second AVR port maintainer.
253 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
255 * MAINTAINERS: Update my email address.
257 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
259 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
261 2002-05-09 Alan Modra <amodra@bigpond.net.au>
263 * configure.in: Replace `*pe' with `pe' throughout.
264 * configure: Regenerate.
266 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
268 * Makefile.am: Honour DESTDIR.
269 * Makefile.in: Regenerate.
271 2002-05-06 Alan Modra <amodra@bigpond.net.au>
273 * dlltool.c (process_def_file): Add missing prototype.
274 (new_directive, assemble_file, main): Likewise.
275 (process_def_file, new_directive): Make static.
276 (inform): Rewrite using VA_FIXEDARG.
277 * dllwrap.c (mybasename): Add missing prototype.
278 (strhash, main): Likewise.
279 (inform): Rewrite using VA_FIXEDARG.
281 (cleanup_and_exit): Use old style function definition.
283 * windres.c (define_resource): Use one memset to clear all of
286 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
287 call to rules that need no lookahead. Check for no lookahead.
289 2002-05-06 Borut Razem <borut.razem@siol.net>
291 * rclex.l (get_string): Correct "strings" list handling.
292 * resrc.c (read_rc_file): Discard strings.
294 2002-05-04 Alan Modra <amodra@bigpond.net.au>
296 * ar.c (replace_members): Remove unused var. Formatting fix.
297 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
299 * MAINTAINERS: Sort port maintainers by CPU.
301 2002-05-04 Bob Byrnes <byrnes@curl.com>
303 * size.c (display_archive): Add last_arfile and code to close archives.
305 2002-05-01 Alan Modra <amodra@bigpond.net.au>
307 * nm.c (print_symbol): Check returned filename from
308 bfd_find_nearest_line is non-NULL.
310 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
312 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
314 2002-04-24 Christian Groessler <chris@groessler.org>
316 * MAINTAINERS: Changed my email address.
318 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
320 * arparse.y: Fix syntax warning.
322 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
324 * readelf.c (fetch_location_list): Remove unused function.
326 * readelf.c (process_corefile_note_segment): Catch corrupt notes
327 and display a warning message, then exit the loop.
329 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
331 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
333 * resrc.c (write_rc_dialog): If charset is non-default value
334 display all of the DIALOGEX parameters.
336 2002-04-15 Eric Kohl <ekohl@rz-online.de>
338 * rcparse.y: Allow two to five parameter in FONT statement of
340 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
342 (res_to_bin_dialog): Likewise.
343 * windres.h: Added misssing charset variable to dialog_ex
346 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
348 * rcparse.y: Set MEMFLAG_PURE by default.
350 2002-04-09 Bernd Herd <info@herdsoft.com>
352 * rcparse.y: CLASS definitions in DIALOG resources
354 Fix typo in BEDIT warning.
355 Don't add default dialog style when explicit style specified.
356 Add WS_CAPTION dialog style if CAPTION is specified.
358 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
359 (handle_quotes) "\a" escape (used for right justified key
360 definitions in menus) is encodes as binary 8.
362 * resrc.c (write_rc_dialog): Print style even if it is 0.
363 (write_rc_directory): Fix overlooked sublang shift bug.
364 (bin_to_res_dialog): Don't print empty dialog caption.
366 * resbin.c (bin_to_res_dialog): Use signature to identify
369 * windres.c (main): Set default LANGUAGE to english/us.
371 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
373 * resrc.c: print CLASS names in quotes
375 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
377 * MAINTAINERS: Update my email address.
379 2002-04-04 Alan Modra <amodra@bigpond.net.au>
381 * dep-in.sed: Cope with absolute paths.
382 * Makefile.am (dep.sed): Subst TOPDIR.
384 * Makefile.in: Regenerate.
386 2002-03-27 Peter Targett <peter.targett@arc.com>
388 * MAINTAINERS: Update my email address.
390 2002-03-21 Alan Modra <amodra@bigpond.net.au>
392 * Makefile.am: Run "make dep-am".
393 * Makefile.in: Regenerate.
394 * doc/Makefile.in: Regenerate.
395 * po/POTFILES.in: Regenerate.
396 * aclocal.m4: Regenerate.
397 * config.in: Regenerate.
398 * configure: Regenerate.
400 2002-03-20 Daniel Berlin <dan@dberlin.org>
402 * readelf.c: Add support for displaying dwarf2 location lists.
403 (do_debug_loc, debug_loc_section, debug_loc_size): New.
404 (parse_args): Use 'O' as shorthand for displaying location list
406 (process_section_headers): Handle debug_loc as well.
407 (load_debug_loc): New.
408 (free_debug_loc): New.
409 (fetch_location_list): New.
410 (display_debug_loc): New.
411 (display_debug_info): Call load_debug_loc and free_debug_loc.
412 (debug_displays): We can display .debug_loc now, too.
413 (usage): Update usage string.
414 (read_and_display_attr_value): Note location lists, but don't
417 2002-03-18 Tom Rix <trix@redhat.com>
419 * Makefile.am: Add binutils emulation support.
420 * configure.in: Same.
421 * configure.tgt: New file. Same.
422 * ar.c (main): Use ar_emul_parse_arg.
423 (usage): Use ar_emul_usage.
424 (replace_members): Use ar_emul_replace, ar_emul_append.
425 * binemul.c: New file. Define the binutils emulation
426 layer. Define default methods.
427 * binemul.h: New file. Binutils emulation layer header file.
428 * emul_aix.c: New file. AIX binutils emulation.
429 * emul_vanilla.c: New file. Default binutils emulation.
430 * Makefile.in: Regenerate.
433 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
435 * po/fr.po: Updated version.
437 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
439 * po/fr.po: Updated version.
441 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
443 * README: Update some version numbers.
445 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
447 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
448 (Architecture Selection): Likewise.
450 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
452 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
453 generating .exp file.
455 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
457 * readelf.c (dump_relocations): Fix typo.
459 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
461 * NEWS: Mark 2.12 branch.
463 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
465 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
466 types for 64-bit MIPS. Narrow some fields for 80-char
468 (dump_relocations): Change spelling from 'unrecognised'
470 (decode_ARM_machine_flags): Likewise.
471 (parse_args): Likewise.
472 (read_and_display_attr_value): Likewise.
473 (display_debug_section): Likewise.
475 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
477 * NEWS: Mention support for MMIX.
479 2002-02-13 Matt Fredette <fredette@netbsd.org>
481 * readelf.c (get_machine_flags): Recognize EF_M68000.
483 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
485 * MAINTAINERS: Added self as MN10300 co-maintainer.
487 2002-02-12 Alan Modra <amodra@bigpond.net.au>
489 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
492 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
494 * MAINTAINERS: List myself as branch maintainer.
496 2002-02-11 Alan Modra <amodra@bigpond.net.au>
498 * configure: Regenerate.
499 * objcopy.c: Update copyright date.
500 * doc/Makefile.in: Regenerate.
502 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
504 * nlmconv.c: Back out localtime PARAMS change.
506 2002-02-11 Alan Modra <amodra@bigpond.net.au>
508 * objcopy.c (MKDIR): Define.
509 (copy_archive): Make name_list.name const. Use MKDIR.
510 Handle duplicate files in archives by making more temp dirs.
512 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
514 * coffdump.c: Include "getopt.h" after "bucomm.h"
515 so that macros are defined correctly.
516 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
517 prototype. Prototype main.
518 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
520 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
522 * MAINTAINERS: Added self as SH co-maintainer.
524 2002-02-05 Nick Clifton <nickc@redhat.com>
526 * po/tr.po: Updated translation.
528 2002-02-01 Alan Modra <amodra@bigpond.net.au>
530 * Makefile.am: Run "make dep-am"
531 * Makefile.in: Regenerate.
533 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
535 * nm.c (print_value): Mark abfd unused.
537 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
539 * unwind-ia64.c (unw_decoder): Change second argument
540 to unsigned int, to match function prototypes.
542 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
544 * objdump.c: Include "getopt.h" after "bucomm.h" so that
545 __GNU_LIBRARY__ will be defined.
548 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
550 * configure: Regenerated.
552 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
554 * doc/Makefile.am (install): Depend on install-info.
555 * doc/Makefile.in: Regenerate.
557 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
559 * objcopy.c (strip_usage): Document -d as an alias
562 * size.c (usage): Document [-t | --totals] options.
563 (long_options): Add --totals option.
564 (main): If the [-t | --totals] option is specified and
565 the output format is Berkeley-style, print the total
566 text, data, and bss sizes of all objects listed.
567 (print_berkeley_format): If the [-t | --totals] option
568 is specified, track the total text, data, and bss
570 * doc/binutils.texi (size): Document [-t | --totals] options.
571 (strip): Document -d as an alias for --strip-debug.
572 * NEWS: Mention new feature of size.
574 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
576 * po/fr.po: Updated version.
577 * po/es.po: Updated version.
579 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
581 * addr2line.c (usage): Update text to provide verbose
582 description of the command line options.
583 * ar.c (usage): Update text to provide verbose
584 description of the command line options.
585 (main): Accept -h and -H when running as ranlib.
586 * coffdump.c (show_usage): Update text to provide verbose
587 description of the command line options.
588 * dlltool.c (main): Accept -H as an alias for --help.
589 * nlmconv.c (show_usage): Update text to provide verbose
590 description of the command line options.
591 * nm.c (usage): Replace OPTIONS with option(s).
592 (main): Accept -H as an alias for --help.
593 * objcopy.c (strip_main): Accept -H as an alias for --help.
594 * objdump.c (main): Accept -v as an alias for --verbose.
595 * readelf.c (usage): Adjust format to match style used in
597 * size.c (usage): Update text to provide verbose description
598 of the command line options.
599 (main): Accept -v, -h and -H as command line options.
600 * srconv.c (show_usage): Update text to provide verbose
601 description of the command line options.
602 * strings.c (main): Accept -H and -v as command line options.
603 (usage): Update text to provide verbose description of the
604 command line options.
605 * sysdump.c (show_usage): Update text to provide verbose
606 description of the command line options.
607 * windres.c (usage): Adjust format to match style used in
610 * coffdump.c: Fix formatting.
611 * nlmconv.c: Fix formatting.
612 * srconv.c: Fix formatting.
613 * sysdump.c: Fix formatting.
615 2002-01-22 Alan Modra <amodra@bigpond.net.au>
617 * Makefile.am: Run "make dep-am".
618 * Makefile.in: Regenerate.
620 2002-01-18 Andreas Jaeger <aj@suse.de>
622 * version.c (print_version): Update year.
624 2002-01-17 Alan Modra <amodra@bigpond.net.au>
626 * readelf.c (get_machine_name): Handle EM_PPC64.
627 (guess_is_rela): Here too.
629 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
631 * po/binutils.pot: Regenerate.
632 * po/fr.po: Regenerate.
633 * po/tr.po: Regenerate.
635 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
637 * po/tr.po: Import new version.
639 2002-01-16 Alan Modra <amodra@bigpond.net.au>
641 * readelf.c (get_ppc64_dynamic_type): New.
642 (get_dynamic_type): Call it.
644 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
646 * objcopy.c (copy_usage): Use "options" instead of "switches".
647 (strip_usage): Use "options" instead of "switches".
648 * doc/binutils.texi (dlltool): Refer to "options" instead of
651 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
653 * MAINTAINERS: Add self as co-maintainer for the ARM code.
655 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
657 * po/es.po: Import from translation project.
658 * configure.in (ALL_LINGUAS): Add es.
659 * configure: Regenerate.
661 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
663 * readelf.c (get_netbsd_elfcore_note_type): Use
664 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
666 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
668 * readelf.c: Update copyright years.
669 (get_note_type): Return a const char *.
670 (get_netbsd_elfcore_note_type): New function.
671 (process_note): Use get_netbsd_elfcore_note_type to get
672 the note type string for NetBSD ELF core files.
674 2002-01-06 Steve Ellcey <sje@cup.hp.com>
676 * readelf.c (get_ia64_segment_type): Add support for macros.
677 (get_segment_type): Add support for IA64 specific macros.
679 2001-12-20 Julian v. Bock <julian@wongr.net>
681 * readelf.c (print_symbol): New function: Print a formatted symbol
682 name. If --wide is specified do not truncate it.
683 (dump_relocations): Use print_symbol() to print symbol names.
684 (process_symbol_table): Likewise.
685 (process_syminfo): Likewise.
686 (process_mips_specific): Likewise.
687 (usage): Document new feature of --wide switch.
688 * doc/binutils.texi (objdump): Document additional behaviour of
691 2001-12-18 Michael Snyder <msnyder@redhat.com>
693 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
694 (copy_object): Don't set the start address or flags of a core file.
695 (copy_section): Don't relocate a core file. Don't copy contents
696 if the input section has the contents flag set, but the output
697 section does not (which happens with the fake 'note' pseudo-
698 sections that BFD creates for corefiles).
700 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
702 * readelf.c (get_machine_flags): Recognize header flags for ABI and
703 ASE extensions. More robust code for ISA checking. Ignore empty fields
704 in header flags for GNU extensions.
706 2001-12-18 Alan Modra <amodra@bigpond.net.au>
708 * objcopy.c (copy_archive): Set output bfd format outside the loop.
710 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
712 * po/ja.po: Import from translation project.
713 * configure.in (ALL_LINGUAS): Add ja.
714 * configure: Regenerate.
716 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
718 * addr2line.c (main): Protoype.
719 * ar.c (main): Protoype.
720 * nm.c (main): Protoype.
721 * objcopy.c (main): Protoype.
722 * objdump.c (main): Protoype.
723 * size.c (main): Protoype.
724 * strings.c (main): Protoype.
726 2001-12-17 Alan Modra <amodra@bigpond.net.au>
728 * readelf.c (symtab_shndx_hdr): New global.
729 (SECTION_HEADER_INDEX): Define.
730 (SECTION_HEADER_NUM): Define.
731 (SECTION_HEADER): Define.
732 (GET_ELF_SYMBOLS): Pass two params rather than three.
733 (get_32bit_elf_symbols): Take file and section args. Read and
734 use SHT_SYMTAB_SHNDX.
735 (get_64bit_elf_symbols): Likewise.
736 (dump_relocations): Use SECTION_HEADER to index "section_headers".
737 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
738 Remember symtab_shdx_hdr.
739 (process_program_headers): Scan from index 1 for segment map.
740 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
742 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
743 (process_unwind): Likewise.
744 (process_version_sections): Likewise.
745 (process_symbol_table): Likewise.
746 (display_debug_info): Likewise.
747 (process_dynamic_segment): Fake up a symtab section for changed
749 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
750 (process_program_headers): Kill signed/unsigned warning.
751 (load_debug_str): Likewise.
752 (display_debug_info): Likewise.
754 2001-12-13 Jakub Jelinek <jakub@redhat.com>
756 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
758 2001-12-11 Alan Modra <amodra@bigpond.net.au>
760 * readelf.c (process_file_header): Print extended e_shnum and
761 e_shdtrndx values. Set elf_header values for same.
762 (get_32bit_section_headers): Add "num" arg to read "num" headers.
763 (get_64bit_section_headers): Likewise.
764 (process_section_headers): Update calls.
765 (get_file_header): Call get_32bit_section_headers or 64bit variant.
767 2001-12-10 Jakub Jelinek <jakub@redhat.com>
769 * objcopy.c (setup_section): Copy entsize.
771 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
773 * readelf.c (guess_is_rela): Add support for stormy16.
774 (dump_relocations): Likewise.
775 (get_machine_name): Likewise.
777 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
779 * dllwrap.c (main) Replace multiple strings describing a
780 single error with a single, newline escaped sentence to permit
781 better translation into foreign languages.
783 * readelf.c (get_elf_class): Remove internalionalisation of ELF
786 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
788 * strings.c (get_char): Initialize value.
790 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
792 * arlex.l: Silence compile warnings.
793 * arsup.h: Likewise. Fix formatting.
795 2001-12-04 Jakub Jelinek <jakub@redhat.com>
797 * strings.c: Include config.h before bfd.h.
798 (file_off): New type.
800 (print_strings): Use file_off instead of file_ptr. Print addresses
801 which don't fit into long correctly.
802 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
804 (strings_file): Use file_off instead of file_ptr. Use file_open.
805 * configure.in: Check for getc_unlocked.
806 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
808 * configure: Rebuilt.
809 * config.h.in: Rebuilt.
811 2001-11-29 H.J. Lu <hjl@gnu.org>
813 * bucomm.c (make_tempname): Revert the changes made on
814 2001-11-14 and 2001-11-12. They won't work with directories.
816 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
818 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
819 CFLAGS_FOR_TARGET to runtest in environment.
820 * Makefile.in: Rebuild.
821 * doc/Makefile.in: Rebuild.
823 2001-11-28 Mike Stump <mrs@wrs.com>
825 * objcopy.c (setup_section): Preserve SEC_RELOC when
826 --set-section-flags is used.
828 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
830 * readelf.c (do_debug_str): New variable.
831 (display_debug_str): New function: Display the contents of a
833 (load_debug_str): New function: Load in the contents of a
835 (free_debug_str): New function: Free the memory used by
837 (fetch_indirect_string): Retrieve a string from the .debug_str
840 (parse_args): Accept -ws.
841 (process_section_headers): Allow the display of the .debug_str
843 (read_and_display_attr_value): Use fetch_indirect_string. Show
844 offset into .debug_str section.
845 (display_debug_info): Use load_debug_str and free_debug_str.
846 (debug_displays): Add .debug_str.
847 * doc/binutils.texi: Document -ws.
849 2001-11-19 Andreas Jaeger <aj@suse.de>
851 * testsuite/binutils-all/objdump.exp: Add x86-64.
853 2001-11-15 Andreas Schwab <schwab@suse.de>
855 * readelf.c: Fix warnings without terminating newline.
857 2001-11-15 Alan Modra <amodra@bigpond.net.au>
859 * doc/binutils.texi (objdump): Document ppc -M options.
861 2001-11-14 Andreas Jaeger <aj@suse.de>
863 * doc/binutils.texi (objdump): Fix description to use x86-64.
865 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
867 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
868 not all systems provide mkstemp.
870 2001-11-14 Alan Modra <amodra@bigpond.net.au>
872 * doc/binutils.texi (objdump): Document x86 -M options.
874 2001-11-13 Keith Walker <keith.walker@arm.com>
876 * readelf.c (read_and_display_attr_value): New function to
877 handle DW_FORM_indirect.
878 (read_and_display_attr): Use it.
880 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
882 * readelf.c (display_debug_lines): Deal with unknown standard
883 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
886 2001-11-13 Timothy Wall <twall@alum.mit.edu>
888 * MAINTAINERS: Add self as tic54x maintainer. This target
889 includes the IBM C54XDSP clone.
891 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
893 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
895 2001-11-09 Jeffrey A Law (law@cygnus.com)
897 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
898 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
899 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
900 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
901 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
902 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
903 (unw_decode_b2, unw_decode_b3_b4): Likewise.
905 * readelf.c (get_elf_class): Fix ISO portability glitch.
906 (get_data_encoding, get_osabi_name, request_dump): Likewise.
908 2001-11-07 Jakub Jelinek <jakub@redhat.com>
910 * readelf.c (debug_str, debug_str_size): New.
911 (display_debug_abbrev): If no abbrevs were read, skip the CU.
913 (read_and_display_addr): Handle DW_FORM_strp.
914 (display_debug_info): Read .debug_str section if present,
915 so that DW_FORM_strp can be handled.
916 Fix test for non-existant .debug_abbrev section.
918 2001-11-05 Jakub Jelinek <jakub@redhat.com>
920 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
922 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
924 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
926 * MAINTAINERS: Add self as s390/s390x maintainer.
928 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
930 * MAINTAINERS: Add self as PPC XCOFF maintainer.
932 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
934 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
935 * configure: Regernate.
936 * po/fr.po: New file.
937 * po/tr.po: New file.
939 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
941 * MAINTAINERS: Add self as MMIX port maintainer.
942 * readelf.c: Include elf/mmix.h.
943 (guess_is_rela): MMIX is RELA.
944 (dump_relocations): Handle MMIX relocations.
945 * Makefile.am: Regenerate dependencies.
946 * Makefile.in: Regenerate.
948 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
950 * readelf.c (parse_args): Handle multiple options to the -w
953 2001-10-12 Jakub Jelinek <jakub@redhat.com>
955 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
956 LOPROC, LOOS and LOUSER.
958 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
960 * MAINTAINERS: Update my email address.
962 2001-10-03 Alan Modra <amodra@bigpond.net.au>
964 * doc/Makefile.in: Regenerate.
965 * configure: Regenerate.
967 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
969 * readelf.c (display_debug_line, display_debug_pubnames,
970 display_debug_info, display_debug_frames): Detect and warn
971 about 64-bit format entries.
972 (display_debug_aranges): Reword 64-bit warning.
973 (debug_displays): Add .debug_pubtypes as a known, but not yet
974 supported, debug section.
976 2001-10-02 Alan Modra <amodra@bigpond.net.au>
978 * coffdump.c (PROGRAM_VERSION): Delete.
979 (main <'V'>): Call print_version.
980 * srconv.c: Likewise.
981 * sysdump.c: Likewise.
982 * version.c (program_version): Remove.
983 (print_version): Use BFD_VERSION_STRING. Just print the current
984 year in copyright message.
985 * addr2line.c (program_version): Remove unused declaration.
986 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
987 place of BFD_VERSION.
988 * Makefile.am (Makefile): Depend on bfd/configure.in.
989 (cplus-dem.o): Depend on Makefile.
991 * Makefile.in: Regenerate.
993 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
995 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
996 format .debug_arange sections.
997 (main): Add missing prototype.
999 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1001 * Makefile.am: Update dependencies with "make dep-am".
1002 * Makefile.in: Regenerate.
1004 2001-09-28 Richard Henderson <rth@redhat.com>
1006 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1008 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1010 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1012 (non_fatal): Likewise.
1013 * objdump.c (objdump_sprintf): Likewise.
1014 * readelf.c (error): Likewise.
1017 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1019 * readelf.c (do_wide): New.
1020 (options): Add --wide.
1021 (usage, parse_args): Likewise.
1022 (process_program_headers): Put each segment on a single line if
1024 (process_section_headers): Put each section on a single line if
1026 * doc/binutils.texi: Document it.
1029 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1031 * readelf.c (print_vma): Print 8 digits of low hex value.
1033 2001-09-24 Andreas Jaeger <aj@suse.de>
1035 * nlmconv.c: Fix warnings about unused attributes and function
1038 * strings.c: Add prototype for get_char.
1040 2000-09-19 H.J. Lu <hjl@gnu.org>
1042 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1043 $(srcdir)/cxxfilt.man.
1044 * doc/Makefile.in: Rebuild.
1046 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1048 * objcopy.c (copy_main): Correct rename-section string parsing.
1049 Consolidate new_name parsing, and error messages.
1051 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1053 * addr2line.c: Don't include <ctype.h>.
1054 (main): For gettext, also set the LC_CTYPE locate facet.
1055 * ar.c (main): Likewise.
1056 * coffdump.c (main): Likewise.
1057 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1058 (main): For gettext, also set the LC_CTYPE locate facet.
1059 Use ISALNUM instead of isalpha/isdigit.
1060 * dllwrap.c: Don't include <ctype.h>.
1061 (main): For gettext, also set the LC_CTYPE locate facet.
1062 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1063 (main): For gettext, also set the LC_CTYPE locate facet.
1064 Use TOUPPER instead of islower/toupper.
1065 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1066 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1067 Use TOUPPER instead of islower/toupper.
1068 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1069 * objcopy.c (main): Likewise.
1070 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1071 (disassemble_bytes): Use ISPRINT instead of isprint.
1072 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1073 (dump_data): Use ISPRINT instead of isprint.
1074 (main): For gettext, also set the LC_CTYPE locate facet.
1075 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1076 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1077 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1078 Use TOUPPER instead of islower/toupper.
1079 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1080 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1081 (write_rc_accelerators): Use ISPRINT instead of isprint.
1082 (write_rc_rcdata): Likewise.
1083 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1084 * srconv.c (main): Likewise.
1085 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1086 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1087 isdigit/isupper/islower.
1088 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1089 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1090 stab_demangle_prefix, stab_demangle_qualified,
1091 stab_demangle_template, stab_demangle_type,
1092 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1093 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1094 (isgraphic): Use ISPRINT instead of isascii/isprint.
1095 (main): Remove HAVE_LC_MESSAGES dependency.
1096 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1097 (pbarray): Use ISPRINT instead of isprint.
1098 (main): For gettext, also set the LC_CTYPE locate facet.
1099 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1100 (format_from_filename): Use ISPRINT instead of isprint.
1101 (main): For gettext, also set the LC_CTYPE locate facet.
1102 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1103 (unicode_print): Use ISPRINT instead of isprint.
1104 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1105 (stab_variable): Use ISDIGIT instead of isdigit.
1107 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1109 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1110 Replace bfd_read call with call to bfd_bread.
1111 (extract_file): Likewise.
1113 * objdump.c (dump_section_header): Cast section->filepos to
1114 unsigned long to suit printf format string.
1115 * readelf.c (process_section_headers): Similarly for sh_offset.
1116 (process_unwind): Likewise.
1118 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1120 * strings.c (encoding, encoding_bytes): New variables.
1121 (long_options): Add --encoding.
1122 (main): Accept -e and --encoding.
1123 (get_char): New function. Read a, possibly wide, character from
1125 (print_strings): Use get_char().
1126 (usage): Document new command line option.
1127 * doc/binutils.texi: Document new command line option.
1128 * NEWS: Announce new command line option.
1130 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1132 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1133 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1134 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1135 Removed EM_CYGNUS_ARC.
1137 2001-09-04 Jeffrey A Law (law@cygnus.com)
1139 * readelf.c: Include elf/h8 for H8 series definitions.
1140 (guess_is_rela): H8 series if RELA.
1141 (dump_relocations): Handle H8 series relocations.
1143 2001-08-31 Eric Christopher <echristo@redhat.com>
1145 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1147 2001-08-29 Peter Targett <peter.targett@arccores.com>
1149 * MAINTAINERS: Include ARC Maintainer.
1151 2001-08-29 Ben Elliston <bje@redhat.com>
1153 * stabs.c (stab_demangle_template): Initialise s4.
1155 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1157 * readelf.c (dump_relocations): Recognise EM_PPC64.
1159 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1161 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1163 2001-08-25 H.J. Lu <hjl@gnu.org>
1165 * nm.c (print_width): New.
1166 (display_rel_file): Set `print_width' according to
1168 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1170 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1172 * objcopy.c (use_alt_mach_code): New variable.
1173 (OPTION_ALT_MACH_CODE): Define.
1174 (copy_options): Added --alt-machine-code.
1175 (copy_main): Handle it.
1176 (copy_object): Switch to alternate machine code if requested.
1177 * doc/binutils.texi: Document new option.
1180 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1182 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1184 2001-08-21 H.J. Lu <hjl@gnu.org>
1186 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1187 (display_debug_info): Cast for 64bit hosts.
1188 (display_debug_frames): Likewise.
1189 (process_mips_specific): Likewise.
1191 2001-08-21 Andreas Jaeger <aj@suse.de>
1193 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1195 * sysdump.c: Add missing prototypes.
1196 * srconv.c: Likewise.
1197 * unwind-ia64.c: Likewise.
1198 * coffdump.c: Likewise.
1200 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1202 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1203 of declaring xcalloc.
1205 2001-08-10 H.J. Lu <hjl@gnu.org>
1207 * nm.c (print_value): Add one arg, bfd *.
1208 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1209 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1210 (print_symbol_info_sysv): Likewise.
1211 (print_symbol_info_posix): Likewise.
1213 * objdump.c (dump_section_header): Replace printf_vma with
1215 (print_section_stabs): Likewise.
1216 (dump_bfd_header): Likewise.
1217 (objdump_print_value): Replace sprintf_vma with
1219 (disassemble_bytes): Likewise.
1220 (dump_reloc_set): Likewise.
1222 2001-08-10 Andreas Jaeger <aj@suse.de>
1224 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1226 * configure: Regenerate.
1228 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1230 * readelf.c: Add missing prototypes.
1231 * objdump.c: Likewise. Format existing prototypes.
1233 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1235 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1236 of any RELA relocation for the abbrev_offset memory location that
1237 refers to the .debug_abbrev section symbol.
1239 2001-08-07 H.J. Lu <hjl@gnu.org>
1241 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1242 (main): Return process_file ().
1244 2001-08-05 Philip Blundell <philb@gnu.org>
1246 * doc/binutils.texi: Use "Thumb" not "THUMB".
1248 2001-08-03 John Healy <jhealy@redhat.com>
1250 Patch suggested by Frank Eigler <fche@redhat.com>.
1251 * objdump.c (disassemble_data): Fill in section member of the
1252 disasm_info structure.
1254 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1256 * configure.in: Added --with-windres option.
1257 * configure: Regenerated.
1259 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1261 * doc/binutils.texi: Use @command{name} for commands;
1262 use @option{-opt} for options; use @table @env for list of options;
1263 remove spaces arround [ | ] in synopsis.
1265 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1268 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1270 * objcopy.c: Fix formatting.
1271 (section_rename): New structure.
1272 (OPTION_RENAME_SECTION): New switch.
1273 (copy_usage): Document new switch.
1274 (add_section_rename): New function: Add a node to the section
1276 (find_section_rename): New function: Find the new name and
1277 flags for a section.
1278 (setup_section): Call find_section_name to determine the name
1279 of the output section.
1280 (copy_main): Handle OPTION_RENAME_SECTION.
1281 * binutils.texi: Document new switch.
1282 * NEWS: Mention new switch.
1284 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1286 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1287 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1288 bug-binutils@gcc.org.
1290 2001-07-28 Matthias Kramm <kramm@quiss.org>
1292 * bucomm.c (list_supported_architectures): New function.
1293 * bucomm.h (list_supported_architectures): Declare.
1294 * objdump.c (usage): Call the above.
1296 2001-07-25 Dave Brolley <brolley@redhat.com>
1298 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1299 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1301 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1303 * README: Update for 2.11. Change bug reporting email address.
1304 * MAINTAINERS: Tidy up. Change bug reporting email address.
1306 2001-07-16 DJ Delorie <dj@redhat.com>
1308 * resres.c (write_res_header): Align header size.
1309 (res_align_file): Calculate alignment correctly.
1311 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1313 * resrc.c (write_rc_resource): Likewise.
1314 * windres.h (SUBLANG_SHIFT): Define - as 10.
1316 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1318 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1320 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1322 * MAINTAINERS: Add notes about branch checkins.
1324 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1326 * readelf.c (display_debug_macinfo): New function, display
1327 .debug_macinfo section.
1328 (do_debug_macinfo): New variable.
1329 (parse_args): Handle "-w[mM]" to mean display macro info.
1330 (process_section_headers): Handle debug_macinfo.
1331 (debug_displays): Replace unsupported function with macinfo
1332 function for .debug_macinfo display.
1333 * doc/binutils.texi: Document new command line switch.
1334 * NEWS: Document new feature of readelf.
1336 2001-07-05 H.J. Lu <hjl@gnu.org>
1338 * objcopy.c (filter_symbols): Don't turn undefined symbols
1341 2001-07-03 H.J. Lu <hjl@gnu.org>
1343 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1346 (dlltool.1): Likewise.
1347 (nlmconv.1): Likewise.
1349 (objcopy.1): Likewise.
1350 (objdump.1): Likewise.
1351 (ranlib.1): Likewise.
1352 (readelf.1): Likewise.
1354 (strings.1): Likewise.
1355 (strip.1): Likewise.
1356 (windres.1): Likewise.
1357 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1358 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1361 * doc/Makefile.in: Regenerated.
1363 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1365 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1367 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1369 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1371 2001-06-29 James Cownie <jcownie@etnus.com>
1373 * readelf.c: Support DWARF 2.1 attributes.
1375 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1377 * readelf.c (GET_DATA_ALLOC): Remove.
1379 (get_data): New function combining above macros, with an extra
1381 (slurp_rela_relocs): Use get_data, and catch error return.
1382 (slurp_rel_relocs): Likewise.
1383 (get_32bit_program_headers): Likewise.
1384 (get_64bit_program_headers): Likewise.
1385 (get_32bit_section_headers): Likewise.
1386 (get_64bit_section_headers): Likewise.
1387 (get_32bit_elf_symbols): Likewise.
1388 (get_64bit_elf_symbols): Likewise.
1389 (process_section_headers): Likewise.
1390 (process_relocs): Likewise.
1391 (slurp_ia64_unwind_table): Likewise.
1392 (process_unwind): Likewise.
1393 (get_32bit_dynamic_segment): Likewise.
1394 (get_64bit_dynamic_segment): Likewise.
1395 (process_dynamic_segment): Likewise.
1396 (process_version_sections): Likewise.
1397 (process_symbol_table): Likewise.
1398 (dump_section): Likewise.
1399 (display_debug_info): Likewise.
1400 (display_debug_section): Likewise.
1401 (process_section_contents): Likewise.
1402 (process_corefile_note_segment): Likewise.
1403 (process_mips_specific): Likewise. Also free econf32, econf64.
1405 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1407 * readelf.c (dump_relocations): Print "bad symbol index" if
1408 symtab == NULL with non-zero symtab_index.
1409 (process_relocs): Don't bomb if reloc section has no symsec.
1411 2001-06-24 H.J. Lu <hjl@gnu.org>
1413 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1415 (copy_main): Apply the the change made to strip_main on
1416 2001-05-30 by accident.
1418 2001-06-23 Andreas Jaeger <aj@suse.de>
1420 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1422 (unw_decode_x2): Likewise.
1423 (unw_decode_x3): Likewise.
1424 (unw_decode_x4): Likewise.
1426 2001-06-23 Ben Elliston <bje@redhat.com>
1428 * MAINTAINERS: Add myself as M88k maintainer.
1430 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1432 * objcopy.c (strip_main): Support -o or --output-file command lien
1435 2001-06-19 H.J. Lu <hjl@gnu.org>
1437 * doc/Makefile.in: Regenerated.
1439 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1441 * readelf.c: Restore formatting.
1443 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1445 * Makefile.am: Move documentation into doc subdirectory.
1446 * Makefile.in: Regenerated.
1447 * binutils.texi: Move into doc subdirectory.
1448 * addr2line.1: Removed.
1450 * dlltool.1: Likewise.
1451 * nlmconv.1: Likewise.
1453 * objcopy.1: Likewise.
1454 * objdump.1: Likewise.
1455 * ranlib.1: Likewise.
1456 * readelf.1: Likewise.
1458 * strings.1: Likewise.
1459 * strip.1: Likewise.
1460 * windres.1: Likewise.
1461 * cxxfilt.man: Likewise.
1462 * doc: New Directory.
1463 * doc/Makefile.am: New file.
1464 * doc/Makefile.in: Generate.
1466 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1468 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1470 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1472 * MAINTAINERS: Update my email address.
1474 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1476 * objcopy.c: Add new switches: --keep-global-symbol,
1477 --keep-symbols, --localize-symbols, --keep-global-symbols and
1479 * binutils.texi: Document new switches.
1480 * objcopy.1: Regenerate.
1481 * NEWS: Announce new feature.
1483 2001-05-28 Andreas Jaeger <aj@suse.de>
1485 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1486 variables, fix format strings.
1488 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1490 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1491 when computing the address of the line to show.
1493 2001-05-16 Richard Henderson <rth@redhat.com>
1495 * readelf.c (do_debug_frames_interp): New.
1496 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1497 (byte_get_big_endian): Likewise.
1498 (parse_args) ['F']: Set do_debug_frames_interp.
1499 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1500 (frame_display_row): Don't trunc pc_begin to int.
1501 (size_of_encoded_value): New.
1502 (display_debug_frames): Handle 64-bit targets. Print raw data
1503 unless do_debug_frames_interp.
1504 (debug_displays): Remove duplicate .debug_frame.
1506 2001-05-15 Ralf Baechle <ralf@gnu.org>
1508 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1509 The former constant was never in active use and is used otherwise
1512 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1514 * readelf.c (process_unwind): Print all unwind sections, not just
1517 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1519 * readelf.c (process_unwind): Remove const specifier.
1521 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1523 * strings.c (isgraphic): Do not use isascii() unless it is needed
1524 for isprint() to work.
1525 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1527 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1529 * NEWS: Announce support for OpenRISC.
1531 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1533 * dlltool.c (do_default_excludes): Initialise to true.
1535 2001-04-10 Alan Modra <amodra@one.net.au>
1537 * MAINTAINERS: Update my email address
1538 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1540 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1542 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1544 2001-03-30 H.J. Lu <hjl@gnu.org>
1546 * readelf.c (process_unwind): Just return if do_unwind is 0.
1548 2001-03-28 Roger Sayle <roger@metaphorics.com>
1550 * dlltool.c (make_one_lib_file): Fix section flags for
1551 .text, .data and .bss in stub ds*.o files to match those
1554 2001-03-29 H.J. Lu <hjl@gnu.org>
1556 * readelf.c (process_unwind): Only do unwind sections for
1559 2001-03-28 H.J. Lu <hjl@gnu.org>
1561 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1562 * Makefile.in: Regenerate.
1564 2001-03-26 Andreas Jaeger <aj@suse.de>
1566 * binutils.texi (nm): Fix texi syntax.
1568 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1570 * binutils.texi: Put @c man begin and @c man end indications
1571 to generate man pages using texi2pod and pod2man. Put @c man title
1572 to identify each man. Add SEEALSO entries.
1573 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1574 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1576 (*.1): Build the man pages from binutils.texi.
1577 * Makefile.in: Regenerate.
1579 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1581 * defparse.y (opt_equal_name): allow "." in name.
1582 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1583 (gen_exp_file): Likewise.
1585 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1587 * NEWS: Document addition of -B switch to objcopy.
1588 * binutils.texi: Document addition of -B switch to objcopy.
1589 * objcopy.c: (copy_options): Add --binary-architecture.
1590 (copy_usage): Document -B/--binary-architecture.
1591 (copy_main): Support -B/--binary-architecture. Set
1592 bfd_external_binary_architecture.
1594 2001-03-11 Andreas Jaeger <aj@suse.de>
1596 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1597 (dump_relocations): Likewise.
1598 (get_machine_name): Likewise.
1600 2001-02-28 Nick Clifton <nickc@redhat.com>
1602 * readelf.c: (struct unw_aux_info): Remove const modifier for
1604 (process_unwind): Remove non-K&R compliant LHS type cast in call
1605 to GET_DATA_ALLOC macro.
1607 2001-02-28 Philip Blundell <pb@futuretv.com>
1609 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1610 ABI is in use; remove ambiguity between the "unknown" EABI and
1611 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1612 renamed EF_xx constants.
1614 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1616 * configure.in (BFD_VERSION): New.
1617 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1618 * configure: Regenerate.
1619 * Makefile.am: Run "make dep-am"
1620 * Makefile.in: Regenerate.
1622 2001-02-14 Nick Clifton <nickc@redhat.com>
1624 * MAINTAINERS: Add "Obvious Fix" rule.
1626 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1628 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1629 literal concatenation.
1631 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1633 * readelf.c (struct unw_aux_info): Remove const from the info member.
1634 (process_unwind): Don't type-cast the third argument to the
1635 GET_DATA_ALLOC macro.
1637 2001-02-11 Nick Clifton <nickc@redhat.com>
1639 * readelf.c (dump_relocations): Free corrected allocated
1641 (process_unwind): Fix compile time warning.
1643 2001-02-10 Nick Clifton <nickc@redhat.com>
1645 * binutils.texi: Document new --unwind option to readelf.
1647 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1649 * readelf.c: Add linux target for S/390.
1651 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1653 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1656 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1658 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1659 * aclocal.m4: Regenerate.
1660 * configure: Regenerate.
1662 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1664 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1665 * objdump.c (bfd_target_vector): Likewise.
1667 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1669 * readelf.c (process_unwind): New function.
1670 (slurp_ia64_unwind_table): Ditto.
1671 (dump_ia64_unwind): Ditto.
1672 (find_symbol_for_address): Ditto.
1673 (slurp_rela_relocs): New function (split off from dump_relocations()).
1674 (slurp_rel_relocs): Ditto.
1675 (parse_args): Handle '-u' option.
1677 * unwind-ia64.c: New file.
1678 * unwind-ia64.h: New file.
1679 * Makefile.am: Include unwind-ia64.c in readelf build.
1680 * Makefile.in: Regenerate.
1681 * po/binutils.pot: Regenerate.
1683 2001-02-04 Philip Blundell <philb@gnu.org>
1685 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1686 * configure: Regenerate.
1688 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1690 * ieee.c (ieee_add_bb11): Don't check for backslashes
1691 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1693 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1695 * ieee.c: Update copyright.
1696 (ieee_start_compilation_unit): Don't check for backslashes
1697 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1699 * stabs.c: Update copyright. Include "filenames.h".
1700 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1702 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1704 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1705 sections are present before using them. Remove code duplication.
1706 (process_symbol_table): Check if VERDEF or VERNEED sections are
1707 present before using them.
1709 2001-01-17 Nick Clifton <nickc@redhat.com>
1711 * objcopy.c (copy_object): Fail if attempting to convert the
1712 endianness of the input object file.
1714 * binutils.texi: Explain that objcopy cannot convert endianness.
1716 2001-01-16 Nick Clifton <nickc@redhat.com>
1718 * readelf.c (string_table_length): New variable.
1719 (SECTION_NAME): Catch out of range indices and missing section
1721 (process_section_headers): Delete useless local variable
1722 string_table_offset. Set the value of string_table_length
1723 after loading the string table.
1724 (process_mips_specific): Use SECTION_NAME macro.
1725 (process_file): Set string_table_length to 0 when it is freed.
1727 2001-01-12 Nick Clifton <nickc@redhat.com>
1729 * version.c (print_version): Update copyright date.
1731 2001-01-11 Peter Targett <peter.targett@arccores.com>
1733 * readelf.c (dump_relocations): Include selection with EM_ARC.
1734 (get_machine_name) Update name to "ARC".
1736 2001-01-09 Nick Clifton <nickc@redhat.com>
1738 * Makefile.am: Add rule to build objdump.o from objdump.c and
1740 * Makefile.in: Regenerate.
1742 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1743 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1744 -DDISASSEMBLER_NEEDS_RELOCS.
1745 * configure: Regenerate.
1747 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1748 is defined read in the relocs even if dump_reloc_info is
1751 2001-01-07 Philip Blundell <philb@gnu.org>
1753 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1757 2000-12-19 Nick Clifton <nickc@redhat.com>
1759 * dlltool.c: Add missing support for arm-epoc-pe.
1760 * configure.in: Add missing support for arm-epoc-pe.
1761 * configure: Regenerate.
1763 2000-12-15 Nick Clifton <nickc@redhat.com>
1765 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1766 Mode parts of the x86 port.
1768 2000-12-04 Andreas Jaeger <aj@suse.de>
1770 * readelf.c (guess_is_rela): Add EM_X86_64.
1771 (dump_relocations): Add EM_X86_64.
1772 (get_machine_name): Add EM_X86_64.
1773 Include "elf/x86-64.h".
1775 2000-12-12 Nick Clifton <nickc@redhat.com>
1777 * readelf.c: Fix formatting.
1779 2000-12-11 Jan Hubicka <jh@suse.cz>
1781 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1783 2000-12-07 Andrew Haley <aph@redhat.com>
1785 * readelf.c (display_debug_frames): Only display columns that are
1786 referenced by the frame debug info.
1788 2000-12-05 Nick Clifton <nickc@redhat.com>
1790 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1792 2000-12-04 Jason Merrill <jason@redhat.com>
1794 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1795 (display_debug_section): Likewise.
1796 (display_debug_info): Display CU header before bailing.
1798 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1800 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1801 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1802 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1804 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1807 * readelf.c (get_machine_flags): Add case for
1810 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1812 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1814 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1816 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1817 Change sourceware.cygnus.com to sources.redhat.com.
1818 Fix typo for "amongst".
1820 2000-11-28 Nick Clifton <nickc@redhat.com>
1822 * strip.1 (COPYING): Mention that the GNU Free Documentation
1823 License is present in the sources, but not the output, and
1824 also available from the GNU website.
1825 (GNU Free Documentation License): Comment out this section.
1834 * addr2line.1: Ditto.
1836 2000-11-27 DJ Delorie <dj@redhat.com>
1838 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1839 (parse_args): Support -wf option.
1840 (process_section_headers): Ditto.
1841 (debug_displays): Ditto.
1842 (display_debug_frames): New, dump *_frame sections.
1843 (frame_need_space): Support for above.
1844 (frame_display_row): Ditto.
1845 * binutils.texi: Document it.
1847 2000-11-24 Nick Clifton <nickc@redhat.com>
1849 * NEWS: Announce support for v5t, v5te and XScale.
1851 2000-11-22 Nick Clifton <nickc@redhat.com>
1853 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1854 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1855 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1856 (get_elf_section_flags: Add SHF_GROUP.
1857 (process_section_headers): Adjust output for 32-bit binaries
1858 to look nice on an 80 column terminal.
1860 2000-11-20 H.J. Lu <hjl@gnu.org>
1862 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1865 2000-11-17 Richard Henderson <rth@redhat.com>
1867 * readelf.c (display_debug_lines): Adjust last change to
1868 use sizeof (external->li_length).
1870 2000-11-17 Richard Henderson <rth@redhat.com>
1872 * readelf.c (display_debug_lines): Fix section length check
1873 and end_of_sequence computation.
1875 2000-11-06 Nick Clifton <nickc@redhat.com>
1877 * binutils.texi: Add GNU Free Documentation License.
1878 * objcopy.1: Add GNU Free Documentation License.
1879 * objdump.1: Add GNU Free Documentation License.
1880 * addr2line.1: Add GNU Free Documentation License.
1881 * ar.1: Add GNU Free Documentation License.
1882 * nlmconv.1: Add GNU Free Documentation License.
1883 * nm.1: Add GNU Free Documentation License.
1884 * ranlib.1: Add GNU Free Documentation License.
1885 * size.1: Add GNU Free Documentation License.
1886 * strings.1: Add GNU Free Documentation License.
1887 * strip.1: Add GNU Free Documentation License.
1889 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1891 * objcopy.c (--srec-len=nn): New parameter to set the
1892 maximum length of generated Srecords.
1893 (--srec-forceS3): New parameter that restricts the generation of
1894 Srecords to type S3 only.
1895 * binutils.texi: Document new command line switches.
1896 * objcopy.1: Docuemnt the new command line switches.
1897 * NEWS: Announce the existence of the new command line switches.
1899 2000-10-31 Nick Clifton <nickc@redhat.com>
1901 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1902 code. Add Eric Chrisopher as maintainer of MN10300 port.
1904 2000-10-12 Roger Sayle <roger@metaphorics.com>
1906 * Make comma after string after icon/control optional.
1908 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1910 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1912 * NEWS: Mention support for MIPS32.
1914 2000-09-08 Nick Clifton <nickc@redhat.com>
1916 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1918 2000-09-07 H.J. Lu <hjl@gnu.org>
1920 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1921 * configure: Rebuild.
1923 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1925 * configure: Rebuilt with new libtool.m4.
1927 2000-09-05 Nick Clifton <nickc@redhat.com>
1929 * aclocal.m4: Regenerate.
1930 * config.in: Regenerate.
1931 * configure: Regenerate.
1933 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1935 * strip.1: Fix stray '\' in -o formatting.
1937 2000-09-02 Nick Clifton <nickc@redhat.com>
1939 * configure.in: Increase version number to 2.10.91.
1940 * configure: Regenerate.
1941 * aclocal.m4: Regenerate.
1942 * config.in: Regenerate.
1943 * po/binutils.pot: Regenerate.
1945 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1947 * acinclude.m4: Include libtool and gettext macros from the
1949 * aclocal.m4, configure: Rebuilt.
1951 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1953 * resrc.c (close_input_stream): Delete extraneous logic
1955 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1957 * NEWS: Mention support for CRIS.
1959 2000-08-21 Nick Clifton <nickc@redhat.com>
1961 * addr2line.c: Changed email address for Ulrich Lauther.
1963 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1965 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1967 2000-08-17 Nick Clifton <nickc@redhat.com>
1969 * readelf.c (display_debug_pubnames): Only issue warning
1970 message once. Terminate message with a new line.
1971 (display_debug_aranges): Only display version 2 debug info.
1973 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1975 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1976 for compatability with old BSD systems.
1978 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1980 * NEWS: Mention i860 support.
1982 2000-08-11 Carlo Wood <carlo@alinoe.com>
1984 * addr2line.c (main): Add const to char *.
1986 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1988 * ar.c (main): Don't crash if called with no arguments
1989 or only '-X32_64' as an argument.
1991 2000-08-08 DJ Delorie <dj@redhat.com>
1993 * resrc.c: use "gcc -xc" instead of -xc-header
1995 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1997 * readelf.c (elf/i860.h): Include.
1998 (dump_relocations): Add recognition of i860 architecture.
1999 (guess_is_rela): Add recognition of i860 architecture.
2001 2000-08-03 Nick Clifton <nickc@cygnus.com>
2003 * MAINTAINERS: Add information about CGEN maintainers.
2005 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2007 * nm.c (main): Ignore '-X32_64' as an option.
2008 * ar.c (main): Likewise.
2009 * binutils.texi (nm): Document new option.
2012 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2014 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2016 2000-07-20 H.J. Lu <hjl@gnu.org>
2018 * binutils.texi: Put back "@end table" deleted by
2021 2000-07-05 Kenneth Block <krblock@computer.org>
2023 * nm.c: Add optional style to demangle switch.
2024 * objdump.c: Add optional style to demangle switch.
2025 * addr2line.c: Add optional style to demangle switch.
2026 * binutils.texi: Document optional style to demangle
2029 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2031 * MAINTAINERS: Add self as CRIS port maintainer.
2032 * readelf.c: Include elf/cris.h.
2033 (guess_is_rela): Handle EM_CRIS.
2034 (dump_relocations): Ditto.
2035 (get_machine_name): Ditto.
2036 * Makefile.am: Rebuild dependencies.
2037 * Makefile.in: Regenerate.
2038 * po/binutils.pot: Regenerate.
2040 2000-07-19 H.J. Lu <hjl@gnu.org>
2042 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2044 (process_dynamic_segment): Print out strings for DT_CONFIG,
2045 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2047 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2049 * nm.c (usage): Change output of `nm --help' to include a
2050 description of the purpose of the program and a detailed
2051 description of the accepted options.
2053 2000-07-19 H.J. Lu <hjl@gnu.org>
2055 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2058 2000-07-19 H.J. Lu <hjl@gnu.org>
2060 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2062 2000-07-19 H.J. Lu <hjl@gnu.org>
2064 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2066 (process_dynamic_segment): Likewise.
2068 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2069 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2070 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2071 DF_1_NODUMP and DF_1_CONLFAT.
2073 2000-07-18 Nick Clifton <nickc@cygnus.com>
2075 * binutils.texi (readelf): Fix spelling typo.
2077 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2079 * objdump.c (usage): Make output of `objdump --help' more
2080 consistent with the rest of the GNU world. Add a line describing
2081 the purpose of the program.
2083 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2085 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2088 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2090 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2092 (process_symbol_table): Ditto.
2093 (procesS_extended_line_op): Ditto.
2094 (display_debug_lines): Ditto.
2095 (display_debug_pubnames): Ditto.
2096 (read_and_display_attr): Ditto.
2098 2000-07-09 Nick Clifton <nickc@cygnus.com>
2100 * MAINTAINERS: Add several more port specific maintainers.
2102 2000-07-05 Nick Clifton <nickc@cygnus.com>
2104 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2106 2000-06-05 DJ Delorie <dj@redhat.com>
2110 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2112 * dllwrap.c: Changed mistaken dyn_string_append() calls
2113 to dyn_string_append_cstr().
2115 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2117 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2118 struct debug_type stores size in bytes.
2120 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2122 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2123 (CLEANFILES): Add DEPA.
2124 * Makefile.in: Regenerate.
2126 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2128 * ar.c: Revert incorrect 2000-06-25 patch.
2129 * bucomm.c: Likewise.
2131 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2133 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2134 (external_coff_symbol_p): New function.
2135 (parse_coff): Use it.
2137 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2139 * ar.c (normalize): Advance past both characters in a DOS based
2140 <letter>: filepath prefix.
2142 * bucomm.c (make_tempname): Likewise.
2144 2000-06-24 Nick Clifton <nickc@cygnus.com>
2146 * objdump.c (usage): Fix description of --stabs switch.
2148 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2150 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2152 * Makefile.in: Regenerate.
2154 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2156 * ar.c (normalize): Correct pointer comparison when checking for
2159 * bucomm.c (make_tempname): Likewise.
2161 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2162 and search for backslashes in the original pathname.
2163 (ieee_add_bb11): Likewise.
2165 2000-06-18 Nick Clifton <nickc@redhat.com>
2167 * ar.c (print_contents): Improve verbose message.
2169 2000-06-15 H.J. Lu <hjl@gnu.org>
2171 * dyn-string.c: Removed. Not needed with dyn-string.c in
2173 * dyn-string.h: Likewise.
2175 * Makefile.am: Remove references to dyn-string.c and
2176 dyn-string.h. Rebuild dependency.
2177 * Makefile.in: Rebuild.
2179 2000-06-15 H.J. Lu <hjl@gnu.org>
2181 * binutils.texi: Put a warning on copying relocatable object
2182 files between two different formats.
2184 2000-06-13 DJ Delorie <dj@cygnus.com>
2186 * rcparse.y (control): ICON controls take an id as the first
2187 parameter, not an optional string. Also, call new convenience
2188 function that takes res_id's.
2189 * resrc.c (define_control): missing text means zero-length string,
2191 (define_icon_control): New.
2192 * windres.h: declare define_icon_control.
2194 2000-06-13 H.J. Lu <hjl@gnu.org>
2196 * configure: Regenerate.
2198 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2200 * configure.in (VERSION): Update to show this is the CVS mainline.
2202 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2204 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2205 analogous to <SPACE>.
2207 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2209 * objdump.c (display_target_list): Use bfd_close_all_done, not
2210 bfd_close to fix crash caused by 2000-05-24 change.
2212 2000-05-25 DJ Delorie <dj@cygnus.com>
2214 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2216 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2218 * Makefile.am: Update dependencies with "make dep-am"
2219 * Makefile.in: Regenerate.
2221 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2223 * ar.c: Include filenames.h.
2224 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2225 and drive letters in file names.
2226 (main): Support backslashes and drive letters in argv[0]. Drop
2227 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2228 FILENAME_CMP instead of strcmp to compare file names.
2229 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2231 (do_quick_append) [__GO32__]: Ditto.
2232 (get_pos_bfd, delete_members, move_members, replace_members):
2233 Compare file names with FILENAME_CMP.
2235 * bucomm.c: Include filenames.h.
2236 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2237 forward/backward slashes and drive letters in file names.
2239 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2240 mixed forward/backward slashes and drive letters in file names.
2242 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2243 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2246 * objcopy.c: Include filenames.h.
2247 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2248 before comparing to "strip".
2249 Use FILENAME_CMP to compare file names.
2251 * arsup.c: Include filenames.h.
2252 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2253 FILENAME_CMP to compare file names.
2254 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2255 the temporary file name.
2257 * configure.in: Check for setmode.
2258 * configure: Regenerate.
2260 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2262 * objdump.c (display_target_list): Close the bfd.
2263 (display_info_table): Likewise.
2265 2000-05-14 H.J. Lu (hjl@gnu.org)
2267 * objcopy.c (filter_symbols): Don't strip global symbols in
2268 relocatable object files.
2270 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2272 * size.c (usage): Associate short options with corresponding long
2273 option to give a clue as to their function.
2275 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2277 * size.c (main): Accept and ignore `-f' option.
2279 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2281 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2282 bindtextdomain): Replace defines with those from intl/libgettext.h
2283 to quieten gcc warnings.
2285 2000-05-12 H.J. Lu <hjl@gnu.org>
2287 * nlmconv.c (temp_filename): Removed.
2289 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2290 choose_temp_base ().
2291 * objdump.c (display_target_list): Likewise.
2292 (display_info_table): Likewise.
2294 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2296 * objcopy.c (setup_section): Add const and gettext calls for err.
2298 2000-05-02 H.J. Lu <hjl@gnu.org>
2300 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2301 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2302 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2303 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2304 and ELFOSABI_OPENBSD.
2306 2000-05-02 Kazu Hirata <kazu@hxi.com>
2308 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2309 * srconv.c: Likewise.
2310 * sysdump.c: Likewise.
2312 2000-04-23 Denis Chertykov <denisc@overta.ru>
2314 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2315 (get_machine_name): machine name for EM_AVR added.
2317 2000-04-21 Richard Henderson <rth@cygnus.com>
2318 David Mosberger <davidm@hpl.hp.com>
2320 * Makefile.am (readelf.o): Add elf/ia64.h.
2321 * Makefile.in: Rebuild.
2322 * readelf.c: Include elf/ia64.h.
2323 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2325 2000-04-17 Timothy Wall <twall@cygnus.com>
2327 * objdump.c (disassemble_data): Set octets per byte *after*
2328 resolving arch/mach for binary files.
2330 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2332 * arlex.l: Add directives to increase lex buffer size.
2334 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2335 already included by bucomm.h.
2337 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2339 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2340 `strftime' since strftime is not available on all systems.
2341 (process_mips_specific): Ditto.
2343 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2345 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2346 --enable-build-warnings option.
2347 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2348 * Makefile.in, configure: Re-generate.
2350 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2352 * addr2line.c: Update copyright.
2353 * objcopy.1: Likewise, and title.
2354 * strings.1: Likewise.
2356 * version.c (print_version): Add 2000.
2358 * rddbg.c (read_section_stabs_debugging_info): Don't use
2359 bfd_size_type for strx to avoid printf problems if BFD64.
2361 * bucomm.c: (report): Remove `static'.
2362 Move inclusion of stdarg.h/vararg.h from here.
2363 * bucomm.h: To here.
2364 (CONST): Change all occurences to const.
2365 (report): Declare it.
2366 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2367 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2368 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2370 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2371 Correct a typo in an error message.
2372 (do_quick_append): Use non_fatal instead of fprintf.
2373 (move_members): Use fatal instead of fprintf, exit.
2374 * coffdump.c (main): Same here.
2376 * dlltool.c (display): Delete.
2378 (inform): Use `report' instead of `display'.
2379 (rvaafter): Remove trailing \n from fatal error msg.
2381 (asm_prefix): Ditto.
2382 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2383 (def_name): Likewise.
2385 (scan_all_symbols): Likewise.
2386 (gen_lib_file): Likewise.
2387 (def_library): Likewise. Remove extra program_name too.
2388 (run): Remove \n from inform strings.
2389 (scan_drectve_symbols): Likewise.
2390 (add_excludes): Likewise.
2391 (scan_open_obj_file): Likewise.
2392 (gen_exp_file): Likewise.
2393 (gen_lib_file): Likewise.
2394 (process_duplicates): Likewise.
2396 * Makefile.am (dllwrap_SOURCES): Add version.c.
2397 * dllwrap.c (program_version): Delete.
2398 (print_version): Delete.
2399 (display): Always print trailing \n.
2401 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2404 (usage): gettext'ify.
2405 (long_options): Add missing initialisers.
2407 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2408 (select_output_format): Likewise.
2409 (powerpc_mangle_relocs): Likewise.
2410 (link_inputs): Likewise.
2412 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2413 (set_output_format): Likewise.
2414 (main): Use non_fatal instead of fprintf.
2415 (display_rel_file): Likewise.
2417 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2418 (slurp_dynamic_symtab): Same here.
2419 (disassemble_data): And here.
2420 (read_section_stabs): And here.
2421 (read_section_stabs): And here.
2422 (dump_bfd): And here.
2424 (objdump_sprintf): Use fatal instead of fprintf, exit.
2425 (disassemble_data): Same here.
2427 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2428 (parse_coff_struct_type): Same here.
2429 (parse_coff_enum_type): And here.
2430 (parse_coff): And here.
2431 * rddbg.c (read_debugging_info): And here.
2432 * size.c (main): And here.
2433 * windres.c (format_from_name): And here.
2434 * wrstabs.c (stab_write_symbol): Here too.
2435 (write_stabs_in_sections_debugging_info): And here.
2436 (stab_int_type): And here.
2437 (stab_struct_field): And here.
2438 (stab_typdef): And here.
2440 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2441 * srconv.c (main): Same here.
2442 * strings.c (main): And here.
2443 (integer_arg): And here.
2444 * sysdump.c (main): And here.
2446 2000-04-06 Timothy Wall <twall@cygnus.com>
2448 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2450 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2452 * readelf.c (decode_location_expression): Loop through multiple
2454 (read_and_display_attr): Pass in length.
2456 * readelf.c (read_and_display_attr): Add CU offset to references.
2457 (display_debug_info): Pass it in.
2459 2000-04-06 Nick Clifton <nickc@cygnus.com>
2461 * readelf.c (decode_ARM_machine_flags): New function.
2462 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2465 (get_machine_name): Catch EM_AVR
2467 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2469 * binutils.texi: Remove optional `=' from long options that have
2470 an `=' in the argument.
2471 * objcopy.1: Here too. Remove extra space on discard-all.
2473 * binutils.texi (objcopy): Mention --redefine-sym.
2474 * objcopy.1: Here too.
2477 * objcopy.c (parse_flags): Split off flag names from error message
2478 gettext as they are not translated.
2479 (copy_main): Similarly split off option name for --add-section,
2480 --set-section-flags, --change-section-vma, --change-section-lma
2482 Some white space changes.
2484 from Matthew Benjamin <matt@linuxbox.nu>
2485 * objcopy.c (struct redefine_node): New.
2486 (redefine_sym_list): New.
2487 (redefine_list_append): New.
2488 (lookup_sym_redefinition): New.
2489 (OPTION_REDEFINE_SYM): New.
2490 (copy_options): Add --redefine-sym option.
2491 (copy_usage): Mention it.
2492 (filter_symbols): Rename symbols on redefine_sym_list.
2493 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2494 (copy_main): Handle OPTION_REDEFINE_SYM.
2496 2000-04-04 H.J. Lu <hjl@gnu.org>
2498 * readelf.c (process_symbol_table): Correctly read in symbol
2499 versioning information.
2501 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2503 * po/binutils.pot: Regenerate.
2505 * addr2line.c (usage): Restore translated part of bug string.
2506 * ar.c (usage): Likewise.
2507 * nlmconv.c (show_usage): Likewise.
2508 * nm.c (usage): Likewise.
2509 * objcopy.c (copy_usage): Likewise.
2510 (strip_usage): Likewise.
2511 * objdump.c (usage): Likewise.
2512 * readelf.c (usage): Likewise.
2513 * size.c (usage): Likewise.
2514 * strings.c (usage): Likewise.
2515 * windres.c (usage): Likewise.
2517 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2518 (DEP): Quote when passing vars to sub-make. Add warning
2520 (DEP1): Rewrite for "gcc -MM".
2521 (CLEANFILES): Add DEP2.
2522 Update dependencies.
2523 * Makefile.in: Regenerate.
2525 2000-04-04 H.J. Lu <hjl@gnu.org>
2527 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2528 (arparse.h): Depend on arparse.c
2529 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2531 2000-04-03 H.J. Lu (hjl@gnu.org)
2533 * size.c (usage): Use REPORT_BUGS_TO.
2535 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2537 * bucomm.h: #include "bin-bugs.h"
2538 * addr2line.c (usage): Use REPORT_BUGS_TO.
2539 * ar.c (usage): Likewise.
2540 * nlmconv.c (show_usage): Likewise.
2541 * nm.c (usage): Likewise.
2542 (OPTION_TARGET): Define.
2543 (long_options): Use OPTION_TARGET rather than 200.
2546 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2547 (strip_usage): Likewise.
2548 * objdump.c (usage): Likewise.
2549 * readelf.c (usage): Likewise.
2550 * strings.c (usage): Likewise.
2551 * windres.c (usage): Likewise.
2553 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2555 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2557 2000-03-27 Nick Clifton <nickc@cygnus.com>
2559 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2560 string offsets in corrupt stabs entries.
2562 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2564 * readelf.c: Include elf/avr.h
2565 (dump_relocations): Add EM_AVR case.
2567 2000-03-09 Tim Waugh <twaugh@redhat.com>
2569 * strings.1: Correct '-bytes' to '--bytes'.
2571 2000-03-08 H.J. Lu <hjl@gnu.org>
2573 * Makefile.am (install-exec-local): Depend on
2574 install-binPROGRAMS for parallel make.
2575 * Makefile.in: Regenerated.
2577 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2579 From Brad Lucier <lucier@math.purdue.edu>:
2580 * readelf.c (process_dynamic_segment): Add cast to make sure
2581 argument to %* is int.
2583 2000-02-25 H.J. Lu <hjl@gnu.org>
2585 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2587 2000-02-24 Nick Clifton <nickc@cygnus.com>
2589 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2590 * configure: Regenerate.
2592 * dlltool.c: Add support for sh-pe and mips-pe targets.
2593 * rescoff.c: Add support for sh-pe and mips-pe targets.
2595 2000-02-23 H.J. Lu <hjl@gnu.org>
2597 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2599 2000-02-22 Nick Clifton <nickc@cygnus.com>
2601 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2603 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2605 From Brad Lucier <lucier@math.purdue.edu>:
2606 * readelf.c (process_version_sections): Add casts to make sure
2607 argument to %* is an int.
2608 (process_mips_specific): Add casts to make printf arguments match
2611 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2613 * objdump.c (dump_section_header): Change `opb' to unsigned.
2614 (find_symbol_for_address): Same here.
2615 (disassemble_data): And here. Change `addr_offset',
2616 `stop_offset', `nextstop_offset' to unsigned long.
2617 (dump_data): Change opb to unsigned.
2619 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2621 * resrc.c: Remove unmatched #if for cygwin.
2623 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2625 * binutils.texi: Document the change of flavor name from atpcs-special
2626 to special-atpcs to prevent name conflict in gdb.
2628 2000-02-08 Timothy Wall <twall@redhat.com>
2630 * objdump.c (show_line): Fix bug preventing printing of the very
2631 first line (line zero) of a file when interlisting source and
2632 assembly. Added option to print entire context from start of file
2633 when the first line from that file is encountered.
2635 2000-02-03 Timothy Wall <twall@redhat.com>
2637 * objdump.c (dump_section_header, find_symbol_for_address,
2638 show_line, disassemble_bytes, disassemble_data, dump_data):
2639 distinguish between octets and bytes.
2641 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2643 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2644 check to unresolved symbols.
2645 (print_symbol_info_sysv): Ditto.
2646 (print_symbol_info_posix): Ditto.
2648 * binutils.texi: Document new 'V' symclass flag for nm.
2650 2000-01-27 Nick Clifton <nickc@redhat.com>
2652 * binutils.texi (objdump): Document new ARM specific
2653 disassembler options.
2655 * objdump.c (usage): Call disassembler_usage().
2657 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2659 * readelf.c (get_dynamic_flags): Return buff.
2660 (process_dynamic_segment): Don't pass error strings to printf
2662 (read_and_display_attr): Use lx and ld to print longs.
2663 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2667 2000-01-17 Nick Clifton <nickc@cygnus.com>
2669 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2671 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2673 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2675 (debug_tag_type): Here too.
2676 * ieee.c (ieee_builtin_type): And here.
2677 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2679 2000-01-13 Nick Clifton <nickc@cygnus.com>
2681 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2684 2000-01-11 Nick Clifton <nickc@cygnus.com>
2686 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2688 2000-01-10 Nick Clifton <nickc@cygnus.com>
2690 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2692 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2694 * windres.c (long_options): Add --use-temp-file and
2695 --no-use-temp-file options.
2699 * windres.h: Update read_rc_file prototype.
2701 * resrc.c (cpp_temp_file): New static variable.
2702 (istream_type): New static variable.
2703 (close_pipe): Delete function.
2704 (run_cmd): New static function.
2705 (open_input_stream): New static function.
2706 (close_input_stream): New static function.
2707 (look_for_default): Handle DOS directory separator. Use
2708 open_input_stream instead of popen.
2709 (read_rc_file): Likewise.
2711 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2714 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2716 * dlltool.c (create_compat_implib): New variable.
2717 (gen_exp_file): Use.
2718 (make_one_lib_file): Use.
2719 (long_options): Add --compat-implib option.
2723 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2724 (main): Use. Don't look for "32" in cygwin and mingw target names.
2726 2000-01-03 Nick Clifton <nickc@cygnus.com>
2728 * binutils.texi: Document new, ARM specific disassembler
2729 command line switch "-M force-thumb".
2731 For older changes see ChangeLog-9899
2737 version-control: never