2002-09-20 Nathanael Nerode <neroden@gcc.gnu.org>
[binutils.git] / binutils / ChangeLog
blobf151710098b3b018ac45b190de9f5713552f8a02
1 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
3         * Makefile.am (CFILES): Add cxxfilt.c.
4         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
5         (cxxfilt_LDADD): Delete.
6         Remove all references to underscore.c.
7         Regen dependencies.
8         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
9         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
10         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
11         adjustments to fit into binutils framework.
12         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
14 2002-09-12  Roland McGrath  <roland@redhat.com>
16         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
17         Handle DW_OP_GNU_push_tls_address.
19 2002-09-11  Nick Clifton  <nickc@redhat.com>
21         * po/tr.po: Updated Turkish translation.
23 2002-09-10  Nick Clifton  <nickc@redhat.com>
25         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
26         testsuite changes.  Add paragraphs about testsuite and config
27         patches.
29 2002-08-29  Nick Clifton  <nickc@redhat.com>
31         * readelf.c (get_machine_flags): Remove redundant reference to
32         E_V850EA_ARCH.
34 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
36         * objdump.c (dump_bfd): Restore lines accidentally deleted in
37         last commit.
39 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
41         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
42         (dump_bfd_header): Likewise.
44 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
46         * nm.c: Revert last change.
48 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
50         * nm.c (display_rel_file): Don't report "no symbols" as an error.
51         * objdump.c (slurp_symtab): Likewise.
52         (slurp_dynamic_symtab): Likewise.
53         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
55 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
57         * MAINTAINERS: Change my mailing address.
59 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
61         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
63 2002-08-22  Nick Clifton  <nickc@redhat.com>
65         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
66         HPPA.
68 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
70         * readelf.c (parse_args): Change debug_dump_opt to static.
72 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
74         * stabs.c (parse_stab_argtype): Pass length of physname to
75         stab_demangle_argtypes.
76         (stab_demangle_argtypes): Add new parameter - length of physname.
77         Pass length of physname on to stab_demangle_prefix.
78         (stab_demangle_prefix): Add new parameter - length of physname.
79         Use length of physname (if supplied) to compute end of function
80         name.
82 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
84         * readelf.c: Include elf/i370.h.
85         (dump_relocations): Handle EM_S370.
86         (dynamic_segment_parisc_val): Print \n.
87         (process_dynamic_segment <DT_BIND_NOW>): Here too.
89 2002-08-14  Nick Clifton  <nickc@redhat.com>
91         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
92         * objdump.c (usage): Likewise.
93         * doc/binutils.texi: Likewise.
95 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
97         * rcparse.y (acc_entry): Don't warn about ALT use with
98         non-VIRTKEY.
100 2002-08-13  H.J. Lu <hjl@gnu.org>
102         * objcopy.c (copy_object): Don't warn about the unsupported
103         architecture unless the input target is defaulted or the
104         output architecture is different from the input.
106 2002-08-09  Nick Clifton  <nickc@redhat.com>
108         * po/sv.po: Updated Swedish translation.
110 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
112         * prdbg.c (pr_fix_visibility): Remove assert.
114 2002-07-31  Nick Clifton  <nickc@redhat.com>
116         * addr2line.c (process_file): Rename parameter 'filename' to
117         'file_name' in order to avoid shadowing global symbol of the
118         same name.
119         (main): Likewise.
121 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
123         * readelf.c (OPTION_DEBUG_DUMP): Define.
124         (options): Use it.
125         (usage): Update help.
126         (parse_args): Handle --debug-dump separately from -w.
127         * doc/binutils.texi (readelf): Update documentation.
129 2002-07-25  Nick Clifton  <nickc@redhat.com>
131         * po/es.po: Updated Spanish translation.
132         * po/fr.po: Updated French translation.
134 2002-07-24  Nick Clifton  <nickc@redhat.com>
136         * po/es.po: Updated Spanish translation.
138 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
140         * Makefile.am: Run "make dep-am".
141         * Makefile.in: Regenerate.
143 2002-07-23  Nick Clifton  <nickc@redhat.com>
145         * po/fr.po: Updated French translation.
147 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
149         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
151 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
153         * budemang.c: Include config.h and string.h/strings.h.
155 2002-07-18 Denis Chertykov  <denisc@overta.ru>
156            Frank Ch. Eigler  <fche@redhat.com>
158         * readelf.c: Include "elf/ip2k.h".
159         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
160         (dump_relocations): Likewise.
161         (get_machine_name): Likewise.
162         * NEWS: Mention IP2K support.
164 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
166         * NEWS: Add 'Changes in 2.13'.
168 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
170         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
171         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
172         (get_section_type_name): Handle SHT_GNU_LIBLIST.
173         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
174         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
175         (process_gnu_liblist): New.
176         (process_file): Call it.
178 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
180         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
181         * Makefile.in: Regenerate.
183 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
185         * budemang.c: New file, "demangle" function.
186         * budemang.h: New file.
187         * addr2line.c (translate_addresses): Use "demangle".
188         * nm.c (print_symname): Likewise.
189         * objdump.c (objdump_print_symname): Likewise.
190         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
191         here since that obfuscates.
192         * rdcoff.c: Don't #include demangle.h.
193         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
194         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
195         (HFILES): Add budemang.h.  Sort.
196         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
197         Run "make dep-am".
198         * Makefile.in: Regenerate.
200 2002-07-01  Matt Thomas  <matt@3am-software.com>
202         * readelf.c: Include "elf/vax.h".
203         (guess_is_rela): Move EM_VAX from unknown to RELA case.
204         (dump_relocations): Handle VAX relocations.
205         (get_machine_flags): Handle VAX machine flags.
207 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
209         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
211 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
213         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
215 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
217         * nm.c (print_symname): When demangling, strip leading dots from
218         symbol names to avoid confusing the demangler.
220 2002-06-25  H.J. Lu <hjl@gnu.org>
222         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
223         * Makefile.in: Regenerated.
225 2002-06-21  Igor Schein  <igor@txc.com>
227         * configure.in: Quote bu_cv_have_fopen64.
228         * configure: Regenerate.
230 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
232         * configure.in: Check for strcoll.
233         * configure: Regenerate.
234         * config.in: Regenerate.
235         * nm.c (main): Set locale for LC_COLLATE category.
236         (non_numeric_forward): Use strcoll if available.
238 2002-06-20  Dave Brolley  <brolley@redhat.com>
240         * MAINTAINERS: Add self as fr30 and frv maintainer.
242 2002-06-18  H.J. Lu  (hjl@gnu.org)
244         * nm.c: Include "elf/common.h".
245         (extended_symbol_info): Add elfinfo, a pointer to
246         elf_symbol_type.
247         (SYM_SIZE): Use elfinfo if it is not NULL.
248         (get_symbol_type): New function.
249         (display_archive): Set print_width for each archive member.
250         (display_file): Likewise.
251         (display_rel_file): Don't set print_width here.
252         (print_object_filename_sysv): Handle print_width.
253         (print_archive_member_sysv): Likewise.
254         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
255         (print_symbol): Set the elfinfo field in extended_symbol_info
256         for ELF.
257         (print_object_filename_sysv): Fix the output format.
258         (print_symbol_info_sysv): Print type and section for ELF.
260 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
262         * nm.c (print_size_symbols): Remove assignment, which makes
263         the symbol's size equal to its value when --size-sort is
264         used.
266 2002-06-18  Dave Brolley  <brolley@redhat.com>
268         From Catherine Moore:
269         * readelf.c (elf/frv.h): #include it.
270         (guess_is_rela): Support EM_CYGNUS_FRV.
271         (dump_relocations): Ditto.
272         (get_machine_name): Ditto.
273         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
275 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
277         * readelf.c (get_file_header): Only read the first section header if
278         e_shoff is non-zero.
280 2002-06-15  H.J. Lu  (hjl@gnu.org)
282         * nm.c (print_size): New variable. Initialize to 0.
283         (long_options): Add 'S'/"print-size".
284         (main): Handle 'S'.
285         (print_symbol_info_bsd): Print size only if print_size is not
286         0.
288         * doc/binutils.texi: Document -S/--print-size.
290 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
292         * nm.c (struct extended_symbol_info): New strcuture: Add the size
293         of the symbols to the information provided by the symbol_info
294         structure.
295         (print_symbols): Pass the symbol size to print_symbol.
296         (print_size_symbols): Pass the symbol size to print_symbol.
297         (print_symbol): Extra argument: The size of the symbol.  Store
298         this in the extended_symbol_info structure.
299         (print_symbol_info): Change type of info parameter to
300         extended_symbol_info.  Display the size, if known.
301         (print_symbol_info_posix): Likewise.
302         (print_symbol_info_sysv): Likewise.
304 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
306         * Makefile.am: Run "make dep-am".
307         * Makefile.in: Regenerate.
308         * doc/Makefile.in: Regnerate.
310         * bucomm.c: Replace CONST with const.
311         * nm.c: Likewise.
312         * objdump.c: Likewise.
314 2002-06-07  H.J. Lu <hjl@gnu.org>
316         * readelf.c (DW_CFA_GNU_args_size): Don't define.
317         (DW_CFA_GNU_negative_offset_extended): Likewise.
318         (DW_CFA_GNU_window_save): Likewise.
319         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
320         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
322 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
324         * nm.c: When computing size of symbols for an ELF target use the
325         internal size field.
327 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
329         * testsuite/binutils-all/objcopy.exp: clear xfail for
330         "hppa*64*-*-hpux*".
331         * testsuite/binutils-all/hppa/objdump.exp: Return if
332         "*64*-*-*".
334 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
336         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
338 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
340         * objdump.c: Fix formatting.
342 2002-05-29  Ben Elliston  <bje@redhat.com>
344         * MAINTAINERS: Add self as M68k maintainer.
346 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
348         * readelf.c: Modified/Added DLX elf support.
350 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
352         * arsup.c: Fix formatting.
353         * debug.c (debug_record_label): Add missing colon to error
354         message.
355         * ieee.c (parse_ieee_ty): Fix spelling typo.
356         * readelf.c (process_program_headers): Remove English assumption
357         about making a plural word.
358         (process_section_headers): Likewise.
359         (process_relocs): Allow quotes to be translated.
360         (process_unwind): Likewise,
361         (process_mips_specific): Improve error message.
362         (get_note_type): Fix spelling typo.
364         * configure.in (ALL_LINGUAS): Add sv
365         * po/sv.po: New file.
367 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
369         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
370         (unw_print_grmask): Likewise.
371         (unw_print_frmask): Likewise.
373 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
375         * arsup.c: Remove ARGSUSED.
376         * debug.c: Likewise.
377         * ieee.c: Likewise.
378         * nlmconv.c: Likewise.
379         * prdbg.c: Likewise.
380         * stabs.c: Likewise.
381         * wrstabs.c: Likewise.
383 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
385         * arlex.l: Use #include "" instead of <> for local header files.
386         * coffdump.c: Likewise.
387         * coffgrok.c: Likewise.
388         * nlmconv.c: Likewise.
389         * nlmheader.y: Likewise.
390         * srconv.c: Likewise.
391         * strings.c: Likewise.
392         * sysdump.c: Likewise.
393         * unwind-ia64.h: Likewise.
394         * windres.h: Likewise.
395         * winduni.h: Likewise.
397 2002-05-24  Tom Rix  <trix@redhat.com>
399         * MAINTAINERS: Add self as the d10v maintainer.
401 2002-05-24   TAMURA Kent <kent@netbsd.org>
403         * configure.in: Builds dlltool for i386-netbsdpe.
404         * configure: Regenerate.
406 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
408         * size.c: Fix formatting.
409         * srconv.c: Likewise.
410         * stabs.c: Likewise.
411         * sysdump.c: Likewise.
412         * unwind-ia64.c: Likewise.
413         * wrstabs.c: Likewise.
415 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
417         * readelf.c (get_segment_type): Add PT_TLS.
418         (get_elf_section_flags): Add SHF_TLS.
419         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
420         (process_dynamic_segment): Use puts instead of printf.
421         (get_symbol_type): Support STT_TLS.
422         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
423         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
424         Add SEC_THREAD_LOCAL.
426 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
428         * rdcoff.c: Fix formatting.
429         * rddbg.c: Likewise.
430         * readelf.c: Likewise.
431         * rename.c: Likewise.
432         * resbin.c: Likewise.
433         * resrc.c: Likewise.
434         * resres.c: Likewise.
436 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
438         * filemode.c: Fix formatting.
439         * ieee.c: Likewise.
440         * is-ranlib.c: Likewise.
441         * is-strip.c: Likewise.
442         * maybe-ranlib.c: Likewise.
443         * maybe-strip.c: Likewise.
444         * nlmconv.c: Likewise.
445         * nm.c: Likewise.
446         * not-ranlib.c: Likewise.
447         * not-strip.c: Likewise.
448         * objcopy.c: Likewise.
449         * objdump.c: Likewise.
451 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
453         * objdump.c (dump_headers): Fix output formatting for ELF32
454         architectures in a BFD64 enabled toolchain.
456 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
458         * debug.c: Fix formatting.
459         * debug.h: Likewise.
460         * dlltool.c: Likewise.
461         * dllwrap.c: Likewise.
462         * emul_aix.c: Likewise.
463         * emul_vanilla.c: Likewise.
465 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
467         * addr2line.c: Fix formatting.
468         * ar.c: Likewise.
469         * arsup.c: Likewise.
470         * arsup.h: Likewise.
471         * binemul.c: Likewise.
472         * binemul.h: Likewise.
473         * bucomm.c: Likewise.
474         * coffdump.c: Likewise.
475         * coffgrok.c: Likewise.
476         * coffgrok.h: Likewise.
478 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
480         * MAINTAINERS: Add myself as the second AVR port maintainer.
482 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
484         * MAINTAINERS: Update my email address.
486 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
488         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
490 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
492         * configure.in: Replace `*pe' with `pe' throughout.
493         * configure: Regenerate.
495 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
497         * Makefile.am: Honour DESTDIR.
498         * Makefile.in: Regenerate.
500 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
502         * dlltool.c (process_def_file): Add missing prototype.
503         (new_directive, assemble_file, main): Likewise.
504         (process_def_file, new_directive): Make static.
505         (inform): Rewrite using VA_FIXEDARG.
506         * dllwrap.c (mybasename): Add missing prototype.
507         (strhash, main): Likewise.
508         (inform): Rewrite using VA_FIXEDARG.
509         (warn): Likewise.
510         (cleanup_and_exit): Use old style function definition.
511         (strhash): Likewise.
512         * windres.c (define_resource): Use one memset to clear all of
513         struct res_resource.
515         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
516         call to rules that need no lookahead.  Check for no lookahead.
518 2002-05-06  Borut Razem  <borut.razem@siol.net>
520         * rclex.l (get_string): Correct "strings" list handling.
521         * resrc.c (read_rc_file): Discard strings.
523 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
525         * ar.c (replace_members): Remove unused var.  Formatting fix.
526         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
528         * MAINTAINERS: Sort port maintainers by CPU.
530 2002-05-04  Bob Byrnes  <byrnes@curl.com>
532         * size.c (display_archive): Add last_arfile and code to close archives.
534 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
536         * nm.c (print_symbol): Check returned filename from
537         bfd_find_nearest_line is non-NULL.
539 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
541         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
543 2002-04-24  Christian Groessler <chris@groessler.org>
545         * MAINTAINERS: Changed my email address.
547 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
549         * arparse.y: Fix syntax warning.
551 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
553         * readelf.c (fetch_location_list): Remove unused function.
555         * readelf.c (process_corefile_note_segment): Catch corrupt notes
556         and display a warning message, then exit the loop.
558         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
560 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
562         * resrc.c (write_rc_dialog): If charset is non-default value
563         display all of the DIALOGEX parameters.
565 2002-04-15  Eric Kohl <ekohl@rz-online.de>
567         * rcparse.y: Allow two to five parameter in FONT statement of
568         DIALOGEX resources.
569         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
570         resource data.
571         (res_to_bin_dialog): Likewise.
572         * windres.h: Added misssing charset variable to dialog_ex
573         structure.
575 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
577         * rcparse.y: Set MEMFLAG_PURE by default.
579 2002-04-09  Bernd Herd <info@herdsoft.com>
581         * rcparse.y: CLASS definitions in DIALOG resources
582         are quoted.
583         Fix typo in BEDIT warning.
584         Don't add default dialog style when explicit style specified.
585         Add WS_CAPTION dialog style if CAPTION is specified.
587         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
588         (handle_quotes) "\a" escape (used for right justified key
589         definitions in menus) is encodes as binary 8.
591         * resrc.c (write_rc_dialog): Print style even if it is 0.
592         (write_rc_directory): Fix overlooked sublang shift bug.
593         (bin_to_res_dialog): Don't print empty dialog caption.
595         * resbin.c (bin_to_res_dialog): Use signature to identify
596         DIALOGEX.
598         * windres.c (main): Set default LANGUAGE to english/us.
600 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
602         * resrc.c: print CLASS names in quotes
604 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
606         * MAINTAINERS: Update my email address.
608 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
610         * dep-in.sed: Cope with absolute paths.
611         * Makefile.am (dep.sed): Subst TOPDIR.
612         Run "make dep-am".
613         * Makefile.in: Regenerate.
615 2002-03-27  Peter Targett  <peter.targett@arc.com>
617         * MAINTAINERS: Update my email address.
619 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
621         * Makefile.am: Run "make dep-am".
622         * Makefile.in: Regenerate.
623         * doc/Makefile.in: Regenerate.
624         * po/POTFILES.in: Regenerate.
625         * aclocal.m4: Regenerate.
626         * config.in: Regenerate.
627         * configure: Regenerate.
629 2002-03-20  Daniel Berlin  <dan@dberlin.org>
631         * readelf.c: Add support for displaying dwarf2 location lists.
632         (do_debug_loc, debug_loc_section, debug_loc_size): New.
633         (parse_args): Use 'O' as shorthand for displaying location list
634         section.
635         (process_section_headers): Handle debug_loc as well.
636         (load_debug_loc): New.
637         (free_debug_loc): New.
638         (fetch_location_list): New.
639         (display_debug_loc): New.
640         (display_debug_info): Call load_debug_loc and free_debug_loc.
641         (debug_displays): We can display .debug_loc now, too.
642         (usage): Update usage string.
643         (read_and_display_attr_value): Note location lists, but don't
644         display them inline.
646 2002-03-18  Tom Rix  <trix@redhat.com>
648         * Makefile.am: Add binutils emulation support.
649         * configure.in: Same.
650         * configure.tgt: New file.  Same.
651         * ar.c (main): Use ar_emul_parse_arg.
652         (usage): Use ar_emul_usage.
653         (replace_members): Use ar_emul_replace, ar_emul_append.
654         * binemul.c: New file.  Define the binutils emulation
655         layer. Define default methods.
656         * binemul.h: New file.  Binutils emulation layer header file.
657         * emul_aix.c: New file.  AIX binutils emulation.
658         * emul_vanilla.c: New file. Default binutils emulation.
659         * Makefile.in: Regenerate.
660         * configure: Same.
662 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
664         * po/fr.po: Updated version.
666 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
668         * po/fr.po: Updated version.
670 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
672         * README: Update some version numbers.
674 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
676         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
677         (Architecture Selection): Likewise.
679 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
681         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
682         generating .exp file.
684 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
686         * readelf.c (dump_relocations): Fix typo.
688 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
690         * NEWS: Mark 2.12 branch.
692 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
694         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
695         types for 64-bit MIPS.  Narrow some fields for 80-char
696         output.
697         (dump_relocations): Change spelling from 'unrecognised'
698         to 'unrecognized'.
699         (decode_ARM_machine_flags): Likewise.
700         (parse_args): Likewise.
701         (read_and_display_attr_value): Likewise.
702         (display_debug_section): Likewise.
704 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
706         * NEWS: Mention support for MMIX.
708 2002-02-13  Matt Fredette  <fredette@netbsd.org>
710         * readelf.c (get_machine_flags): Recognize EF_M68000.
712 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
714         * MAINTAINERS: Added self as MN10300 co-maintainer.
716 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
718         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
719         DT_PPC64_OPDSZ.
721 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
723         * MAINTAINERS: List myself as branch maintainer.
725 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
727         * configure: Regenerate.
728         * objcopy.c: Update copyright date.
729         * doc/Makefile.in: Regenerate.
731 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
733         * nlmconv.c: Back out localtime PARAMS change.
735 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
737         * objcopy.c (MKDIR): Define.
738         (copy_archive): Make name_list.name const.  Use MKDIR.
739         Handle duplicate files in archives by making more temp dirs.
741 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
743         * coffdump.c: Include "getopt.h" after "bucomm.h"
744         so that macros are defined correctly.
745         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
746         prototype.  Prototype main.
747         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
749 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
751         * MAINTAINERS: Added self as SH co-maintainer.
753 2002-02-05  Nick Clifton <nickc@redhat.com>
755         * po/tr.po: Updated translation.
757 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
759         * Makefile.am: Run "make dep-am"
760         * Makefile.in: Regenerate.
762 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
764         * nm.c (print_value): Mark abfd unused.
766 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
768         * unwind-ia64.c (unw_decoder): Change second argument
769         to unsigned int, to match function prototypes.
771 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
773         * objdump.c: Include "getopt.h" after "bucomm.h" so that
774         __GNU_LIBRARY__ will be defined.
775         * size.c: Likewise.
777 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
779         * configure: Regenerated.
781 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
783         * doc/Makefile.am (install): Depend on install-info.
784         * doc/Makefile.in: Regenerate.
786 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
788         * objcopy.c (strip_usage): Document -d as an alias
789         --strip-debug.
791         * size.c (usage): Document [-t | --totals] options.
792         (long_options): Add --totals option.
793         (main): If the [-t | --totals] option is specified and
794         the output format is Berkeley-style, print the total
795         text, data, and bss sizes of all objects listed.
796         (print_berkeley_format): If the [-t | --totals] option
797         is specified, track the total text, data, and bss
798         sizes.
799         * doc/binutils.texi (size): Document [-t | --totals] options.
800         (strip): Document -d as an alias for --strip-debug.
801         * NEWS: Mention new feature of size.
803 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
805         * po/fr.po: Updated version.
806         * po/es.po: Updated version.
808 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
810         * addr2line.c (usage): Update text to provide verbose
811         description of the command line options.
812         * ar.c (usage): Update text to provide verbose
813         description of the command line options.
814         (main): Accept -h and -H when running as ranlib.
815         * coffdump.c (show_usage): Update text to provide verbose
816         description of the command line options.
817         * dlltool.c (main): Accept -H as an alias for --help.
818         * nlmconv.c (show_usage): Update text to provide verbose
819         description of the command line options.
820         * nm.c (usage): Replace OPTIONS with option(s).
821         (main): Accept -H as an alias for --help.
822         * objcopy.c (strip_main): Accept -H as an alias for --help.
823         * objdump.c (main): Accept -v as an alias for --verbose.
824         * readelf.c (usage): Adjust format to match style used in
825         other binutils.
826         * size.c (usage): Update text to provide verbose description
827         of the command line options.
828         (main): Accept -v, -h and -H as command line options.
829         * srconv.c (show_usage): Update text to provide verbose
830         description of the command line options.
831         * strings.c (main): Accept -H and -v as command line options.
832         (usage): Update text to provide verbose description of the
833         command line options.
834         * sysdump.c (show_usage): Update text to provide verbose
835         description of the command line options.
836         * windres.c (usage): Adjust format to match style used in
837         other binutils.
839         * coffdump.c: Fix formatting.
840         * nlmconv.c: Fix formatting.
841         * srconv.c: Fix formatting.
842         * sysdump.c: Fix formatting.
844 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
846         * Makefile.am: Run "make dep-am".
847         * Makefile.in: Regenerate.
849 2002-01-18  Andreas Jaeger  <aj@suse.de>
851         * version.c (print_version): Update year.
853 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
855         * readelf.c (get_machine_name): Handle EM_PPC64.
856         (guess_is_rela): Here too.
858 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
860         * po/binutils.pot: Regenerate.
861         * po/fr.po: Regenerate.
862         * po/tr.po: Regenerate.
864 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
866         * po/tr.po: Import new version.
868 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
870         * readelf.c (get_ppc64_dynamic_type): New.
871         (get_dynamic_type): Call it.
873 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
875         * objcopy.c (copy_usage): Use "options" instead of "switches".
876         (strip_usage): Use "options" instead of "switches".
877         * doc/binutils.texi (dlltool):  Refer to "options" instead of
878         "switches".
880 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
882         * MAINTAINERS: Add self as co-maintainer for the ARM code.
884 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
886         * po/es.po: Import from translation project.
887         * configure.in (ALL_LINGUAS): Add es.
888         * configure: Regenerate.
890 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
892         * readelf.c (get_netbsd_elfcore_note_type): Use
893         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
895 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
897         * readelf.c: Update copyright years.
898         (get_note_type): Return a const char *.
899         (get_netbsd_elfcore_note_type): New function.
900         (process_note): Use get_netbsd_elfcore_note_type to get
901         the note type string for NetBSD ELF core files.
903 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
905         * readelf.c (get_ia64_segment_type): Add support for macros.
906         (get_segment_type): Add support for IA64 specific macros.
908 2001-12-20  Julian v. Bock  <julian@wongr.net>
910         * readelf.c (print_symbol): New function: Print a formatted symbol
911         name.  If --wide is specified do not truncate it.
912         (dump_relocations): Use print_symbol() to print symbol names.
913         (process_symbol_table): Likewise.
914         (process_syminfo): Likewise.
915         (process_mips_specific): Likewise.
916         (usage): Document new feature of --wide switch.
917         * doc/binutils.texi (objdump): Document additional behaviour of
918         --wide.
920 2001-12-18  Michael Snyder  <msnyder@redhat.com>
922         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
923         (copy_object): Don't set the start address or flags of a core file.
924         (copy_section): Don't relocate a core file.  Don't copy contents
925         if the input section has the contents flag set, but the output
926         section does not (which happens with the fake 'note' pseudo-
927         sections that BFD creates for corefiles).
929 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
931         * readelf.c (get_machine_flags): Recognize header flags for ABI and
932         ASE extensions. More robust code for ISA checking. Ignore empty fields
933         in header flags for GNU extensions.
935 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
937         * objcopy.c (copy_archive): Set output bfd format outside the loop.
939 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
941         * po/ja.po: Import from translation project.
942         * configure.in (ALL_LINGUAS): Add ja.
943         * configure: Regenerate.
945 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
947         * addr2line.c (main): Protoype.
948         * ar.c (main): Protoype.
949         * nm.c (main): Protoype.
950         * objcopy.c (main): Protoype.
951         * objdump.c (main): Protoype.
952         * size.c (main): Protoype.
953         * strings.c (main): Protoype.
955 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
957         * readelf.c (symtab_shndx_hdr): New global.
958         (SECTION_HEADER_INDEX): Define.
959         (SECTION_HEADER_NUM): Define.
960         (SECTION_HEADER): Define.
961         (GET_ELF_SYMBOLS): Pass two params rather than three.
962         (get_32bit_elf_symbols): Take file and section args.  Read and
963         use SHT_SYMTAB_SHNDX.
964         (get_64bit_elf_symbols): Likewise.
965         (dump_relocations): Use SECTION_HEADER to index "section_headers".
966         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
967         Remember symtab_shdx_hdr.
968         (process_program_headers): Scan from index 1 for segment map.
969         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
970         "section_headers".
971         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
972         (process_unwind): Likewise.
973         (process_version_sections): Likewise.
974         (process_symbol_table): Likewise.
975         (display_debug_info): Likewise.
976         (process_dynamic_segment): Fake up a symtab section for changed
977         GET_ELF_SYMBOLS.
978         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
979         (process_program_headers): Kill signed/unsigned warning.
980         (load_debug_str): Likewise.
981         (display_debug_info): Likewise.
983 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
985         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
987 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
989         * readelf.c (process_file_header): Print extended e_shnum and
990         e_shdtrndx values.  Set elf_header values for same.
991         (get_32bit_section_headers): Add "num" arg to read "num" headers.
992         (get_64bit_section_headers): Likewise.
993         (process_section_headers): Update calls.
994         (get_file_header): Call get_32bit_section_headers or 64bit variant.
996 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
998         * objcopy.c (setup_section): Copy entsize.
1000 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
1002         * readelf.c (guess_is_rela): Add support for stormy16.
1003         (dump_relocations): Likewise.
1004         (get_machine_name): Likewise.
1006 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1008         * dllwrap.c (main) Replace multiple strings describing a
1009         single error with a single, newline escaped sentence to permit
1010         better translation into foreign languages.
1012         * readelf.c (get_elf_class): Remove internalionalisation of ELF
1013         class names.
1015 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1017         * strings.c (get_char): Initialize value.
1019 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1021         * arlex.l: Silence compile warnings.
1022         * arsup.h: Likewise. Fix formatting.
1024 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1026         * strings.c: Include config.h before bfd.h.
1027         (file_off): New type.
1028         (file_open): Define.
1029         (print_strings): Use file_off instead of file_ptr.  Print addresses
1030         which don't fit into long correctly.
1031         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
1032         available.
1033         (strings_file): Use file_off instead of file_ptr.  Use file_open.
1034         * configure.in: Check for getc_unlocked.
1035         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1036         be defined for it.
1037         * configure: Rebuilt.
1038         * config.h.in: Rebuilt.
1040 2001-11-29  H.J. Lu <hjl@gnu.org>
1042         * bucomm.c (make_tempname): Revert the changes made on
1043         2001-11-14 and 2001-11-12. They won't work with directories.
1045 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1047         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1048         CFLAGS_FOR_TARGET to runtest in environment.
1049         * Makefile.in: Rebuild.
1050         * doc/Makefile.in: Rebuild.
1052 2001-11-28  Mike Stump  <mrs@wrs.com>
1054         * objcopy.c (setup_section): Preserve SEC_RELOC when
1055         --set-section-flags is used.
1057 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
1059         * readelf.c (do_debug_str): New variable.
1060         (display_debug_str): New function: Display the contents of a
1061         .debug_str section.
1062         (load_debug_str): New function: Load in the contents of a
1063         .debug_str section.
1064         (free_debug_str): New function: Free the memory used by
1065         load_debug_str().
1066         (fetch_indirect_string): Retrieve a string from the .debug_str
1067         section.
1068         (usage): Add -ws.
1069         (parse_args): Accept -ws.
1070         (process_section_headers): Allow the display of the .debug_str
1071         section.
1072         (read_and_display_attr_value): Use fetch_indirect_string.  Show
1073         offset into .debug_str section.
1074         (display_debug_info): Use load_debug_str and free_debug_str.
1075         (debug_displays): Add .debug_str.
1076         * doc/binutils.texi: Document -ws.
1078 2001-11-19  Andreas Jaeger  <aj@suse.de>
1080         * testsuite/binutils-all/objdump.exp: Add x86-64.
1082 2001-11-15  Andreas Schwab  <schwab@suse.de>
1084         * readelf.c: Fix warnings without terminating newline.
1086 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
1088         * doc/binutils.texi (objdump): Document ppc -M options.
1090 2001-11-14  Andreas Jaeger  <aj@suse.de>
1092         * doc/binutils.texi (objdump): Fix description to use x86-64.
1094 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
1096         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1097         not all systems provide mkstemp.
1099 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1101         * doc/binutils.texi (objdump): Document x86 -M options.
1103 2001-11-13  Keith Walker <keith.walker@arm.com>
1105         * readelf.c (read_and_display_attr_value): New function to
1106         handle DW_FORM_indirect.
1107         (read_and_display_attr): Use it.
1109 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1111         * readelf.c (display_debug_lines): Deal with unknown standard
1112         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1113         DW_LNS_set_isa.
1115 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1117         * MAINTAINERS: Add self as tic54x maintainer.  This target
1118         includes the IBM C54XDSP clone.
1120 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1122         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1124 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1126         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1127         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1128         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1129         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1130         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1131         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1132         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1134         * readelf.c (get_elf_class): Fix ISO portability glitch.
1135         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1137 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1139         * readelf.c (debug_str, debug_str_size): New.
1140         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1141         Call free_abbrevs.
1142         (read_and_display_addr): Handle DW_FORM_strp.
1143         (display_debug_info): Read .debug_str section if present,
1144         so that DW_FORM_strp can be handled.
1145         Fix test for non-existant .debug_abbrev section.
1147 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1149         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1151         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1153 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1155         * MAINTAINERS: Add self as s390/s390x maintainer.
1157 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1159         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1161 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1163         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1164         * configure: Regernate.
1165         * po/fr.po: New file.
1166         * po/tr.po: New file.
1168 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1170         * MAINTAINERS: Add self as MMIX port maintainer.
1171         * readelf.c: Include elf/mmix.h.
1172         (guess_is_rela): MMIX is RELA.
1173         (dump_relocations): Handle MMIX relocations.
1174         * Makefile.am: Regenerate dependencies.
1175         * Makefile.in: Regenerate.
1177 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1179         * readelf.c (parse_args): Handle multiple options to the -w
1180         switch.
1182 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1184         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1185         LOPROC, LOOS and LOUSER.
1187 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1189         * MAINTAINERS: Update my email address.
1191 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1193         * doc/Makefile.in: Regenerate.
1194         * configure: Regenerate.
1196 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1198         * readelf.c (display_debug_line, display_debug_pubnames,
1199         display_debug_info, display_debug_frames): Detect and warn
1200         about 64-bit format entries.
1201         (display_debug_aranges): Reword 64-bit warning.
1202         (debug_displays): Add .debug_pubtypes as a known, but not yet
1203         supported, debug section.
1205 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1207         * coffdump.c (PROGRAM_VERSION): Delete.
1208         (main <'V'>): Call print_version.
1209         * srconv.c: Likewise.
1210         * sysdump.c: Likewise.
1211         * version.c (program_version): Remove.
1212         (print_version): Use BFD_VERSION_STRING.  Just print the current
1213         year in copyright message.
1214         * addr2line.c (program_version): Remove unused declaration.
1215         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1216         place of BFD_VERSION.
1217         * Makefile.am (Makefile): Depend on bfd/configure.in.
1218         (cplus-dem.o): Depend on Makefile.
1219         Run "make dep-am".
1220         * Makefile.in: Regenerate.
1222 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1224         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1225         format .debug_arange sections.
1226         (main): Add missing prototype.
1228 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1230         * Makefile.am: Update dependencies with "make dep-am".
1231         * Makefile.in: Regenerate.
1233 2001-09-28  Richard Henderson  <rth@redhat.com>
1235         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1237 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1239         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1240         VA_CLOSE.
1241         (non_fatal): Likewise.
1242         * objdump.c (objdump_sprintf): Likewise.
1243         * readelf.c (error): Likewise.
1244         (warn): Likewise.
1246 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1248         * readelf.c (do_wide): New.
1249         (options): Add --wide.
1250         (usage, parse_args): Likewise.
1251         (process_program_headers): Put each segment on a single line if
1252         --wide is given.
1253         (process_section_headers): Put each section on a single line if
1254         --wide is given.
1255         * doc/binutils.texi: Document it.
1256         * NEWS: Likewise.
1258 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1260         * readelf.c (print_vma): Print 8 digits of low hex value.
1262 2001-09-24  Andreas Jaeger  <aj@suse.de>
1264         * nlmconv.c: Fix warnings about unused attributes and function
1265         prototypes.
1267         * strings.c: Add prototype for get_char.
1269 2000-09-19  H.J. Lu  <hjl@gnu.org>
1271         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1272         $(srcdir)/cxxfilt.man.
1273         * doc/Makefile.in: Rebuild.
1275 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1277         * objcopy.c (copy_main): Correct rename-section string parsing.
1278         Consolidate new_name parsing, and error messages.
1280 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1282         * addr2line.c: Don't include <ctype.h>.
1283         (main): For gettext, also set the LC_CTYPE locate facet.
1284         * ar.c (main): Likewise.
1285         * coffdump.c (main): Likewise.
1286         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1287         (main): For gettext, also set the LC_CTYPE locate facet.
1288         Use ISALNUM instead of isalpha/isdigit.
1289         * dllwrap.c: Don't include <ctype.h>.
1290         (main): For gettext, also set the LC_CTYPE locate facet.
1291         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1292         (main): For gettext, also set the LC_CTYPE locate facet.
1293         Use TOUPPER instead of islower/toupper.
1294         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1295         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1296         Use TOUPPER instead of islower/toupper.
1297         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1298         * objcopy.c (main): Likewise.
1299         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1300         (disassemble_bytes): Use ISPRINT instead of isprint.
1301         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1302         (dump_data): Use ISPRINT instead of isprint.
1303         (main): For gettext, also set the LC_CTYPE locate facet.
1304         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1305         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1306         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1307         Use TOUPPER instead of islower/toupper.
1308         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1309         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1310         (write_rc_accelerators): Use ISPRINT instead of isprint.
1311         (write_rc_rcdata): Likewise.
1312         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1313         * srconv.c (main): Likewise.
1314         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1315         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1316         isdigit/isupper/islower.
1317         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1318         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1319         stab_demangle_prefix, stab_demangle_qualified,
1320         stab_demangle_template, stab_demangle_type,
1321         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1322         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1323         (isgraphic): Use ISPRINT instead of isascii/isprint.
1324         (main): Remove HAVE_LC_MESSAGES dependency.
1325         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1326         (pbarray): Use ISPRINT instead of isprint.
1327         (main): For gettext, also set the LC_CTYPE locate facet.
1328         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1329         (format_from_filename): Use ISPRINT instead of isprint.
1330         (main): For gettext, also set the LC_CTYPE locate facet.
1331         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1332         (unicode_print): Use ISPRINT instead of isprint.
1333         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1334         (stab_variable): Use ISDIGIT instead of isdigit.
1336 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1338         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1339         Replace bfd_read call with call to bfd_bread.
1340         (extract_file): Likewise.
1342         * objdump.c (dump_section_header): Cast section->filepos to
1343         unsigned long to suit printf format string.
1344         * readelf.c (process_section_headers): Similarly for sh_offset.
1345         (process_unwind): Likewise.
1347 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1349         * strings.c (encoding, encoding_bytes): New variables.
1350         (long_options): Add --encoding.
1351         (main): Accept -e and --encoding.
1352         (get_char): New function.  Read a, possibly wide, character from
1353         the input stream.
1354         (print_strings): Use get_char().
1355         (usage): Document new command line option.
1356         * doc/binutils.texi: Document new command line option.
1357         * NEWS: Announce new command line option.
1359 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1361         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1362         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1363         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1364         Removed EM_CYGNUS_ARC.
1366 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1368         * readelf.c: Include elf/h8 for H8 series definitions.
1369         (guess_is_rela): H8 series if RELA.
1370         (dump_relocations): Handle H8 series relocations.
1372 2001-08-31  Eric Christopher  <echristo@redhat.com>
1374         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1376 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1378         * MAINTAINERS: Include ARC Maintainer.
1380 2001-08-29  Ben Elliston  <bje@redhat.com>
1382         * stabs.c (stab_demangle_template): Initialise s4.
1384 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1386         * readelf.c (dump_relocations): Recognise EM_PPC64.
1388 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1390         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1392 2001-08-25  H.J. Lu  <hjl@gnu.org>
1394         * nm.c (print_width): New.
1395         (display_rel_file): Set `print_width' according to
1396         bfd_sprintf_vma.
1397         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1399 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1401         * objcopy.c (use_alt_mach_code): New variable.
1402         (OPTION_ALT_MACH_CODE): Define.
1403         (copy_options): Added --alt-machine-code.
1404         (copy_main): Handle it.
1405         (copy_object): Switch to alternate machine code if requested.
1406         * doc/binutils.texi: Document new option.
1407         * NEWS: Likewise.
1409 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1411         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1413 2001-08-21  H.J. Lu  <hjl@gnu.org>
1415         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1416         (display_debug_info): Cast for 64bit hosts.
1417         (display_debug_frames): Likewise.
1418         (process_mips_specific): Likewise.
1420 2001-08-21  Andreas Jaeger  <aj@suse.de>
1422         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1424         * sysdump.c: Add missing prototypes.
1425         * srconv.c: Likewise.
1426         * unwind-ia64.c: Likewise.
1427         * coffdump.c: Likewise.
1429         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1431         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1432         of declaring xcalloc.
1434 2001-08-10  H.J. Lu  <hjl@gnu.org>
1436         * nm.c (print_value): Add one arg, bfd *.
1437         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1438         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1439         (print_symbol_info_sysv): Likewise.
1440         (print_symbol_info_posix): Likewise.
1442         * objdump.c (dump_section_header): Replace printf_vma with
1443         bfd_printf_vma.
1444         (print_section_stabs): Likewise.
1445         (dump_bfd_header): Likewise.
1446         (objdump_print_value): Replace sprintf_vma with
1447         bfd_sprintf_vma.
1448         (disassemble_bytes): Likewise.
1449         (dump_reloc_set): Likewise.
1451 2001-08-10  Andreas Jaeger  <aj@suse.de>
1453         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1454         to build warnings.
1455         * configure: Regenerate.
1457 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1459         * readelf.c: Add missing prototypes.
1460         * objdump.c: Likewise.  Format existing prototypes.
1462 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1464         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1465         of any RELA relocation for the abbrev_offset memory location that
1466         refers to the .debug_abbrev section symbol.
1468 2001-08-07  H.J. Lu  <hjl@gnu.org>
1470         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1471         (main): Return process_file ().
1473 2001-08-05  Philip Blundell  <philb@gnu.org>
1475         * doc/binutils.texi: Use "Thumb" not "THUMB".
1477 2001-08-03  John Healy  <jhealy@redhat.com>
1479         Patch suggested by Frank Eigler <fche@redhat.com>.
1480         * objdump.c (disassemble_data): Fill in section member of the
1481         disasm_info structure.
1483 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1485         * configure.in: Added --with-windres option.
1486         * configure: Regenerated.
1488 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1490         * doc/binutils.texi: Use @command{name} for commands;
1491         use @option{-opt} for options; use @table @env for list of options;
1492         remove spaces arround [ | ] in synopsis.
1494         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1495         center title.
1497 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1499         * objcopy.c: Fix formatting.
1500         (section_rename): New structure.
1501         (OPTION_RENAME_SECTION): New switch.
1502         (copy_usage): Document new switch.
1503         (add_section_rename): New function: Add a node to the section
1504         rename list.
1505         (find_section_rename): New function: Find the new name and
1506         flags for a section.
1507         (setup_section): Call find_section_name to determine the name
1508         of the output section.
1509         (copy_main): Handle OPTION_RENAME_SECTION.
1510         * binutils.texi: Document new switch.
1511         * NEWS: Mention new switch.
1513 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1515         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1516         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1517         bug-binutils@gcc.org.
1519 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1521         * bucomm.c (list_supported_architectures): New function.
1522         * bucomm.h (list_supported_architectures): Declare.
1523         * objdump.c (usage): Call the above.
1525 2001-07-25  Dave Brolley  <brolley@redhat.com>
1527         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1528         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1530 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1532         * README: Update for 2.11.  Change bug reporting email address.
1533         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1535 2001-07-16  DJ Delorie  <dj@redhat.com>
1537         * resres.c (write_res_header): Align header size.
1538         (res_align_file): Calculate alignment correctly.
1540         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1541         correct 10).
1542         * resrc.c (write_rc_resource): Likewise.
1543         * windres.h (SUBLANG_SHIFT): Define - as 10.
1545 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
1547         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1549 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
1551         * MAINTAINERS: Add notes about branch checkins.
1553 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
1555         * readelf.c (display_debug_macinfo): New function, display
1556         .debug_macinfo section.
1557         (do_debug_macinfo): New variable.
1558         (parse_args): Handle "-w[mM]" to mean display macro info.
1559         (process_section_headers): Handle debug_macinfo.
1560         (debug_displays): Replace unsupported function with macinfo
1561         function for .debug_macinfo display.
1562         * doc/binutils.texi: Document new command line switch.
1563         * NEWS: Document new feature of readelf.
1565 2001-07-05  H.J. Lu  <hjl@gnu.org>
1567         * objcopy.c (filter_symbols): Don't turn undefined symbols
1568         into local.
1570 2001-07-03  H.J. Lu <hjl@gnu.org>
1572         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1573         $@.pod.
1574         (ar.1): Likewise.
1575         (dlltool.1): Likewise.
1576         (nlmconv.1): Likewise.
1577         (nm.1): Likewise.
1578         (objcopy.1): Likewise.
1579         (objdump.1): Likewise.
1580         (ranlib.1): Likewise.
1581         (readelf.1): Likewise.
1582         (size.1): Likewise.
1583         (strings.1): Likewise.
1584         (strip.1): Likewise.
1585         (windres.1): Likewise.
1586         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1587         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1588         $(DEMANGLER_NAME).
1589         (as.1): Removed.
1590         * doc/Makefile.in: Regenerated.
1592 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1594         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1596 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
1598         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1600 2001-06-29  James Cownie <jcownie@etnus.com>
1602         * readelf.c: Support DWARF 2.1 attributes.
1604 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
1606         * readelf.c (GET_DATA_ALLOC): Remove.
1607         (GET_DATA): Remove.
1608         (get_data): New function combining above macros, with an extra
1609         test for zero size.
1610         (slurp_rela_relocs): Use get_data, and catch error return.
1611         (slurp_rel_relocs): Likewise.
1612         (get_32bit_program_headers): Likewise.
1613         (get_64bit_program_headers): Likewise.
1614         (get_32bit_section_headers): Likewise.
1615         (get_64bit_section_headers): Likewise.
1616         (get_32bit_elf_symbols): Likewise.
1617         (get_64bit_elf_symbols): Likewise.
1618         (process_section_headers): Likewise.
1619         (process_relocs): Likewise.
1620         (slurp_ia64_unwind_table): Likewise.
1621         (process_unwind): Likewise.
1622         (get_32bit_dynamic_segment): Likewise.
1623         (get_64bit_dynamic_segment): Likewise.
1624         (process_dynamic_segment): Likewise.
1625         (process_version_sections): Likewise.
1626         (process_symbol_table): Likewise.
1627         (dump_section): Likewise.
1628         (display_debug_info): Likewise.
1629         (display_debug_section): Likewise.
1630         (process_section_contents): Likewise.
1631         (process_corefile_note_segment): Likewise.
1632         (process_mips_specific): Likewise.  Also free econf32, econf64.
1634 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
1636         * readelf.c (dump_relocations): Print "bad symbol index" if
1637         symtab == NULL with non-zero symtab_index.
1638         (process_relocs): Don't bomb if reloc section has no symsec.
1640 2001-06-24  H.J. Lu  <hjl@gnu.org>
1642         * objcopy.c (strip_main): Revert the change made on 2001-05-30
1643         by accident.
1644         (copy_main): Apply the the change made to strip_main on
1645         2001-05-30 by accident.
1647 2001-06-23  Andreas Jaeger  <aj@suse.de>
1649         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1650         parameter 'code'.
1651         (unw_decode_x2): Likewise.
1652         (unw_decode_x3): Likewise.
1653         (unw_decode_x4): Likewise.
1655 2001-06-23  Ben Elliston  <bje@redhat.com>
1657         * MAINTAINERS: Add myself as M88k maintainer.
1659 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
1661         * objcopy.c (strip_main): Support -o or --output-file command lien
1662         switch.
1664 2001-06-19  H.J. Lu <hjl@gnu.org>
1666         * doc/Makefile.in: Regenerated.
1668 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1670         * readelf.c: Restore formatting.
1672 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1674         * Makefile.am: Move documentation into doc subdirectory.
1675         * Makefile.in: Regenerated.
1676         * binutils.texi: Move into doc subdirectory.
1677         * addr2line.1: Removed.
1678         * ar.1: Likewise.
1679         * dlltool.1: Likewise.
1680         * nlmconv.1: Likewise.
1681         * nm.1: Likewise.
1682         * objcopy.1: Likewise.
1683         * objdump.1: Likewise.
1684         * ranlib.1: Likewise.
1685         * readelf.1: Likewise.
1686         * size.1: Likewise.
1687         * strings.1: Likewise.
1688         * strip.1: Likewise.
1689         * windres.1: Likewise.
1690         * cxxfilt.man: Likewise.
1691         * doc: New Directory.
1692         * doc/Makefile.am: New file.
1693         * doc/Makefile.in: Generate.
1695 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1697         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1699 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1701         * MAINTAINERS: Update my email address.
1703 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1705         * objcopy.c: Add new switches: --keep-global-symbol,
1706         --keep-symbols, --localize-symbols, --keep-global-symbols and
1707         --weaken-symbols.
1708         * binutils.texi: Document new switches.
1709         * objcopy.1: Regenerate.
1710         * NEWS: Announce new feature.
1712 2001-05-28  Andreas Jaeger  <aj@suse.de>
1714         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1715         variables, fix format strings.
1717 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1719         * objdump.c (disassemble_bytes): Remove section VMA adjustment
1720         when computing the address of the line to show.
1722 2001-05-16  Richard Henderson  <rth@redhat.com>
1724         * readelf.c (do_debug_frames_interp): New.
1725         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1726         (byte_get_big_endian): Likewise.
1727         (parse_args) ['F']: Set do_debug_frames_interp.
1728         (Frame_Chunk): Make data_factor signed, add fde_encoding.
1729         (frame_display_row): Don't trunc pc_begin to int.
1730         (size_of_encoded_value): New.
1731         (display_debug_frames): Handle 64-bit targets.  Print raw data
1732         unless do_debug_frames_interp.
1733         (debug_displays): Remove duplicate .debug_frame.
1735 2001-05-15  Ralf Baechle  <ralf@gnu.org>
1737         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1738         The former constant was never in active use and is used otherwise
1739         by the ABI.
1741 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1743         * readelf.c (process_unwind): Print all unwind sections, not just
1744         one.
1746 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1748         * readelf.c (process_unwind): Remove const specifier.
1750 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1752         * strings.c (isgraphic): Do not use isascii() unless it is needed
1753         for isprint() to work.
1754         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1756 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1758         * NEWS: Announce support for OpenRISC.
1760 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1762         * dlltool.c (do_default_excludes): Initialise to true.
1764 2001-04-10  Alan Modra  <amodra@one.net.au>
1766         * MAINTAINERS: Update my email address
1767         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1769 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1771         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1773 2001-03-30  H.J. Lu  <hjl@gnu.org>
1775         * readelf.c (process_unwind): Just return if do_unwind is 0.
1777 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1779         * dlltool.c (make_one_lib_file): Fix section flags for
1780         .text, .data and .bss in stub ds*.o files to match those
1781         generated by gas.
1783 2001-03-29  H.J. Lu  <hjl@gnu.org>
1785         * readelf.c (process_unwind): Only do unwind sections for
1786         IA64.
1788 2001-03-28  H.J. Lu  <hjl@gnu.org>
1790         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1791         * Makefile.in: Regenerate.
1793 2001-03-26  Andreas Jaeger  <aj@suse.de>
1795         * binutils.texi (nm): Fix texi syntax.
1797 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1799         * binutils.texi: Put @c man begin and @c man end indications
1800         to generate man pages using texi2pod and pod2man. Put @c man title
1801         to identify each man. Add SEEALSO entries.
1802         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1803         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1804         sort the list.
1805         (*.1): Build the man pages from binutils.texi.
1806         * Makefile.in: Regenerate.
1808 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1810         * defparse.y (opt_equal_name): allow "." in name.
1811         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1812         (gen_exp_file): Likewise.
1814 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1816         * NEWS: Document addition of -B switch to objcopy.
1817         * binutils.texi:  Document addition of -B switch to objcopy.
1818         * objcopy.c: (copy_options): Add --binary-architecture.
1819         (copy_usage): Document -B/--binary-architecture.
1820         (copy_main): Support -B/--binary-architecture.  Set
1821         bfd_external_binary_architecture.
1823 2001-03-11  Andreas Jaeger  <aj@suse.de>
1825         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1826         (dump_relocations): Likewise.
1827         (get_machine_name): Likewise.
1829 2001-02-28  Nick Clifton  <nickc@redhat.com>
1831         * readelf.c: (struct unw_aux_info): Remove const modifier for
1832         'strtab' field.
1833         (process_unwind): Remove non-K&R compliant LHS type cast in call
1834         to GET_DATA_ALLOC macro.
1836 2001-02-28  Philip Blundell  <pb@futuretv.com>
1838         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1839         ABI is in use; remove ambiguity between the "unknown" EABI and
1840         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1841         renamed EF_xx constants.
1843 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1845         * configure.in (BFD_VERSION): New.
1846         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1847         * configure: Regenerate.
1848         * Makefile.am: Run "make dep-am"
1849         * Makefile.in: Regenerate.
1851 2001-02-14  Nick Clifton  <nickc@redhat.com>
1853         * MAINTAINERS: Add "Obvious Fix" rule.
1855 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1857         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1858         literal concatenation.
1860 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1862         * readelf.c (struct unw_aux_info): Remove const from the info member.
1863         (process_unwind): Don't type-cast the third argument to the
1864         GET_DATA_ALLOC macro.
1866 2001-02-11  Nick Clifton  <nickc@redhat.com>
1868         * readelf.c (dump_relocations): Free corrected allocated
1869         array.
1870         (process_unwind): Fix compile time warning.
1872 2001-02-10  Nick Clifton  <nickc@redhat.com>
1874         * binutils.texi: Document new --unwind option to readelf.
1876 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1878         * readelf.c: Add linux target for S/390.
1880 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1882         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1883         printf is a macro.
1885 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1887         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1888         * aclocal.m4: Regenerate.
1889         * configure: Regenerate.
1891 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1893         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1894         * objdump.c (bfd_target_vector): Likewise.
1896 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1898         * readelf.c (process_unwind): New function.
1899         (slurp_ia64_unwind_table): Ditto.
1900         (dump_ia64_unwind): Ditto.
1901         (find_symbol_for_address): Ditto.
1902         (slurp_rela_relocs): New function (split off from dump_relocations()).
1903         (slurp_rel_relocs): Ditto.
1904         (parse_args): Handle '-u' option.
1906         * unwind-ia64.c: New file.
1907         * unwind-ia64.h: New file.
1908         * Makefile.am: Include unwind-ia64.c in readelf build.
1909         * Makefile.in: Regenerate.
1910         * po/binutils.pot: Regenerate.
1912 2001-02-04  Philip Blundell  <philb@gnu.org>
1914         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1915         * configure: Regenerate.
1917 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1919         * ieee.c (ieee_add_bb11): Don't check for backslashes
1920         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1922 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1924         * ieee.c: Update copyright.
1925         (ieee_start_compilation_unit): Don't check for backslashes
1926         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1928         * stabs.c: Update copyright. Include "filenames.h".
1929         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1931 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1933         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1934         sections are present before using them.  Remove code duplication.
1935         (process_symbol_table): Check if VERDEF or VERNEED sections are
1936         present before using them.
1938 2001-01-17  Nick Clifton  <nickc@redhat.com>
1940         * objcopy.c (copy_object): Fail if attempting to convert the
1941         endianness of the input object file.
1943         * binutils.texi: Explain that objcopy cannot convert endianness.
1945 2001-01-16  Nick Clifton  <nickc@redhat.com>
1947         * readelf.c (string_table_length): New variable.
1948         (SECTION_NAME): Catch out of range indices and missing section
1949         pointers.
1950         (process_section_headers): Delete useless local variable
1951         string_table_offset.  Set the value of string_table_length
1952         after loading the string table.
1953         (process_mips_specific): Use SECTION_NAME macro.
1954         (process_file): Set string_table_length to 0 when it is freed.
1956 2001-01-12  Nick Clifton  <nickc@redhat.com>
1958         * version.c (print_version): Update copyright date.
1960 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1962         * readelf.c (dump_relocations): Include selection with EM_ARC.
1963         (get_machine_name) Update name to "ARC".
1965 2001-01-09  Nick Clifton  <nickc@redhat.com>
1967         * Makefile.am: Add rule to build objdump.o from objdump.c and
1968         using OBJDUMP_DEFS.
1969         * Makefile.in: Regenerate.
1971         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1972         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1973         -DDISASSEMBLER_NEEDS_RELOCS.
1974         * configure: Regenerate.
1976         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1977         is defined read in the relocs even if dump_reloc_info is
1978         false.
1980 2001-01-07  Philip Blundell  <philb@gnu.org>
1982         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1983         `bug-binutils'.
1984         * README: Likewise.
1986 2000-12-19  Nick Clifton  <nickc@redhat.com>
1988         * dlltool.c: Add missing support for arm-epoc-pe.
1989         * configure.in: Add missing support for arm-epoc-pe.
1990         * configure: Regenerate.
1992 2000-12-15  Nick Clifton  <nickc@redhat.com>
1994         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1995         Mode parts of the x86 port.
1997 2000-12-04  Andreas Jaeger  <aj@suse.de>
1999         * readelf.c (guess_is_rela): Add EM_X86_64.
2000         (dump_relocations): Add EM_X86_64.
2001         (get_machine_name): Add EM_X86_64.
2002         Include "elf/x86-64.h".
2004 2000-12-12  Nick Clifton  <nickc@redhat.com>
2006         * readelf.c: Fix formatting.
2008 2000-12-11  Jan Hubicka  <jh@suse.cz>
2010         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2012 2000-12-07  Andrew Haley  <aph@redhat.com>
2014         * readelf.c (display_debug_frames): Only display columns that are
2015         referenced by the frame debug info.
2017 2000-12-05  Nick Clifton  <nickc@redhat.com>
2019         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2021 2000-12-04  Jason Merrill  <jason@redhat.com>
2023         * readelf.c (process_section_headers): Handle linkonce.wi sections.
2024         (display_debug_section): Likewise.
2025         (display_debug_info): Display CU header before bailing.
2027 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
2029         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2030         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
2031         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2033         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2034         and E_MIPS_ARCH_64.
2036         * readelf.c (get_machine_flags): Add case for
2037         E_MIPS_MACH_SB1.
2039 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
2041         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2043 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
2045         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
2046         Change sourceware.cygnus.com to sources.redhat.com.
2047         Fix typo for "amongst".
2049 2000-11-28  Nick Clifton  <nickc@redhat.com>
2051         * strip.1 (COPYING): Mention that the GNU Free Documentation
2052         License is present in the sources, but not the output, and
2053         also available from the GNU website.
2054         (GNU Free Documentation License): Comment out this section.
2055         * strings.1: Ditto.
2056         * size.1: Ditto.
2057         * ranlib.1: Ditto.
2058         * objdump.1: Ditto.
2059         * objcopy.1: Ditto.
2060         * nm.1: Ditto.
2061         * nlmconv.1: Ditto.
2062         * ar.1: Ditto.
2063         * addr2line.1: Ditto.
2065 2000-11-27  DJ Delorie  <dj@redhat.com>
2067         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2068         (parse_args): Support -wf option.
2069         (process_section_headers): Ditto.
2070         (debug_displays): Ditto.
2071         (display_debug_frames): New, dump *_frame sections.
2072         (frame_need_space): Support for above.
2073         (frame_display_row): Ditto.
2074         * binutils.texi: Document it.
2076 2000-11-24  Nick Clifton  <nickc@redhat.com>
2078         * NEWS: Announce support for v5t, v5te and XScale.
2080 2000-11-22  Nick Clifton  <nickc@redhat.com>
2082         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2083         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2084         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2085         (get_elf_section_flags: Add SHF_GROUP.
2086         (process_section_headers): Adjust output for 32-bit binaries
2087         to look nice on an 80 column terminal.
2089 2000-11-20  H.J. Lu  <hjl@gnu.org>
2091         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2092         ELFOSABI_AIX.
2094 2000-11-17  Richard Henderson  <rth@redhat.com>
2096         * readelf.c (display_debug_lines): Adjust last change to
2097         use sizeof (external->li_length).
2099 2000-11-17  Richard Henderson  <rth@redhat.com>
2101         * readelf.c (display_debug_lines): Fix section length check
2102         and end_of_sequence computation.
2104 2000-11-06  Nick Clifton  <nickc@redhat.com>
2106         * binutils.texi: Add GNU Free Documentation License.
2107         * objcopy.1: Add GNU Free Documentation License.
2108         * objdump.1: Add GNU Free Documentation License.
2109         * addr2line.1: Add GNU Free Documentation License.
2110         * ar.1: Add GNU Free Documentation License.
2111         * nlmconv.1: Add GNU Free Documentation License.
2112         * nm.1: Add GNU Free Documentation License.
2113         * ranlib.1: Add GNU Free Documentation License.
2114         * size.1: Add GNU Free Documentation License.
2115         * strings.1: Add GNU Free Documentation License.
2116         * strip.1: Add GNU Free Documentation License.
2118 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2120         * objcopy.c (--srec-len=nn): New parameter to set the
2121         maximum length of generated Srecords.
2122         (--srec-forceS3): New parameter that restricts the generation of
2123         Srecords to type S3 only.
2124         * binutils.texi: Document new command line switches.
2125         * objcopy.1: Docuemnt the new command line switches.
2126         * NEWS: Announce the existence of the new command line switches.
2128 2000-10-31  Nick Clifton  <nickc@redhat.com>
2130         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2131         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2133 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2135         * Make comma after string after icon/control optional.
2137 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2139         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2141         * NEWS: Mention support for MIPS32.
2143 2000-09-08  Nick Clifton  <nickc@redhat.com>
2145         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2147 2000-09-07  H.J. Lu  <hjl@gnu.org>
2149         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2150         * configure: Rebuild.
2152 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2154         * configure: Rebuilt with new libtool.m4.
2156 2000-09-05  Nick Clifton  <nickc@redhat.com>
2158         * aclocal.m4: Regenerate.
2159         * config.in: Regenerate.
2160         * configure: Regenerate.
2162 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2164         * strip.1: Fix stray '\' in -o formatting.
2166 2000-09-02  Nick Clifton  <nickc@redhat.com>
2168         * configure.in: Increase version number to 2.10.91.
2169         * configure: Regenerate.
2170         * aclocal.m4: Regenerate.
2171         * config.in: Regenerate.
2172         * po/binutils.pot: Regenerate.
2174 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2176         * acinclude.m4: Include libtool and gettext macros from the
2177         top level.
2178         * aclocal.m4, configure: Rebuilt.
2180 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2182         * resrc.c (close_input_stream): Delete extraneous logic
2184 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2186         * NEWS: Mention support for CRIS.
2188 2000-08-21  Nick Clifton  <nickc@redhat.com>
2190         * addr2line.c: Changed email address for Ulrich Lauther.
2192 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2194         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2196 2000-08-17  Nick Clifton  <nickc@redhat.com>
2198         * readelf.c (display_debug_pubnames): Only issue warning
2199         message once.  Terminate message with a new line.
2200         (display_debug_aranges): Only display version 2 debug info.
2202 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2204         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2205         for compatability with old BSD systems.
2207 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2209         * NEWS: Mention i860 support.
2211 2000-08-11  Carlo Wood <carlo@alinoe.com>
2213         * addr2line.c (main): Add const to char *.
2215 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2217         * ar.c (main): Don't crash if called with no arguments
2218         or only '-X32_64' as an argument.
2220 2000-08-08  DJ Delorie  <dj@redhat.com>
2222         * resrc.c: use "gcc -xc" instead of -xc-header
2224 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2226         * readelf.c (elf/i860.h): Include.
2227         (dump_relocations): Add recognition of i860 architecture.
2228         (guess_is_rela): Add recognition of i860 architecture.
2230 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2232         * MAINTAINERS: Add information about CGEN maintainers.
2234 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2236         * nm.c (main): Ignore '-X32_64' as an option.
2237         * ar.c (main): Likewise.
2238         * binutils.texi (nm): Document new option.
2239         (ar): Likewise.
2241 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2243         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2245 2000-07-20  H.J. Lu  <hjl@gnu.org>
2247         * binutils.texi: Put back "@end table" deleted by
2248         accident.
2250 2000-07-05  Kenneth Block  <krblock@computer.org>
2252         * nm.c: Add optional style to demangle switch.
2253         * objdump.c: Add optional style to demangle switch.
2254         * addr2line.c: Add optional style to demangle switch.
2255         * binutils.texi: Document optional style to demangle
2256         switch.
2258 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2260         * MAINTAINERS: Add self as CRIS port maintainer.
2261         * readelf.c: Include elf/cris.h.
2262         (guess_is_rela): Handle EM_CRIS.
2263         (dump_relocations): Ditto.
2264         (get_machine_name): Ditto.
2265         * Makefile.am: Rebuild dependencies.
2266         * Makefile.in: Regenerate.
2267         * po/binutils.pot: Regenerate.
2269 2000-07-19  H.J. Lu  <hjl@gnu.org>
2271         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2272         "AUXILIARY".
2273         (process_dynamic_segment): Print out strings for DT_CONFIG,
2274         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2276 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2278         * nm.c (usage): Change output of `nm --help' to include a
2279         description of the purpose of the program and a detailed
2280         description of the accepted options.
2282 2000-07-19  H.J. Lu  <hjl@gnu.org>
2284         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2285         to DF_1_NODEFLIB.
2287 2000-07-19  H.J. Lu  <hjl@gnu.org>
2289         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2291 2000-07-19  H.J. Lu  <hjl@gnu.org>
2293         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2294         DT_FEATURE.
2295         (process_dynamic_segment): Likewise.
2297         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2298         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2299         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2300         DF_1_NODUMP and DF_1_CONLFAT.
2302 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2304         * binutils.texi (readelf): Fix spelling typo.
2306 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2308         * objdump.c (usage): Make output of `objdump --help' more
2309         consistent with the rest of the GNU world.  Add a line describing
2310         the purpose of the program.
2312 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2314         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2315         warning.
2317 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2319         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2320         to fix warnings.
2321         (process_symbol_table): Ditto.
2322         (procesS_extended_line_op): Ditto.
2323         (display_debug_lines): Ditto.
2324         (display_debug_pubnames): Ditto.
2325         (read_and_display_attr): Ditto.
2327 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2329         * MAINTAINERS: Add several more port specific maintainers.
2331 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2333         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2335 2000-06-05  DJ Delorie  <dj@redhat.com>
2337         * MAINTAINERS: New.
2339 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2341         * dllwrap.c: Changed mistaken dyn_string_append() calls
2342         to dyn_string_append_cstr().
2344 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2346         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2347         struct debug_type stores size in bytes.
2349 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2351         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2352         (CLEANFILES): Add DEPA.
2353         * Makefile.in: Regenerate.
2355 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2357         * ar.c: Revert incorrect 2000-06-25 patch.
2358         * bucomm.c: Likewise.
2360 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2362         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2363         (external_coff_symbol_p): New function.
2364         (parse_coff): Use it.
2366 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2368         * ar.c (normalize): Advance past both characters in a DOS based
2369         <letter>: filepath prefix.
2370         (main): Likewise.
2371         * bucomm.c (make_tempname): Likewise.
2373 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2375         * objdump.c (usage): Fix description of --stabs switch.
2377 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2379         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2380         find one.
2381         * Makefile.in: Regenerate.
2383 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2385         * ar.c (normalize): Correct pointer comparison when checking for
2386         backslashes.
2387         (main): Likewise.
2388         * bucomm.c (make_tempname): Likewise.
2390         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2391         and search for backslashes in the original pathname.
2392         (ieee_add_bb11): Likewise.
2394 2000-06-18  Nick Clifton  <nickc@redhat.com>
2396         * ar.c (print_contents): Improve verbose message.
2398 2000-06-15  H.J. Lu  <hjl@gnu.org>
2400         * dyn-string.c: Removed. Not needed with dyn-string.c in
2401         libiberty.
2402         * dyn-string.h: Likewise.
2404         * Makefile.am: Remove references to dyn-string.c and
2405         dyn-string.h. Rebuild dependency.
2406         * Makefile.in: Rebuild.
2408 2000-06-15  H.J. Lu  <hjl@gnu.org>
2410         * binutils.texi: Put a warning on copying relocatable object
2411         files between two different formats.
2413 2000-06-13  DJ Delorie  <dj@cygnus.com>
2415         * rcparse.y (control): ICON controls take an id as the first
2416         parameter, not an optional string.  Also, call new convenience
2417         function that takes res_id's.
2418         * resrc.c (define_control): missing text means zero-length string,
2419         not zero ID.
2420         (define_icon_control): New.
2421         * windres.h: declare define_icon_control.
2423 2000-06-13  H.J. Lu  <hjl@gnu.org>
2425         * configure: Regenerate.
2427 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2429         * configure.in (VERSION): Update to show this is the CVS mainline.
2431 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2433         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2434         analogous to <SPACE>.
2436 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2438         * objdump.c (display_target_list): Use bfd_close_all_done, not
2439         bfd_close to fix crash caused by 2000-05-24 change.
2441 2000-05-25  DJ Delorie  <dj@cygnus.com>
2443         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2445 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2447         * Makefile.am: Update dependencies with "make dep-am"
2448         * Makefile.in: Regenerate.
2450 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2452         * ar.c: Include filenames.h.
2453         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2454         and drive letters in file names.
2455         (main): Support backslashes and drive letters in argv[0].  Drop
2456         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2457         FILENAME_CMP instead of strcmp to compare file names.
2458         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2459         DJGPP v2.
2460         (do_quick_append) [__GO32__]: Ditto.
2461         (get_pos_bfd, delete_members, move_members, replace_members):
2462         Compare file names with FILENAME_CMP.
2464         * bucomm.c: Include filenames.h.
2465         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2466         forward/backward slashes and drive letters in file names.
2468         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2469         mixed forward/backward slashes and drive letters in file names.
2471         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2472         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2473         mode.
2475         * objcopy.c: Include filenames.h.
2476         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2477         before comparing to "strip".
2478         Use FILENAME_CMP to compare file names.
2480         * arsup.c: Include filenames.h.
2481         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2482         FILENAME_CMP to compare file names.
2483         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2484         the temporary file name.
2486         * configure.in: Check for setmode.
2487         * configure: Regenerate.
2489 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2491         * objdump.c (display_target_list): Close the bfd.
2492         (display_info_table): Likewise.
2494 2000-05-14  H.J. Lu  (hjl@gnu.org)
2496         * objcopy.c (filter_symbols): Don't strip global symbols in
2497         relocatable object files.
2499 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2501         * size.c (usage): Associate short options with corresponding long
2502         option to give a clue as to their function.
2504 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2506         * size.c (main): Accept and ignore `-f' option.
2508 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2510         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2511         bindtextdomain): Replace defines with those from intl/libgettext.h
2512         to quieten gcc warnings.
2514 2000-05-12  H.J. Lu  <hjl@gnu.org>
2516         * nlmconv.c (temp_filename): Removed.
2518         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2519         choose_temp_base ().
2520         * objdump.c (display_target_list): Likewise.
2521         (display_info_table): Likewise.
2523 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2525         * objcopy.c (setup_section): Add const and gettext calls for err.
2527 2000-05-02  H.J. Lu  <hjl@gnu.org>
2529         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2530         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2531         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2532         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2533         and ELFOSABI_OPENBSD.
2535 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2537         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2538         * srconv.c: Likewise.
2539         * sysdump.c: Likewise.
2541 2000-04-23  Denis Chertykov  <denisc@overta.ru>
2543         * readelf.c (guess_is_rela): AVR uses RELA relocations.
2544         (get_machine_name): machine name for EM_AVR added.
2546 2000-04-21  Richard Henderson  <rth@cygnus.com>
2547             David Mosberger  <davidm@hpl.hp.com>
2549         * Makefile.am (readelf.o): Add elf/ia64.h.
2550         * Makefile.in: Rebuild.
2551         * readelf.c: Include elf/ia64.h.
2552         (guess_is_rela, dump_relocations): Handle EM_IA_64.
2554 2000-04-17  Timothy Wall  <twall@cygnus.com>
2556         * objdump.c (disassemble_data): Set octets per byte *after*
2557         resolving arch/mach for binary files.
2559 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2561         * arlex.l: Add directives to increase lex buffer size.
2563         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2564         already included by bucomm.h.
2566 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
2568         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2569         `strftime' since strftime is not available on all systems.
2570         (process_mips_specific): Ditto.
2572 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
2574         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
2575         --enable-build-warnings option.
2576         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2577         * Makefile.in, configure: Re-generate.
2579 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
2581         * addr2line.c: Update copyright.
2582         * objcopy.1: Likewise, and title.
2583         * strings.1: Likewise.
2585         * version.c (print_version): Add 2000.
2587         * rddbg.c (read_section_stabs_debugging_info): Don't use
2588         bfd_size_type for strx to avoid printf problems if BFD64.
2590         * bucomm.c: (report): Remove `static'.
2591         Move inclusion of stdarg.h/vararg.h from here.
2592         * bucomm.h: To here.
2593         (CONST): Change all occurences to const.
2594         (report): Declare it.
2595         (bfd_fatal): Add ATTRIBUTE_NORETURN.
2596         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2597         (non_fatal): Add ATTRIBUTE_PRINTF_1.
2599         * ar.c (main): Use fatal or non_fatal instead of fprintf.
2600         Correct a typo in an error message.
2601         (do_quick_append): Use non_fatal instead of fprintf.
2602         (move_members): Use fatal instead of fprintf, exit.
2603         * coffdump.c (main): Same here.
2605         * dlltool.c (display): Delete.
2606         (warn): Delete.
2607         (inform): Use `report' instead of `display'.
2608         (rvaafter): Remove trailing \n from fatal error msg.
2609         (rvabefore): Ditto.
2610         (asm_prefix): Ditto.
2611         (yyerror): Replace `warn' with `non_fatal', and remove \n.
2612         (def_name): Likewise.
2613         (run): Likewise.
2614         (scan_all_symbols): Likewise.
2615         (gen_lib_file): Likewise.
2616         (def_library): Likewise.  Remove extra program_name too.
2617         (run): Remove \n from inform strings.
2618         (scan_drectve_symbols): Likewise.
2619         (add_excludes): Likewise.
2620         (scan_open_obj_file): Likewise.
2621         (gen_exp_file): Likewise.
2622         (gen_lib_file): Likewise.
2623         (process_duplicates): Likewise.
2625         * Makefile.am (dllwrap_SOURCES): Add version.c.
2626         * dllwrap.c (program_version): Delete.
2627         (print_version): Delete.
2628         (display): Always print trailing \n.
2629         (warn): New.
2630         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
2631         (run): Here too.
2632         (main): And here.
2633         (usage): gettext'ify.
2634         (long_options): Add missing initialisers.
2636         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2637         (select_output_format): Likewise.
2638         (powerpc_mangle_relocs): Likewise.
2639         (link_inputs): Likewise.
2641         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2642         (set_output_format): Likewise.
2643         (main): Use non_fatal instead of fprintf.
2644         (display_rel_file): Likewise.
2646         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2647         (slurp_dynamic_symtab): Same here.
2648         (disassemble_data): And here.
2649         (read_section_stabs): And here.
2650         (read_section_stabs): And here.
2651         (dump_bfd): And here.
2652         (main): And here.
2653         (objdump_sprintf): Use fatal instead of fprintf, exit.
2654         (disassemble_data): Same here.
2656         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2657         (parse_coff_struct_type): Same here.
2658         (parse_coff_enum_type): And here.
2659         (parse_coff): And here.
2660         * rddbg.c (read_debugging_info): And here.
2661         * size.c (main): And here.
2662         * windres.c (format_from_name): And here.
2663         * wrstabs.c (stab_write_symbol): Here too.
2664         (write_stabs_in_sections_debugging_info): And here.
2665         (stab_int_type): And here.
2666         (stab_struct_field): And here.
2667         (stab_typdef): And here.
2669         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2670         * srconv.c (main): Same here.
2671         * strings.c (main): And here.
2672         (integer_arg): And here.
2673         * sysdump.c (main): And here.
2675 2000-04-06  Timothy Wall  <twall@cygnus.com>
2677         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2679 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2681         * readelf.c (decode_location_expression): Loop through multiple
2682         operations.
2683         (read_and_display_attr): Pass in length.
2685         * readelf.c (read_and_display_attr): Add CU offset to references.
2686         (display_debug_info): Pass it in.
2688 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2690         * readelf.c (decode_ARM_machine_flags): New function.
2691         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2692         targets.
2694         (get_machine_name): Catch EM_AVR
2696 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2698         * binutils.texi: Remove optional `=' from long options that have
2699         an `=' in the argument.
2700         * objcopy.1: Here too.  Remove extra space on discard-all.
2702         * binutils.texi (objcopy): Mention --redefine-sym.
2703         * objcopy.1: Here too.
2704         * NEWS: And here.
2706         * objcopy.c (parse_flags): Split off flag names from error message
2707         gettext as they are not translated.
2708         (copy_main): Similarly split off option name for --add-section,
2709         --set-section-flags, --change-section-vma, --change-section-lma
2710         error messages.
2711         Some white space changes.
2713         from Matthew Benjamin <matt@linuxbox.nu>
2714         * objcopy.c (struct redefine_node): New.
2715         (redefine_sym_list): New.
2716         (redefine_list_append): New.
2717         (lookup_sym_redefinition): New.
2718         (OPTION_REDEFINE_SYM): New.
2719         (copy_options): Add --redefine-sym option.
2720         (copy_usage): Mention it.
2721         (filter_symbols): Rename symbols on redefine_sym_list.
2722         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2723         (copy_main): Handle OPTION_REDEFINE_SYM.
2725 2000-04-04  H.J. Lu  <hjl@gnu.org>
2727         * readelf.c (process_symbol_table): Correctly read in symbol
2728         versioning information.
2730 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
2732         * po/binutils.pot: Regenerate.
2734         * addr2line.c (usage): Restore translated part of bug string.
2735         * ar.c (usage): Likewise.
2736         * nlmconv.c (show_usage): Likewise.
2737         * nm.c (usage): Likewise.
2738         * objcopy.c (copy_usage): Likewise.
2739         (strip_usage): Likewise.
2740         * objdump.c (usage): Likewise.
2741         * readelf.c (usage): Likewise.
2742         * size.c (usage): Likewise.
2743         * strings.c (usage): Likewise.
2744         * windres.c (usage): Likewise.
2746         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2747         (DEP): Quote when passing vars to sub-make.  Add warning
2748         message to end.
2749         (DEP1): Rewrite for "gcc -MM".
2750         (CLEANFILES): Add DEP2.
2751         Update dependencies.
2752         * Makefile.in: Regenerate.
2754 2000-04-04  H.J. Lu  <hjl@gnu.org>
2756         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2757         (arparse.h): Depend on arparse.c
2758         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2760 2000-04-03  H.J. Lu  (hjl@gnu.org)
2762         * size.c (usage): Use REPORT_BUGS_TO.
2764 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2766         * bucomm.h: #include "bin-bugs.h"
2767         * addr2line.c (usage): Use REPORT_BUGS_TO.
2768         * ar.c (usage): Likewise.
2769         * nlmconv.c (show_usage): Likewise.
2770         * nm.c (usage): Likewise.
2771         (OPTION_TARGET): Define.
2772         (long_options): Use OPTION_TARGET rather than 200.
2773         (main): Likewise.
2775         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2776         (strip_usage): Likewise.
2777         * objdump.c (usage): Likewise.
2778         * readelf.c (usage): Likewise.
2779         * strings.c (usage): Likewise.
2780         * windres.c (usage): Likewise.
2782 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2784         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2786 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2788         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2789         string offsets in corrupt stabs entries.
2791 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2793         * readelf.c: Include elf/avr.h
2794         (dump_relocations): Add EM_AVR case.
2796 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2798         * strings.1: Correct '-bytes' to '--bytes'.
2800 2000-03-08  H.J. Lu  <hjl@gnu.org>
2802         * Makefile.am (install-exec-local): Depend on
2803         install-binPROGRAMS for parallel make.
2804         * Makefile.in: Regenerated.
2806 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2808         From Brad Lucier <lucier@math.purdue.edu>:
2809         * readelf.c (process_dynamic_segment): Add cast to make sure
2810         argument to %* is int.
2812 2000-02-25  H.J. Lu  <hjl@gnu.org>
2814         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2816 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2818         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2819         * configure: Regenerate.
2821         * dlltool.c: Add support for sh-pe and mips-pe targets.
2822         * rescoff.c: Add support for sh-pe and mips-pe targets.
2824 2000-02-23  H.J. Lu  <hjl@gnu.org>
2826         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2828 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2830         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2832 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2834         From Brad Lucier <lucier@math.purdue.edu>:
2835         * readelf.c (process_version_sections): Add casts to make sure
2836         argument to %* is an int.
2837         (process_mips_specific): Add casts to make printf arguments match
2838         format.
2840 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2842         * objdump.c (dump_section_header): Change `opb' to unsigned.
2843         (find_symbol_for_address): Same here.
2844         (disassemble_data): And here.  Change `addr_offset',
2845         `stop_offset', `nextstop_offset' to unsigned long.
2846         (dump_data): Change opb to unsigned.
2848 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2850         * resrc.c: Remove unmatched #if for cygwin.
2852 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2854         * binutils.texi: Document the change of flavor name from atpcs-special
2855         to special-atpcs to prevent name conflict in gdb.
2857 2000-02-08  Timothy Wall  <twall@redhat.com>
2859         * objdump.c (show_line): Fix bug preventing printing of the very
2860         first line (line zero) of a file when interlisting source and
2861         assembly.  Added option to print entire context from start of file
2862         when the first line from that file is encountered.
2864 2000-02-03  Timothy Wall <twall@redhat.com>
2866         * objdump.c (dump_section_header, find_symbol_for_address,
2867         show_line, disassemble_bytes, disassemble_data, dump_data):
2868         distinguish between octets and bytes.
2870 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2872         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2873         check to unresolved symbols.
2874         (print_symbol_info_sysv):  Ditto.
2875         (print_symbol_info_posix):  Ditto.
2877         * binutils.texi: Document new 'V' symclass flag for nm.
2879 2000-01-27  Nick Clifton  <nickc@redhat.com>
2881         * binutils.texi (objdump): Document new ARM specific
2882         disassembler options.
2884         * objdump.c (usage): Call disassembler_usage().
2886 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2888         * readelf.c (get_dynamic_flags): Return buff.
2889         (process_dynamic_segment): Don't pass error strings to printf
2890         as format arg.
2891         (read_and_display_attr): Use lx and ld to print longs.
2892         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2893         before printing.
2894         Update copyright.
2896 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2898         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2900 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2902         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2903         false.
2904         (debug_tag_type): Here too.
2905         * ieee.c (ieee_builtin_type): And here.
2906         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2908 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2910         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2911         System/370".
2913 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2915         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2917 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2919         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2921 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2923         * windres.c (long_options): Add --use-temp-file and
2924         --no-use-temp-file options.
2925         (usage): Document.
2926         (main): Handle.
2928         * windres.h: Update read_rc_file prototype.
2930         * resrc.c (cpp_temp_file): New static variable.
2931         (istream_type): New static variable.
2932         (close_pipe): Delete function.
2933         (run_cmd): New static function.
2934         (open_input_stream): New static function.
2935         (close_input_stream): New static function.
2936         (look_for_default): Handle DOS directory separator. Use
2937         open_input_stream instead of popen.
2938         (read_rc_file): Likewise.
2940         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2941         options.
2943 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2945         * dlltool.c (create_compat_implib): New variable.
2946         (gen_exp_file): Use.
2947         (make_one_lib_file): Use.
2948         (long_options): Add --compat-implib option.
2949         (usage): Handle.
2950         (main): Handle.
2952         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2953         (main): Use. Don't look for "32" in cygwin and mingw target names.
2955 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2957         * binutils.texi: Document new, ARM specific disassembler
2958         command line switch "-M force-thumb".
2960 For older changes see ChangeLog-9899
2962 Local Variables:
2963 mode: change-log
2964 left-margin: 8
2965 fill-column: 74
2966 version-control: never
2967 End: