2002-08-13 H.J. Lu <hjl@gnu.org>
[binutils.git] / binutils / ChangeLog
blob5c752994b1ad2ec62f1b67d1da0d2e4eaf045640
1 2002-08-13  H.J. Lu <hjl@gnu.org>
3         * objcopy.c (copy_object): Don't warn about the unsupported
4         architecture unless the input target is defaulted or the
5         output architecture is different from the input.
7 2002-08-09  Nick Clifton  <nickc@redhat.com>
9         * po/sv.po: Updated Swedish translation.
11 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
13         * prdbg.c (pr_fix_visibility): Remove assert.
15 2002-07-31  Nick Clifton  <nickc@redhat.com>
17         * addr2line.c (process_file): Rename parameter 'filename' to
18         'file_name' in order to avoid shadowing global symbol of the
19         same name.
20         (main): Likewise.
22 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
24         * readelf.c (OPTION_DEBUG_DUMP): Define.
25         (options): Use it.
26         (usage): Update help.
27         (parse_args): Handle --debug-dump separately from -w.
28         * doc/binutils.texi (readelf): Update documentation.
30 2002-07-25  Nick Clifton  <nickc@redhat.com>
32         * po/es.po: Updated Spanish translation.
33         * po/fr.po: Updated French translation.
35 2002-07-24  Nick Clifton  <nickc@redhat.com>
36         
37         * po/es.po: Updated Spanish translation.
39 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
41         * Makefile.am: Run "make dep-am".
42         * Makefile.in: Regenerate.
44 2002-07-23  Nick Clifton  <nickc@redhat.com>
46         * po/fr.po: Updated French translation.
48 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
50         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
52 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
54         * budemang.c: Include config.h and string.h/strings.h.
56 2002-07-18 Denis Chertykov  <denisc@overta.ru>
57            Frank Ch. Eigler  <fche@redhat.com>
59         * readelf.c: Include "elf/ip2k.h".
60         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
61         (dump_relocations): Likewise.
62         (get_machine_name): Likewise.
63         * NEWS: Mention IP2K support.
65 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
67         * NEWS: Add 'Changes in 2.13'.
69 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
71         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
72         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
73         (get_section_type_name): Handle SHT_GNU_LIBLIST.
74         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
75         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
76         (process_gnu_liblist): New.
77         (process_file): Call it.
79 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
81         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
82         * Makefile.in: Regenerate.
84 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
86         * budemang.c: New file, "demangle" function.
87         * budemang.h: New file.
88         * addr2line.c (translate_addresses): Use "demangle".
89         * nm.c (print_symname): Likewise.
90         * objdump.c (objdump_print_symname): Likewise.
91         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
92         here since that obfuscates.
93         * rdcoff.c: Don't #include demangle.h.
94         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
95         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
96         (HFILES): Add budemang.h.  Sort.
97         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
98         Run "make dep-am".
99         * Makefile.in: Regenerate.
101 2002-07-01  Matt Thomas  <matt@3am-software.com>
103         * readelf.c: Include "elf/vax.h".
104         (guess_is_rela): Move EM_VAX from unknown to RELA case.
105         (dump_relocations): Handle VAX relocations.
106         (get_machine_flags): Handle VAX machine flags.
108 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
110         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
112 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
114         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
116 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
118         * nm.c (print_symname): When demangling, strip leading dots from
119         symbol names to avoid confusing the demangler.
121 2002-06-25  H.J. Lu <hjl@gnu.org>
123         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
124         * Makefile.in: Regenerated.
126 2002-06-21  Igor Schein  <igor@txc.com>
128         * configure.in: Quote bu_cv_have_fopen64.
129         * configure: Regenerate.
131 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
133         * configure.in: Check for strcoll.
134         * configure: Regenerate.
135         * config.in: Regenerate.
136         * nm.c (main): Set locale for LC_COLLATE category.
137         (non_numeric_forward): Use strcoll if available.
139 2002-06-20  Dave Brolley  <brolley@redhat.com>
141         * MAINTAINERS: Add self as fr30 and frv maintainer.
143 2002-06-18  H.J. Lu  (hjl@gnu.org)
145         * nm.c: Include "elf/common.h".
146         (extended_symbol_info): Add elfinfo, a pointer to
147         elf_symbol_type.
148         (SYM_SIZE): Use elfinfo if it is not NULL.
149         (get_symbol_type): New function.
150         (display_archive): Set print_width for each archive member.
151         (display_file): Likewise.
152         (display_rel_file): Don't set print_width here.
153         (print_object_filename_sysv): Handle print_width.
154         (print_archive_member_sysv): Likewise.
155         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
156         (print_symbol): Set the elfinfo field in extended_symbol_info
157         for ELF.
158         (print_object_filename_sysv): Fix the output format.
159         (print_symbol_info_sysv): Print type and section for ELF.
161 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
163         * nm.c (print_size_symbols): Remove assignment, which makes
164         the symbol's size equal to its value when --size-sort is 
165         used.
167 2002-06-18  Dave Brolley  <brolley@redhat.com>
169         From Catherine Moore:
170         * readelf.c (elf/frv.h): #include it.
171         (guess_is_rela): Support EM_CYGNUS_FRV.
172         (dump_relocations): Ditto.
173         (get_machine_name): Ditto.
174         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
176 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
178         * readelf.c (get_file_header): Only read the first section header if
179         e_shoff is non-zero.
181 2002-06-15  H.J. Lu  (hjl@gnu.org)
183         * nm.c (print_size): New variable. Initialize to 0.
184         (long_options): Add 'S'/"print-size".
185         (main): Handle 'S'.
186         (print_symbol_info_bsd): Print size only if print_size is not
187         0.
189         * doc/binutils.texi: Document -S/--print-size.
191 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
193         * nm.c (struct extended_symbol_info): New strcuture: Add the size
194         of the symbols to the information provided by the symbol_info
195         structure.
196         (print_symbols): Pass the symbol size to print_symbol.
197         (print_size_symbols): Pass the symbol size to print_symbol.
198         (print_symbol): Extra argument: The size of the symbol.  Store
199         this in the extended_symbol_info structure.
200         (print_symbol_info): Change type of info parameter to
201         extended_symbol_info.  Display the size, if known.
202         (print_symbol_info_posix): Likewise.
203         (print_symbol_info_sysv): Likewise.
205 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
207         * Makefile.am: Run "make dep-am".
208         * Makefile.in: Regenerate.
209         * doc/Makefile.in: Regnerate.
211         * bucomm.c: Replace CONST with const.
212         * nm.c: Likewise.
213         * objdump.c: Likewise.
215 2002-06-07  H.J. Lu <hjl@gnu.org>
217         * readelf.c (DW_CFA_GNU_args_size): Don't define.
218         (DW_CFA_GNU_negative_offset_extended): Likewise.
219         (DW_CFA_GNU_window_save): Likewise.
220         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
221         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
223 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
224         
225         * nm.c: When computing size of symbols for an ELF target use the
226         internal size field.
228 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
230         * testsuite/binutils-all/objcopy.exp: clear xfail for
231         "hppa*64*-*-hpux*".
232         * testsuite/binutils-all/hppa/objdump.exp: Return if
233         "*64*-*-*".
235 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
237         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
239 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
241         * objdump.c: Fix formatting.
243 2002-05-29  Ben Elliston  <bje@redhat.com>
245         * MAINTAINERS: Add self as M68k maintainer.
247 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
249         * readelf.c: Modified/Added DLX elf support.
251 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
253         * arsup.c: Fix formatting.
254         * debug.c (debug_record_label): Add missing colon to error
255         message.
256         * ieee.c (parse_ieee_ty): Fix spelling typo.
257         * readelf.c (process_program_headers): Remove English assumption
258         about making a plural word.
259         (process_section_headers): Likewise.
260         (process_relocs): Allow quotes to be translated.
261         (process_unwind): Likewise,
262         (process_mips_specific): Improve error message.
263         (get_note_type): Fix spelling typo.
265         * configure.in (ALL_LINGUAS): Add sv
266         * po/sv.po: New file.
268 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
270         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
271         (unw_print_grmask): Likewise.
272         (unw_print_frmask): Likewise.
274 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
276         * arsup.c: Remove ARGSUSED.
277         * debug.c: Likewise.
278         * ieee.c: Likewise.
279         * nlmconv.c: Likewise.
280         * prdbg.c: Likewise.
281         * stabs.c: Likewise.
282         * wrstabs.c: Likewise.
284 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
286         * arlex.l: Use #include "" instead of <> for local header files.
287         * coffdump.c: Likewise.
288         * coffgrok.c: Likewise.
289         * nlmconv.c: Likewise.
290         * nlmheader.y: Likewise.
291         * srconv.c: Likewise.
292         * strings.c: Likewise.
293         * sysdump.c: Likewise.
294         * unwind-ia64.h: Likewise.
295         * windres.h: Likewise.
296         * winduni.h: Likewise.
298 2002-05-24  Tom Rix  <trix@redhat.com>
300         * MAINTAINERS: Add self as the d10v maintainer.
302 2002-05-24   TAMURA Kent <kent@netbsd.org>
304         * configure.in: Builds dlltool for i386-netbsdpe.
305         * configure: Regenerate.
307 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
309         * size.c: Fix formatting.
310         * srconv.c: Likewise.
311         * stabs.c: Likewise.
312         * sysdump.c: Likewise.
313         * unwind-ia64.c: Likewise.
314         * wrstabs.c: Likewise.
316 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
318         * readelf.c (get_segment_type): Add PT_TLS.
319         (get_elf_section_flags): Add SHF_TLS.
320         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
321         (process_dynamic_segment): Use puts instead of printf.
322         (get_symbol_type): Support STT_TLS.
323         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
324         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
325         Add SEC_THREAD_LOCAL.
327 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
329         * rdcoff.c: Fix formatting.
330         * rddbg.c: Likewise.
331         * readelf.c: Likewise.
332         * rename.c: Likewise.
333         * resbin.c: Likewise.
334         * resrc.c: Likewise.
335         * resres.c: Likewise.
337 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
339         * filemode.c: Fix formatting.
340         * ieee.c: Likewise.
341         * is-ranlib.c: Likewise.
342         * is-strip.c: Likewise.
343         * maybe-ranlib.c: Likewise.
344         * maybe-strip.c: Likewise.
345         * nlmconv.c: Likewise.
346         * nm.c: Likewise.
347         * not-ranlib.c: Likewise.
348         * not-strip.c: Likewise.
349         * objcopy.c: Likewise.
350         * objdump.c: Likewise.
352 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
354         * objdump.c (dump_headers): Fix output formatting for ELF32
355         architectures in a BFD64 enabled toolchain.
357 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
359         * debug.c: Fix formatting.
360         * debug.h: Likewise.
361         * dlltool.c: Likewise.
362         * dllwrap.c: Likewise.
363         * emul_aix.c: Likewise.
364         * emul_vanilla.c: Likewise.
366 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
368         * addr2line.c: Fix formatting.
369         * ar.c: Likewise.
370         * arsup.c: Likewise.
371         * arsup.h: Likewise.
372         * binemul.c: Likewise.
373         * binemul.h: Likewise.
374         * bucomm.c: Likewise.
375         * coffdump.c: Likewise.
376         * coffgrok.c: Likewise.
377         * coffgrok.h: Likewise.
379 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
381         * MAINTAINERS: Add myself as the second AVR port maintainer.
383 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
385         * MAINTAINERS: Update my email address.
387 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
389         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
391 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
393         * configure.in: Replace `*pe' with `pe' throughout.
394         * configure: Regenerate.
396 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
398         * Makefile.am: Honour DESTDIR.
399         * Makefile.in: Regenerate.
401 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
403         * dlltool.c (process_def_file): Add missing prototype.
404         (new_directive, assemble_file, main): Likewise.
405         (process_def_file, new_directive): Make static.
406         (inform): Rewrite using VA_FIXEDARG.
407         * dllwrap.c (mybasename): Add missing prototype.
408         (strhash, main): Likewise.
409         (inform): Rewrite using VA_FIXEDARG.
410         (warn): Likewise.
411         (cleanup_and_exit): Use old style function definition.
412         (strhash): Likewise.
413         * windres.c (define_resource): Use one memset to clear all of
414         struct res_resource.
416         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
417         call to rules that need no lookahead.  Check for no lookahead.
419 2002-05-06  Borut Razem  <borut.razem@siol.net>
421         * rclex.l (get_string): Correct "strings" list handling.
422         * resrc.c (read_rc_file): Discard strings.
424 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
426         * ar.c (replace_members): Remove unused var.  Formatting fix.
427         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
429         * MAINTAINERS: Sort port maintainers by CPU.
431 2002-05-04  Bob Byrnes  <byrnes@curl.com>
433         * size.c (display_archive): Add last_arfile and code to close archives.
435 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
437         * nm.c (print_symbol): Check returned filename from
438         bfd_find_nearest_line is non-NULL.
440 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
441     
442         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
444 2002-04-24  Christian Groessler <chris@groessler.org>
446         * MAINTAINERS: Changed my email address.
448 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
450         * arparse.y: Fix syntax warning.
452 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
454         * readelf.c (fetch_location_list): Remove unused function.
456         * readelf.c (process_corefile_note_segment): Catch corrupt notes
457         and display a warning message, then exit the loop.
459         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
461 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
463         * resrc.c (write_rc_dialog): If charset is non-default value
464         display all of the DIALOGEX parameters.
466 2002-04-15  Eric Kohl <ekohl@rz-online.de>
468         * rcparse.y: Allow two to five parameter in FONT statement of 
469         DIALOGEX resources.
470         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
471         resource data.
472         (res_to_bin_dialog): Likewise.
473         * windres.h: Added misssing charset variable to dialog_ex
474         structure.
476 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
478         * rcparse.y: Set MEMFLAG_PURE by default.
480 2002-04-09  Bernd Herd <info@herdsoft.com>
482         * rcparse.y: CLASS definitions in DIALOG resources 
483         are quoted.
484         Fix typo in BEDIT warning.
485         Don't add default dialog style when explicit style specified.
486         Add WS_CAPTION dialog style if CAPTION is specified.
488         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
489         (handle_quotes) "\a" escape (used for right justified key
490         definitions in menus) is encodes as binary 8.
492         * resrc.c (write_rc_dialog): Print style even if it is 0.
493         (write_rc_directory): Fix overlooked sublang shift bug.
494         (bin_to_res_dialog): Don't print empty dialog caption.
496         * resbin.c (bin_to_res_dialog): Use signature to identify
497         DIALOGEX.
499         * windres.c (main): Set default LANGUAGE to english/us.
501 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
503         * resrc.c: print CLASS names in quotes
505 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
507         * MAINTAINERS: Update my email address.
509 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
511         * dep-in.sed: Cope with absolute paths.
512         * Makefile.am (dep.sed): Subst TOPDIR.
513         Run "make dep-am".
514         * Makefile.in: Regenerate.
516 2002-03-27  Peter Targett  <peter.targett@arc.com>
518         * MAINTAINERS: Update my email address.
520 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
522         * Makefile.am: Run "make dep-am".
523         * Makefile.in: Regenerate.
524         * doc/Makefile.in: Regenerate.
525         * po/POTFILES.in: Regenerate.
526         * aclocal.m4: Regenerate.
527         * config.in: Regenerate.
528         * configure: Regenerate.
530 2002-03-20  Daniel Berlin  <dan@dberlin.org>
532         * readelf.c: Add support for displaying dwarf2 location lists.
533         (do_debug_loc, debug_loc_section, debug_loc_size): New.
534         (parse_args): Use 'O' as shorthand for displaying location list
535         section.
536         (process_section_headers): Handle debug_loc as well.
537         (load_debug_loc): New.
538         (free_debug_loc): New.
539         (fetch_location_list): New.
540         (display_debug_loc): New.
541         (display_debug_info): Call load_debug_loc and free_debug_loc.
542         (debug_displays): We can display .debug_loc now, too.
543         (usage): Update usage string.
544         (read_and_display_attr_value): Note location lists, but don't
545         display them inline.
547 2002-03-18  Tom Rix  <trix@redhat.com>
549         * Makefile.am: Add binutils emulation support.
550         * configure.in: Same.
551         * configure.tgt: New file.  Same.
552         * ar.c (main): Use ar_emul_parse_arg.
553         (usage): Use ar_emul_usage.
554         (replace_members): Use ar_emul_replace, ar_emul_append.
555         * binemul.c: New file.  Define the binutils emulation
556         layer. Define default methods.
557         * binemul.h: New file.  Binutils emulation layer header file.
558         * emul_aix.c: New file.  AIX binutils emulation.
559         * emul_vanilla.c: New file. Default binutils emulation.
560         * Makefile.in: Regenerate.
561         * configure: Same.
563 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
565         * po/fr.po: Updated version.
567 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
569         * po/fr.po: Updated version.
571 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
573         * README: Update some version numbers.
575 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
577         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
578         (Architecture Selection): Likewise.
580 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
582         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
583         generating .exp file.
585 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
587         * readelf.c (dump_relocations): Fix typo.
589 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
591         * NEWS: Mark 2.12 branch.
593 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
595         * readelf.c (dump_relocations): Display 2nd and 3rd reloc 
596         types for 64-bit MIPS.  Narrow some fields for 80-char 
597         output.
598         (dump_relocations): Change spelling from 'unrecognised' 
599         to 'unrecognized'.
600         (decode_ARM_machine_flags): Likewise.
601         (parse_args): Likewise.
602         (read_and_display_attr_value): Likewise.
603         (display_debug_section): Likewise.
605 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
607         * NEWS: Mention support for MMIX.
609 2002-02-13  Matt Fredette  <fredette@netbsd.org>
611         * readelf.c (get_machine_flags): Recognize EF_M68000.
613 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
615         * MAINTAINERS: Added self as MN10300 co-maintainer.
617 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
619         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
620         DT_PPC64_OPDSZ.
622 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
624         * MAINTAINERS: List myself as branch maintainer.
626 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
628         * configure: Regenerate.
629         * objcopy.c: Update copyright date.
630         * doc/Makefile.in: Regenerate.
632 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
634         * nlmconv.c: Back out localtime PARAMS change.
636 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
638         * objcopy.c (MKDIR): Define.
639         (copy_archive): Make name_list.name const.  Use MKDIR.
640         Handle duplicate files in archives by making more temp dirs.
642 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
644         * coffdump.c: Include "getopt.h" after "bucomm.h"
645         so that macros are defined correctly.
646         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
647         prototype.  Prototype main.
648         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
650 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
652         * MAINTAINERS: Added self as SH co-maintainer.
654 2002-02-05  Nick Clifton <nickc@redhat.com>
656         * po/tr.po: Updated translation.
658 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
660         * Makefile.am: Run "make dep-am"
661         * Makefile.in: Regenerate.
663 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
665         * nm.c (print_value): Mark abfd unused.
667 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
669         * unwind-ia64.c (unw_decoder): Change second argument
670         to unsigned int, to match function prototypes.
672 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
674         * objdump.c: Include "getopt.h" after "bucomm.h" so that
675         __GNU_LIBRARY__ will be defined.
676         * size.c: Likewise.
678 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
680         * configure: Regenerated.
682 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
684         * doc/Makefile.am (install): Depend on install-info.
685         * doc/Makefile.in: Regenerate.
687 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
689         * objcopy.c (strip_usage): Document -d as an alias
690         --strip-debug.
692         * size.c (usage): Document [-t | --totals] options.
693         (long_options): Add --totals option.
694         (main): If the [-t | --totals] option is specified and
695         the output format is Berkeley-style, print the total
696         text, data, and bss sizes of all objects listed.
697         (print_berkeley_format): If the [-t | --totals] option
698         is specified, track the total text, data, and bss
699         sizes.
700         * doc/binutils.texi (size): Document [-t | --totals] options.
701         (strip): Document -d as an alias for --strip-debug.
702         * NEWS: Mention new feature of size.
704 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
706         * po/fr.po: Updated version.
707         * po/es.po: Updated version.
709 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
711         * addr2line.c (usage): Update text to provide verbose
712         description of the command line options.
713         * ar.c (usage): Update text to provide verbose
714         description of the command line options.
715         (main): Accept -h and -H when running as ranlib.
716         * coffdump.c (show_usage): Update text to provide verbose
717         description of the command line options.
718         * dlltool.c (main): Accept -H as an alias for --help.
719         * nlmconv.c (show_usage): Update text to provide verbose
720         description of the command line options.
721         * nm.c (usage): Replace OPTIONS with option(s).
722         (main): Accept -H as an alias for --help.
723         * objcopy.c (strip_main): Accept -H as an alias for --help.
724         * objdump.c (main): Accept -v as an alias for --verbose.
725         * readelf.c (usage): Adjust format to match style used in
726         other binutils.
727         * size.c (usage): Update text to provide verbose description
728         of the command line options.
729         (main): Accept -v, -h and -H as command line options.
730         * srconv.c (show_usage): Update text to provide verbose
731         description of the command line options.
732         * strings.c (main): Accept -H and -v as command line options.
733         (usage): Update text to provide verbose description of the
734         command line options.
735         * sysdump.c (show_usage): Update text to provide verbose
736         description of the command line options.
737         * windres.c (usage): Adjust format to match style used in
738         other binutils.
740         * coffdump.c: Fix formatting.
741         * nlmconv.c: Fix formatting.
742         * srconv.c: Fix formatting.
743         * sysdump.c: Fix formatting.
745 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
747         * Makefile.am: Run "make dep-am".
748         * Makefile.in: Regenerate.
750 2002-01-18  Andreas Jaeger  <aj@suse.de>
752         * version.c (print_version): Update year.
754 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
756         * readelf.c (get_machine_name): Handle EM_PPC64.
757         (guess_is_rela): Here too.
759 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
761         * po/binutils.pot: Regenerate.
762         * po/fr.po: Regenerate.
763         * po/tr.po: Regenerate.
765 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
767         * po/tr.po: Import new version.
769 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
771         * readelf.c (get_ppc64_dynamic_type): New.
772         (get_dynamic_type): Call it.
774 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
776         * objcopy.c (copy_usage): Use "options" instead of "switches".
777         (strip_usage): Use "options" instead of "switches".
778         * doc/binutils.texi (dlltool):  Refer to "options" instead of
779         "switches".
781 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
783         * MAINTAINERS: Add self as co-maintainer for the ARM code.
785 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
787         * po/es.po: Import from translation project.
788         * configure.in (ALL_LINGUAS): Add es.
789         * configure: Regenerate.
791 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
793         * readelf.c (get_netbsd_elfcore_note_type): Use
794         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
796 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
798         * readelf.c: Update copyright years.
799         (get_note_type): Return a const char *.
800         (get_netbsd_elfcore_note_type): New function.
801         (process_note): Use get_netbsd_elfcore_note_type to get
802         the note type string for NetBSD ELF core files.
804 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
806         * readelf.c (get_ia64_segment_type): Add support for macros.
807         (get_segment_type): Add support for IA64 specific macros.
809 2001-12-20  Julian v. Bock  <julian@wongr.net>
811         * readelf.c (print_symbol): New function: Print a formatted symbol
812         name.  If --wide is specified do not truncate it.
813         (dump_relocations): Use print_symbol() to print symbol names.
814         (process_symbol_table): Likewise.
815         (process_syminfo): Likewise.
816         (process_mips_specific): Likewise.
817         (usage): Document new feature of --wide switch.
818         * doc/binutils.texi (objdump): Document additional behaviour of
819         --wide.
821 2001-12-18  Michael Snyder  <msnyder@redhat.com>
823         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
824         (copy_object): Don't set the start address or flags of a core file.
825         (copy_section): Don't relocate a core file.  Don't copy contents
826         if the input section has the contents flag set, but the output
827         section does not (which happens with the fake 'note' pseudo-
828         sections that BFD creates for corefiles).
830 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
832         * readelf.c (get_machine_flags): Recognize header flags for ABI and
833         ASE extensions. More robust code for ISA checking. Ignore empty fields
834         in header flags for GNU extensions.
836 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
838         * objcopy.c (copy_archive): Set output bfd format outside the loop.
840 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
842         * po/ja.po: Import from translation project.
843         * configure.in (ALL_LINGUAS): Add ja.
844         * configure: Regenerate.
846 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
848         * addr2line.c (main): Protoype.
849         * ar.c (main): Protoype.
850         * nm.c (main): Protoype.
851         * objcopy.c (main): Protoype.
852         * objdump.c (main): Protoype.
853         * size.c (main): Protoype.
854         * strings.c (main): Protoype.
856 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
858         * readelf.c (symtab_shndx_hdr): New global.
859         (SECTION_HEADER_INDEX): Define.
860         (SECTION_HEADER_NUM): Define.
861         (SECTION_HEADER): Define.
862         (GET_ELF_SYMBOLS): Pass two params rather than three.
863         (get_32bit_elf_symbols): Take file and section args.  Read and
864         use SHT_SYMTAB_SHNDX.
865         (get_64bit_elf_symbols): Likewise.
866         (dump_relocations): Use SECTION_HEADER to index "section_headers".
867         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
868         Remember symtab_shdx_hdr.
869         (process_program_headers): Scan from index 1 for segment map.
870         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
871         "section_headers".
872         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
873         (process_unwind): Likewise.
874         (process_version_sections): Likewise.
875         (process_symbol_table): Likewise.
876         (display_debug_info): Likewise.
877         (process_dynamic_segment): Fake up a symtab section for changed
878         GET_ELF_SYMBOLS.
879         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
880         (process_program_headers): Kill signed/unsigned warning.
881         (load_debug_str): Likewise.
882         (display_debug_info): Likewise.
884 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
886         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
888 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
890         * readelf.c (process_file_header): Print extended e_shnum and
891         e_shdtrndx values.  Set elf_header values for same.
892         (get_32bit_section_headers): Add "num" arg to read "num" headers.
893         (get_64bit_section_headers): Likewise.
894         (process_section_headers): Update calls.
895         (get_file_header): Call get_32bit_section_headers or 64bit variant.
897 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
899         * objcopy.c (setup_section): Copy entsize.
901 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
903         * readelf.c (guess_is_rela): Add support for stormy16.
904         (dump_relocations): Likewise.
905         (get_machine_name): Likewise.
907 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
909         * dllwrap.c (main) Replace multiple strings describing a
910         single error with a single, newline escaped sentence to permit
911         better translation into foreign languages.
913         * readelf.c (get_elf_class): Remove internalionalisation of ELF
914         class names.
916 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
918         * strings.c (get_char): Initialize value.
920 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
922         * arlex.l: Silence compile warnings.
923         * arsup.h: Likewise. Fix formatting.
925 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
927         * strings.c: Include config.h before bfd.h.
928         (file_off): New type.
929         (file_open): Define.
930         (print_strings): Use file_off instead of file_ptr.  Print addresses
931         which don't fit into long correctly.
932         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
933         available.
934         (strings_file): Use file_off instead of file_ptr.  Use file_open.
935         * configure.in: Check for getc_unlocked.
936         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
937         be defined for it.
938         * configure: Rebuilt.
939         * config.h.in: Rebuilt.
941 2001-11-29  H.J. Lu <hjl@gnu.org>
943         * bucomm.c (make_tempname): Revert the changes made on
944         2001-11-14 and 2001-11-12. They won't work with directories.
946 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
948         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
949         CFLAGS_FOR_TARGET to runtest in environment.
950         * Makefile.in: Rebuild.
951         * doc/Makefile.in: Rebuild.
953 2001-11-28  Mike Stump  <mrs@wrs.com>
955         * objcopy.c (setup_section): Preserve SEC_RELOC when
956         --set-section-flags is used.
958 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
960         * readelf.c (do_debug_str): New variable.
961         (display_debug_str): New function: Display the contents of a
962         .debug_str section.
963         (load_debug_str): New function: Load in the contents of a
964         .debug_str section.
965         (free_debug_str): New function: Free the memory used by
966         load_debug_str().
967         (fetch_indirect_string): Retrieve a string from the .debug_str
968         section.
969         (usage): Add -ws.
970         (parse_args): Accept -ws.
971         (process_section_headers): Allow the display of the .debug_str
972         section.
973         (read_and_display_attr_value): Use fetch_indirect_string.  Show
974         offset into .debug_str section.
975         (display_debug_info): Use load_debug_str and free_debug_str.
976         (debug_displays): Add .debug_str.
977         * doc/binutils.texi: Document -ws.
979 2001-11-19  Andreas Jaeger  <aj@suse.de>
981         * testsuite/binutils-all/objdump.exp: Add x86-64.
983 2001-11-15  Andreas Schwab  <schwab@suse.de>
985         * readelf.c: Fix warnings without terminating newline.
987 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
989         * doc/binutils.texi (objdump): Document ppc -M options.
991 2001-11-14  Andreas Jaeger  <aj@suse.de>
993         * doc/binutils.texi (objdump): Fix description to use x86-64.
995 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
997         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
998         not all systems provide mkstemp.
1000 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1002         * doc/binutils.texi (objdump): Document x86 -M options.
1004 2001-11-13  Keith Walker <keith.walker@arm.com>
1006         * readelf.c (read_and_display_attr_value): New function to
1007         handle DW_FORM_indirect.
1008         (read_and_display_attr): Use it.
1010 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1012         * readelf.c (display_debug_lines): Deal with unknown standard
1013         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1014         DW_LNS_set_isa.
1016 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1018         * MAINTAINERS: Add self as tic54x maintainer.  This target
1019         includes the IBM C54XDSP clone.
1021 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1023         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1025 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1027         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1028         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1029         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1030         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1031         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1032         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1033         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1035         * readelf.c (get_elf_class): Fix ISO portability glitch.
1036         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1038 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1040         * readelf.c (debug_str, debug_str_size): New.
1041         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1042         Call free_abbrevs.
1043         (read_and_display_addr): Handle DW_FORM_strp.
1044         (display_debug_info): Read .debug_str section if present,
1045         so that DW_FORM_strp can be handled.
1046         Fix test for non-existant .debug_abbrev section.
1048 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1050         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1052         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1054 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1056         * MAINTAINERS: Add self as s390/s390x maintainer.
1058 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1060         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1062 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1064         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1065         * configure: Regernate.
1066         * po/fr.po: New file.
1067         * po/tr.po: New file.
1069 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1071         * MAINTAINERS: Add self as MMIX port maintainer.
1072         * readelf.c: Include elf/mmix.h.
1073         (guess_is_rela): MMIX is RELA.
1074         (dump_relocations): Handle MMIX relocations.
1075         * Makefile.am: Regenerate dependencies.
1076         * Makefile.in: Regenerate.
1078 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1080         * readelf.c (parse_args): Handle multiple options to the -w
1081         switch.
1083 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1085         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1086         LOPROC, LOOS and LOUSER.
1088 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1090         * MAINTAINERS: Update my email address.
1092 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1094         * doc/Makefile.in: Regenerate.
1095         * configure: Regenerate.
1097 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1099         * readelf.c (display_debug_line, display_debug_pubnames,
1100         display_debug_info, display_debug_frames): Detect and warn
1101         about 64-bit format entries.
1102         (display_debug_aranges): Reword 64-bit warning.
1103         (debug_displays): Add .debug_pubtypes as a known, but not yet
1104         supported, debug section.
1106 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1108         * coffdump.c (PROGRAM_VERSION): Delete.
1109         (main <'V'>): Call print_version.
1110         * srconv.c: Likewise.
1111         * sysdump.c: Likewise.
1112         * version.c (program_version): Remove.
1113         (print_version): Use BFD_VERSION_STRING.  Just print the current
1114         year in copyright message.
1115         * addr2line.c (program_version): Remove unused declaration.
1116         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1117         place of BFD_VERSION.
1118         * Makefile.am (Makefile): Depend on bfd/configure.in.
1119         (cplus-dem.o): Depend on Makefile.
1120         Run "make dep-am".
1121         * Makefile.in: Regenerate.
1123 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1125         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1126         format .debug_arange sections.
1127         (main): Add missing prototype.
1129 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1131         * Makefile.am: Update dependencies with "make dep-am".
1132         * Makefile.in: Regenerate.
1134 2001-09-28  Richard Henderson  <rth@redhat.com>
1136         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1138 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1140         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1141         VA_CLOSE.
1142         (non_fatal): Likewise.
1143         * objdump.c (objdump_sprintf): Likewise.
1144         * readelf.c (error): Likewise.
1145         (warn): Likewise.
1147 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1149         * readelf.c (do_wide): New.
1150         (options): Add --wide.
1151         (usage, parse_args): Likewise.
1152         (process_program_headers): Put each segment on a single line if
1153         --wide is given.
1154         (process_section_headers): Put each section on a single line if
1155         --wide is given.
1156         * doc/binutils.texi: Document it.
1157         * NEWS: Likewise.
1159 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1161         * readelf.c (print_vma): Print 8 digits of low hex value.
1163 2001-09-24  Andreas Jaeger  <aj@suse.de>
1165         * nlmconv.c: Fix warnings about unused attributes and function
1166         prototypes.
1168         * strings.c: Add prototype for get_char.
1170 2000-09-19  H.J. Lu  <hjl@gnu.org>
1172         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1173         $(srcdir)/cxxfilt.man.
1174         * doc/Makefile.in: Rebuild.
1176 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1178         * objcopy.c (copy_main): Correct rename-section string parsing.
1179         Consolidate new_name parsing, and error messages.
1181 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1183         * addr2line.c: Don't include <ctype.h>.
1184         (main): For gettext, also set the LC_CTYPE locate facet.
1185         * ar.c (main): Likewise.
1186         * coffdump.c (main): Likewise.
1187         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1188         (main): For gettext, also set the LC_CTYPE locate facet.
1189         Use ISALNUM instead of isalpha/isdigit.
1190         * dllwrap.c: Don't include <ctype.h>.
1191         (main): For gettext, also set the LC_CTYPE locate facet.
1192         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1193         (main): For gettext, also set the LC_CTYPE locate facet.
1194         Use TOUPPER instead of islower/toupper.
1195         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1196         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1197         Use TOUPPER instead of islower/toupper.
1198         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1199         * objcopy.c (main): Likewise.
1200         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1201         (disassemble_bytes): Use ISPRINT instead of isprint.
1202         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1203         (dump_data): Use ISPRINT instead of isprint.
1204         (main): For gettext, also set the LC_CTYPE locate facet.
1205         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1206         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1207         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1208         Use TOUPPER instead of islower/toupper.
1209         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1210         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1211         (write_rc_accelerators): Use ISPRINT instead of isprint.
1212         (write_rc_rcdata): Likewise.
1213         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1214         * srconv.c (main): Likewise.
1215         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1216         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1217         isdigit/isupper/islower.
1218         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1219         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1220         stab_demangle_prefix, stab_demangle_qualified,
1221         stab_demangle_template, stab_demangle_type,
1222         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1223         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1224         (isgraphic): Use ISPRINT instead of isascii/isprint.
1225         (main): Remove HAVE_LC_MESSAGES dependency.
1226         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1227         (pbarray): Use ISPRINT instead of isprint.
1228         (main): For gettext, also set the LC_CTYPE locate facet.
1229         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1230         (format_from_filename): Use ISPRINT instead of isprint.
1231         (main): For gettext, also set the LC_CTYPE locate facet.
1232         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1233         (unicode_print): Use ISPRINT instead of isprint.
1234         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1235         (stab_variable): Use ISDIGIT instead of isdigit.
1237 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1239         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1240         Replace bfd_read call with call to bfd_bread.
1241         (extract_file): Likewise.
1243         * objdump.c (dump_section_header): Cast section->filepos to
1244         unsigned long to suit printf format string.
1245         * readelf.c (process_section_headers): Similarly for sh_offset.
1246         (process_unwind): Likewise.
1248 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1250         * strings.c (encoding, encoding_bytes): New variables.
1251         (long_options): Add --encoding.
1252         (main): Accept -e and --encoding.
1253         (get_char): New function.  Read a, possibly wide, character from
1254         the input stream.
1255         (print_strings): Use get_char().
1256         (usage): Document new command line option.
1257         * doc/binutils.texi: Document new command line option.
1258         * NEWS: Announce new command line option.
1260 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1262         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1263         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1264         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1265         Removed EM_CYGNUS_ARC.
1267 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1269         * readelf.c: Include elf/h8 for H8 series definitions.
1270         (guess_is_rela): H8 series if RELA.
1271         (dump_relocations): Handle H8 series relocations.
1273 2001-08-31  Eric Christopher  <echristo@redhat.com>
1275         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1277 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1279         * MAINTAINERS: Include ARC Maintainer.
1281 2001-08-29  Ben Elliston  <bje@redhat.com>
1283         * stabs.c (stab_demangle_template): Initialise s4.
1285 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1287         * readelf.c (dump_relocations): Recognise EM_PPC64.
1289 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1291         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1293 2001-08-25  H.J. Lu  <hjl@gnu.org>
1295         * nm.c (print_width): New.
1296         (display_rel_file): Set `print_width' according to
1297         bfd_sprintf_vma.
1298         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1300 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1302         * objcopy.c (use_alt_mach_code): New variable.
1303         (OPTION_ALT_MACH_CODE): Define.
1304         (copy_options): Added --alt-machine-code.
1305         (copy_main): Handle it.
1306         (copy_object): Switch to alternate machine code if requested.
1307         * doc/binutils.texi: Document new option.
1308         * NEWS: Likewise.
1310 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1312         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1314 2001-08-21  H.J. Lu  <hjl@gnu.org>
1316         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1317         (display_debug_info): Cast for 64bit hosts.
1318         (display_debug_frames): Likewise.
1319         (process_mips_specific): Likewise.
1321 2001-08-21  Andreas Jaeger  <aj@suse.de>
1323         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1325         * sysdump.c: Add missing prototypes.
1326         * srconv.c: Likewise.
1327         * unwind-ia64.c: Likewise.
1328         * coffdump.c: Likewise.
1330         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1332         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1333         of declaring xcalloc.
1335 2001-08-10  H.J. Lu  <hjl@gnu.org>
1337         * nm.c (print_value): Add one arg, bfd *.
1338         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1339         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1340         (print_symbol_info_sysv): Likewise.
1341         (print_symbol_info_posix): Likewise.
1343         * objdump.c (dump_section_header): Replace printf_vma with
1344         bfd_printf_vma.
1345         (print_section_stabs): Likewise.
1346         (dump_bfd_header): Likewise.
1347         (objdump_print_value): Replace sprintf_vma with
1348         bfd_sprintf_vma.
1349         (disassemble_bytes): Likewise.
1350         (dump_reloc_set): Likewise.
1352 2001-08-10  Andreas Jaeger  <aj@suse.de>
1354         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1355         to build warnings.
1356         * configure: Regenerate.
1358 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1360         * readelf.c: Add missing prototypes.
1361         * objdump.c: Likewise.  Format existing prototypes.
1363 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1365         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1366         of any RELA relocation for the abbrev_offset memory location that
1367         refers to the .debug_abbrev section symbol.
1369 2001-08-07  H.J. Lu  <hjl@gnu.org>
1371         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1372         (main): Return process_file ().
1374 2001-08-05  Philip Blundell  <philb@gnu.org>
1376         * doc/binutils.texi: Use "Thumb" not "THUMB".
1378 2001-08-03  John Healy  <jhealy@redhat.com>
1380         Patch suggested by Frank Eigler <fche@redhat.com>.
1381         * objdump.c (disassemble_data): Fill in section member of the
1382         disasm_info structure.
1384 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1386         * configure.in: Added --with-windres option.
1387         * configure: Regenerated.
1389 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1391         * doc/binutils.texi: Use @command{name} for commands;
1392         use @option{-opt} for options; use @table @env for list of options;
1393         remove spaces arround [ | ] in synopsis.
1395         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1396         center title.
1398 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1400         * objcopy.c: Fix formatting.
1401         (section_rename): New structure.
1402         (OPTION_RENAME_SECTION): New switch.
1403         (copy_usage): Document new switch.
1404         (add_section_rename): New function: Add a node to the section
1405         rename list.
1406         (find_section_rename): New function: Find the new name and
1407         flags for a section.
1408         (setup_section): Call find_section_name to determine the name
1409         of the output section.
1410         (copy_main): Handle OPTION_RENAME_SECTION.
1411         * binutils.texi: Document new switch.
1412         * NEWS: Mention new switch.
1414 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1416         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1417         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1418         bug-binutils@gcc.org.
1420 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1422         * bucomm.c (list_supported_architectures): New function.
1423         * bucomm.h (list_supported_architectures): Declare.
1424         * objdump.c (usage): Call the above.
1426 2001-07-25  Dave Brolley  <brolley@redhat.com>
1428         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1429         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1431 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1433         * README: Update for 2.11.  Change bug reporting email address.
1434         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1436 2001-07-16  DJ Delorie  <dj@redhat.com>
1438         * resres.c (write_res_header): Align header size.
1439         (res_align_file): Calculate alignment correctly.
1441         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1442         correct 10).
1443         * resrc.c (write_rc_resource): Likewise.
1444         * windres.h (SUBLANG_SHIFT): Define - as 10.
1446 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
1448         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1450 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
1452         * MAINTAINERS: Add notes about branch checkins.
1454 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
1456         * readelf.c (display_debug_macinfo): New function, display
1457         .debug_macinfo section.
1458         (do_debug_macinfo): New variable.
1459         (parse_args): Handle "-w[mM]" to mean display macro info.
1460         (process_section_headers): Handle debug_macinfo.
1461         (debug_displays): Replace unsupported function with macinfo
1462         function for .debug_macinfo display.
1463         * doc/binutils.texi: Document new command line switch.
1464         * NEWS: Document new feature of readelf.
1466 2001-07-05  H.J. Lu  <hjl@gnu.org>
1468         * objcopy.c (filter_symbols): Don't turn undefined symbols
1469         into local.
1471 2001-07-03  H.J. Lu <hjl@gnu.org>
1473         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1474         $@.pod.
1475         (ar.1): Likewise.
1476         (dlltool.1): Likewise.
1477         (nlmconv.1): Likewise.
1478         (nm.1): Likewise.
1479         (objcopy.1): Likewise.
1480         (objdump.1): Likewise.
1481         (ranlib.1): Likewise.
1482         (readelf.1): Likewise.
1483         (size.1): Likewise.
1484         (strings.1): Likewise.
1485         (strip.1): Likewise.
1486         (windres.1): Likewise.
1487         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1488         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1489         $(DEMANGLER_NAME).
1490         (as.1): Removed.
1491         * doc/Makefile.in: Regenerated.
1493 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1495         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1497 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
1499         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1501 2001-06-29  James Cownie <jcownie@etnus.com>
1503         * readelf.c: Support DWARF 2.1 attributes.
1505 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
1507         * readelf.c (GET_DATA_ALLOC): Remove.
1508         (GET_DATA): Remove.
1509         (get_data): New function combining above macros, with an extra
1510         test for zero size.
1511         (slurp_rela_relocs): Use get_data, and catch error return.
1512         (slurp_rel_relocs): Likewise.
1513         (get_32bit_program_headers): Likewise.
1514         (get_64bit_program_headers): Likewise.
1515         (get_32bit_section_headers): Likewise.
1516         (get_64bit_section_headers): Likewise.
1517         (get_32bit_elf_symbols): Likewise.
1518         (get_64bit_elf_symbols): Likewise.
1519         (process_section_headers): Likewise.
1520         (process_relocs): Likewise.
1521         (slurp_ia64_unwind_table): Likewise.
1522         (process_unwind): Likewise.
1523         (get_32bit_dynamic_segment): Likewise.
1524         (get_64bit_dynamic_segment): Likewise.
1525         (process_dynamic_segment): Likewise.
1526         (process_version_sections): Likewise.
1527         (process_symbol_table): Likewise.
1528         (dump_section): Likewise.
1529         (display_debug_info): Likewise.
1530         (display_debug_section): Likewise.
1531         (process_section_contents): Likewise.
1532         (process_corefile_note_segment): Likewise.
1533         (process_mips_specific): Likewise.  Also free econf32, econf64.
1535 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
1537         * readelf.c (dump_relocations): Print "bad symbol index" if
1538         symtab == NULL with non-zero symtab_index.
1539         (process_relocs): Don't bomb if reloc section has no symsec.
1541 2001-06-24  H.J. Lu  <hjl@gnu.org>
1543         * objcopy.c (strip_main): Revert the change made on 2001-05-30
1544         by accident.
1545         (copy_main): Apply the the change made to strip_main on
1546         2001-05-30 by accident.
1548 2001-06-23  Andreas Jaeger  <aj@suse.de>
1550         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1551         parameter 'code'.
1552         (unw_decode_x2): Likewise.
1553         (unw_decode_x3): Likewise.
1554         (unw_decode_x4): Likewise.
1556 2001-06-23  Ben Elliston  <bje@redhat.com>
1558         * MAINTAINERS: Add myself as M88k maintainer.
1560 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
1562         * objcopy.c (strip_main): Support -o or --output-file command lien
1563         switch.
1565 2001-06-19  H.J. Lu <hjl@gnu.org>
1567         * doc/Makefile.in: Regenerated.
1569 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1571         * readelf.c: Restore formatting.
1573 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1575         * Makefile.am: Move documentation into doc subdirectory.
1576         * Makefile.in: Regenerated.
1577         * binutils.texi: Move into doc subdirectory.
1578         * addr2line.1: Removed.
1579         * ar.1: Likewise.
1580         * dlltool.1: Likewise.
1581         * nlmconv.1: Likewise.
1582         * nm.1: Likewise.
1583         * objcopy.1: Likewise.
1584         * objdump.1: Likewise.
1585         * ranlib.1: Likewise.
1586         * readelf.1: Likewise.
1587         * size.1: Likewise.
1588         * strings.1: Likewise.
1589         * strip.1: Likewise.
1590         * windres.1: Likewise.
1591         * cxxfilt.man: Likewise.
1592         * doc: New Directory.
1593         * doc/Makefile.am: New file.
1594         * doc/Makefile.in: Generate.
1596 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1598         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1600 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1602         * MAINTAINERS: Update my email address.
1604 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1606         * objcopy.c: Add new switches: --keep-global-symbol,
1607         --keep-symbols, --localize-symbols, --keep-global-symbols and
1608         --weaken-symbols.
1609         * binutils.texi: Document new switches.
1610         * objcopy.1: Regenerate.
1611         * NEWS: Announce new feature.
1613 2001-05-28  Andreas Jaeger  <aj@suse.de>
1615         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1616         variables, fix format strings.
1618 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1620         * objdump.c (disassemble_bytes): Remove section VMA adjustment
1621         when computing the address of the line to show.
1623 2001-05-16  Richard Henderson  <rth@redhat.com>
1625         * readelf.c (do_debug_frames_interp): New.
1626         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1627         (byte_get_big_endian): Likewise.
1628         (parse_args) ['F']: Set do_debug_frames_interp.
1629         (Frame_Chunk): Make data_factor signed, add fde_encoding.
1630         (frame_display_row): Don't trunc pc_begin to int.
1631         (size_of_encoded_value): New.
1632         (display_debug_frames): Handle 64-bit targets.  Print raw data
1633         unless do_debug_frames_interp.
1634         (debug_displays): Remove duplicate .debug_frame.
1636 2001-05-15  Ralf Baechle  <ralf@gnu.org>
1638         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1639         The former constant was never in active use and is used otherwise
1640         by the ABI.
1642 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1644         * readelf.c (process_unwind): Print all unwind sections, not just
1645         one.
1647 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1649         * readelf.c (process_unwind): Remove const specifier.
1651 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1653         * strings.c (isgraphic): Do not use isascii() unless it is needed
1654         for isprint() to work.
1655         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1657 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1659         * NEWS: Announce support for OpenRISC.
1661 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1663         * dlltool.c (do_default_excludes): Initialise to true.
1665 2001-04-10  Alan Modra  <amodra@one.net.au>
1667         * MAINTAINERS: Update my email address
1668         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1670 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1672         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1674 2001-03-30  H.J. Lu  <hjl@gnu.org>
1676         * readelf.c (process_unwind): Just return if do_unwind is 0.
1678 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1680         * dlltool.c (make_one_lib_file): Fix section flags for
1681         .text, .data and .bss in stub ds*.o files to match those
1682         generated by gas.
1684 2001-03-29  H.J. Lu  <hjl@gnu.org>
1686         * readelf.c (process_unwind): Only do unwind sections for
1687         IA64.
1689 2001-03-28  H.J. Lu  <hjl@gnu.org>
1691         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1692         * Makefile.in: Regenerate.
1694 2001-03-26  Andreas Jaeger  <aj@suse.de>
1696         * binutils.texi (nm): Fix texi syntax.
1698 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1700         * binutils.texi: Put @c man begin and @c man end indications
1701         to generate man pages using texi2pod and pod2man. Put @c man title
1702         to identify each man. Add SEEALSO entries.
1703         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1704         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1705         sort the list.
1706         (*.1): Build the man pages from binutils.texi.
1707         * Makefile.in: Regenerate.
1709 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1711         * defparse.y (opt_equal_name): allow "." in name.
1712         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1713         (gen_exp_file): Likewise.
1715 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1717         * NEWS: Document addition of -B switch to objcopy.
1718         * binutils.texi:  Document addition of -B switch to objcopy.
1719         * objcopy.c: (copy_options): Add --binary-architecture.
1720         (copy_usage): Document -B/--binary-architecture.
1721         (copy_main): Support -B/--binary-architecture.  Set
1722         bfd_external_binary_architecture.
1724 2001-03-11  Andreas Jaeger  <aj@suse.de>
1726         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1727         (dump_relocations): Likewise.
1728         (get_machine_name): Likewise.
1730 2001-02-28  Nick Clifton  <nickc@redhat.com>
1732         * readelf.c: (struct unw_aux_info): Remove const modifier for
1733         'strtab' field.
1734         (process_unwind): Remove non-K&R compliant LHS type cast in call
1735         to GET_DATA_ALLOC macro.
1737 2001-02-28  Philip Blundell  <pb@futuretv.com>
1739         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1740         ABI is in use; remove ambiguity between the "unknown" EABI and
1741         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1742         renamed EF_xx constants.
1744 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1746         * configure.in (BFD_VERSION): New.
1747         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1748         * configure: Regenerate.
1749         * Makefile.am: Run "make dep-am"
1750         * Makefile.in: Regenerate.
1752 2001-02-14  Nick Clifton  <nickc@redhat.com>
1754         * MAINTAINERS: Add "Obvious Fix" rule.
1756 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1758         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1759         literal concatenation.
1761 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1763         * readelf.c (struct unw_aux_info): Remove const from the info member.
1764         (process_unwind): Don't type-cast the third argument to the
1765         GET_DATA_ALLOC macro.
1767 2001-02-11  Nick Clifton  <nickc@redhat.com>
1769         * readelf.c (dump_relocations): Free corrected allocated
1770         array.
1771         (process_unwind): Fix compile time warning.
1773 2001-02-10  Nick Clifton  <nickc@redhat.com>
1775         * binutils.texi: Document new --unwind option to readelf.
1777 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1779         * readelf.c: Add linux target for S/390.
1781 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1783         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1784         printf is a macro.
1786 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1788         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1789         * aclocal.m4: Regenerate.
1790         * configure: Regenerate.
1792 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1794         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1795         * objdump.c (bfd_target_vector): Likewise.
1797 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1799         * readelf.c (process_unwind): New function.
1800         (slurp_ia64_unwind_table): Ditto.
1801         (dump_ia64_unwind): Ditto.
1802         (find_symbol_for_address): Ditto.
1803         (slurp_rela_relocs): New function (split off from dump_relocations()).
1804         (slurp_rel_relocs): Ditto.
1805         (parse_args): Handle '-u' option.
1807         * unwind-ia64.c: New file.
1808         * unwind-ia64.h: New file.
1809         * Makefile.am: Include unwind-ia64.c in readelf build.
1810         * Makefile.in: Regenerate.
1811         * po/binutils.pot: Regenerate.
1813 2001-02-04  Philip Blundell  <philb@gnu.org>
1815         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1816         * configure: Regenerate.
1818 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1820         * ieee.c (ieee_add_bb11): Don't check for backslashes
1821         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1823 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1825         * ieee.c: Update copyright.
1826         (ieee_start_compilation_unit): Don't check for backslashes
1827         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1829         * stabs.c: Update copyright. Include "filenames.h".
1830         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1832 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1834         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1835         sections are present before using them.  Remove code duplication.
1836         (process_symbol_table): Check if VERDEF or VERNEED sections are
1837         present before using them.
1839 2001-01-17  Nick Clifton  <nickc@redhat.com>
1841         * objcopy.c (copy_object): Fail if attempting to convert the
1842         endianness of the input object file.
1844         * binutils.texi: Explain that objcopy cannot convert endianness.
1846 2001-01-16  Nick Clifton  <nickc@redhat.com>
1848         * readelf.c (string_table_length): New variable.
1849         (SECTION_NAME): Catch out of range indices and missing section
1850         pointers.
1851         (process_section_headers): Delete useless local variable
1852         string_table_offset.  Set the value of string_table_length
1853         after loading the string table.
1854         (process_mips_specific): Use SECTION_NAME macro.
1855         (process_file): Set string_table_length to 0 when it is freed.
1857 2001-01-12  Nick Clifton  <nickc@redhat.com>
1859         * version.c (print_version): Update copyright date.
1861 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1863         * readelf.c (dump_relocations): Include selection with EM_ARC.
1864         (get_machine_name) Update name to "ARC".
1866 2001-01-09  Nick Clifton  <nickc@redhat.com>
1868         * Makefile.am: Add rule to build objdump.o from objdump.c and
1869         using OBJDUMP_DEFS.
1870         * Makefile.in: Regenerate.
1872         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1873         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1874         -DDISASSEMBLER_NEEDS_RELOCS.
1875         * configure: Regenerate.
1877         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1878         is defined read in the relocs even if dump_reloc_info is
1879         false.
1881 2001-01-07  Philip Blundell  <philb@gnu.org>
1883         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1884         `bug-binutils'.
1885         * README: Likewise.
1887 2000-12-19  Nick Clifton  <nickc@redhat.com>
1889         * dlltool.c: Add missing support for arm-epoc-pe.
1890         * configure.in: Add missing support for arm-epoc-pe.
1891         * configure: Regenerate.
1893 2000-12-15  Nick Clifton  <nickc@redhat.com>
1895         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1896         Mode parts of the x86 port.
1898 2000-12-04  Andreas Jaeger  <aj@suse.de>
1900         * readelf.c (guess_is_rela): Add EM_X86_64.
1901         (dump_relocations): Add EM_X86_64.
1902         (get_machine_name): Add EM_X86_64.
1903         Include "elf/x86-64.h".
1905 2000-12-12  Nick Clifton  <nickc@redhat.com>
1907         * readelf.c: Fix formatting.
1909 2000-12-11  Jan Hubicka  <jh@suse.cz>
1911         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1913 2000-12-07  Andrew Haley  <aph@redhat.com>
1915         * readelf.c (display_debug_frames): Only display columns that are
1916         referenced by the frame debug info.
1918 2000-12-05  Nick Clifton  <nickc@redhat.com>
1920         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1922 2000-12-04  Jason Merrill  <jason@redhat.com>
1924         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1925         (display_debug_section): Likewise.
1926         (display_debug_info): Display CU header before bailing.
1928 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1930         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1931         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1932         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1934         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1935         and E_MIPS_ARCH_64.
1937         * readelf.c (get_machine_flags): Add case for
1938         E_MIPS_MACH_SB1.
1940 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1942         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1944 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1946         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1947         Change sourceware.cygnus.com to sources.redhat.com.
1948         Fix typo for "amongst".
1950 2000-11-28  Nick Clifton  <nickc@redhat.com>
1952         * strip.1 (COPYING): Mention that the GNU Free Documentation
1953         License is present in the sources, but not the output, and
1954         also available from the GNU website.
1955         (GNU Free Documentation License): Comment out this section.
1956         * strings.1: Ditto.
1957         * size.1: Ditto.
1958         * ranlib.1: Ditto.
1959         * objdump.1: Ditto.
1960         * objcopy.1: Ditto.
1961         * nm.1: Ditto.
1962         * nlmconv.1: Ditto.
1963         * ar.1: Ditto.
1964         * addr2line.1: Ditto.
1966 2000-11-27  DJ Delorie  <dj@redhat.com>
1968         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1969         (parse_args): Support -wf option.
1970         (process_section_headers): Ditto.
1971         (debug_displays): Ditto.
1972         (display_debug_frames): New, dump *_frame sections.
1973         (frame_need_space): Support for above.
1974         (frame_display_row): Ditto.
1975         * binutils.texi: Document it.
1977 2000-11-24  Nick Clifton  <nickc@redhat.com>
1979         * NEWS: Announce support for v5t, v5te and XScale.
1981 2000-11-22  Nick Clifton  <nickc@redhat.com>
1983         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1984         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1985         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1986         (get_elf_section_flags: Add SHF_GROUP.
1987         (process_section_headers): Adjust output for 32-bit binaries
1988         to look nice on an 80 column terminal.
1990 2000-11-20  H.J. Lu  <hjl@gnu.org>
1992         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1993         ELFOSABI_AIX.
1995 2000-11-17  Richard Henderson  <rth@redhat.com>
1997         * readelf.c (display_debug_lines): Adjust last change to
1998         use sizeof (external->li_length).
2000 2000-11-17  Richard Henderson  <rth@redhat.com>
2002         * readelf.c (display_debug_lines): Fix section length check
2003         and end_of_sequence computation.
2005 2000-11-06  Nick Clifton  <nickc@redhat.com>
2007         * binutils.texi: Add GNU Free Documentation License.
2008         * objcopy.1: Add GNU Free Documentation License.
2009         * objdump.1: Add GNU Free Documentation License.
2010         * addr2line.1: Add GNU Free Documentation License.
2011         * ar.1: Add GNU Free Documentation License.
2012         * nlmconv.1: Add GNU Free Documentation License.
2013         * nm.1: Add GNU Free Documentation License.
2014         * ranlib.1: Add GNU Free Documentation License.
2015         * size.1: Add GNU Free Documentation License.
2016         * strings.1: Add GNU Free Documentation License.
2017         * strip.1: Add GNU Free Documentation License.
2019 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2021         * objcopy.c (--srec-len=nn): New parameter to set the
2022         maximum length of generated Srecords.
2023         (--srec-forceS3): New parameter that restricts the generation of
2024         Srecords to type S3 only.
2025         * binutils.texi: Document new command line switches.
2026         * objcopy.1: Docuemnt the new command line switches.
2027         * NEWS: Announce the existence of the new command line switches.
2029 2000-10-31  Nick Clifton  <nickc@redhat.com>
2031         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2032         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2034 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2036         * Make comma after string after icon/control optional.
2038 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2040         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2042         * NEWS: Mention support for MIPS32.
2044 2000-09-08  Nick Clifton  <nickc@redhat.com>
2046         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2048 2000-09-07  H.J. Lu  <hjl@gnu.org>
2050         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2051         * configure: Rebuild.
2053 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2055         * configure: Rebuilt with new libtool.m4.
2057 2000-09-05  Nick Clifton  <nickc@redhat.com>
2059         * aclocal.m4: Regenerate.
2060         * config.in: Regenerate.
2061         * configure: Regenerate.
2063 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2065         * strip.1: Fix stray '\' in -o formatting.
2067 2000-09-02  Nick Clifton  <nickc@redhat.com>
2069         * configure.in: Increase version number to 2.10.91.
2070         * configure: Regenerate.
2071         * aclocal.m4: Regenerate.
2072         * config.in: Regenerate.
2073         * po/binutils.pot: Regenerate.
2075 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2077         * acinclude.m4: Include libtool and gettext macros from the
2078         top level.
2079         * aclocal.m4, configure: Rebuilt.
2081 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2083         * resrc.c (close_input_stream): Delete extraneous logic
2085 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2087         * NEWS: Mention support for CRIS.
2089 2000-08-21  Nick Clifton  <nickc@redhat.com>
2091         * addr2line.c: Changed email address for Ulrich Lauther.
2093 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2095         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2097 2000-08-17  Nick Clifton  <nickc@redhat.com>
2099         * readelf.c (display_debug_pubnames): Only issue warning
2100         message once.  Terminate message with a new line.
2101         (display_debug_aranges): Only display version 2 debug info.
2103 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2105         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2106         for compatability with old BSD systems.
2108 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2110         * NEWS: Mention i860 support.
2112 2000-08-11  Carlo Wood <carlo@alinoe.com>
2114         * addr2line.c (main): Add const to char *.
2116 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2118         * ar.c (main): Don't crash if called with no arguments
2119         or only '-X32_64' as an argument.
2121 2000-08-08  DJ Delorie  <dj@redhat.com>
2123         * resrc.c: use "gcc -xc" instead of -xc-header
2125 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2127         * readelf.c (elf/i860.h): Include.
2128         (dump_relocations): Add recognition of i860 architecture.
2129         (guess_is_rela): Add recognition of i860 architecture.
2131 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2133         * MAINTAINERS: Add information about CGEN maintainers.
2135 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2137         * nm.c (main): Ignore '-X32_64' as an option.
2138         * ar.c (main): Likewise.
2139         * binutils.texi (nm): Document new option.
2140         (ar): Likewise.
2142 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2144         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2146 2000-07-20  H.J. Lu  <hjl@gnu.org>
2148         * binutils.texi: Put back "@end table" deleted by
2149         accident.
2151 2000-07-05  Kenneth Block  <krblock@computer.org>
2153         * nm.c: Add optional style to demangle switch.
2154         * objdump.c: Add optional style to demangle switch.
2155         * addr2line.c: Add optional style to demangle switch.
2156         * binutils.texi: Document optional style to demangle
2157         switch.
2159 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2161         * MAINTAINERS: Add self as CRIS port maintainer.
2162         * readelf.c: Include elf/cris.h.
2163         (guess_is_rela): Handle EM_CRIS.
2164         (dump_relocations): Ditto.
2165         (get_machine_name): Ditto.
2166         * Makefile.am: Rebuild dependencies.
2167         * Makefile.in: Regenerate.
2168         * po/binutils.pot: Regenerate.
2170 2000-07-19  H.J. Lu  <hjl@gnu.org>
2172         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2173         "AUXILIARY".
2174         (process_dynamic_segment): Print out strings for DT_CONFIG,
2175         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2177 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2179         * nm.c (usage): Change output of `nm --help' to include a
2180         description of the purpose of the program and a detailed
2181         description of the accepted options.
2183 2000-07-19  H.J. Lu  <hjl@gnu.org>
2185         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2186         to DF_1_NODEFLIB.
2188 2000-07-19  H.J. Lu  <hjl@gnu.org>
2190         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2192 2000-07-19  H.J. Lu  <hjl@gnu.org>
2194         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2195         DT_FEATURE.
2196         (process_dynamic_segment): Likewise.
2198         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2199         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2200         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2201         DF_1_NODUMP and DF_1_CONLFAT.
2203 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2205         * binutils.texi (readelf): Fix spelling typo.
2207 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2209         * objdump.c (usage): Make output of `objdump --help' more
2210         consistent with the rest of the GNU world.  Add a line describing
2211         the purpose of the program.
2213 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2215         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2216         warning.
2218 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2220         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2221         to fix warnings.
2222         (process_symbol_table): Ditto.
2223         (procesS_extended_line_op): Ditto.
2224         (display_debug_lines): Ditto.
2225         (display_debug_pubnames): Ditto.
2226         (read_and_display_attr): Ditto.
2228 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2230         * MAINTAINERS: Add several more port specific maintainers.
2232 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2234         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2236 2000-06-05  DJ Delorie  <dj@redhat.com>
2238         * MAINTAINERS: New.
2240 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2242         * dllwrap.c: Changed mistaken dyn_string_append() calls
2243         to dyn_string_append_cstr().
2245 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2247         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2248         struct debug_type stores size in bytes.
2250 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2252         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2253         (CLEANFILES): Add DEPA.
2254         * Makefile.in: Regenerate.
2256 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2258         * ar.c: Revert incorrect 2000-06-25 patch.
2259         * bucomm.c: Likewise.
2261 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2263         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2264         (external_coff_symbol_p): New function.
2265         (parse_coff): Use it.
2267 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2269         * ar.c (normalize): Advance past both characters in a DOS based
2270         <letter>: filepath prefix.
2271         (main): Likewise.
2272         * bucomm.c (make_tempname): Likewise.
2274 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2276         * objdump.c (usage): Fix description of --stabs switch.
2278 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2280         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2281         find one.
2282         * Makefile.in: Regenerate.
2284 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2286         * ar.c (normalize): Correct pointer comparison when checking for
2287         backslashes.
2288         (main): Likewise.
2289         * bucomm.c (make_tempname): Likewise.
2291         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2292         and search for backslashes in the original pathname.
2293         (ieee_add_bb11): Likewise.
2295 2000-06-18  Nick Clifton  <nickc@redhat.com>
2297         * ar.c (print_contents): Improve verbose message.
2299 2000-06-15  H.J. Lu  <hjl@gnu.org>
2301         * dyn-string.c: Removed. Not needed with dyn-string.c in
2302         libiberty.
2303         * dyn-string.h: Likewise.
2305         * Makefile.am: Remove references to dyn-string.c and
2306         dyn-string.h. Rebuild dependency.
2307         * Makefile.in: Rebuild.
2309 2000-06-15  H.J. Lu  <hjl@gnu.org>
2311         * binutils.texi: Put a warning on copying relocatable object
2312         files between two different formats.
2314 2000-06-13  DJ Delorie  <dj@cygnus.com>
2316         * rcparse.y (control): ICON controls take an id as the first
2317         parameter, not an optional string.  Also, call new convenience
2318         function that takes res_id's.
2319         * resrc.c (define_control): missing text means zero-length string,
2320         not zero ID.
2321         (define_icon_control): New.
2322         * windres.h: declare define_icon_control.
2324 2000-06-13  H.J. Lu  <hjl@gnu.org>
2326         * configure: Regenerate.
2328 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2330         * configure.in (VERSION): Update to show this is the CVS mainline.
2332 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2334         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2335         analogous to <SPACE>.
2337 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2339         * objdump.c (display_target_list): Use bfd_close_all_done, not
2340         bfd_close to fix crash caused by 2000-05-24 change.
2342 2000-05-25  DJ Delorie  <dj@cygnus.com>
2344         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2346 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2348         * Makefile.am: Update dependencies with "make dep-am"
2349         * Makefile.in: Regenerate.
2351 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2353         * ar.c: Include filenames.h.
2354         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2355         and drive letters in file names.
2356         (main): Support backslashes and drive letters in argv[0].  Drop
2357         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2358         FILENAME_CMP instead of strcmp to compare file names.
2359         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2360         DJGPP v2.
2361         (do_quick_append) [__GO32__]: Ditto.
2362         (get_pos_bfd, delete_members, move_members, replace_members):
2363         Compare file names with FILENAME_CMP.
2365         * bucomm.c: Include filenames.h.
2366         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2367         forward/backward slashes and drive letters in file names.
2369         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2370         mixed forward/backward slashes and drive letters in file names.
2372         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2373         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2374         mode.
2376         * objcopy.c: Include filenames.h.
2377         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2378         before comparing to "strip".
2379         Use FILENAME_CMP to compare file names.
2381         * arsup.c: Include filenames.h.
2382         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2383         FILENAME_CMP to compare file names.
2384         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2385         the temporary file name.
2387         * configure.in: Check for setmode.
2388         * configure: Regenerate.
2390 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2392         * objdump.c (display_target_list): Close the bfd.
2393         (display_info_table): Likewise.
2395 2000-05-14  H.J. Lu  (hjl@gnu.org)
2397         * objcopy.c (filter_symbols): Don't strip global symbols in
2398         relocatable object files.
2400 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2402         * size.c (usage): Associate short options with corresponding long
2403         option to give a clue as to their function.
2405 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2407         * size.c (main): Accept and ignore `-f' option.
2409 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2411         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2412         bindtextdomain): Replace defines with those from intl/libgettext.h
2413         to quieten gcc warnings.
2415 2000-05-12  H.J. Lu  <hjl@gnu.org>
2417         * nlmconv.c (temp_filename): Removed.
2419         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2420         choose_temp_base ().
2421         * objdump.c (display_target_list): Likewise.
2422         (display_info_table): Likewise.
2424 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2426         * objcopy.c (setup_section): Add const and gettext calls for err.
2428 2000-05-02  H.J. Lu  <hjl@gnu.org>
2430         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2431         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2432         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2433         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2434         and ELFOSABI_OPENBSD.
2436 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2438         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2439         * srconv.c: Likewise.
2440         * sysdump.c: Likewise.
2442 2000-04-23  Denis Chertykov  <denisc@overta.ru>
2444         * readelf.c (guess_is_rela): AVR uses RELA relocations.
2445         (get_machine_name): machine name for EM_AVR added.
2447 2000-04-21  Richard Henderson  <rth@cygnus.com>
2448             David Mosberger  <davidm@hpl.hp.com>
2450         * Makefile.am (readelf.o): Add elf/ia64.h.
2451         * Makefile.in: Rebuild.
2452         * readelf.c: Include elf/ia64.h.
2453         (guess_is_rela, dump_relocations): Handle EM_IA_64.
2455 2000-04-17  Timothy Wall  <twall@cygnus.com>
2457         * objdump.c (disassemble_data): Set octets per byte *after*
2458         resolving arch/mach for binary files.
2460 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2462         * arlex.l: Add directives to increase lex buffer size.
2464         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2465         already included by bucomm.h.
2467 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
2469         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2470         `strftime' since strftime is not available on all systems.
2471         (process_mips_specific): Ditto.
2473 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
2475         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
2476         --enable-build-warnings option.
2477         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2478         * Makefile.in, configure: Re-generate.
2480 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
2482         * addr2line.c: Update copyright.
2483         * objcopy.1: Likewise, and title.
2484         * strings.1: Likewise.
2486         * version.c (print_version): Add 2000.
2488         * rddbg.c (read_section_stabs_debugging_info): Don't use
2489         bfd_size_type for strx to avoid printf problems if BFD64.
2491         * bucomm.c: (report): Remove `static'.
2492         Move inclusion of stdarg.h/vararg.h from here.
2493         * bucomm.h: To here.
2494         (CONST): Change all occurences to const.
2495         (report): Declare it.
2496         (bfd_fatal): Add ATTRIBUTE_NORETURN.
2497         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2498         (non_fatal): Add ATTRIBUTE_PRINTF_1.
2500         * ar.c (main): Use fatal or non_fatal instead of fprintf.
2501         Correct a typo in an error message.
2502         (do_quick_append): Use non_fatal instead of fprintf.
2503         (move_members): Use fatal instead of fprintf, exit.
2504         * coffdump.c (main): Same here.
2506         * dlltool.c (display): Delete.
2507         (warn): Delete.
2508         (inform): Use `report' instead of `display'.
2509         (rvaafter): Remove trailing \n from fatal error msg.
2510         (rvabefore): Ditto.
2511         (asm_prefix): Ditto.
2512         (yyerror): Replace `warn' with `non_fatal', and remove \n.
2513         (def_name): Likewise.
2514         (run): Likewise.
2515         (scan_all_symbols): Likewise.
2516         (gen_lib_file): Likewise.
2517         (def_library): Likewise.  Remove extra program_name too.
2518         (run): Remove \n from inform strings.
2519         (scan_drectve_symbols): Likewise.
2520         (add_excludes): Likewise.
2521         (scan_open_obj_file): Likewise.
2522         (gen_exp_file): Likewise.
2523         (gen_lib_file): Likewise.
2524         (process_duplicates): Likewise.
2526         * Makefile.am (dllwrap_SOURCES): Add version.c.
2527         * dllwrap.c (program_version): Delete.
2528         (print_version): Delete.
2529         (display): Always print trailing \n.
2530         (warn): New.
2531         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
2532         (run): Here too.
2533         (main): And here.
2534         (usage): gettext'ify.
2535         (long_options): Add missing initialisers.
2537         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2538         (select_output_format): Likewise.
2539         (powerpc_mangle_relocs): Likewise.
2540         (link_inputs): Likewise.
2542         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2543         (set_output_format): Likewise.
2544         (main): Use non_fatal instead of fprintf.
2545         (display_rel_file): Likewise.
2547         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2548         (slurp_dynamic_symtab): Same here.
2549         (disassemble_data): And here.
2550         (read_section_stabs): And here.
2551         (read_section_stabs): And here.
2552         (dump_bfd): And here.
2553         (main): And here.
2554         (objdump_sprintf): Use fatal instead of fprintf, exit.
2555         (disassemble_data): Same here.
2557         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2558         (parse_coff_struct_type): Same here.
2559         (parse_coff_enum_type): And here.
2560         (parse_coff): And here.
2561         * rddbg.c (read_debugging_info): And here.
2562         * size.c (main): And here.
2563         * windres.c (format_from_name): And here.
2564         * wrstabs.c (stab_write_symbol): Here too.
2565         (write_stabs_in_sections_debugging_info): And here.
2566         (stab_int_type): And here.
2567         (stab_struct_field): And here.
2568         (stab_typdef): And here.
2570         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2571         * srconv.c (main): Same here.
2572         * strings.c (main): And here.
2573         (integer_arg): And here.
2574         * sysdump.c (main): And here.
2576 2000-04-06  Timothy Wall  <twall@cygnus.com>
2578         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2580 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2582         * readelf.c (decode_location_expression): Loop through multiple
2583         operations.
2584         (read_and_display_attr): Pass in length.
2586         * readelf.c (read_and_display_attr): Add CU offset to references.
2587         (display_debug_info): Pass it in.
2589 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2591         * readelf.c (decode_ARM_machine_flags): New function.
2592         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2593         targets.
2595         (get_machine_name): Catch EM_AVR
2597 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2599         * binutils.texi: Remove optional `=' from long options that have
2600         an `=' in the argument.
2601         * objcopy.1: Here too.  Remove extra space on discard-all.
2603         * binutils.texi (objcopy): Mention --redefine-sym.
2604         * objcopy.1: Here too.
2605         * NEWS: And here.
2607         * objcopy.c (parse_flags): Split off flag names from error message
2608         gettext as they are not translated.
2609         (copy_main): Similarly split off option name for --add-section,
2610         --set-section-flags, --change-section-vma, --change-section-lma
2611         error messages.
2612         Some white space changes.
2614         from Matthew Benjamin <matt@linuxbox.nu>
2615         * objcopy.c (struct redefine_node): New.
2616         (redefine_sym_list): New.
2617         (redefine_list_append): New.
2618         (lookup_sym_redefinition): New.
2619         (OPTION_REDEFINE_SYM): New.
2620         (copy_options): Add --redefine-sym option.
2621         (copy_usage): Mention it.
2622         (filter_symbols): Rename symbols on redefine_sym_list.
2623         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2624         (copy_main): Handle OPTION_REDEFINE_SYM.
2626 2000-04-04  H.J. Lu  <hjl@gnu.org>
2628         * readelf.c (process_symbol_table): Correctly read in symbol
2629         versioning information.
2631 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
2633         * po/binutils.pot: Regenerate.
2635         * addr2line.c (usage): Restore translated part of bug string.
2636         * ar.c (usage): Likewise.
2637         * nlmconv.c (show_usage): Likewise.
2638         * nm.c (usage): Likewise.
2639         * objcopy.c (copy_usage): Likewise.
2640         (strip_usage): Likewise.
2641         * objdump.c (usage): Likewise.
2642         * readelf.c (usage): Likewise.
2643         * size.c (usage): Likewise.
2644         * strings.c (usage): Likewise.
2645         * windres.c (usage): Likewise.
2647         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2648         (DEP): Quote when passing vars to sub-make.  Add warning
2649         message to end.
2650         (DEP1): Rewrite for "gcc -MM".
2651         (CLEANFILES): Add DEP2.
2652         Update dependencies.
2653         * Makefile.in: Regenerate.
2655 2000-04-04  H.J. Lu  <hjl@gnu.org>
2657         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2658         (arparse.h): Depend on arparse.c
2659         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2661 2000-04-03  H.J. Lu  (hjl@gnu.org)
2663         * size.c (usage): Use REPORT_BUGS_TO.
2665 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2667         * bucomm.h: #include "bin-bugs.h"
2668         * addr2line.c (usage): Use REPORT_BUGS_TO.
2669         * ar.c (usage): Likewise.
2670         * nlmconv.c (show_usage): Likewise.
2671         * nm.c (usage): Likewise.
2672         (OPTION_TARGET): Define.
2673         (long_options): Use OPTION_TARGET rather than 200.
2674         (main): Likewise.
2676         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2677         (strip_usage): Likewise.
2678         * objdump.c (usage): Likewise.
2679         * readelf.c (usage): Likewise.
2680         * strings.c (usage): Likewise.
2681         * windres.c (usage): Likewise.
2683 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2685         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2687 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2689         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2690         string offsets in corrupt stabs entries.
2692 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2694         * readelf.c: Include elf/avr.h
2695         (dump_relocations): Add EM_AVR case.
2697 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2699         * strings.1: Correct '-bytes' to '--bytes'.
2701 2000-03-08  H.J. Lu  <hjl@gnu.org>
2703         * Makefile.am (install-exec-local): Depend on
2704         install-binPROGRAMS for parallel make.
2705         * Makefile.in: Regenerated.
2707 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2709         From Brad Lucier <lucier@math.purdue.edu>:
2710         * readelf.c (process_dynamic_segment): Add cast to make sure
2711         argument to %* is int.
2713 2000-02-25  H.J. Lu  <hjl@gnu.org>
2715         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2717 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2719         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2720         * configure: Regenerate.
2722         * dlltool.c: Add support for sh-pe and mips-pe targets.
2723         * rescoff.c: Add support for sh-pe and mips-pe targets.
2725 2000-02-23  H.J. Lu  <hjl@gnu.org>
2727         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2729 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2731         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2733 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2735         From Brad Lucier <lucier@math.purdue.edu>:
2736         * readelf.c (process_version_sections): Add casts to make sure
2737         argument to %* is an int.
2738         (process_mips_specific): Add casts to make printf arguments match
2739         format.
2741 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2743         * objdump.c (dump_section_header): Change `opb' to unsigned.
2744         (find_symbol_for_address): Same here.
2745         (disassemble_data): And here.  Change `addr_offset',
2746         `stop_offset', `nextstop_offset' to unsigned long.
2747         (dump_data): Change opb to unsigned.
2749 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2751         * resrc.c: Remove unmatched #if for cygwin.
2753 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2755         * binutils.texi: Document the change of flavor name from atpcs-special
2756         to special-atpcs to prevent name conflict in gdb.
2758 2000-02-08  Timothy Wall  <twall@redhat.com>
2760         * objdump.c (show_line): Fix bug preventing printing of the very
2761         first line (line zero) of a file when interlisting source and
2762         assembly.  Added option to print entire context from start of file
2763         when the first line from that file is encountered.
2765 2000-02-03  Timothy Wall <twall@redhat.com>
2767         * objdump.c (dump_section_header, find_symbol_for_address,
2768         show_line, disassemble_bytes, disassemble_data, dump_data):
2769         distinguish between octets and bytes.
2771 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2773         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2774         check to unresolved symbols.
2775         (print_symbol_info_sysv):  Ditto.
2776         (print_symbol_info_posix):  Ditto.
2778         * binutils.texi: Document new 'V' symclass flag for nm.
2780 2000-01-27  Nick Clifton  <nickc@redhat.com>
2782         * binutils.texi (objdump): Document new ARM specific
2783         disassembler options.
2785         * objdump.c (usage): Call disassembler_usage().
2787 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2789         * readelf.c (get_dynamic_flags): Return buff.
2790         (process_dynamic_segment): Don't pass error strings to printf
2791         as format arg.
2792         (read_and_display_attr): Use lx and ld to print longs.
2793         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2794         before printing.
2795         Update copyright.
2797 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2799         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2801 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2803         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2804         false.
2805         (debug_tag_type): Here too.
2806         * ieee.c (ieee_builtin_type): And here.
2807         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2809 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2811         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2812         System/370".
2814 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2816         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2818 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2820         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2822 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2824         * windres.c (long_options): Add --use-temp-file and
2825         --no-use-temp-file options.
2826         (usage): Document.
2827         (main): Handle.
2829         * windres.h: Update read_rc_file prototype.
2831         * resrc.c (cpp_temp_file): New static variable.
2832         (istream_type): New static variable.
2833         (close_pipe): Delete function.
2834         (run_cmd): New static function.
2835         (open_input_stream): New static function.
2836         (close_input_stream): New static function.
2837         (look_for_default): Handle DOS directory separator. Use
2838         open_input_stream instead of popen.
2839         (read_rc_file): Likewise.
2841         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2842         options.
2844 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2846         * dlltool.c (create_compat_implib): New variable.
2847         (gen_exp_file): Use.
2848         (make_one_lib_file): Use.
2849         (long_options): Add --compat-implib option.
2850         (usage): Handle.
2851         (main): Handle.
2853         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2854         (main): Use. Don't look for "32" in cygwin and mingw target names.
2856 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2858         * binutils.texi: Document new, ARM specific disassembler
2859         command line switch "-M force-thumb".
2861 For older changes see ChangeLog-9899
2863 Local Variables:
2864 mode: change-log
2865 left-margin: 8
2866 fill-column: 74
2867 version-control: never
2868 End: