Add Jeff Law as HPPA maintainer
[binutils.git] / binutils / ChangeLog
blob8b226441abbf604840242af1c4cee7a4e7ddb7e9
1 2002-08-22  Nick Clifton  <nickc@redhat.com>
3         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
4         HPPA.
6 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8         * readelf.c (parse_args): Change debug_dump_opt to static.
10 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
12         * stabs.c (parse_stab_argtype): Pass length of physname to
13         stab_demangle_argtypes.
14         (stab_demangle_argtypes): Add new parameter - length of physname.
15         Pass length of physname on to stab_demangle_prefix.
16         (stab_demangle_prefix): Add new parameter - length of physname.
17         Use length of physname (if supplied) to compute end of function
18         name.
20 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
22         * readelf.c: Include elf/i370.h.
23         (dump_relocations): Handle EM_S370.
24         (dynamic_segment_parisc_val): Print \n.
25         (process_dynamic_segment <DT_BIND_NOW>): Here too.
27 2002-08-14  Nick Clifton  <nickc@redhat.com>
29         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
30         * objdump.c (usage): Likewise.
31         * doc/binutils.texi: Likewise.
33 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
35         * rcparse.y (acc_entry): Don't warn about ALT use with
36         non-VIRTKEY.
38 2002-08-13  H.J. Lu <hjl@gnu.org>
40         * objcopy.c (copy_object): Don't warn about the unsupported
41         architecture unless the input target is defaulted or the
42         output architecture is different from the input.
44 2002-08-09  Nick Clifton  <nickc@redhat.com>
46         * po/sv.po: Updated Swedish translation.
48 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
50         * prdbg.c (pr_fix_visibility): Remove assert.
52 2002-07-31  Nick Clifton  <nickc@redhat.com>
54         * addr2line.c (process_file): Rename parameter 'filename' to
55         'file_name' in order to avoid shadowing global symbol of the
56         same name.
57         (main): Likewise.
59 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
61         * readelf.c (OPTION_DEBUG_DUMP): Define.
62         (options): Use it.
63         (usage): Update help.
64         (parse_args): Handle --debug-dump separately from -w.
65         * doc/binutils.texi (readelf): Update documentation.
67 2002-07-25  Nick Clifton  <nickc@redhat.com>
69         * po/es.po: Updated Spanish translation.
70         * po/fr.po: Updated French translation.
72 2002-07-24  Nick Clifton  <nickc@redhat.com>
73         
74         * po/es.po: Updated Spanish translation.
76 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
78         * Makefile.am: Run "make dep-am".
79         * Makefile.in: Regenerate.
81 2002-07-23  Nick Clifton  <nickc@redhat.com>
83         * po/fr.po: Updated French translation.
85 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
87         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
89 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
91         * budemang.c: Include config.h and string.h/strings.h.
93 2002-07-18 Denis Chertykov  <denisc@overta.ru>
94            Frank Ch. Eigler  <fche@redhat.com>
96         * readelf.c: Include "elf/ip2k.h".
97         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
98         (dump_relocations): Likewise.
99         (get_machine_name): Likewise.
100         * NEWS: Mention IP2K support.
102 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
104         * NEWS: Add 'Changes in 2.13'.
106 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
108         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
109         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
110         (get_section_type_name): Handle SHT_GNU_LIBLIST.
111         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
112         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
113         (process_gnu_liblist): New.
114         (process_file): Call it.
116 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
118         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
119         * Makefile.in: Regenerate.
121 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
123         * budemang.c: New file, "demangle" function.
124         * budemang.h: New file.
125         * addr2line.c (translate_addresses): Use "demangle".
126         * nm.c (print_symname): Likewise.
127         * objdump.c (objdump_print_symname): Likewise.
128         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
129         here since that obfuscates.
130         * rdcoff.c: Don't #include demangle.h.
131         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
132         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
133         (HFILES): Add budemang.h.  Sort.
134         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
135         Run "make dep-am".
136         * Makefile.in: Regenerate.
138 2002-07-01  Matt Thomas  <matt@3am-software.com>
140         * readelf.c: Include "elf/vax.h".
141         (guess_is_rela): Move EM_VAX from unknown to RELA case.
142         (dump_relocations): Handle VAX relocations.
143         (get_machine_flags): Handle VAX machine flags.
145 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
147         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
149 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
151         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
153 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
155         * nm.c (print_symname): When demangling, strip leading dots from
156         symbol names to avoid confusing the demangler.
158 2002-06-25  H.J. Lu <hjl@gnu.org>
160         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
161         * Makefile.in: Regenerated.
163 2002-06-21  Igor Schein  <igor@txc.com>
165         * configure.in: Quote bu_cv_have_fopen64.
166         * configure: Regenerate.
168 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
170         * configure.in: Check for strcoll.
171         * configure: Regenerate.
172         * config.in: Regenerate.
173         * nm.c (main): Set locale for LC_COLLATE category.
174         (non_numeric_forward): Use strcoll if available.
176 2002-06-20  Dave Brolley  <brolley@redhat.com>
178         * MAINTAINERS: Add self as fr30 and frv maintainer.
180 2002-06-18  H.J. Lu  (hjl@gnu.org)
182         * nm.c: Include "elf/common.h".
183         (extended_symbol_info): Add elfinfo, a pointer to
184         elf_symbol_type.
185         (SYM_SIZE): Use elfinfo if it is not NULL.
186         (get_symbol_type): New function.
187         (display_archive): Set print_width for each archive member.
188         (display_file): Likewise.
189         (display_rel_file): Don't set print_width here.
190         (print_object_filename_sysv): Handle print_width.
191         (print_archive_member_sysv): Likewise.
192         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
193         (print_symbol): Set the elfinfo field in extended_symbol_info
194         for ELF.
195         (print_object_filename_sysv): Fix the output format.
196         (print_symbol_info_sysv): Print type and section for ELF.
198 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
200         * nm.c (print_size_symbols): Remove assignment, which makes
201         the symbol's size equal to its value when --size-sort is 
202         used.
204 2002-06-18  Dave Brolley  <brolley@redhat.com>
206         From Catherine Moore:
207         * readelf.c (elf/frv.h): #include it.
208         (guess_is_rela): Support EM_CYGNUS_FRV.
209         (dump_relocations): Ditto.
210         (get_machine_name): Ditto.
211         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
213 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
215         * readelf.c (get_file_header): Only read the first section header if
216         e_shoff is non-zero.
218 2002-06-15  H.J. Lu  (hjl@gnu.org)
220         * nm.c (print_size): New variable. Initialize to 0.
221         (long_options): Add 'S'/"print-size".
222         (main): Handle 'S'.
223         (print_symbol_info_bsd): Print size only if print_size is not
224         0.
226         * doc/binutils.texi: Document -S/--print-size.
228 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
230         * nm.c (struct extended_symbol_info): New strcuture: Add the size
231         of the symbols to the information provided by the symbol_info
232         structure.
233         (print_symbols): Pass the symbol size to print_symbol.
234         (print_size_symbols): Pass the symbol size to print_symbol.
235         (print_symbol): Extra argument: The size of the symbol.  Store
236         this in the extended_symbol_info structure.
237         (print_symbol_info): Change type of info parameter to
238         extended_symbol_info.  Display the size, if known.
239         (print_symbol_info_posix): Likewise.
240         (print_symbol_info_sysv): Likewise.
242 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
244         * Makefile.am: Run "make dep-am".
245         * Makefile.in: Regenerate.
246         * doc/Makefile.in: Regnerate.
248         * bucomm.c: Replace CONST with const.
249         * nm.c: Likewise.
250         * objdump.c: Likewise.
252 2002-06-07  H.J. Lu <hjl@gnu.org>
254         * readelf.c (DW_CFA_GNU_args_size): Don't define.
255         (DW_CFA_GNU_negative_offset_extended): Likewise.
256         (DW_CFA_GNU_window_save): Likewise.
257         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
258         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
260 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
261         
262         * nm.c: When computing size of symbols for an ELF target use the
263         internal size field.
265 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
267         * testsuite/binutils-all/objcopy.exp: clear xfail for
268         "hppa*64*-*-hpux*".
269         * testsuite/binutils-all/hppa/objdump.exp: Return if
270         "*64*-*-*".
272 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
274         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
276 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
278         * objdump.c: Fix formatting.
280 2002-05-29  Ben Elliston  <bje@redhat.com>
282         * MAINTAINERS: Add self as M68k maintainer.
284 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
286         * readelf.c: Modified/Added DLX elf support.
288 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
290         * arsup.c: Fix formatting.
291         * debug.c (debug_record_label): Add missing colon to error
292         message.
293         * ieee.c (parse_ieee_ty): Fix spelling typo.
294         * readelf.c (process_program_headers): Remove English assumption
295         about making a plural word.
296         (process_section_headers): Likewise.
297         (process_relocs): Allow quotes to be translated.
298         (process_unwind): Likewise,
299         (process_mips_specific): Improve error message.
300         (get_note_type): Fix spelling typo.
302         * configure.in (ALL_LINGUAS): Add sv
303         * po/sv.po: New file.
305 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
307         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
308         (unw_print_grmask): Likewise.
309         (unw_print_frmask): Likewise.
311 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
313         * arsup.c: Remove ARGSUSED.
314         * debug.c: Likewise.
315         * ieee.c: Likewise.
316         * nlmconv.c: Likewise.
317         * prdbg.c: Likewise.
318         * stabs.c: Likewise.
319         * wrstabs.c: Likewise.
321 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
323         * arlex.l: Use #include "" instead of <> for local header files.
324         * coffdump.c: Likewise.
325         * coffgrok.c: Likewise.
326         * nlmconv.c: Likewise.
327         * nlmheader.y: Likewise.
328         * srconv.c: Likewise.
329         * strings.c: Likewise.
330         * sysdump.c: Likewise.
331         * unwind-ia64.h: Likewise.
332         * windres.h: Likewise.
333         * winduni.h: Likewise.
335 2002-05-24  Tom Rix  <trix@redhat.com>
337         * MAINTAINERS: Add self as the d10v maintainer.
339 2002-05-24   TAMURA Kent <kent@netbsd.org>
341         * configure.in: Builds dlltool for i386-netbsdpe.
342         * configure: Regenerate.
344 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
346         * size.c: Fix formatting.
347         * srconv.c: Likewise.
348         * stabs.c: Likewise.
349         * sysdump.c: Likewise.
350         * unwind-ia64.c: Likewise.
351         * wrstabs.c: Likewise.
353 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
355         * readelf.c (get_segment_type): Add PT_TLS.
356         (get_elf_section_flags): Add SHF_TLS.
357         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
358         (process_dynamic_segment): Use puts instead of printf.
359         (get_symbol_type): Support STT_TLS.
360         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
361         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
362         Add SEC_THREAD_LOCAL.
364 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
366         * rdcoff.c: Fix formatting.
367         * rddbg.c: Likewise.
368         * readelf.c: Likewise.
369         * rename.c: Likewise.
370         * resbin.c: Likewise.
371         * resrc.c: Likewise.
372         * resres.c: Likewise.
374 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
376         * filemode.c: Fix formatting.
377         * ieee.c: Likewise.
378         * is-ranlib.c: Likewise.
379         * is-strip.c: Likewise.
380         * maybe-ranlib.c: Likewise.
381         * maybe-strip.c: Likewise.
382         * nlmconv.c: Likewise.
383         * nm.c: Likewise.
384         * not-ranlib.c: Likewise.
385         * not-strip.c: Likewise.
386         * objcopy.c: Likewise.
387         * objdump.c: Likewise.
389 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
391         * objdump.c (dump_headers): Fix output formatting for ELF32
392         architectures in a BFD64 enabled toolchain.
394 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
396         * debug.c: Fix formatting.
397         * debug.h: Likewise.
398         * dlltool.c: Likewise.
399         * dllwrap.c: Likewise.
400         * emul_aix.c: Likewise.
401         * emul_vanilla.c: Likewise.
403 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
405         * addr2line.c: Fix formatting.
406         * ar.c: Likewise.
407         * arsup.c: Likewise.
408         * arsup.h: Likewise.
409         * binemul.c: Likewise.
410         * binemul.h: Likewise.
411         * bucomm.c: Likewise.
412         * coffdump.c: Likewise.
413         * coffgrok.c: Likewise.
414         * coffgrok.h: Likewise.
416 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
418         * MAINTAINERS: Add myself as the second AVR port maintainer.
420 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
422         * MAINTAINERS: Update my email address.
424 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
426         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
428 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
430         * configure.in: Replace `*pe' with `pe' throughout.
431         * configure: Regenerate.
433 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
435         * Makefile.am: Honour DESTDIR.
436         * Makefile.in: Regenerate.
438 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
440         * dlltool.c (process_def_file): Add missing prototype.
441         (new_directive, assemble_file, main): Likewise.
442         (process_def_file, new_directive): Make static.
443         (inform): Rewrite using VA_FIXEDARG.
444         * dllwrap.c (mybasename): Add missing prototype.
445         (strhash, main): Likewise.
446         (inform): Rewrite using VA_FIXEDARG.
447         (warn): Likewise.
448         (cleanup_and_exit): Use old style function definition.
449         (strhash): Likewise.
450         * windres.c (define_resource): Use one memset to clear all of
451         struct res_resource.
453         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
454         call to rules that need no lookahead.  Check for no lookahead.
456 2002-05-06  Borut Razem  <borut.razem@siol.net>
458         * rclex.l (get_string): Correct "strings" list handling.
459         * resrc.c (read_rc_file): Discard strings.
461 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
463         * ar.c (replace_members): Remove unused var.  Formatting fix.
464         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
466         * MAINTAINERS: Sort port maintainers by CPU.
468 2002-05-04  Bob Byrnes  <byrnes@curl.com>
470         * size.c (display_archive): Add last_arfile and code to close archives.
472 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
474         * nm.c (print_symbol): Check returned filename from
475         bfd_find_nearest_line is non-NULL.
477 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
478     
479         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
481 2002-04-24  Christian Groessler <chris@groessler.org>
483         * MAINTAINERS: Changed my email address.
485 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
487         * arparse.y: Fix syntax warning.
489 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
491         * readelf.c (fetch_location_list): Remove unused function.
493         * readelf.c (process_corefile_note_segment): Catch corrupt notes
494         and display a warning message, then exit the loop.
496         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
498 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
500         * resrc.c (write_rc_dialog): If charset is non-default value
501         display all of the DIALOGEX parameters.
503 2002-04-15  Eric Kohl <ekohl@rz-online.de>
505         * rcparse.y: Allow two to five parameter in FONT statement of 
506         DIALOGEX resources.
507         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
508         resource data.
509         (res_to_bin_dialog): Likewise.
510         * windres.h: Added misssing charset variable to dialog_ex
511         structure.
513 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
515         * rcparse.y: Set MEMFLAG_PURE by default.
517 2002-04-09  Bernd Herd <info@herdsoft.com>
519         * rcparse.y: CLASS definitions in DIALOG resources 
520         are quoted.
521         Fix typo in BEDIT warning.
522         Don't add default dialog style when explicit style specified.
523         Add WS_CAPTION dialog style if CAPTION is specified.
525         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
526         (handle_quotes) "\a" escape (used for right justified key
527         definitions in menus) is encodes as binary 8.
529         * resrc.c (write_rc_dialog): Print style even if it is 0.
530         (write_rc_directory): Fix overlooked sublang shift bug.
531         (bin_to_res_dialog): Don't print empty dialog caption.
533         * resbin.c (bin_to_res_dialog): Use signature to identify
534         DIALOGEX.
536         * windres.c (main): Set default LANGUAGE to english/us.
538 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
540         * resrc.c: print CLASS names in quotes
542 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
544         * MAINTAINERS: Update my email address.
546 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
548         * dep-in.sed: Cope with absolute paths.
549         * Makefile.am (dep.sed): Subst TOPDIR.
550         Run "make dep-am".
551         * Makefile.in: Regenerate.
553 2002-03-27  Peter Targett  <peter.targett@arc.com>
555         * MAINTAINERS: Update my email address.
557 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
559         * Makefile.am: Run "make dep-am".
560         * Makefile.in: Regenerate.
561         * doc/Makefile.in: Regenerate.
562         * po/POTFILES.in: Regenerate.
563         * aclocal.m4: Regenerate.
564         * config.in: Regenerate.
565         * configure: Regenerate.
567 2002-03-20  Daniel Berlin  <dan@dberlin.org>
569         * readelf.c: Add support for displaying dwarf2 location lists.
570         (do_debug_loc, debug_loc_section, debug_loc_size): New.
571         (parse_args): Use 'O' as shorthand for displaying location list
572         section.
573         (process_section_headers): Handle debug_loc as well.
574         (load_debug_loc): New.
575         (free_debug_loc): New.
576         (fetch_location_list): New.
577         (display_debug_loc): New.
578         (display_debug_info): Call load_debug_loc and free_debug_loc.
579         (debug_displays): We can display .debug_loc now, too.
580         (usage): Update usage string.
581         (read_and_display_attr_value): Note location lists, but don't
582         display them inline.
584 2002-03-18  Tom Rix  <trix@redhat.com>
586         * Makefile.am: Add binutils emulation support.
587         * configure.in: Same.
588         * configure.tgt: New file.  Same.
589         * ar.c (main): Use ar_emul_parse_arg.
590         (usage): Use ar_emul_usage.
591         (replace_members): Use ar_emul_replace, ar_emul_append.
592         * binemul.c: New file.  Define the binutils emulation
593         layer. Define default methods.
594         * binemul.h: New file.  Binutils emulation layer header file.
595         * emul_aix.c: New file.  AIX binutils emulation.
596         * emul_vanilla.c: New file. Default binutils emulation.
597         * Makefile.in: Regenerate.
598         * configure: Same.
600 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
602         * po/fr.po: Updated version.
604 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
606         * po/fr.po: Updated version.
608 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
610         * README: Update some version numbers.
612 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
614         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
615         (Architecture Selection): Likewise.
617 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
619         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
620         generating .exp file.
622 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
624         * readelf.c (dump_relocations): Fix typo.
626 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
628         * NEWS: Mark 2.12 branch.
630 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
632         * readelf.c (dump_relocations): Display 2nd and 3rd reloc 
633         types for 64-bit MIPS.  Narrow some fields for 80-char 
634         output.
635         (dump_relocations): Change spelling from 'unrecognised' 
636         to 'unrecognized'.
637         (decode_ARM_machine_flags): Likewise.
638         (parse_args): Likewise.
639         (read_and_display_attr_value): Likewise.
640         (display_debug_section): Likewise.
642 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
644         * NEWS: Mention support for MMIX.
646 2002-02-13  Matt Fredette  <fredette@netbsd.org>
648         * readelf.c (get_machine_flags): Recognize EF_M68000.
650 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
652         * MAINTAINERS: Added self as MN10300 co-maintainer.
654 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
656         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
657         DT_PPC64_OPDSZ.
659 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
661         * MAINTAINERS: List myself as branch maintainer.
663 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
665         * configure: Regenerate.
666         * objcopy.c: Update copyright date.
667         * doc/Makefile.in: Regenerate.
669 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
671         * nlmconv.c: Back out localtime PARAMS change.
673 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
675         * objcopy.c (MKDIR): Define.
676         (copy_archive): Make name_list.name const.  Use MKDIR.
677         Handle duplicate files in archives by making more temp dirs.
679 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
681         * coffdump.c: Include "getopt.h" after "bucomm.h"
682         so that macros are defined correctly.
683         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
684         prototype.  Prototype main.
685         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
687 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
689         * MAINTAINERS: Added self as SH co-maintainer.
691 2002-02-05  Nick Clifton <nickc@redhat.com>
693         * po/tr.po: Updated translation.
695 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
697         * Makefile.am: Run "make dep-am"
698         * Makefile.in: Regenerate.
700 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
702         * nm.c (print_value): Mark abfd unused.
704 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
706         * unwind-ia64.c (unw_decoder): Change second argument
707         to unsigned int, to match function prototypes.
709 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
711         * objdump.c: Include "getopt.h" after "bucomm.h" so that
712         __GNU_LIBRARY__ will be defined.
713         * size.c: Likewise.
715 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
717         * configure: Regenerated.
719 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
721         * doc/Makefile.am (install): Depend on install-info.
722         * doc/Makefile.in: Regenerate.
724 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
726         * objcopy.c (strip_usage): Document -d as an alias
727         --strip-debug.
729         * size.c (usage): Document [-t | --totals] options.
730         (long_options): Add --totals option.
731         (main): If the [-t | --totals] option is specified and
732         the output format is Berkeley-style, print the total
733         text, data, and bss sizes of all objects listed.
734         (print_berkeley_format): If the [-t | --totals] option
735         is specified, track the total text, data, and bss
736         sizes.
737         * doc/binutils.texi (size): Document [-t | --totals] options.
738         (strip): Document -d as an alias for --strip-debug.
739         * NEWS: Mention new feature of size.
741 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
743         * po/fr.po: Updated version.
744         * po/es.po: Updated version.
746 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
748         * addr2line.c (usage): Update text to provide verbose
749         description of the command line options.
750         * ar.c (usage): Update text to provide verbose
751         description of the command line options.
752         (main): Accept -h and -H when running as ranlib.
753         * coffdump.c (show_usage): Update text to provide verbose
754         description of the command line options.
755         * dlltool.c (main): Accept -H as an alias for --help.
756         * nlmconv.c (show_usage): Update text to provide verbose
757         description of the command line options.
758         * nm.c (usage): Replace OPTIONS with option(s).
759         (main): Accept -H as an alias for --help.
760         * objcopy.c (strip_main): Accept -H as an alias for --help.
761         * objdump.c (main): Accept -v as an alias for --verbose.
762         * readelf.c (usage): Adjust format to match style used in
763         other binutils.
764         * size.c (usage): Update text to provide verbose description
765         of the command line options.
766         (main): Accept -v, -h and -H as command line options.
767         * srconv.c (show_usage): Update text to provide verbose
768         description of the command line options.
769         * strings.c (main): Accept -H and -v as command line options.
770         (usage): Update text to provide verbose description of the
771         command line options.
772         * sysdump.c (show_usage): Update text to provide verbose
773         description of the command line options.
774         * windres.c (usage): Adjust format to match style used in
775         other binutils.
777         * coffdump.c: Fix formatting.
778         * nlmconv.c: Fix formatting.
779         * srconv.c: Fix formatting.
780         * sysdump.c: Fix formatting.
782 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
784         * Makefile.am: Run "make dep-am".
785         * Makefile.in: Regenerate.
787 2002-01-18  Andreas Jaeger  <aj@suse.de>
789         * version.c (print_version): Update year.
791 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
793         * readelf.c (get_machine_name): Handle EM_PPC64.
794         (guess_is_rela): Here too.
796 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
798         * po/binutils.pot: Regenerate.
799         * po/fr.po: Regenerate.
800         * po/tr.po: Regenerate.
802 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
804         * po/tr.po: Import new version.
806 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
808         * readelf.c (get_ppc64_dynamic_type): New.
809         (get_dynamic_type): Call it.
811 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
813         * objcopy.c (copy_usage): Use "options" instead of "switches".
814         (strip_usage): Use "options" instead of "switches".
815         * doc/binutils.texi (dlltool):  Refer to "options" instead of
816         "switches".
818 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
820         * MAINTAINERS: Add self as co-maintainer for the ARM code.
822 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
824         * po/es.po: Import from translation project.
825         * configure.in (ALL_LINGUAS): Add es.
826         * configure: Regenerate.
828 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
830         * readelf.c (get_netbsd_elfcore_note_type): Use
831         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
833 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
835         * readelf.c: Update copyright years.
836         (get_note_type): Return a const char *.
837         (get_netbsd_elfcore_note_type): New function.
838         (process_note): Use get_netbsd_elfcore_note_type to get
839         the note type string for NetBSD ELF core files.
841 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
843         * readelf.c (get_ia64_segment_type): Add support for macros.
844         (get_segment_type): Add support for IA64 specific macros.
846 2001-12-20  Julian v. Bock  <julian@wongr.net>
848         * readelf.c (print_symbol): New function: Print a formatted symbol
849         name.  If --wide is specified do not truncate it.
850         (dump_relocations): Use print_symbol() to print symbol names.
851         (process_symbol_table): Likewise.
852         (process_syminfo): Likewise.
853         (process_mips_specific): Likewise.
854         (usage): Document new feature of --wide switch.
855         * doc/binutils.texi (objdump): Document additional behaviour of
856         --wide.
858 2001-12-18  Michael Snyder  <msnyder@redhat.com>
860         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
861         (copy_object): Don't set the start address or flags of a core file.
862         (copy_section): Don't relocate a core file.  Don't copy contents
863         if the input section has the contents flag set, but the output
864         section does not (which happens with the fake 'note' pseudo-
865         sections that BFD creates for corefiles).
867 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
869         * readelf.c (get_machine_flags): Recognize header flags for ABI and
870         ASE extensions. More robust code for ISA checking. Ignore empty fields
871         in header flags for GNU extensions.
873 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
875         * objcopy.c (copy_archive): Set output bfd format outside the loop.
877 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
879         * po/ja.po: Import from translation project.
880         * configure.in (ALL_LINGUAS): Add ja.
881         * configure: Regenerate.
883 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
885         * addr2line.c (main): Protoype.
886         * ar.c (main): Protoype.
887         * nm.c (main): Protoype.
888         * objcopy.c (main): Protoype.
889         * objdump.c (main): Protoype.
890         * size.c (main): Protoype.
891         * strings.c (main): Protoype.
893 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
895         * readelf.c (symtab_shndx_hdr): New global.
896         (SECTION_HEADER_INDEX): Define.
897         (SECTION_HEADER_NUM): Define.
898         (SECTION_HEADER): Define.
899         (GET_ELF_SYMBOLS): Pass two params rather than three.
900         (get_32bit_elf_symbols): Take file and section args.  Read and
901         use SHT_SYMTAB_SHNDX.
902         (get_64bit_elf_symbols): Likewise.
903         (dump_relocations): Use SECTION_HEADER to index "section_headers".
904         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
905         Remember symtab_shdx_hdr.
906         (process_program_headers): Scan from index 1 for segment map.
907         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
908         "section_headers".
909         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
910         (process_unwind): Likewise.
911         (process_version_sections): Likewise.
912         (process_symbol_table): Likewise.
913         (display_debug_info): Likewise.
914         (process_dynamic_segment): Fake up a symtab section for changed
915         GET_ELF_SYMBOLS.
916         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
917         (process_program_headers): Kill signed/unsigned warning.
918         (load_debug_str): Likewise.
919         (display_debug_info): Likewise.
921 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
923         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
925 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
927         * readelf.c (process_file_header): Print extended e_shnum and
928         e_shdtrndx values.  Set elf_header values for same.
929         (get_32bit_section_headers): Add "num" arg to read "num" headers.
930         (get_64bit_section_headers): Likewise.
931         (process_section_headers): Update calls.
932         (get_file_header): Call get_32bit_section_headers or 64bit variant.
934 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
936         * objcopy.c (setup_section): Copy entsize.
938 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
940         * readelf.c (guess_is_rela): Add support for stormy16.
941         (dump_relocations): Likewise.
942         (get_machine_name): Likewise.
944 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
946         * dllwrap.c (main) Replace multiple strings describing a
947         single error with a single, newline escaped sentence to permit
948         better translation into foreign languages.
950         * readelf.c (get_elf_class): Remove internalionalisation of ELF
951         class names.
953 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
955         * strings.c (get_char): Initialize value.
957 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
959         * arlex.l: Silence compile warnings.
960         * arsup.h: Likewise. Fix formatting.
962 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
964         * strings.c: Include config.h before bfd.h.
965         (file_off): New type.
966         (file_open): Define.
967         (print_strings): Use file_off instead of file_ptr.  Print addresses
968         which don't fit into long correctly.
969         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
970         available.
971         (strings_file): Use file_off instead of file_ptr.  Use file_open.
972         * configure.in: Check for getc_unlocked.
973         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
974         be defined for it.
975         * configure: Rebuilt.
976         * config.h.in: Rebuilt.
978 2001-11-29  H.J. Lu <hjl@gnu.org>
980         * bucomm.c (make_tempname): Revert the changes made on
981         2001-11-14 and 2001-11-12. They won't work with directories.
983 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
985         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
986         CFLAGS_FOR_TARGET to runtest in environment.
987         * Makefile.in: Rebuild.
988         * doc/Makefile.in: Rebuild.
990 2001-11-28  Mike Stump  <mrs@wrs.com>
992         * objcopy.c (setup_section): Preserve SEC_RELOC when
993         --set-section-flags is used.
995 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
997         * readelf.c (do_debug_str): New variable.
998         (display_debug_str): New function: Display the contents of a
999         .debug_str section.
1000         (load_debug_str): New function: Load in the contents of a
1001         .debug_str section.
1002         (free_debug_str): New function: Free the memory used by
1003         load_debug_str().
1004         (fetch_indirect_string): Retrieve a string from the .debug_str
1005         section.
1006         (usage): Add -ws.
1007         (parse_args): Accept -ws.
1008         (process_section_headers): Allow the display of the .debug_str
1009         section.
1010         (read_and_display_attr_value): Use fetch_indirect_string.  Show
1011         offset into .debug_str section.
1012         (display_debug_info): Use load_debug_str and free_debug_str.
1013         (debug_displays): Add .debug_str.
1014         * doc/binutils.texi: Document -ws.
1016 2001-11-19  Andreas Jaeger  <aj@suse.de>
1018         * testsuite/binutils-all/objdump.exp: Add x86-64.
1020 2001-11-15  Andreas Schwab  <schwab@suse.de>
1022         * readelf.c: Fix warnings without terminating newline.
1024 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
1026         * doc/binutils.texi (objdump): Document ppc -M options.
1028 2001-11-14  Andreas Jaeger  <aj@suse.de>
1030         * doc/binutils.texi (objdump): Fix description to use x86-64.
1032 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
1034         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1035         not all systems provide mkstemp.
1037 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1039         * doc/binutils.texi (objdump): Document x86 -M options.
1041 2001-11-13  Keith Walker <keith.walker@arm.com>
1043         * readelf.c (read_and_display_attr_value): New function to
1044         handle DW_FORM_indirect.
1045         (read_and_display_attr): Use it.
1047 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1049         * readelf.c (display_debug_lines): Deal with unknown standard
1050         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1051         DW_LNS_set_isa.
1053 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1055         * MAINTAINERS: Add self as tic54x maintainer.  This target
1056         includes the IBM C54XDSP clone.
1058 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1060         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1062 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1064         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1065         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1066         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1067         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1068         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1069         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1070         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1072         * readelf.c (get_elf_class): Fix ISO portability glitch.
1073         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1075 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1077         * readelf.c (debug_str, debug_str_size): New.
1078         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1079         Call free_abbrevs.
1080         (read_and_display_addr): Handle DW_FORM_strp.
1081         (display_debug_info): Read .debug_str section if present,
1082         so that DW_FORM_strp can be handled.
1083         Fix test for non-existant .debug_abbrev section.
1085 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1087         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1089         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1091 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1093         * MAINTAINERS: Add self as s390/s390x maintainer.
1095 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1097         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1099 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1101         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1102         * configure: Regernate.
1103         * po/fr.po: New file.
1104         * po/tr.po: New file.
1106 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1108         * MAINTAINERS: Add self as MMIX port maintainer.
1109         * readelf.c: Include elf/mmix.h.
1110         (guess_is_rela): MMIX is RELA.
1111         (dump_relocations): Handle MMIX relocations.
1112         * Makefile.am: Regenerate dependencies.
1113         * Makefile.in: Regenerate.
1115 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1117         * readelf.c (parse_args): Handle multiple options to the -w
1118         switch.
1120 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1122         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1123         LOPROC, LOOS and LOUSER.
1125 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1127         * MAINTAINERS: Update my email address.
1129 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1131         * doc/Makefile.in: Regenerate.
1132         * configure: Regenerate.
1134 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1136         * readelf.c (display_debug_line, display_debug_pubnames,
1137         display_debug_info, display_debug_frames): Detect and warn
1138         about 64-bit format entries.
1139         (display_debug_aranges): Reword 64-bit warning.
1140         (debug_displays): Add .debug_pubtypes as a known, but not yet
1141         supported, debug section.
1143 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1145         * coffdump.c (PROGRAM_VERSION): Delete.
1146         (main <'V'>): Call print_version.
1147         * srconv.c: Likewise.
1148         * sysdump.c: Likewise.
1149         * version.c (program_version): Remove.
1150         (print_version): Use BFD_VERSION_STRING.  Just print the current
1151         year in copyright message.
1152         * addr2line.c (program_version): Remove unused declaration.
1153         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1154         place of BFD_VERSION.
1155         * Makefile.am (Makefile): Depend on bfd/configure.in.
1156         (cplus-dem.o): Depend on Makefile.
1157         Run "make dep-am".
1158         * Makefile.in: Regenerate.
1160 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1162         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1163         format .debug_arange sections.
1164         (main): Add missing prototype.
1166 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1168         * Makefile.am: Update dependencies with "make dep-am".
1169         * Makefile.in: Regenerate.
1171 2001-09-28  Richard Henderson  <rth@redhat.com>
1173         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1175 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1177         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1178         VA_CLOSE.
1179         (non_fatal): Likewise.
1180         * objdump.c (objdump_sprintf): Likewise.
1181         * readelf.c (error): Likewise.
1182         (warn): Likewise.
1184 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1186         * readelf.c (do_wide): New.
1187         (options): Add --wide.
1188         (usage, parse_args): Likewise.
1189         (process_program_headers): Put each segment on a single line if
1190         --wide is given.
1191         (process_section_headers): Put each section on a single line if
1192         --wide is given.
1193         * doc/binutils.texi: Document it.
1194         * NEWS: Likewise.
1196 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1198         * readelf.c (print_vma): Print 8 digits of low hex value.
1200 2001-09-24  Andreas Jaeger  <aj@suse.de>
1202         * nlmconv.c: Fix warnings about unused attributes and function
1203         prototypes.
1205         * strings.c: Add prototype for get_char.
1207 2000-09-19  H.J. Lu  <hjl@gnu.org>
1209         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1210         $(srcdir)/cxxfilt.man.
1211         * doc/Makefile.in: Rebuild.
1213 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1215         * objcopy.c (copy_main): Correct rename-section string parsing.
1216         Consolidate new_name parsing, and error messages.
1218 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1220         * addr2line.c: Don't include <ctype.h>.
1221         (main): For gettext, also set the LC_CTYPE locate facet.
1222         * ar.c (main): Likewise.
1223         * coffdump.c (main): Likewise.
1224         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1225         (main): For gettext, also set the LC_CTYPE locate facet.
1226         Use ISALNUM instead of isalpha/isdigit.
1227         * dllwrap.c: Don't include <ctype.h>.
1228         (main): For gettext, also set the LC_CTYPE locate facet.
1229         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1230         (main): For gettext, also set the LC_CTYPE locate facet.
1231         Use TOUPPER instead of islower/toupper.
1232         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1233         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1234         Use TOUPPER instead of islower/toupper.
1235         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1236         * objcopy.c (main): Likewise.
1237         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1238         (disassemble_bytes): Use ISPRINT instead of isprint.
1239         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1240         (dump_data): Use ISPRINT instead of isprint.
1241         (main): For gettext, also set the LC_CTYPE locate facet.
1242         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1243         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1244         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1245         Use TOUPPER instead of islower/toupper.
1246         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1247         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1248         (write_rc_accelerators): Use ISPRINT instead of isprint.
1249         (write_rc_rcdata): Likewise.
1250         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1251         * srconv.c (main): Likewise.
1252         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1253         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1254         isdigit/isupper/islower.
1255         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1256         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1257         stab_demangle_prefix, stab_demangle_qualified,
1258         stab_demangle_template, stab_demangle_type,
1259         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1260         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1261         (isgraphic): Use ISPRINT instead of isascii/isprint.
1262         (main): Remove HAVE_LC_MESSAGES dependency.
1263         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1264         (pbarray): Use ISPRINT instead of isprint.
1265         (main): For gettext, also set the LC_CTYPE locate facet.
1266         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1267         (format_from_filename): Use ISPRINT instead of isprint.
1268         (main): For gettext, also set the LC_CTYPE locate facet.
1269         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1270         (unicode_print): Use ISPRINT instead of isprint.
1271         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1272         (stab_variable): Use ISDIGIT instead of isdigit.
1274 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1276         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1277         Replace bfd_read call with call to bfd_bread.
1278         (extract_file): Likewise.
1280         * objdump.c (dump_section_header): Cast section->filepos to
1281         unsigned long to suit printf format string.
1282         * readelf.c (process_section_headers): Similarly for sh_offset.
1283         (process_unwind): Likewise.
1285 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1287         * strings.c (encoding, encoding_bytes): New variables.
1288         (long_options): Add --encoding.
1289         (main): Accept -e and --encoding.
1290         (get_char): New function.  Read a, possibly wide, character from
1291         the input stream.
1292         (print_strings): Use get_char().
1293         (usage): Document new command line option.
1294         * doc/binutils.texi: Document new command line option.
1295         * NEWS: Announce new command line option.
1297 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1299         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1300         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1301         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1302         Removed EM_CYGNUS_ARC.
1304 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1306         * readelf.c: Include elf/h8 for H8 series definitions.
1307         (guess_is_rela): H8 series if RELA.
1308         (dump_relocations): Handle H8 series relocations.
1310 2001-08-31  Eric Christopher  <echristo@redhat.com>
1312         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1314 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1316         * MAINTAINERS: Include ARC Maintainer.
1318 2001-08-29  Ben Elliston  <bje@redhat.com>
1320         * stabs.c (stab_demangle_template): Initialise s4.
1322 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1324         * readelf.c (dump_relocations): Recognise EM_PPC64.
1326 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1328         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1330 2001-08-25  H.J. Lu  <hjl@gnu.org>
1332         * nm.c (print_width): New.
1333         (display_rel_file): Set `print_width' according to
1334         bfd_sprintf_vma.
1335         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1337 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1339         * objcopy.c (use_alt_mach_code): New variable.
1340         (OPTION_ALT_MACH_CODE): Define.
1341         (copy_options): Added --alt-machine-code.
1342         (copy_main): Handle it.
1343         (copy_object): Switch to alternate machine code if requested.
1344         * doc/binutils.texi: Document new option.
1345         * NEWS: Likewise.
1347 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1349         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1351 2001-08-21  H.J. Lu  <hjl@gnu.org>
1353         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1354         (display_debug_info): Cast for 64bit hosts.
1355         (display_debug_frames): Likewise.
1356         (process_mips_specific): Likewise.
1358 2001-08-21  Andreas Jaeger  <aj@suse.de>
1360         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1362         * sysdump.c: Add missing prototypes.
1363         * srconv.c: Likewise.
1364         * unwind-ia64.c: Likewise.
1365         * coffdump.c: Likewise.
1367         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1369         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1370         of declaring xcalloc.
1372 2001-08-10  H.J. Lu  <hjl@gnu.org>
1374         * nm.c (print_value): Add one arg, bfd *.
1375         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1376         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1377         (print_symbol_info_sysv): Likewise.
1378         (print_symbol_info_posix): Likewise.
1380         * objdump.c (dump_section_header): Replace printf_vma with
1381         bfd_printf_vma.
1382         (print_section_stabs): Likewise.
1383         (dump_bfd_header): Likewise.
1384         (objdump_print_value): Replace sprintf_vma with
1385         bfd_sprintf_vma.
1386         (disassemble_bytes): Likewise.
1387         (dump_reloc_set): Likewise.
1389 2001-08-10  Andreas Jaeger  <aj@suse.de>
1391         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1392         to build warnings.
1393         * configure: Regenerate.
1395 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1397         * readelf.c: Add missing prototypes.
1398         * objdump.c: Likewise.  Format existing prototypes.
1400 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1402         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1403         of any RELA relocation for the abbrev_offset memory location that
1404         refers to the .debug_abbrev section symbol.
1406 2001-08-07  H.J. Lu  <hjl@gnu.org>
1408         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1409         (main): Return process_file ().
1411 2001-08-05  Philip Blundell  <philb@gnu.org>
1413         * doc/binutils.texi: Use "Thumb" not "THUMB".
1415 2001-08-03  John Healy  <jhealy@redhat.com>
1417         Patch suggested by Frank Eigler <fche@redhat.com>.
1418         * objdump.c (disassemble_data): Fill in section member of the
1419         disasm_info structure.
1421 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1423         * configure.in: Added --with-windres option.
1424         * configure: Regenerated.
1426 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1428         * doc/binutils.texi: Use @command{name} for commands;
1429         use @option{-opt} for options; use @table @env for list of options;
1430         remove spaces arround [ | ] in synopsis.
1432         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1433         center title.
1435 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1437         * objcopy.c: Fix formatting.
1438         (section_rename): New structure.
1439         (OPTION_RENAME_SECTION): New switch.
1440         (copy_usage): Document new switch.
1441         (add_section_rename): New function: Add a node to the section
1442         rename list.
1443         (find_section_rename): New function: Find the new name and
1444         flags for a section.
1445         (setup_section): Call find_section_name to determine the name
1446         of the output section.
1447         (copy_main): Handle OPTION_RENAME_SECTION.
1448         * binutils.texi: Document new switch.
1449         * NEWS: Mention new switch.
1451 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1453         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1454         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1455         bug-binutils@gcc.org.
1457 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1459         * bucomm.c (list_supported_architectures): New function.
1460         * bucomm.h (list_supported_architectures): Declare.
1461         * objdump.c (usage): Call the above.
1463 2001-07-25  Dave Brolley  <brolley@redhat.com>
1465         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1466         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1468 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1470         * README: Update for 2.11.  Change bug reporting email address.
1471         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1473 2001-07-16  DJ Delorie  <dj@redhat.com>
1475         * resres.c (write_res_header): Align header size.
1476         (res_align_file): Calculate alignment correctly.
1478         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1479         correct 10).
1480         * resrc.c (write_rc_resource): Likewise.
1481         * windres.h (SUBLANG_SHIFT): Define - as 10.
1483 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
1485         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1487 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
1489         * MAINTAINERS: Add notes about branch checkins.
1491 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
1493         * readelf.c (display_debug_macinfo): New function, display
1494         .debug_macinfo section.
1495         (do_debug_macinfo): New variable.
1496         (parse_args): Handle "-w[mM]" to mean display macro info.
1497         (process_section_headers): Handle debug_macinfo.
1498         (debug_displays): Replace unsupported function with macinfo
1499         function for .debug_macinfo display.
1500         * doc/binutils.texi: Document new command line switch.
1501         * NEWS: Document new feature of readelf.
1503 2001-07-05  H.J. Lu  <hjl@gnu.org>
1505         * objcopy.c (filter_symbols): Don't turn undefined symbols
1506         into local.
1508 2001-07-03  H.J. Lu <hjl@gnu.org>
1510         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1511         $@.pod.
1512         (ar.1): Likewise.
1513         (dlltool.1): Likewise.
1514         (nlmconv.1): Likewise.
1515         (nm.1): Likewise.
1516         (objcopy.1): Likewise.
1517         (objdump.1): Likewise.
1518         (ranlib.1): Likewise.
1519         (readelf.1): Likewise.
1520         (size.1): Likewise.
1521         (strings.1): Likewise.
1522         (strip.1): Likewise.
1523         (windres.1): Likewise.
1524         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1525         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1526         $(DEMANGLER_NAME).
1527         (as.1): Removed.
1528         * doc/Makefile.in: Regenerated.
1530 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1532         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1534 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
1536         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1538 2001-06-29  James Cownie <jcownie@etnus.com>
1540         * readelf.c: Support DWARF 2.1 attributes.
1542 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
1544         * readelf.c (GET_DATA_ALLOC): Remove.
1545         (GET_DATA): Remove.
1546         (get_data): New function combining above macros, with an extra
1547         test for zero size.
1548         (slurp_rela_relocs): Use get_data, and catch error return.
1549         (slurp_rel_relocs): Likewise.
1550         (get_32bit_program_headers): Likewise.
1551         (get_64bit_program_headers): Likewise.
1552         (get_32bit_section_headers): Likewise.
1553         (get_64bit_section_headers): Likewise.
1554         (get_32bit_elf_symbols): Likewise.
1555         (get_64bit_elf_symbols): Likewise.
1556         (process_section_headers): Likewise.
1557         (process_relocs): Likewise.
1558         (slurp_ia64_unwind_table): Likewise.
1559         (process_unwind): Likewise.
1560         (get_32bit_dynamic_segment): Likewise.
1561         (get_64bit_dynamic_segment): Likewise.
1562         (process_dynamic_segment): Likewise.
1563         (process_version_sections): Likewise.
1564         (process_symbol_table): Likewise.
1565         (dump_section): Likewise.
1566         (display_debug_info): Likewise.
1567         (display_debug_section): Likewise.
1568         (process_section_contents): Likewise.
1569         (process_corefile_note_segment): Likewise.
1570         (process_mips_specific): Likewise.  Also free econf32, econf64.
1572 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
1574         * readelf.c (dump_relocations): Print "bad symbol index" if
1575         symtab == NULL with non-zero symtab_index.
1576         (process_relocs): Don't bomb if reloc section has no symsec.
1578 2001-06-24  H.J. Lu  <hjl@gnu.org>
1580         * objcopy.c (strip_main): Revert the change made on 2001-05-30
1581         by accident.
1582         (copy_main): Apply the the change made to strip_main on
1583         2001-05-30 by accident.
1585 2001-06-23  Andreas Jaeger  <aj@suse.de>
1587         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1588         parameter 'code'.
1589         (unw_decode_x2): Likewise.
1590         (unw_decode_x3): Likewise.
1591         (unw_decode_x4): Likewise.
1593 2001-06-23  Ben Elliston  <bje@redhat.com>
1595         * MAINTAINERS: Add myself as M88k maintainer.
1597 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
1599         * objcopy.c (strip_main): Support -o or --output-file command lien
1600         switch.
1602 2001-06-19  H.J. Lu <hjl@gnu.org>
1604         * doc/Makefile.in: Regenerated.
1606 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1608         * readelf.c: Restore formatting.
1610 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1612         * Makefile.am: Move documentation into doc subdirectory.
1613         * Makefile.in: Regenerated.
1614         * binutils.texi: Move into doc subdirectory.
1615         * addr2line.1: Removed.
1616         * ar.1: Likewise.
1617         * dlltool.1: Likewise.
1618         * nlmconv.1: Likewise.
1619         * nm.1: Likewise.
1620         * objcopy.1: Likewise.
1621         * objdump.1: Likewise.
1622         * ranlib.1: Likewise.
1623         * readelf.1: Likewise.
1624         * size.1: Likewise.
1625         * strings.1: Likewise.
1626         * strip.1: Likewise.
1627         * windres.1: Likewise.
1628         * cxxfilt.man: Likewise.
1629         * doc: New Directory.
1630         * doc/Makefile.am: New file.
1631         * doc/Makefile.in: Generate.
1633 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1635         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1637 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1639         * MAINTAINERS: Update my email address.
1641 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1643         * objcopy.c: Add new switches: --keep-global-symbol,
1644         --keep-symbols, --localize-symbols, --keep-global-symbols and
1645         --weaken-symbols.
1646         * binutils.texi: Document new switches.
1647         * objcopy.1: Regenerate.
1648         * NEWS: Announce new feature.
1650 2001-05-28  Andreas Jaeger  <aj@suse.de>
1652         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1653         variables, fix format strings.
1655 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1657         * objdump.c (disassemble_bytes): Remove section VMA adjustment
1658         when computing the address of the line to show.
1660 2001-05-16  Richard Henderson  <rth@redhat.com>
1662         * readelf.c (do_debug_frames_interp): New.
1663         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1664         (byte_get_big_endian): Likewise.
1665         (parse_args) ['F']: Set do_debug_frames_interp.
1666         (Frame_Chunk): Make data_factor signed, add fde_encoding.
1667         (frame_display_row): Don't trunc pc_begin to int.
1668         (size_of_encoded_value): New.
1669         (display_debug_frames): Handle 64-bit targets.  Print raw data
1670         unless do_debug_frames_interp.
1671         (debug_displays): Remove duplicate .debug_frame.
1673 2001-05-15  Ralf Baechle  <ralf@gnu.org>
1675         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1676         The former constant was never in active use and is used otherwise
1677         by the ABI.
1679 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1681         * readelf.c (process_unwind): Print all unwind sections, not just
1682         one.
1684 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1686         * readelf.c (process_unwind): Remove const specifier.
1688 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1690         * strings.c (isgraphic): Do not use isascii() unless it is needed
1691         for isprint() to work.
1692         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1694 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1696         * NEWS: Announce support for OpenRISC.
1698 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1700         * dlltool.c (do_default_excludes): Initialise to true.
1702 2001-04-10  Alan Modra  <amodra@one.net.au>
1704         * MAINTAINERS: Update my email address
1705         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1707 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1709         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1711 2001-03-30  H.J. Lu  <hjl@gnu.org>
1713         * readelf.c (process_unwind): Just return if do_unwind is 0.
1715 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1717         * dlltool.c (make_one_lib_file): Fix section flags for
1718         .text, .data and .bss in stub ds*.o files to match those
1719         generated by gas.
1721 2001-03-29  H.J. Lu  <hjl@gnu.org>
1723         * readelf.c (process_unwind): Only do unwind sections for
1724         IA64.
1726 2001-03-28  H.J. Lu  <hjl@gnu.org>
1728         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1729         * Makefile.in: Regenerate.
1731 2001-03-26  Andreas Jaeger  <aj@suse.de>
1733         * binutils.texi (nm): Fix texi syntax.
1735 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1737         * binutils.texi: Put @c man begin and @c man end indications
1738         to generate man pages using texi2pod and pod2man. Put @c man title
1739         to identify each man. Add SEEALSO entries.
1740         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1741         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1742         sort the list.
1743         (*.1): Build the man pages from binutils.texi.
1744         * Makefile.in: Regenerate.
1746 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1748         * defparse.y (opt_equal_name): allow "." in name.
1749         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1750         (gen_exp_file): Likewise.
1752 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1754         * NEWS: Document addition of -B switch to objcopy.
1755         * binutils.texi:  Document addition of -B switch to objcopy.
1756         * objcopy.c: (copy_options): Add --binary-architecture.
1757         (copy_usage): Document -B/--binary-architecture.
1758         (copy_main): Support -B/--binary-architecture.  Set
1759         bfd_external_binary_architecture.
1761 2001-03-11  Andreas Jaeger  <aj@suse.de>
1763         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1764         (dump_relocations): Likewise.
1765         (get_machine_name): Likewise.
1767 2001-02-28  Nick Clifton  <nickc@redhat.com>
1769         * readelf.c: (struct unw_aux_info): Remove const modifier for
1770         'strtab' field.
1771         (process_unwind): Remove non-K&R compliant LHS type cast in call
1772         to GET_DATA_ALLOC macro.
1774 2001-02-28  Philip Blundell  <pb@futuretv.com>
1776         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1777         ABI is in use; remove ambiguity between the "unknown" EABI and
1778         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1779         renamed EF_xx constants.
1781 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1783         * configure.in (BFD_VERSION): New.
1784         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1785         * configure: Regenerate.
1786         * Makefile.am: Run "make dep-am"
1787         * Makefile.in: Regenerate.
1789 2001-02-14  Nick Clifton  <nickc@redhat.com>
1791         * MAINTAINERS: Add "Obvious Fix" rule.
1793 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1795         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1796         literal concatenation.
1798 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1800         * readelf.c (struct unw_aux_info): Remove const from the info member.
1801         (process_unwind): Don't type-cast the third argument to the
1802         GET_DATA_ALLOC macro.
1804 2001-02-11  Nick Clifton  <nickc@redhat.com>
1806         * readelf.c (dump_relocations): Free corrected allocated
1807         array.
1808         (process_unwind): Fix compile time warning.
1810 2001-02-10  Nick Clifton  <nickc@redhat.com>
1812         * binutils.texi: Document new --unwind option to readelf.
1814 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1816         * readelf.c: Add linux target for S/390.
1818 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1820         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1821         printf is a macro.
1823 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1825         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1826         * aclocal.m4: Regenerate.
1827         * configure: Regenerate.
1829 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1831         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1832         * objdump.c (bfd_target_vector): Likewise.
1834 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1836         * readelf.c (process_unwind): New function.
1837         (slurp_ia64_unwind_table): Ditto.
1838         (dump_ia64_unwind): Ditto.
1839         (find_symbol_for_address): Ditto.
1840         (slurp_rela_relocs): New function (split off from dump_relocations()).
1841         (slurp_rel_relocs): Ditto.
1842         (parse_args): Handle '-u' option.
1844         * unwind-ia64.c: New file.
1845         * unwind-ia64.h: New file.
1846         * Makefile.am: Include unwind-ia64.c in readelf build.
1847         * Makefile.in: Regenerate.
1848         * po/binutils.pot: Regenerate.
1850 2001-02-04  Philip Blundell  <philb@gnu.org>
1852         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1853         * configure: Regenerate.
1855 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1857         * ieee.c (ieee_add_bb11): Don't check for backslashes
1858         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1860 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1862         * ieee.c: Update copyright.
1863         (ieee_start_compilation_unit): Don't check for backslashes
1864         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1866         * stabs.c: Update copyright. Include "filenames.h".
1867         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1869 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1871         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1872         sections are present before using them.  Remove code duplication.
1873         (process_symbol_table): Check if VERDEF or VERNEED sections are
1874         present before using them.
1876 2001-01-17  Nick Clifton  <nickc@redhat.com>
1878         * objcopy.c (copy_object): Fail if attempting to convert the
1879         endianness of the input object file.
1881         * binutils.texi: Explain that objcopy cannot convert endianness.
1883 2001-01-16  Nick Clifton  <nickc@redhat.com>
1885         * readelf.c (string_table_length): New variable.
1886         (SECTION_NAME): Catch out of range indices and missing section
1887         pointers.
1888         (process_section_headers): Delete useless local variable
1889         string_table_offset.  Set the value of string_table_length
1890         after loading the string table.
1891         (process_mips_specific): Use SECTION_NAME macro.
1892         (process_file): Set string_table_length to 0 when it is freed.
1894 2001-01-12  Nick Clifton  <nickc@redhat.com>
1896         * version.c (print_version): Update copyright date.
1898 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1900         * readelf.c (dump_relocations): Include selection with EM_ARC.
1901         (get_machine_name) Update name to "ARC".
1903 2001-01-09  Nick Clifton  <nickc@redhat.com>
1905         * Makefile.am: Add rule to build objdump.o from objdump.c and
1906         using OBJDUMP_DEFS.
1907         * Makefile.in: Regenerate.
1909         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1910         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1911         -DDISASSEMBLER_NEEDS_RELOCS.
1912         * configure: Regenerate.
1914         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1915         is defined read in the relocs even if dump_reloc_info is
1916         false.
1918 2001-01-07  Philip Blundell  <philb@gnu.org>
1920         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1921         `bug-binutils'.
1922         * README: Likewise.
1924 2000-12-19  Nick Clifton  <nickc@redhat.com>
1926         * dlltool.c: Add missing support for arm-epoc-pe.
1927         * configure.in: Add missing support for arm-epoc-pe.
1928         * configure: Regenerate.
1930 2000-12-15  Nick Clifton  <nickc@redhat.com>
1932         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1933         Mode parts of the x86 port.
1935 2000-12-04  Andreas Jaeger  <aj@suse.de>
1937         * readelf.c (guess_is_rela): Add EM_X86_64.
1938         (dump_relocations): Add EM_X86_64.
1939         (get_machine_name): Add EM_X86_64.
1940         Include "elf/x86-64.h".
1942 2000-12-12  Nick Clifton  <nickc@redhat.com>
1944         * readelf.c: Fix formatting.
1946 2000-12-11  Jan Hubicka  <jh@suse.cz>
1948         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1950 2000-12-07  Andrew Haley  <aph@redhat.com>
1952         * readelf.c (display_debug_frames): Only display columns that are
1953         referenced by the frame debug info.
1955 2000-12-05  Nick Clifton  <nickc@redhat.com>
1957         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1959 2000-12-04  Jason Merrill  <jason@redhat.com>
1961         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1962         (display_debug_section): Likewise.
1963         (display_debug_info): Display CU header before bailing.
1965 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1967         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1968         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1969         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1971         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1972         and E_MIPS_ARCH_64.
1974         * readelf.c (get_machine_flags): Add case for
1975         E_MIPS_MACH_SB1.
1977 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1979         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1981 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1983         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1984         Change sourceware.cygnus.com to sources.redhat.com.
1985         Fix typo for "amongst".
1987 2000-11-28  Nick Clifton  <nickc@redhat.com>
1989         * strip.1 (COPYING): Mention that the GNU Free Documentation
1990         License is present in the sources, but not the output, and
1991         also available from the GNU website.
1992         (GNU Free Documentation License): Comment out this section.
1993         * strings.1: Ditto.
1994         * size.1: Ditto.
1995         * ranlib.1: Ditto.
1996         * objdump.1: Ditto.
1997         * objcopy.1: Ditto.
1998         * nm.1: Ditto.
1999         * nlmconv.1: Ditto.
2000         * ar.1: Ditto.
2001         * addr2line.1: Ditto.
2003 2000-11-27  DJ Delorie  <dj@redhat.com>
2005         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2006         (parse_args): Support -wf option.
2007         (process_section_headers): Ditto.
2008         (debug_displays): Ditto.
2009         (display_debug_frames): New, dump *_frame sections.
2010         (frame_need_space): Support for above.
2011         (frame_display_row): Ditto.
2012         * binutils.texi: Document it.
2014 2000-11-24  Nick Clifton  <nickc@redhat.com>
2016         * NEWS: Announce support for v5t, v5te and XScale.
2018 2000-11-22  Nick Clifton  <nickc@redhat.com>
2020         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2021         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2022         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2023         (get_elf_section_flags: Add SHF_GROUP.
2024         (process_section_headers): Adjust output for 32-bit binaries
2025         to look nice on an 80 column terminal.
2027 2000-11-20  H.J. Lu  <hjl@gnu.org>
2029         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2030         ELFOSABI_AIX.
2032 2000-11-17  Richard Henderson  <rth@redhat.com>
2034         * readelf.c (display_debug_lines): Adjust last change to
2035         use sizeof (external->li_length).
2037 2000-11-17  Richard Henderson  <rth@redhat.com>
2039         * readelf.c (display_debug_lines): Fix section length check
2040         and end_of_sequence computation.
2042 2000-11-06  Nick Clifton  <nickc@redhat.com>
2044         * binutils.texi: Add GNU Free Documentation License.
2045         * objcopy.1: Add GNU Free Documentation License.
2046         * objdump.1: Add GNU Free Documentation License.
2047         * addr2line.1: Add GNU Free Documentation License.
2048         * ar.1: Add GNU Free Documentation License.
2049         * nlmconv.1: Add GNU Free Documentation License.
2050         * nm.1: Add GNU Free Documentation License.
2051         * ranlib.1: Add GNU Free Documentation License.
2052         * size.1: Add GNU Free Documentation License.
2053         * strings.1: Add GNU Free Documentation License.
2054         * strip.1: Add GNU Free Documentation License.
2056 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2058         * objcopy.c (--srec-len=nn): New parameter to set the
2059         maximum length of generated Srecords.
2060         (--srec-forceS3): New parameter that restricts the generation of
2061         Srecords to type S3 only.
2062         * binutils.texi: Document new command line switches.
2063         * objcopy.1: Docuemnt the new command line switches.
2064         * NEWS: Announce the existence of the new command line switches.
2066 2000-10-31  Nick Clifton  <nickc@redhat.com>
2068         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2069         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2071 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2073         * Make comma after string after icon/control optional.
2075 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2077         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2079         * NEWS: Mention support for MIPS32.
2081 2000-09-08  Nick Clifton  <nickc@redhat.com>
2083         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2085 2000-09-07  H.J. Lu  <hjl@gnu.org>
2087         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2088         * configure: Rebuild.
2090 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2092         * configure: Rebuilt with new libtool.m4.
2094 2000-09-05  Nick Clifton  <nickc@redhat.com>
2096         * aclocal.m4: Regenerate.
2097         * config.in: Regenerate.
2098         * configure: Regenerate.
2100 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2102         * strip.1: Fix stray '\' in -o formatting.
2104 2000-09-02  Nick Clifton  <nickc@redhat.com>
2106         * configure.in: Increase version number to 2.10.91.
2107         * configure: Regenerate.
2108         * aclocal.m4: Regenerate.
2109         * config.in: Regenerate.
2110         * po/binutils.pot: Regenerate.
2112 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2114         * acinclude.m4: Include libtool and gettext macros from the
2115         top level.
2116         * aclocal.m4, configure: Rebuilt.
2118 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2120         * resrc.c (close_input_stream): Delete extraneous logic
2122 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2124         * NEWS: Mention support for CRIS.
2126 2000-08-21  Nick Clifton  <nickc@redhat.com>
2128         * addr2line.c: Changed email address for Ulrich Lauther.
2130 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2132         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2134 2000-08-17  Nick Clifton  <nickc@redhat.com>
2136         * readelf.c (display_debug_pubnames): Only issue warning
2137         message once.  Terminate message with a new line.
2138         (display_debug_aranges): Only display version 2 debug info.
2140 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2142         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2143         for compatability with old BSD systems.
2145 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2147         * NEWS: Mention i860 support.
2149 2000-08-11  Carlo Wood <carlo@alinoe.com>
2151         * addr2line.c (main): Add const to char *.
2153 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2155         * ar.c (main): Don't crash if called with no arguments
2156         or only '-X32_64' as an argument.
2158 2000-08-08  DJ Delorie  <dj@redhat.com>
2160         * resrc.c: use "gcc -xc" instead of -xc-header
2162 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2164         * readelf.c (elf/i860.h): Include.
2165         (dump_relocations): Add recognition of i860 architecture.
2166         (guess_is_rela): Add recognition of i860 architecture.
2168 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2170         * MAINTAINERS: Add information about CGEN maintainers.
2172 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2174         * nm.c (main): Ignore '-X32_64' as an option.
2175         * ar.c (main): Likewise.
2176         * binutils.texi (nm): Document new option.
2177         (ar): Likewise.
2179 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2181         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2183 2000-07-20  H.J. Lu  <hjl@gnu.org>
2185         * binutils.texi: Put back "@end table" deleted by
2186         accident.
2188 2000-07-05  Kenneth Block  <krblock@computer.org>
2190         * nm.c: Add optional style to demangle switch.
2191         * objdump.c: Add optional style to demangle switch.
2192         * addr2line.c: Add optional style to demangle switch.
2193         * binutils.texi: Document optional style to demangle
2194         switch.
2196 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2198         * MAINTAINERS: Add self as CRIS port maintainer.
2199         * readelf.c: Include elf/cris.h.
2200         (guess_is_rela): Handle EM_CRIS.
2201         (dump_relocations): Ditto.
2202         (get_machine_name): Ditto.
2203         * Makefile.am: Rebuild dependencies.
2204         * Makefile.in: Regenerate.
2205         * po/binutils.pot: Regenerate.
2207 2000-07-19  H.J. Lu  <hjl@gnu.org>
2209         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2210         "AUXILIARY".
2211         (process_dynamic_segment): Print out strings for DT_CONFIG,
2212         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2214 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2216         * nm.c (usage): Change output of `nm --help' to include a
2217         description of the purpose of the program and a detailed
2218         description of the accepted options.
2220 2000-07-19  H.J. Lu  <hjl@gnu.org>
2222         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2223         to DF_1_NODEFLIB.
2225 2000-07-19  H.J. Lu  <hjl@gnu.org>
2227         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2229 2000-07-19  H.J. Lu  <hjl@gnu.org>
2231         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2232         DT_FEATURE.
2233         (process_dynamic_segment): Likewise.
2235         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2236         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2237         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2238         DF_1_NODUMP and DF_1_CONLFAT.
2240 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2242         * binutils.texi (readelf): Fix spelling typo.
2244 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2246         * objdump.c (usage): Make output of `objdump --help' more
2247         consistent with the rest of the GNU world.  Add a line describing
2248         the purpose of the program.
2250 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2252         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2253         warning.
2255 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2257         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2258         to fix warnings.
2259         (process_symbol_table): Ditto.
2260         (procesS_extended_line_op): Ditto.
2261         (display_debug_lines): Ditto.
2262         (display_debug_pubnames): Ditto.
2263         (read_and_display_attr): Ditto.
2265 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2267         * MAINTAINERS: Add several more port specific maintainers.
2269 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2271         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2273 2000-06-05  DJ Delorie  <dj@redhat.com>
2275         * MAINTAINERS: New.
2277 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2279         * dllwrap.c: Changed mistaken dyn_string_append() calls
2280         to dyn_string_append_cstr().
2282 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2284         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2285         struct debug_type stores size in bytes.
2287 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2289         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2290         (CLEANFILES): Add DEPA.
2291         * Makefile.in: Regenerate.
2293 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2295         * ar.c: Revert incorrect 2000-06-25 patch.
2296         * bucomm.c: Likewise.
2298 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2300         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2301         (external_coff_symbol_p): New function.
2302         (parse_coff): Use it.
2304 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2306         * ar.c (normalize): Advance past both characters in a DOS based
2307         <letter>: filepath prefix.
2308         (main): Likewise.
2309         * bucomm.c (make_tempname): Likewise.
2311 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2313         * objdump.c (usage): Fix description of --stabs switch.
2315 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2317         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2318         find one.
2319         * Makefile.in: Regenerate.
2321 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2323         * ar.c (normalize): Correct pointer comparison when checking for
2324         backslashes.
2325         (main): Likewise.
2326         * bucomm.c (make_tempname): Likewise.
2328         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2329         and search for backslashes in the original pathname.
2330         (ieee_add_bb11): Likewise.
2332 2000-06-18  Nick Clifton  <nickc@redhat.com>
2334         * ar.c (print_contents): Improve verbose message.
2336 2000-06-15  H.J. Lu  <hjl@gnu.org>
2338         * dyn-string.c: Removed. Not needed with dyn-string.c in
2339         libiberty.
2340         * dyn-string.h: Likewise.
2342         * Makefile.am: Remove references to dyn-string.c and
2343         dyn-string.h. Rebuild dependency.
2344         * Makefile.in: Rebuild.
2346 2000-06-15  H.J. Lu  <hjl@gnu.org>
2348         * binutils.texi: Put a warning on copying relocatable object
2349         files between two different formats.
2351 2000-06-13  DJ Delorie  <dj@cygnus.com>
2353         * rcparse.y (control): ICON controls take an id as the first
2354         parameter, not an optional string.  Also, call new convenience
2355         function that takes res_id's.
2356         * resrc.c (define_control): missing text means zero-length string,
2357         not zero ID.
2358         (define_icon_control): New.
2359         * windres.h: declare define_icon_control.
2361 2000-06-13  H.J. Lu  <hjl@gnu.org>
2363         * configure: Regenerate.
2365 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2367         * configure.in (VERSION): Update to show this is the CVS mainline.
2369 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2371         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2372         analogous to <SPACE>.
2374 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2376         * objdump.c (display_target_list): Use bfd_close_all_done, not
2377         bfd_close to fix crash caused by 2000-05-24 change.
2379 2000-05-25  DJ Delorie  <dj@cygnus.com>
2381         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2383 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2385         * Makefile.am: Update dependencies with "make dep-am"
2386         * Makefile.in: Regenerate.
2388 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2390         * ar.c: Include filenames.h.
2391         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2392         and drive letters in file names.
2393         (main): Support backslashes and drive letters in argv[0].  Drop
2394         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2395         FILENAME_CMP instead of strcmp to compare file names.
2396         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2397         DJGPP v2.
2398         (do_quick_append) [__GO32__]: Ditto.
2399         (get_pos_bfd, delete_members, move_members, replace_members):
2400         Compare file names with FILENAME_CMP.
2402         * bucomm.c: Include filenames.h.
2403         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2404         forward/backward slashes and drive letters in file names.
2406         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2407         mixed forward/backward slashes and drive letters in file names.
2409         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2410         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2411         mode.
2413         * objcopy.c: Include filenames.h.
2414         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2415         before comparing to "strip".
2416         Use FILENAME_CMP to compare file names.
2418         * arsup.c: Include filenames.h.
2419         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2420         FILENAME_CMP to compare file names.
2421         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2422         the temporary file name.
2424         * configure.in: Check for setmode.
2425         * configure: Regenerate.
2427 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2429         * objdump.c (display_target_list): Close the bfd.
2430         (display_info_table): Likewise.
2432 2000-05-14  H.J. Lu  (hjl@gnu.org)
2434         * objcopy.c (filter_symbols): Don't strip global symbols in
2435         relocatable object files.
2437 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2439         * size.c (usage): Associate short options with corresponding long
2440         option to give a clue as to their function.
2442 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2444         * size.c (main): Accept and ignore `-f' option.
2446 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2448         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2449         bindtextdomain): Replace defines with those from intl/libgettext.h
2450         to quieten gcc warnings.
2452 2000-05-12  H.J. Lu  <hjl@gnu.org>
2454         * nlmconv.c (temp_filename): Removed.
2456         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2457         choose_temp_base ().
2458         * objdump.c (display_target_list): Likewise.
2459         (display_info_table): Likewise.
2461 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2463         * objcopy.c (setup_section): Add const and gettext calls for err.
2465 2000-05-02  H.J. Lu  <hjl@gnu.org>
2467         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2468         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2469         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2470         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2471         and ELFOSABI_OPENBSD.
2473 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2475         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2476         * srconv.c: Likewise.
2477         * sysdump.c: Likewise.
2479 2000-04-23  Denis Chertykov  <denisc@overta.ru>
2481         * readelf.c (guess_is_rela): AVR uses RELA relocations.
2482         (get_machine_name): machine name for EM_AVR added.
2484 2000-04-21  Richard Henderson  <rth@cygnus.com>
2485             David Mosberger  <davidm@hpl.hp.com>
2487         * Makefile.am (readelf.o): Add elf/ia64.h.
2488         * Makefile.in: Rebuild.
2489         * readelf.c: Include elf/ia64.h.
2490         (guess_is_rela, dump_relocations): Handle EM_IA_64.
2492 2000-04-17  Timothy Wall  <twall@cygnus.com>
2494         * objdump.c (disassemble_data): Set octets per byte *after*
2495         resolving arch/mach for binary files.
2497 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2499         * arlex.l: Add directives to increase lex buffer size.
2501         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2502         already included by bucomm.h.
2504 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
2506         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2507         `strftime' since strftime is not available on all systems.
2508         (process_mips_specific): Ditto.
2510 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
2512         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
2513         --enable-build-warnings option.
2514         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2515         * Makefile.in, configure: Re-generate.
2517 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
2519         * addr2line.c: Update copyright.
2520         * objcopy.1: Likewise, and title.
2521         * strings.1: Likewise.
2523         * version.c (print_version): Add 2000.
2525         * rddbg.c (read_section_stabs_debugging_info): Don't use
2526         bfd_size_type for strx to avoid printf problems if BFD64.
2528         * bucomm.c: (report): Remove `static'.
2529         Move inclusion of stdarg.h/vararg.h from here.
2530         * bucomm.h: To here.
2531         (CONST): Change all occurences to const.
2532         (report): Declare it.
2533         (bfd_fatal): Add ATTRIBUTE_NORETURN.
2534         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2535         (non_fatal): Add ATTRIBUTE_PRINTF_1.
2537         * ar.c (main): Use fatal or non_fatal instead of fprintf.
2538         Correct a typo in an error message.
2539         (do_quick_append): Use non_fatal instead of fprintf.
2540         (move_members): Use fatal instead of fprintf, exit.
2541         * coffdump.c (main): Same here.
2543         * dlltool.c (display): Delete.
2544         (warn): Delete.
2545         (inform): Use `report' instead of `display'.
2546         (rvaafter): Remove trailing \n from fatal error msg.
2547         (rvabefore): Ditto.
2548         (asm_prefix): Ditto.
2549         (yyerror): Replace `warn' with `non_fatal', and remove \n.
2550         (def_name): Likewise.
2551         (run): Likewise.
2552         (scan_all_symbols): Likewise.
2553         (gen_lib_file): Likewise.
2554         (def_library): Likewise.  Remove extra program_name too.
2555         (run): Remove \n from inform strings.
2556         (scan_drectve_symbols): Likewise.
2557         (add_excludes): Likewise.
2558         (scan_open_obj_file): Likewise.
2559         (gen_exp_file): Likewise.
2560         (gen_lib_file): Likewise.
2561         (process_duplicates): Likewise.
2563         * Makefile.am (dllwrap_SOURCES): Add version.c.
2564         * dllwrap.c (program_version): Delete.
2565         (print_version): Delete.
2566         (display): Always print trailing \n.
2567         (warn): New.
2568         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
2569         (run): Here too.
2570         (main): And here.
2571         (usage): gettext'ify.
2572         (long_options): Add missing initialisers.
2574         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2575         (select_output_format): Likewise.
2576         (powerpc_mangle_relocs): Likewise.
2577         (link_inputs): Likewise.
2579         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2580         (set_output_format): Likewise.
2581         (main): Use non_fatal instead of fprintf.
2582         (display_rel_file): Likewise.
2584         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2585         (slurp_dynamic_symtab): Same here.
2586         (disassemble_data): And here.
2587         (read_section_stabs): And here.
2588         (read_section_stabs): And here.
2589         (dump_bfd): And here.
2590         (main): And here.
2591         (objdump_sprintf): Use fatal instead of fprintf, exit.
2592         (disassemble_data): Same here.
2594         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2595         (parse_coff_struct_type): Same here.
2596         (parse_coff_enum_type): And here.
2597         (parse_coff): And here.
2598         * rddbg.c (read_debugging_info): And here.
2599         * size.c (main): And here.
2600         * windres.c (format_from_name): And here.
2601         * wrstabs.c (stab_write_symbol): Here too.
2602         (write_stabs_in_sections_debugging_info): And here.
2603         (stab_int_type): And here.
2604         (stab_struct_field): And here.
2605         (stab_typdef): And here.
2607         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2608         * srconv.c (main): Same here.
2609         * strings.c (main): And here.
2610         (integer_arg): And here.
2611         * sysdump.c (main): And here.
2613 2000-04-06  Timothy Wall  <twall@cygnus.com>
2615         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2617 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2619         * readelf.c (decode_location_expression): Loop through multiple
2620         operations.
2621         (read_and_display_attr): Pass in length.
2623         * readelf.c (read_and_display_attr): Add CU offset to references.
2624         (display_debug_info): Pass it in.
2626 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2628         * readelf.c (decode_ARM_machine_flags): New function.
2629         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2630         targets.
2632         (get_machine_name): Catch EM_AVR
2634 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2636         * binutils.texi: Remove optional `=' from long options that have
2637         an `=' in the argument.
2638         * objcopy.1: Here too.  Remove extra space on discard-all.
2640         * binutils.texi (objcopy): Mention --redefine-sym.
2641         * objcopy.1: Here too.
2642         * NEWS: And here.
2644         * objcopy.c (parse_flags): Split off flag names from error message
2645         gettext as they are not translated.
2646         (copy_main): Similarly split off option name for --add-section,
2647         --set-section-flags, --change-section-vma, --change-section-lma
2648         error messages.
2649         Some white space changes.
2651         from Matthew Benjamin <matt@linuxbox.nu>
2652         * objcopy.c (struct redefine_node): New.
2653         (redefine_sym_list): New.
2654         (redefine_list_append): New.
2655         (lookup_sym_redefinition): New.
2656         (OPTION_REDEFINE_SYM): New.
2657         (copy_options): Add --redefine-sym option.
2658         (copy_usage): Mention it.
2659         (filter_symbols): Rename symbols on redefine_sym_list.
2660         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2661         (copy_main): Handle OPTION_REDEFINE_SYM.
2663 2000-04-04  H.J. Lu  <hjl@gnu.org>
2665         * readelf.c (process_symbol_table): Correctly read in symbol
2666         versioning information.
2668 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
2670         * po/binutils.pot: Regenerate.
2672         * addr2line.c (usage): Restore translated part of bug string.
2673         * ar.c (usage): Likewise.
2674         * nlmconv.c (show_usage): Likewise.
2675         * nm.c (usage): Likewise.
2676         * objcopy.c (copy_usage): Likewise.
2677         (strip_usage): Likewise.
2678         * objdump.c (usage): Likewise.
2679         * readelf.c (usage): Likewise.
2680         * size.c (usage): Likewise.
2681         * strings.c (usage): Likewise.
2682         * windres.c (usage): Likewise.
2684         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2685         (DEP): Quote when passing vars to sub-make.  Add warning
2686         message to end.
2687         (DEP1): Rewrite for "gcc -MM".
2688         (CLEANFILES): Add DEP2.
2689         Update dependencies.
2690         * Makefile.in: Regenerate.
2692 2000-04-04  H.J. Lu  <hjl@gnu.org>
2694         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2695         (arparse.h): Depend on arparse.c
2696         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2698 2000-04-03  H.J. Lu  (hjl@gnu.org)
2700         * size.c (usage): Use REPORT_BUGS_TO.
2702 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2704         * bucomm.h: #include "bin-bugs.h"
2705         * addr2line.c (usage): Use REPORT_BUGS_TO.
2706         * ar.c (usage): Likewise.
2707         * nlmconv.c (show_usage): Likewise.
2708         * nm.c (usage): Likewise.
2709         (OPTION_TARGET): Define.
2710         (long_options): Use OPTION_TARGET rather than 200.
2711         (main): Likewise.
2713         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2714         (strip_usage): Likewise.
2715         * objdump.c (usage): Likewise.
2716         * readelf.c (usage): Likewise.
2717         * strings.c (usage): Likewise.
2718         * windres.c (usage): Likewise.
2720 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2722         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2724 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2726         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2727         string offsets in corrupt stabs entries.
2729 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2731         * readelf.c: Include elf/avr.h
2732         (dump_relocations): Add EM_AVR case.
2734 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2736         * strings.1: Correct '-bytes' to '--bytes'.
2738 2000-03-08  H.J. Lu  <hjl@gnu.org>
2740         * Makefile.am (install-exec-local): Depend on
2741         install-binPROGRAMS for parallel make.
2742         * Makefile.in: Regenerated.
2744 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2746         From Brad Lucier <lucier@math.purdue.edu>:
2747         * readelf.c (process_dynamic_segment): Add cast to make sure
2748         argument to %* is int.
2750 2000-02-25  H.J. Lu  <hjl@gnu.org>
2752         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2754 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2756         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2757         * configure: Regenerate.
2759         * dlltool.c: Add support for sh-pe and mips-pe targets.
2760         * rescoff.c: Add support for sh-pe and mips-pe targets.
2762 2000-02-23  H.J. Lu  <hjl@gnu.org>
2764         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2766 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2768         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2770 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2772         From Brad Lucier <lucier@math.purdue.edu>:
2773         * readelf.c (process_version_sections): Add casts to make sure
2774         argument to %* is an int.
2775         (process_mips_specific): Add casts to make printf arguments match
2776         format.
2778 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2780         * objdump.c (dump_section_header): Change `opb' to unsigned.
2781         (find_symbol_for_address): Same here.
2782         (disassemble_data): And here.  Change `addr_offset',
2783         `stop_offset', `nextstop_offset' to unsigned long.
2784         (dump_data): Change opb to unsigned.
2786 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2788         * resrc.c: Remove unmatched #if for cygwin.
2790 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2792         * binutils.texi: Document the change of flavor name from atpcs-special
2793         to special-atpcs to prevent name conflict in gdb.
2795 2000-02-08  Timothy Wall  <twall@redhat.com>
2797         * objdump.c (show_line): Fix bug preventing printing of the very
2798         first line (line zero) of a file when interlisting source and
2799         assembly.  Added option to print entire context from start of file
2800         when the first line from that file is encountered.
2802 2000-02-03  Timothy Wall <twall@redhat.com>
2804         * objdump.c (dump_section_header, find_symbol_for_address,
2805         show_line, disassemble_bytes, disassemble_data, dump_data):
2806         distinguish between octets and bytes.
2808 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2810         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2811         check to unresolved symbols.
2812         (print_symbol_info_sysv):  Ditto.
2813         (print_symbol_info_posix):  Ditto.
2815         * binutils.texi: Document new 'V' symclass flag for nm.
2817 2000-01-27  Nick Clifton  <nickc@redhat.com>
2819         * binutils.texi (objdump): Document new ARM specific
2820         disassembler options.
2822         * objdump.c (usage): Call disassembler_usage().
2824 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2826         * readelf.c (get_dynamic_flags): Return buff.
2827         (process_dynamic_segment): Don't pass error strings to printf
2828         as format arg.
2829         (read_and_display_attr): Use lx and ld to print longs.
2830         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2831         before printing.
2832         Update copyright.
2834 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2836         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2838 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2840         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2841         false.
2842         (debug_tag_type): Here too.
2843         * ieee.c (ieee_builtin_type): And here.
2844         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2846 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2848         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2849         System/370".
2851 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2853         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2855 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2857         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2859 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2861         * windres.c (long_options): Add --use-temp-file and
2862         --no-use-temp-file options.
2863         (usage): Document.
2864         (main): Handle.
2866         * windres.h: Update read_rc_file prototype.
2868         * resrc.c (cpp_temp_file): New static variable.
2869         (istream_type): New static variable.
2870         (close_pipe): Delete function.
2871         (run_cmd): New static function.
2872         (open_input_stream): New static function.
2873         (close_input_stream): New static function.
2874         (look_for_default): Handle DOS directory separator. Use
2875         open_input_stream instead of popen.
2876         (read_rc_file): Likewise.
2878         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2879         options.
2881 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2883         * dlltool.c (create_compat_implib): New variable.
2884         (gen_exp_file): Use.
2885         (make_one_lib_file): Use.
2886         (long_options): Add --compat-implib option.
2887         (usage): Handle.
2888         (main): Handle.
2890         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2891         (main): Use. Don't look for "32" in cygwin and mingw target names.
2893 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2895         * binutils.texi: Document new, ARM specific disassembler
2896         command line switch "-M force-thumb".
2898 For older changes see ChangeLog-9899
2900 Local Variables:
2901 mode: change-log
2902 left-margin: 8
2903 fill-column: 74
2904 version-control: never
2905 End: