2002-06-18 Dave Brolley <brolley@redhat.com>
[binutils.git] / binutils / ChangeLog
blob25cd45e9e1512ef703daaef18eb46bdac230b549
1 2002-06-18  Dave Brolley  <brolley@redhat.com>
3         From Catherine Moore:
4         * readelf.c (elf/frv.h): #include it.
5         (guess_is_rela): Support EM_CYGNUS_FRV.
6         (dump_relocations): Ditto.
7         (get_machine_name): Ditto.
8         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
10 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
12         * readelf.c (get_file_header): Only read the first section header if
13         e_shoff is non-zero.
15 2002-06-15  H.J. Lu  (hjl@gnu.org)
17         * nm.c (print_size): New variable. Initialize to 0.
18         (long_options): Add 'S'/"print-size".
19         (main): Handle 'S'.
20         (print_symbol_info_bsd): Print size only if print_size is not
21         0.
23         * doc/binutils.texi: Document -S/--print-size.
25 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
27         * nm.c (struct extended_symbol_info): New strcuture: Add the size
28         of the symbols to the information provided by the symbol_info
29         structure.
30         (print_symbols): Pass the symbol size to print_symbol.
31         (print_size_symbols): Pass the symbol size to print_symbol.
32         (print_symbol): Extra argument: The size of the symbol.  Store
33         this in the extended_symbol_info structure.
34         (print_symbol_info): Change type of info parameter to
35         extended_symbol_info.  Display the size, if known.
36         (print_symbol_info_posix): Likewise.
37         (print_symbol_info_sysv): Likewise.
39 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
41         * Makefile.am: Run "make dep-am".
42         * Makefile.in: Regenerate.
43         * doc/Makefile.in: Regnerate.
45         * bucomm.c: Replace CONST with const.
46         * nm.c: Likewise.
47         * objdump.c: Likewise.
49 2002-06-07  H.J. Lu <hjl@gnu.org>
51         * readelf.c (DW_CFA_GNU_args_size): Don't define.
52         (DW_CFA_GNU_negative_offset_extended): Likewise.
53         (DW_CFA_GNU_window_save): Likewise.
54         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
55         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
57 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
58         
59         * nm.c: When computing size of symbols for an ELF target use the
60         internal size field.
62 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
64         * testsuite/binutils-all/objcopy.exp: clear xfail for
65         "hppa*64*-*-hpux*".
66         * testsuite/binutils-all/hppa/objdump.exp: Return if
67         "*64*-*-*".
69 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
71         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
73 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
75         * objdump.c: Fix formatting.
77 2002-05-29  Ben Elliston  <bje@redhat.com>
79         * MAINTAINERS: Add self as M68k maintainer.
81 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
83         * readelf.c: Modified/Added DLX elf support.
85 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
87         * arsup.c: Fix formatting.
88         * debug.c (debug_record_label): Add missing colon to error
89         message.
90         * ieee.c (parse_ieee_ty): Fix spelling typo.
91         * readelf.c (process_program_headers): Remove English assumption
92         about making a plural word.
93         (process_section_headers): Likewise.
94         (process_relocs): Allow quotes to be translated.
95         (process_unwind): Likewise,
96         (process_mips_specific): Improve error message.
97         (get_note_type): Fix spelling typo.
99         * configure.in (ALL_LINGUAS): Add sv
100         * po/sv.po: New file.
102 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
104         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
105         (unw_print_grmask): Likewise.
106         (unw_print_frmask): Likewise.
108 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
110         * arsup.c: Remove ARGSUSED.
111         * debug.c: Likewise.
112         * ieee.c: Likewise.
113         * nlmconv.c: Likewise.
114         * prdbg.c: Likewise.
115         * stabs.c: Likewise.
116         * wrstabs.c: Likewise.
118 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
120         * arlex.l: Use #include "" instead of <> for local header files.
121         * coffdump.c: Likewise.
122         * coffgrok.c: Likewise.
123         * nlmconv.c: Likewise.
124         * nlmheader.y: Likewise.
125         * srconv.c: Likewise.
126         * strings.c: Likewise.
127         * sysdump.c: Likewise.
128         * unwind-ia64.h: Likewise.
129         * windres.h: Likewise.
130         * winduni.h: Likewise.
132 2002-05-24  Tom Rix  <trix@redhat.com>
134         * MAINTAINERS: Add self as the d10v maintainer.
136 2002-05-24   TAMURA Kent <kent@netbsd.org>
138         * configure.in: Builds dlltool for i386-netbsdpe.
139         * configure: Regenerate.
141 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
143         * size.c: Fix formatting.
144         * srconv.c: Likewise.
145         * stabs.c: Likewise.
146         * sysdump.c: Likewise.
147         * unwind-ia64.c: Likewise.
148         * wrstabs.c: Likewise.
150 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
152         * readelf.c (get_segment_type): Add PT_TLS.
153         (get_elf_section_flags): Add SHF_TLS.
154         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
155         (process_dynamic_segment): Use puts instead of printf.
156         (get_symbol_type): Support STT_TLS.
157         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
158         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
159         Add SEC_THREAD_LOCAL.
161 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
163         * rdcoff.c: Fix formatting.
164         * rddbg.c: Likewise.
165         * readelf.c: Likewise.
166         * rename.c: Likewise.
167         * resbin.c: Likewise.
168         * resrc.c: Likewise.
169         * resres.c: Likewise.
171 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
173         * filemode.c: Fix formatting.
174         * ieee.c: Likewise.
175         * is-ranlib.c: Likewise.
176         * is-strip.c: Likewise.
177         * maybe-ranlib.c: Likewise.
178         * maybe-strip.c: Likewise.
179         * nlmconv.c: Likewise.
180         * nm.c: Likewise.
181         * not-ranlib.c: Likewise.
182         * not-strip.c: Likewise.
183         * objcopy.c: Likewise.
184         * objdump.c: Likewise.
186 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
188         * objdump.c (dump_headers): Fix output formatting for ELF32
189         architectures in a BFD64 enabled toolchain.
191 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
193         * debug.c: Fix formatting.
194         * debug.h: Likewise.
195         * dlltool.c: Likewise.
196         * dllwrap.c: Likewise.
197         * emul_aix.c: Likewise.
198         * emul_vanilla.c: Likewise.
200 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
202         * addr2line.c: Fix formatting.
203         * ar.c: Likewise.
204         * arsup.c: Likewise.
205         * arsup.h: Likewise.
206         * binemul.c: Likewise.
207         * binemul.h: Likewise.
208         * bucomm.c: Likewise.
209         * coffdump.c: Likewise.
210         * coffgrok.c: Likewise.
211         * coffgrok.h: Likewise.
213 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
215         * MAINTAINERS: Add myself as the second AVR port maintainer.
217 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
219         * MAINTAINERS: Update my email address.
221 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
223         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
225 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
227         * configure.in: Replace `*pe' with `pe' throughout.
228         * configure: Regenerate.
230 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
232         * Makefile.am: Honour DESTDIR.
233         * Makefile.in: Regenerate.
235 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
237         * dlltool.c (process_def_file): Add missing prototype.
238         (new_directive, assemble_file, main): Likewise.
239         (process_def_file, new_directive): Make static.
240         (inform): Rewrite using VA_FIXEDARG.
241         * dllwrap.c (mybasename): Add missing prototype.
242         (strhash, main): Likewise.
243         (inform): Rewrite using VA_FIXEDARG.
244         (warn): Likewise.
245         (cleanup_and_exit): Use old style function definition.
246         (strhash): Likewise.
247         * windres.c (define_resource): Use one memset to clear all of
248         struct res_resource.
250         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
251         call to rules that need no lookahead.  Check for no lookahead.
253 2002-05-06  Borut Razem  <borut.razem@siol.net>
255         * rclex.l (get_string): Correct "strings" list handling.
256         * resrc.c (read_rc_file): Discard strings.
258 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
260         * ar.c (replace_members): Remove unused var.  Formatting fix.
261         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
263         * MAINTAINERS: Sort port maintainers by CPU.
265 2002-05-04  Bob Byrnes  <byrnes@curl.com>
267         * size.c (display_archive): Add last_arfile and code to close archives.
269 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
271         * nm.c (print_symbol): Check returned filename from
272         bfd_find_nearest_line is non-NULL.
274 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
275     
276         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
278 2002-04-24  Christian Groessler <chris@groessler.org>
280         * MAINTAINERS: Changed my email address.
282 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
284         * arparse.y: Fix syntax warning.
286 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
288         * readelf.c (fetch_location_list): Remove unused function.
290         * readelf.c (process_corefile_note_segment): Catch corrupt notes
291         and display a warning message, then exit the loop.
293         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
295 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
297         * resrc.c (write_rc_dialog): If charset is non-default value
298         display all of the DIALOGEX parameters.
300 2002-04-15  Eric Kohl <ekohl@rz-online.de>
302         * rcparse.y: Allow two to five parameter in FONT statement of 
303         DIALOGEX resources.
304         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
305         resource data.
306         (res_to_bin_dialog): Likewise.
307         * windres.h: Added misssing charset variable to dialog_ex
308         structure.
310 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
312         * rcparse.y: Set MEMFLAG_PURE by default.
314 2002-04-09  Bernd Herd <info@herdsoft.com>
316         * rcparse.y: CLASS definitions in DIALOG resources 
317         are quoted.
318         Fix typo in BEDIT warning.
319         Don't add default dialog style when explicit style specified.
320         Add WS_CAPTION dialog style if CAPTION is specified.
322         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
323         (handle_quotes) "\a" escape (used for right justified key
324         definitions in menus) is encodes as binary 8.
326         * resrc.c (write_rc_dialog): Print style even if it is 0.
327         (write_rc_directory): Fix overlooked sublang shift bug.
328         (bin_to_res_dialog): Don't print empty dialog caption.
330         * resbin.c (bin_to_res_dialog): Use signature to identify
331         DIALOGEX.
333         * windres.c (main): Set default LANGUAGE to english/us.
335 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
337         * resrc.c: print CLASS names in quotes
339 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
341         * MAINTAINERS: Update my email address.
343 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
345         * dep-in.sed: Cope with absolute paths.
346         * Makefile.am (dep.sed): Subst TOPDIR.
347         Run "make dep-am".
348         * Makefile.in: Regenerate.
350 2002-03-27  Peter Targett  <peter.targett@arc.com>
352         * MAINTAINERS: Update my email address.
354 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
356         * Makefile.am: Run "make dep-am".
357         * Makefile.in: Regenerate.
358         * doc/Makefile.in: Regenerate.
359         * po/POTFILES.in: Regenerate.
360         * aclocal.m4: Regenerate.
361         * config.in: Regenerate.
362         * configure: Regenerate.
364 2002-03-20  Daniel Berlin  <dan@dberlin.org>
366         * readelf.c: Add support for displaying dwarf2 location lists.
367         (do_debug_loc, debug_loc_section, debug_loc_size): New.
368         (parse_args): Use 'O' as shorthand for displaying location list
369         section.
370         (process_section_headers): Handle debug_loc as well.
371         (load_debug_loc): New.
372         (free_debug_loc): New.
373         (fetch_location_list): New.
374         (display_debug_loc): New.
375         (display_debug_info): Call load_debug_loc and free_debug_loc.
376         (debug_displays): We can display .debug_loc now, too.
377         (usage): Update usage string.
378         (read_and_display_attr_value): Note location lists, but don't
379         display them inline.
381 2002-03-18  Tom Rix  <trix@redhat.com>
383         * Makefile.am: Add binutils emulation support.
384         * configure.in: Same.
385         * configure.tgt: New file.  Same.
386         * ar.c (main): Use ar_emul_parse_arg.
387         (usage): Use ar_emul_usage.
388         (replace_members): Use ar_emul_replace, ar_emul_append.
389         * binemul.c: New file.  Define the binutils emulation
390         layer. Define default methods.
391         * binemul.h: New file.  Binutils emulation layer header file.
392         * emul_aix.c: New file.  AIX binutils emulation.
393         * emul_vanilla.c: New file. Default binutils emulation.
394         * Makefile.in: Regenerate.
395         * configure: Same.
397 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
399         * po/fr.po: Updated version.
401 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
403         * po/fr.po: Updated version.
405 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
407         * README: Update some version numbers.
409 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
411         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
412         (Architecture Selection): Likewise.
414 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
416         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
417         generating .exp file.
419 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
421         * readelf.c (dump_relocations): Fix typo.
423 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
425         * NEWS: Mark 2.12 branch.
427 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
429         * readelf.c (dump_relocations): Display 2nd and 3rd reloc 
430         types for 64-bit MIPS.  Narrow some fields for 80-char 
431         output.
432         (dump_relocations): Change spelling from 'unrecognised' 
433         to 'unrecognized'.
434         (decode_ARM_machine_flags): Likewise.
435         (parse_args): Likewise.
436         (read_and_display_attr_value): Likewise.
437         (display_debug_section): Likewise.
439 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
441         * NEWS: Mention support for MMIX.
443 2002-02-13  Matt Fredette  <fredette@netbsd.org>
445         * readelf.c (get_machine_flags): Recognize EF_M68000.
447 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
449         * MAINTAINERS: Added self as MN10300 co-maintainer.
451 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
453         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
454         DT_PPC64_OPDSZ.
456 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
458         * MAINTAINERS: List myself as branch maintainer.
460 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
462         * configure: Regenerate.
463         * objcopy.c: Update copyright date.
464         * doc/Makefile.in: Regenerate.
466 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
468         * nlmconv.c: Back out localtime PARAMS change.
470 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
472         * objcopy.c (MKDIR): Define.
473         (copy_archive): Make name_list.name const.  Use MKDIR.
474         Handle duplicate files in archives by making more temp dirs.
476 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
478         * coffdump.c: Include "getopt.h" after "bucomm.h"
479         so that macros are defined correctly.
480         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
481         prototype.  Prototype main.
482         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
484 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
486         * MAINTAINERS: Added self as SH co-maintainer.
488 2002-02-05  Nick Clifton <nickc@redhat.com>
490         * po/tr.po: Updated translation.
492 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
494         * Makefile.am: Run "make dep-am"
495         * Makefile.in: Regenerate.
497 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
499         * nm.c (print_value): Mark abfd unused.
501 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
503         * unwind-ia64.c (unw_decoder): Change second argument
504         to unsigned int, to match function prototypes.
506 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
508         * objdump.c: Include "getopt.h" after "bucomm.h" so that
509         __GNU_LIBRARY__ will be defined.
510         * size.c: Likewise.
512 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
514         * configure: Regenerated.
516 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
518         * doc/Makefile.am (install): Depend on install-info.
519         * doc/Makefile.in: Regenerate.
521 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
523         * objcopy.c (strip_usage): Document -d as an alias
524         --strip-debug.
526         * size.c (usage): Document [-t | --totals] options.
527         (long_options): Add --totals option.
528         (main): If the [-t | --totals] option is specified and
529         the output format is Berkeley-style, print the total
530         text, data, and bss sizes of all objects listed.
531         (print_berkeley_format): If the [-t | --totals] option
532         is specified, track the total text, data, and bss
533         sizes.
534         * doc/binutils.texi (size): Document [-t | --totals] options.
535         (strip): Document -d as an alias for --strip-debug.
536         * NEWS: Mention new feature of size.
538 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
540         * po/fr.po: Updated version.
541         * po/es.po: Updated version.
543 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
545         * addr2line.c (usage): Update text to provide verbose
546         description of the command line options.
547         * ar.c (usage): Update text to provide verbose
548         description of the command line options.
549         (main): Accept -h and -H when running as ranlib.
550         * coffdump.c (show_usage): Update text to provide verbose
551         description of the command line options.
552         * dlltool.c (main): Accept -H as an alias for --help.
553         * nlmconv.c (show_usage): Update text to provide verbose
554         description of the command line options.
555         * nm.c (usage): Replace OPTIONS with option(s).
556         (main): Accept -H as an alias for --help.
557         * objcopy.c (strip_main): Accept -H as an alias for --help.
558         * objdump.c (main): Accept -v as an alias for --verbose.
559         * readelf.c (usage): Adjust format to match style used in
560         other binutils.
561         * size.c (usage): Update text to provide verbose description
562         of the command line options.
563         (main): Accept -v, -h and -H as command line options.
564         * srconv.c (show_usage): Update text to provide verbose
565         description of the command line options.
566         * strings.c (main): Accept -H and -v as command line options.
567         (usage): Update text to provide verbose description of the
568         command line options.
569         * sysdump.c (show_usage): Update text to provide verbose
570         description of the command line options.
571         * windres.c (usage): Adjust format to match style used in
572         other binutils.
574         * coffdump.c: Fix formatting.
575         * nlmconv.c: Fix formatting.
576         * srconv.c: Fix formatting.
577         * sysdump.c: Fix formatting.
579 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
581         * Makefile.am: Run "make dep-am".
582         * Makefile.in: Regenerate.
584 2002-01-18  Andreas Jaeger  <aj@suse.de>
586         * version.c (print_version): Update year.
588 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
590         * readelf.c (get_machine_name): Handle EM_PPC64.
591         (guess_is_rela): Here too.
593 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
595         * po/binutils.pot: Regenerate.
596         * po/fr.po: Regenerate.
597         * po/tr.po: Regenerate.
599 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
601         * po/tr.po: Import new version.
603 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
605         * readelf.c (get_ppc64_dynamic_type): New.
606         (get_dynamic_type): Call it.
608 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
610         * objcopy.c (copy_usage): Use "options" instead of "switches".
611         (strip_usage): Use "options" instead of "switches".
612         * doc/binutils.texi (dlltool):  Refer to "options" instead of
613         "switches".
615 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
617         * MAINTAINERS: Add self as co-maintainer for the ARM code.
619 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
621         * po/es.po: Import from translation project.
622         * configure.in (ALL_LINGUAS): Add es.
623         * configure: Regenerate.
625 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
627         * readelf.c (get_netbsd_elfcore_note_type): Use
628         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
630 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
632         * readelf.c: Update copyright years.
633         (get_note_type): Return a const char *.
634         (get_netbsd_elfcore_note_type): New function.
635         (process_note): Use get_netbsd_elfcore_note_type to get
636         the note type string for NetBSD ELF core files.
638 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
640         * readelf.c (get_ia64_segment_type): Add support for macros.
641         (get_segment_type): Add support for IA64 specific macros.
643 2001-12-20  Julian v. Bock  <julian@wongr.net>
645         * readelf.c (print_symbol): New function: Print a formatted symbol
646         name.  If --wide is specified do not truncate it.
647         (dump_relocations): Use print_symbol() to print symbol names.
648         (process_symbol_table): Likewise.
649         (process_syminfo): Likewise.
650         (process_mips_specific): Likewise.
651         (usage): Document new feature of --wide switch.
652         * doc/binutils.texi (objdump): Document additional behaviour of
653         --wide.
655 2001-12-18  Michael Snyder  <msnyder@redhat.com>
657         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
658         (copy_object): Don't set the start address or flags of a core file.
659         (copy_section): Don't relocate a core file.  Don't copy contents
660         if the input section has the contents flag set, but the output
661         section does not (which happens with the fake 'note' pseudo-
662         sections that BFD creates for corefiles).
664 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
666         * readelf.c (get_machine_flags): Recognize header flags for ABI and
667         ASE extensions. More robust code for ISA checking. Ignore empty fields
668         in header flags for GNU extensions.
670 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
672         * objcopy.c (copy_archive): Set output bfd format outside the loop.
674 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
676         * po/ja.po: Import from translation project.
677         * configure.in (ALL_LINGUAS): Add ja.
678         * configure: Regenerate.
680 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
682         * addr2line.c (main): Protoype.
683         * ar.c (main): Protoype.
684         * nm.c (main): Protoype.
685         * objcopy.c (main): Protoype.
686         * objdump.c (main): Protoype.
687         * size.c (main): Protoype.
688         * strings.c (main): Protoype.
690 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
692         * readelf.c (symtab_shndx_hdr): New global.
693         (SECTION_HEADER_INDEX): Define.
694         (SECTION_HEADER_NUM): Define.
695         (SECTION_HEADER): Define.
696         (GET_ELF_SYMBOLS): Pass two params rather than three.
697         (get_32bit_elf_symbols): Take file and section args.  Read and
698         use SHT_SYMTAB_SHNDX.
699         (get_64bit_elf_symbols): Likewise.
700         (dump_relocations): Use SECTION_HEADER to index "section_headers".
701         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
702         Remember symtab_shdx_hdr.
703         (process_program_headers): Scan from index 1 for segment map.
704         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
705         "section_headers".
706         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
707         (process_unwind): Likewise.
708         (process_version_sections): Likewise.
709         (process_symbol_table): Likewise.
710         (display_debug_info): Likewise.
711         (process_dynamic_segment): Fake up a symtab section for changed
712         GET_ELF_SYMBOLS.
713         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
714         (process_program_headers): Kill signed/unsigned warning.
715         (load_debug_str): Likewise.
716         (display_debug_info): Likewise.
718 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
720         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
722 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
724         * readelf.c (process_file_header): Print extended e_shnum and
725         e_shdtrndx values.  Set elf_header values for same.
726         (get_32bit_section_headers): Add "num" arg to read "num" headers.
727         (get_64bit_section_headers): Likewise.
728         (process_section_headers): Update calls.
729         (get_file_header): Call get_32bit_section_headers or 64bit variant.
731 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
733         * objcopy.c (setup_section): Copy entsize.
735 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
737         * readelf.c (guess_is_rela): Add support for stormy16.
738         (dump_relocations): Likewise.
739         (get_machine_name): Likewise.
741 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
743         * dllwrap.c (main) Replace multiple strings describing a
744         single error with a single, newline escaped sentence to permit
745         better translation into foreign languages.
747         * readelf.c (get_elf_class): Remove internalionalisation of ELF
748         class names.
750 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
752         * strings.c (get_char): Initialize value.
754 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
756         * arlex.l: Silence compile warnings.
757         * arsup.h: Likewise. Fix formatting.
759 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
761         * strings.c: Include config.h before bfd.h.
762         (file_off): New type.
763         (file_open): Define.
764         (print_strings): Use file_off instead of file_ptr.  Print addresses
765         which don't fit into long correctly.
766         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
767         available.
768         (strings_file): Use file_off instead of file_ptr.  Use file_open.
769         * configure.in: Check for getc_unlocked.
770         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
771         be defined for it.
772         * configure: Rebuilt.
773         * config.h.in: Rebuilt.
775 2001-11-29  H.J. Lu <hjl@gnu.org>
777         * bucomm.c (make_tempname): Revert the changes made on
778         2001-11-14 and 2001-11-12. They won't work with directories.
780 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
782         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
783         CFLAGS_FOR_TARGET to runtest in environment.
784         * Makefile.in: Rebuild.
785         * doc/Makefile.in: Rebuild.
787 2001-11-28  Mike Stump  <mrs@wrs.com>
789         * objcopy.c (setup_section): Preserve SEC_RELOC when
790         --set-section-flags is used.
792 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
794         * readelf.c (do_debug_str): New variable.
795         (display_debug_str): New function: Display the contents of a
796         .debug_str section.
797         (load_debug_str): New function: Load in the contents of a
798         .debug_str section.
799         (free_debug_str): New function: Free the memory used by
800         load_debug_str().
801         (fetch_indirect_string): Retrieve a string from the .debug_str
802         section.
803         (usage): Add -ws.
804         (parse_args): Accept -ws.
805         (process_section_headers): Allow the display of the .debug_str
806         section.
807         (read_and_display_attr_value): Use fetch_indirect_string.  Show
808         offset into .debug_str section.
809         (display_debug_info): Use load_debug_str and free_debug_str.
810         (debug_displays): Add .debug_str.
811         * doc/binutils.texi: Document -ws.
813 2001-11-19  Andreas Jaeger  <aj@suse.de>
815         * testsuite/binutils-all/objdump.exp: Add x86-64.
817 2001-11-15  Andreas Schwab  <schwab@suse.de>
819         * readelf.c: Fix warnings without terminating newline.
821 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
823         * doc/binutils.texi (objdump): Document ppc -M options.
825 2001-11-14  Andreas Jaeger  <aj@suse.de>
827         * doc/binutils.texi (objdump): Fix description to use x86-64.
829 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
831         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
832         not all systems provide mkstemp.
834 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
836         * doc/binutils.texi (objdump): Document x86 -M options.
838 2001-11-13  Keith Walker <keith.walker@arm.com>
840         * readelf.c (read_and_display_attr_value): New function to
841         handle DW_FORM_indirect.
842         (read_and_display_attr): Use it.
844 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
846         * readelf.c (display_debug_lines): Deal with unknown standard
847         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
848         DW_LNS_set_isa.
850 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
852         * MAINTAINERS: Add self as tic54x maintainer.  This target
853         includes the IBM C54XDSP clone.
855 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
857         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
859 2001-11-09  Jeffrey A Law  (law@cygnus.com)
861         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
862         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
863         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
864         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
865         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
866         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
867         (unw_decode_b2, unw_decode_b3_b4): Likewise.
869         * readelf.c (get_elf_class): Fix ISO portability glitch.
870         (get_data_encoding, get_osabi_name, request_dump): Likewise.
872 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
874         * readelf.c (debug_str, debug_str_size): New.
875         (display_debug_abbrev): If no abbrevs were read, skip the CU.
876         Call free_abbrevs.
877         (read_and_display_addr): Handle DW_FORM_strp.
878         (display_debug_info): Read .debug_str section if present,
879         so that DW_FORM_strp can be handled.
880         Fix test for non-existant .debug_abbrev section.
882 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
884         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
886         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
888 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
890         * MAINTAINERS: Add self as s390/s390x maintainer.
892 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
894         * MAINTAINERS: Add self as PPC XCOFF maintainer.
896 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
898         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
899         * configure: Regernate.
900         * po/fr.po: New file.
901         * po/tr.po: New file.
903 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
905         * MAINTAINERS: Add self as MMIX port maintainer.
906         * readelf.c: Include elf/mmix.h.
907         (guess_is_rela): MMIX is RELA.
908         (dump_relocations): Handle MMIX relocations.
909         * Makefile.am: Regenerate dependencies.
910         * Makefile.in: Regenerate.
912 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
914         * readelf.c (parse_args): Handle multiple options to the -w
915         switch.
917 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
919         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
920         LOPROC, LOOS and LOUSER.
922 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
924         * MAINTAINERS: Update my email address.
926 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
928         * doc/Makefile.in: Regenerate.
929         * configure: Regenerate.
931 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
933         * readelf.c (display_debug_line, display_debug_pubnames,
934         display_debug_info, display_debug_frames): Detect and warn
935         about 64-bit format entries.
936         (display_debug_aranges): Reword 64-bit warning.
937         (debug_displays): Add .debug_pubtypes as a known, but not yet
938         supported, debug section.
940 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
942         * coffdump.c (PROGRAM_VERSION): Delete.
943         (main <'V'>): Call print_version.
944         * srconv.c: Likewise.
945         * sysdump.c: Likewise.
946         * version.c (program_version): Remove.
947         (print_version): Use BFD_VERSION_STRING.  Just print the current
948         year in copyright message.
949         * addr2line.c (program_version): Remove unused declaration.
950         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
951         place of BFD_VERSION.
952         * Makefile.am (Makefile): Depend on bfd/configure.in.
953         (cplus-dem.o): Depend on Makefile.
954         Run "make dep-am".
955         * Makefile.in: Regenerate.
957 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
959         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
960         format .debug_arange sections.
961         (main): Add missing prototype.
963 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
965         * Makefile.am: Update dependencies with "make dep-am".
966         * Makefile.in: Regenerate.
968 2001-09-28  Richard Henderson  <rth@redhat.com>
970         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
972 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
974         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
975         VA_CLOSE.
976         (non_fatal): Likewise.
977         * objdump.c (objdump_sprintf): Likewise.
978         * readelf.c (error): Likewise.
979         (warn): Likewise.
981 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
983         * readelf.c (do_wide): New.
984         (options): Add --wide.
985         (usage, parse_args): Likewise.
986         (process_program_headers): Put each segment on a single line if
987         --wide is given.
988         (process_section_headers): Put each section on a single line if
989         --wide is given.
990         * doc/binutils.texi: Document it.
991         * NEWS: Likewise.
993 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
995         * readelf.c (print_vma): Print 8 digits of low hex value.
997 2001-09-24  Andreas Jaeger  <aj@suse.de>
999         * nlmconv.c: Fix warnings about unused attributes and function
1000         prototypes.
1002         * strings.c: Add prototype for get_char.
1004 2000-09-19  H.J. Lu  <hjl@gnu.org>
1006         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1007         $(srcdir)/cxxfilt.man.
1008         * doc/Makefile.in: Rebuild.
1010 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1012         * objcopy.c (copy_main): Correct rename-section string parsing.
1013         Consolidate new_name parsing, and error messages.
1015 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1017         * addr2line.c: Don't include <ctype.h>.
1018         (main): For gettext, also set the LC_CTYPE locate facet.
1019         * ar.c (main): Likewise.
1020         * coffdump.c (main): Likewise.
1021         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1022         (main): For gettext, also set the LC_CTYPE locate facet.
1023         Use ISALNUM instead of isalpha/isdigit.
1024         * dllwrap.c: Don't include <ctype.h>.
1025         (main): For gettext, also set the LC_CTYPE locate facet.
1026         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1027         (main): For gettext, also set the LC_CTYPE locate facet.
1028         Use TOUPPER instead of islower/toupper.
1029         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1030         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1031         Use TOUPPER instead of islower/toupper.
1032         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1033         * objcopy.c (main): Likewise.
1034         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1035         (disassemble_bytes): Use ISPRINT instead of isprint.
1036         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1037         (dump_data): Use ISPRINT instead of isprint.
1038         (main): For gettext, also set the LC_CTYPE locate facet.
1039         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1040         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1041         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1042         Use TOUPPER instead of islower/toupper.
1043         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1044         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1045         (write_rc_accelerators): Use ISPRINT instead of isprint.
1046         (write_rc_rcdata): Likewise.
1047         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1048         * srconv.c (main): Likewise.
1049         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1050         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1051         isdigit/isupper/islower.
1052         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1053         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1054         stab_demangle_prefix, stab_demangle_qualified,
1055         stab_demangle_template, stab_demangle_type,
1056         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1057         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1058         (isgraphic): Use ISPRINT instead of isascii/isprint.
1059         (main): Remove HAVE_LC_MESSAGES dependency.
1060         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1061         (pbarray): Use ISPRINT instead of isprint.
1062         (main): For gettext, also set the LC_CTYPE locate facet.
1063         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1064         (format_from_filename): Use ISPRINT instead of isprint.
1065         (main): For gettext, also set the LC_CTYPE locate facet.
1066         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1067         (unicode_print): Use ISPRINT instead of isprint.
1068         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1069         (stab_variable): Use ISDIGIT instead of isdigit.
1071 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1073         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1074         Replace bfd_read call with call to bfd_bread.
1075         (extract_file): Likewise.
1077         * objdump.c (dump_section_header): Cast section->filepos to
1078         unsigned long to suit printf format string.
1079         * readelf.c (process_section_headers): Similarly for sh_offset.
1080         (process_unwind): Likewise.
1082 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1084         * strings.c (encoding, encoding_bytes): New variables.
1085         (long_options): Add --encoding.
1086         (main): Accept -e and --encoding.
1087         (get_char): New function.  Read a, possibly wide, character from
1088         the input stream.
1089         (print_strings): Use get_char().
1090         (usage): Document new command line option.
1091         * doc/binutils.texi: Document new command line option.
1092         * NEWS: Announce new command line option.
1094 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1096         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1097         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1098         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1099         Removed EM_CYGNUS_ARC.
1101 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1103         * readelf.c: Include elf/h8 for H8 series definitions.
1104         (guess_is_rela): H8 series if RELA.
1105         (dump_relocations): Handle H8 series relocations.
1107 2001-08-31  Eric Christopher  <echristo@redhat.com>
1109         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1111 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1113         * MAINTAINERS: Include ARC Maintainer.
1115 2001-08-29  Ben Elliston  <bje@redhat.com>
1117         * stabs.c (stab_demangle_template): Initialise s4.
1119 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1121         * readelf.c (dump_relocations): Recognise EM_PPC64.
1123 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1125         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1127 2001-08-25  H.J. Lu  <hjl@gnu.org>
1129         * nm.c (print_width): New.
1130         (display_rel_file): Set `print_width' according to
1131         bfd_sprintf_vma.
1132         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1134 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1136         * objcopy.c (use_alt_mach_code): New variable.
1137         (OPTION_ALT_MACH_CODE): Define.
1138         (copy_options): Added --alt-machine-code.
1139         (copy_main): Handle it.
1140         (copy_object): Switch to alternate machine code if requested.
1141         * doc/binutils.texi: Document new option.
1142         * NEWS: Likewise.
1144 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1146         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1148 2001-08-21  H.J. Lu  <hjl@gnu.org>
1150         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1151         (display_debug_info): Cast for 64bit hosts.
1152         (display_debug_frames): Likewise.
1153         (process_mips_specific): Likewise.
1155 2001-08-21  Andreas Jaeger  <aj@suse.de>
1157         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1159         * sysdump.c: Add missing prototypes.
1160         * srconv.c: Likewise.
1161         * unwind-ia64.c: Likewise.
1162         * coffdump.c: Likewise.
1164         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1166         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1167         of declaring xcalloc.
1169 2001-08-10  H.J. Lu  <hjl@gnu.org>
1171         * nm.c (print_value): Add one arg, bfd *.
1172         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1173         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1174         (print_symbol_info_sysv): Likewise.
1175         (print_symbol_info_posix): Likewise.
1177         * objdump.c (dump_section_header): Replace printf_vma with
1178         bfd_printf_vma.
1179         (print_section_stabs): Likewise.
1180         (dump_bfd_header): Likewise.
1181         (objdump_print_value): Replace sprintf_vma with
1182         bfd_sprintf_vma.
1183         (disassemble_bytes): Likewise.
1184         (dump_reloc_set): Likewise.
1186 2001-08-10  Andreas Jaeger  <aj@suse.de>
1188         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1189         to build warnings.
1190         * configure: Regenerate.
1192 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1194         * readelf.c: Add missing prototypes.
1195         * objdump.c: Likewise.  Format existing prototypes.
1197 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1199         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1200         of any RELA relocation for the abbrev_offset memory location that
1201         refers to the .debug_abbrev section symbol.
1203 2001-08-07  H.J. Lu  <hjl@gnu.org>
1205         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1206         (main): Return process_file ().
1208 2001-08-05  Philip Blundell  <philb@gnu.org>
1210         * doc/binutils.texi: Use "Thumb" not "THUMB".
1212 2001-08-03  John Healy  <jhealy@redhat.com>
1214         Patch suggested by Frank Eigler <fche@redhat.com>.
1215         * objdump.c (disassemble_data): Fill in section member of the
1216         disasm_info structure.
1218 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1220         * configure.in: Added --with-windres option.
1221         * configure: Regenerated.
1223 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1225         * doc/binutils.texi: Use @command{name} for commands;
1226         use @option{-opt} for options; use @table @env for list of options;
1227         remove spaces arround [ | ] in synopsis.
1229         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1230         center title.
1232 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1234         * objcopy.c: Fix formatting.
1235         (section_rename): New structure.
1236         (OPTION_RENAME_SECTION): New switch.
1237         (copy_usage): Document new switch.
1238         (add_section_rename): New function: Add a node to the section
1239         rename list.
1240         (find_section_rename): New function: Find the new name and
1241         flags for a section.
1242         (setup_section): Call find_section_name to determine the name
1243         of the output section.
1244         (copy_main): Handle OPTION_RENAME_SECTION.
1245         * binutils.texi: Document new switch.
1246         * NEWS: Mention new switch.
1248 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1250         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1251         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1252         bug-binutils@gcc.org.
1254 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1256         * bucomm.c (list_supported_architectures): New function.
1257         * bucomm.h (list_supported_architectures): Declare.
1258         * objdump.c (usage): Call the above.
1260 2001-07-25  Dave Brolley  <brolley@redhat.com>
1262         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1263         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1265 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1267         * README: Update for 2.11.  Change bug reporting email address.
1268         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1270 2001-07-16  DJ Delorie  <dj@redhat.com>
1272         * resres.c (write_res_header): Align header size.
1273         (res_align_file): Calculate alignment correctly.
1275         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1276         correct 10).
1277         * resrc.c (write_rc_resource): Likewise.
1278         * windres.h (SUBLANG_SHIFT): Define - as 10.
1280 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
1282         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1284 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
1286         * MAINTAINERS: Add notes about branch checkins.
1288 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
1290         * readelf.c (display_debug_macinfo): New function, display
1291         .debug_macinfo section.
1292         (do_debug_macinfo): New variable.
1293         (parse_args): Handle "-w[mM]" to mean display macro info.
1294         (process_section_headers): Handle debug_macinfo.
1295         (debug_displays): Replace unsupported function with macinfo
1296         function for .debug_macinfo display.
1297         * doc/binutils.texi: Document new command line switch.
1298         * NEWS: Document new feature of readelf.
1300 2001-07-05  H.J. Lu  <hjl@gnu.org>
1302         * objcopy.c (filter_symbols): Don't turn undefined symbols
1303         into local.
1305 2001-07-03  H.J. Lu <hjl@gnu.org>
1307         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1308         $@.pod.
1309         (ar.1): Likewise.
1310         (dlltool.1): Likewise.
1311         (nlmconv.1): Likewise.
1312         (nm.1): Likewise.
1313         (objcopy.1): Likewise.
1314         (objdump.1): Likewise.
1315         (ranlib.1): Likewise.
1316         (readelf.1): Likewise.
1317         (size.1): Likewise.
1318         (strings.1): Likewise.
1319         (strip.1): Likewise.
1320         (windres.1): Likewise.
1321         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1322         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1323         $(DEMANGLER_NAME).
1324         (as.1): Removed.
1325         * doc/Makefile.in: Regenerated.
1327 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1329         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1331 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
1333         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1335 2001-06-29  James Cownie <jcownie@etnus.com>
1337         * readelf.c: Support DWARF 2.1 attributes.
1339 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
1341         * readelf.c (GET_DATA_ALLOC): Remove.
1342         (GET_DATA): Remove.
1343         (get_data): New function combining above macros, with an extra
1344         test for zero size.
1345         (slurp_rela_relocs): Use get_data, and catch error return.
1346         (slurp_rel_relocs): Likewise.
1347         (get_32bit_program_headers): Likewise.
1348         (get_64bit_program_headers): Likewise.
1349         (get_32bit_section_headers): Likewise.
1350         (get_64bit_section_headers): Likewise.
1351         (get_32bit_elf_symbols): Likewise.
1352         (get_64bit_elf_symbols): Likewise.
1353         (process_section_headers): Likewise.
1354         (process_relocs): Likewise.
1355         (slurp_ia64_unwind_table): Likewise.
1356         (process_unwind): Likewise.
1357         (get_32bit_dynamic_segment): Likewise.
1358         (get_64bit_dynamic_segment): Likewise.
1359         (process_dynamic_segment): Likewise.
1360         (process_version_sections): Likewise.
1361         (process_symbol_table): Likewise.
1362         (dump_section): Likewise.
1363         (display_debug_info): Likewise.
1364         (display_debug_section): Likewise.
1365         (process_section_contents): Likewise.
1366         (process_corefile_note_segment): Likewise.
1367         (process_mips_specific): Likewise.  Also free econf32, econf64.
1369 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
1371         * readelf.c (dump_relocations): Print "bad symbol index" if
1372         symtab == NULL with non-zero symtab_index.
1373         (process_relocs): Don't bomb if reloc section has no symsec.
1375 2001-06-24  H.J. Lu  <hjl@gnu.org>
1377         * objcopy.c (strip_main): Revert the change made on 2001-05-30
1378         by accident.
1379         (copy_main): Apply the the change made to strip_main on
1380         2001-05-30 by accident.
1382 2001-06-23  Andreas Jaeger  <aj@suse.de>
1384         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1385         parameter 'code'.
1386         (unw_decode_x2): Likewise.
1387         (unw_decode_x3): Likewise.
1388         (unw_decode_x4): Likewise.
1390 2001-06-23  Ben Elliston  <bje@redhat.com>
1392         * MAINTAINERS: Add myself as M88k maintainer.
1394 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
1396         * objcopy.c (strip_main): Support -o or --output-file command lien
1397         switch.
1399 2001-06-19  H.J. Lu <hjl@gnu.org>
1401         * doc/Makefile.in: Regenerated.
1403 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1405         * readelf.c: Restore formatting.
1407 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1409         * Makefile.am: Move documentation into doc subdirectory.
1410         * Makefile.in: Regenerated.
1411         * binutils.texi: Move into doc subdirectory.
1412         * addr2line.1: Removed.
1413         * ar.1: Likewise.
1414         * dlltool.1: Likewise.
1415         * nlmconv.1: Likewise.
1416         * nm.1: Likewise.
1417         * objcopy.1: Likewise.
1418         * objdump.1: Likewise.
1419         * ranlib.1: Likewise.
1420         * readelf.1: Likewise.
1421         * size.1: Likewise.
1422         * strings.1: Likewise.
1423         * strip.1: Likewise.
1424         * windres.1: Likewise.
1425         * cxxfilt.man: Likewise.
1426         * doc: New Directory.
1427         * doc/Makefile.am: New file.
1428         * doc/Makefile.in: Generate.
1430 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1432         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1434 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1436         * MAINTAINERS: Update my email address.
1438 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1440         * objcopy.c: Add new switches: --keep-global-symbol,
1441         --keep-symbols, --localize-symbols, --keep-global-symbols and
1442         --weaken-symbols.
1443         * binutils.texi: Document new switches.
1444         * objcopy.1: Regenerate.
1445         * NEWS: Announce new feature.
1447 2001-05-28  Andreas Jaeger  <aj@suse.de>
1449         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1450         variables, fix format strings.
1452 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1454         * objdump.c (disassemble_bytes): Remove section VMA adjustment
1455         when computing the address of the line to show.
1457 2001-05-16  Richard Henderson  <rth@redhat.com>
1459         * readelf.c (do_debug_frames_interp): New.
1460         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1461         (byte_get_big_endian): Likewise.
1462         (parse_args) ['F']: Set do_debug_frames_interp.
1463         (Frame_Chunk): Make data_factor signed, add fde_encoding.
1464         (frame_display_row): Don't trunc pc_begin to int.
1465         (size_of_encoded_value): New.
1466         (display_debug_frames): Handle 64-bit targets.  Print raw data
1467         unless do_debug_frames_interp.
1468         (debug_displays): Remove duplicate .debug_frame.
1470 2001-05-15  Ralf Baechle  <ralf@gnu.org>
1472         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1473         The former constant was never in active use and is used otherwise
1474         by the ABI.
1476 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1478         * readelf.c (process_unwind): Print all unwind sections, not just
1479         one.
1481 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1483         * readelf.c (process_unwind): Remove const specifier.
1485 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1487         * strings.c (isgraphic): Do not use isascii() unless it is needed
1488         for isprint() to work.
1489         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1491 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1493         * NEWS: Announce support for OpenRISC.
1495 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1497         * dlltool.c (do_default_excludes): Initialise to true.
1499 2001-04-10  Alan Modra  <amodra@one.net.au>
1501         * MAINTAINERS: Update my email address
1502         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1504 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1506         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1508 2001-03-30  H.J. Lu  <hjl@gnu.org>
1510         * readelf.c (process_unwind): Just return if do_unwind is 0.
1512 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1514         * dlltool.c (make_one_lib_file): Fix section flags for
1515         .text, .data and .bss in stub ds*.o files to match those
1516         generated by gas.
1518 2001-03-29  H.J. Lu  <hjl@gnu.org>
1520         * readelf.c (process_unwind): Only do unwind sections for
1521         IA64.
1523 2001-03-28  H.J. Lu  <hjl@gnu.org>
1525         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1526         * Makefile.in: Regenerate.
1528 2001-03-26  Andreas Jaeger  <aj@suse.de>
1530         * binutils.texi (nm): Fix texi syntax.
1532 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1534         * binutils.texi: Put @c man begin and @c man end indications
1535         to generate man pages using texi2pod and pod2man. Put @c man title
1536         to identify each man. Add SEEALSO entries.
1537         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1538         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1539         sort the list.
1540         (*.1): Build the man pages from binutils.texi.
1541         * Makefile.in: Regenerate.
1543 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1545         * defparse.y (opt_equal_name): allow "." in name.
1546         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1547         (gen_exp_file): Likewise.
1549 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1551         * NEWS: Document addition of -B switch to objcopy.
1552         * binutils.texi:  Document addition of -B switch to objcopy.
1553         * objcopy.c: (copy_options): Add --binary-architecture.
1554         (copy_usage): Document -B/--binary-architecture.
1555         (copy_main): Support -B/--binary-architecture.  Set
1556         bfd_external_binary_architecture.
1558 2001-03-11  Andreas Jaeger  <aj@suse.de>
1560         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1561         (dump_relocations): Likewise.
1562         (get_machine_name): Likewise.
1564 2001-02-28  Nick Clifton  <nickc@redhat.com>
1566         * readelf.c: (struct unw_aux_info): Remove const modifier for
1567         'strtab' field.
1568         (process_unwind): Remove non-K&R compliant LHS type cast in call
1569         to GET_DATA_ALLOC macro.
1571 2001-02-28  Philip Blundell  <pb@futuretv.com>
1573         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1574         ABI is in use; remove ambiguity between the "unknown" EABI and
1575         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1576         renamed EF_xx constants.
1578 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1580         * configure.in (BFD_VERSION): New.
1581         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1582         * configure: Regenerate.
1583         * Makefile.am: Run "make dep-am"
1584         * Makefile.in: Regenerate.
1586 2001-02-14  Nick Clifton  <nickc@redhat.com>
1588         * MAINTAINERS: Add "Obvious Fix" rule.
1590 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1592         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1593         literal concatenation.
1595 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1597         * readelf.c (struct unw_aux_info): Remove const from the info member.
1598         (process_unwind): Don't type-cast the third argument to the
1599         GET_DATA_ALLOC macro.
1601 2001-02-11  Nick Clifton  <nickc@redhat.com>
1603         * readelf.c (dump_relocations): Free corrected allocated
1604         array.
1605         (process_unwind): Fix compile time warning.
1607 2001-02-10  Nick Clifton  <nickc@redhat.com>
1609         * binutils.texi: Document new --unwind option to readelf.
1611 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1613         * readelf.c: Add linux target for S/390.
1615 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1617         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1618         printf is a macro.
1620 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1622         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1623         * aclocal.m4: Regenerate.
1624         * configure: Regenerate.
1626 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1628         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1629         * objdump.c (bfd_target_vector): Likewise.
1631 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1633         * readelf.c (process_unwind): New function.
1634         (slurp_ia64_unwind_table): Ditto.
1635         (dump_ia64_unwind): Ditto.
1636         (find_symbol_for_address): Ditto.
1637         (slurp_rela_relocs): New function (split off from dump_relocations()).
1638         (slurp_rel_relocs): Ditto.
1639         (parse_args): Handle '-u' option.
1641         * unwind-ia64.c: New file.
1642         * unwind-ia64.h: New file.
1643         * Makefile.am: Include unwind-ia64.c in readelf build.
1644         * Makefile.in: Regenerate.
1645         * po/binutils.pot: Regenerate.
1647 2001-02-04  Philip Blundell  <philb@gnu.org>
1649         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1650         * configure: Regenerate.
1652 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1654         * ieee.c (ieee_add_bb11): Don't check for backslashes
1655         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1657 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1659         * ieee.c: Update copyright.
1660         (ieee_start_compilation_unit): Don't check for backslashes
1661         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1663         * stabs.c: Update copyright. Include "filenames.h".
1664         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1666 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1668         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1669         sections are present before using them.  Remove code duplication.
1670         (process_symbol_table): Check if VERDEF or VERNEED sections are
1671         present before using them.
1673 2001-01-17  Nick Clifton  <nickc@redhat.com>
1675         * objcopy.c (copy_object): Fail if attempting to convert the
1676         endianness of the input object file.
1678         * binutils.texi: Explain that objcopy cannot convert endianness.
1680 2001-01-16  Nick Clifton  <nickc@redhat.com>
1682         * readelf.c (string_table_length): New variable.
1683         (SECTION_NAME): Catch out of range indices and missing section
1684         pointers.
1685         (process_section_headers): Delete useless local variable
1686         string_table_offset.  Set the value of string_table_length
1687         after loading the string table.
1688         (process_mips_specific): Use SECTION_NAME macro.
1689         (process_file): Set string_table_length to 0 when it is freed.
1691 2001-01-12  Nick Clifton  <nickc@redhat.com>
1693         * version.c (print_version): Update copyright date.
1695 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1697         * readelf.c (dump_relocations): Include selection with EM_ARC.
1698         (get_machine_name) Update name to "ARC".
1700 2001-01-09  Nick Clifton  <nickc@redhat.com>
1702         * Makefile.am: Add rule to build objdump.o from objdump.c and
1703         using OBJDUMP_DEFS.
1704         * Makefile.in: Regenerate.
1706         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1707         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1708         -DDISASSEMBLER_NEEDS_RELOCS.
1709         * configure: Regenerate.
1711         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1712         is defined read in the relocs even if dump_reloc_info is
1713         false.
1715 2001-01-07  Philip Blundell  <philb@gnu.org>
1717         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1718         `bug-binutils'.
1719         * README: Likewise.
1721 2000-12-19  Nick Clifton  <nickc@redhat.com>
1723         * dlltool.c: Add missing support for arm-epoc-pe.
1724         * configure.in: Add missing support for arm-epoc-pe.
1725         * configure: Regenerate.
1727 2000-12-15  Nick Clifton  <nickc@redhat.com>
1729         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1730         Mode parts of the x86 port.
1732 2000-12-04  Andreas Jaeger  <aj@suse.de>
1734         * readelf.c (guess_is_rela): Add EM_X86_64.
1735         (dump_relocations): Add EM_X86_64.
1736         (get_machine_name): Add EM_X86_64.
1737         Include "elf/x86-64.h".
1739 2000-12-12  Nick Clifton  <nickc@redhat.com>
1741         * readelf.c: Fix formatting.
1743 2000-12-11  Jan Hubicka  <jh@suse.cz>
1745         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1747 2000-12-07  Andrew Haley  <aph@redhat.com>
1749         * readelf.c (display_debug_frames): Only display columns that are
1750         referenced by the frame debug info.
1752 2000-12-05  Nick Clifton  <nickc@redhat.com>
1754         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1756 2000-12-04  Jason Merrill  <jason@redhat.com>
1758         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1759         (display_debug_section): Likewise.
1760         (display_debug_info): Display CU header before bailing.
1762 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1764         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1765         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1766         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1768         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1769         and E_MIPS_ARCH_64.
1771         * readelf.c (get_machine_flags): Add case for
1772         E_MIPS_MACH_SB1.
1774 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1776         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1778 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1780         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1781         Change sourceware.cygnus.com to sources.redhat.com.
1782         Fix typo for "amongst".
1784 2000-11-28  Nick Clifton  <nickc@redhat.com>
1786         * strip.1 (COPYING): Mention that the GNU Free Documentation
1787         License is present in the sources, but not the output, and
1788         also available from the GNU website.
1789         (GNU Free Documentation License): Comment out this section.
1790         * strings.1: Ditto.
1791         * size.1: Ditto.
1792         * ranlib.1: Ditto.
1793         * objdump.1: Ditto.
1794         * objcopy.1: Ditto.
1795         * nm.1: Ditto.
1796         * nlmconv.1: Ditto.
1797         * ar.1: Ditto.
1798         * addr2line.1: Ditto.
1800 2000-11-27  DJ Delorie  <dj@redhat.com>
1802         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1803         (parse_args): Support -wf option.
1804         (process_section_headers): Ditto.
1805         (debug_displays): Ditto.
1806         (display_debug_frames): New, dump *_frame sections.
1807         (frame_need_space): Support for above.
1808         (frame_display_row): Ditto.
1809         * binutils.texi: Document it.
1811 2000-11-24  Nick Clifton  <nickc@redhat.com>
1813         * NEWS: Announce support for v5t, v5te and XScale.
1815 2000-11-22  Nick Clifton  <nickc@redhat.com>
1817         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1818         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1819         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1820         (get_elf_section_flags: Add SHF_GROUP.
1821         (process_section_headers): Adjust output for 32-bit binaries
1822         to look nice on an 80 column terminal.
1824 2000-11-20  H.J. Lu  <hjl@gnu.org>
1826         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1827         ELFOSABI_AIX.
1829 2000-11-17  Richard Henderson  <rth@redhat.com>
1831         * readelf.c (display_debug_lines): Adjust last change to
1832         use sizeof (external->li_length).
1834 2000-11-17  Richard Henderson  <rth@redhat.com>
1836         * readelf.c (display_debug_lines): Fix section length check
1837         and end_of_sequence computation.
1839 2000-11-06  Nick Clifton  <nickc@redhat.com>
1841         * binutils.texi: Add GNU Free Documentation License.
1842         * objcopy.1: Add GNU Free Documentation License.
1843         * objdump.1: Add GNU Free Documentation License.
1844         * addr2line.1: Add GNU Free Documentation License.
1845         * ar.1: Add GNU Free Documentation License.
1846         * nlmconv.1: Add GNU Free Documentation License.
1847         * nm.1: Add GNU Free Documentation License.
1848         * ranlib.1: Add GNU Free Documentation License.
1849         * size.1: Add GNU Free Documentation License.
1850         * strings.1: Add GNU Free Documentation License.
1851         * strip.1: Add GNU Free Documentation License.
1853 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1855         * objcopy.c (--srec-len=nn): New parameter to set the
1856         maximum length of generated Srecords.
1857         (--srec-forceS3): New parameter that restricts the generation of
1858         Srecords to type S3 only.
1859         * binutils.texi: Document new command line switches.
1860         * objcopy.1: Docuemnt the new command line switches.
1861         * NEWS: Announce the existence of the new command line switches.
1863 2000-10-31  Nick Clifton  <nickc@redhat.com>
1865         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1866         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1868 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1870         * Make comma after string after icon/control optional.
1872 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1874         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1876         * NEWS: Mention support for MIPS32.
1878 2000-09-08  Nick Clifton  <nickc@redhat.com>
1880         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1882 2000-09-07  H.J. Lu  <hjl@gnu.org>
1884         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1885         * configure: Rebuild.
1887 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1889         * configure: Rebuilt with new libtool.m4.
1891 2000-09-05  Nick Clifton  <nickc@redhat.com>
1893         * aclocal.m4: Regenerate.
1894         * config.in: Regenerate.
1895         * configure: Regenerate.
1897 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1899         * strip.1: Fix stray '\' in -o formatting.
1901 2000-09-02  Nick Clifton  <nickc@redhat.com>
1903         * configure.in: Increase version number to 2.10.91.
1904         * configure: Regenerate.
1905         * aclocal.m4: Regenerate.
1906         * config.in: Regenerate.
1907         * po/binutils.pot: Regenerate.
1909 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1911         * acinclude.m4: Include libtool and gettext macros from the
1912         top level.
1913         * aclocal.m4, configure: Rebuilt.
1915 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1917         * resrc.c (close_input_stream): Delete extraneous logic
1919 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1921         * NEWS: Mention support for CRIS.
1923 2000-08-21  Nick Clifton  <nickc@redhat.com>
1925         * addr2line.c: Changed email address for Ulrich Lauther.
1927 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1929         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1931 2000-08-17  Nick Clifton  <nickc@redhat.com>
1933         * readelf.c (display_debug_pubnames): Only issue warning
1934         message once.  Terminate message with a new line.
1935         (display_debug_aranges): Only display version 2 debug info.
1937 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1939         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1940         for compatability with old BSD systems.
1942 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1944         * NEWS: Mention i860 support.
1946 2000-08-11  Carlo Wood <carlo@alinoe.com>
1948         * addr2line.c (main): Add const to char *.
1950 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1952         * ar.c (main): Don't crash if called with no arguments
1953         or only '-X32_64' as an argument.
1955 2000-08-08  DJ Delorie  <dj@redhat.com>
1957         * resrc.c: use "gcc -xc" instead of -xc-header
1959 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
1961         * readelf.c (elf/i860.h): Include.
1962         (dump_relocations): Add recognition of i860 architecture.
1963         (guess_is_rela): Add recognition of i860 architecture.
1965 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1967         * MAINTAINERS: Add information about CGEN maintainers.
1969 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
1971         * nm.c (main): Ignore '-X32_64' as an option.
1972         * ar.c (main): Likewise.
1973         * binutils.texi (nm): Document new option.
1974         (ar): Likewise.
1976 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1978         * rdcoff.c (external_coff_symbol_p): K&R-ise.
1980 2000-07-20  H.J. Lu  <hjl@gnu.org>
1982         * binutils.texi: Put back "@end table" deleted by
1983         accident.
1985 2000-07-05  Kenneth Block  <krblock@computer.org>
1987         * nm.c: Add optional style to demangle switch.
1988         * objdump.c: Add optional style to demangle switch.
1989         * addr2line.c: Add optional style to demangle switch.
1990         * binutils.texi: Document optional style to demangle
1991         switch.
1993 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1995         * MAINTAINERS: Add self as CRIS port maintainer.
1996         * readelf.c: Include elf/cris.h.
1997         (guess_is_rela): Handle EM_CRIS.
1998         (dump_relocations): Ditto.
1999         (get_machine_name): Ditto.
2000         * Makefile.am: Rebuild dependencies.
2001         * Makefile.in: Regenerate.
2002         * po/binutils.pot: Regenerate.
2004 2000-07-19  H.J. Lu  <hjl@gnu.org>
2006         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2007         "AUXILIARY".
2008         (process_dynamic_segment): Print out strings for DT_CONFIG,
2009         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2011 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2013         * nm.c (usage): Change output of `nm --help' to include a
2014         description of the purpose of the program and a detailed
2015         description of the accepted options.
2017 2000-07-19  H.J. Lu  <hjl@gnu.org>
2019         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2020         to DF_1_NODEFLIB.
2022 2000-07-19  H.J. Lu  <hjl@gnu.org>
2024         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2026 2000-07-19  H.J. Lu  <hjl@gnu.org>
2028         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2029         DT_FEATURE.
2030         (process_dynamic_segment): Likewise.
2032         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2033         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2034         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2035         DF_1_NODUMP and DF_1_CONLFAT.
2037 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2039         * binutils.texi (readelf): Fix spelling typo.
2041 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2043         * objdump.c (usage): Make output of `objdump --help' more
2044         consistent with the rest of the GNU world.  Add a line describing
2045         the purpose of the program.
2047 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2049         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2050         warning.
2052 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2054         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2055         to fix warnings.
2056         (process_symbol_table): Ditto.
2057         (procesS_extended_line_op): Ditto.
2058         (display_debug_lines): Ditto.
2059         (display_debug_pubnames): Ditto.
2060         (read_and_display_attr): Ditto.
2062 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2064         * MAINTAINERS: Add several more port specific maintainers.
2066 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2068         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2070 2000-06-05  DJ Delorie  <dj@redhat.com>
2072         * MAINTAINERS: New.
2074 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2076         * dllwrap.c: Changed mistaken dyn_string_append() calls
2077         to dyn_string_append_cstr().
2079 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2081         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2082         struct debug_type stores size in bytes.
2084 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2086         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2087         (CLEANFILES): Add DEPA.
2088         * Makefile.in: Regenerate.
2090 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2092         * ar.c: Revert incorrect 2000-06-25 patch.
2093         * bucomm.c: Likewise.
2095 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2097         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2098         (external_coff_symbol_p): New function.
2099         (parse_coff): Use it.
2101 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2103         * ar.c (normalize): Advance past both characters in a DOS based
2104         <letter>: filepath prefix.
2105         (main): Likewise.
2106         * bucomm.c (make_tempname): Likewise.
2108 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2110         * objdump.c (usage): Fix description of --stabs switch.
2112 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2114         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2115         find one.
2116         * Makefile.in: Regenerate.
2118 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2120         * ar.c (normalize): Correct pointer comparison when checking for
2121         backslashes.
2122         (main): Likewise.
2123         * bucomm.c (make_tempname): Likewise.
2125         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2126         and search for backslashes in the original pathname.
2127         (ieee_add_bb11): Likewise.
2129 2000-06-18  Nick Clifton  <nickc@redhat.com>
2131         * ar.c (print_contents): Improve verbose message.
2133 2000-06-15  H.J. Lu  <hjl@gnu.org>
2135         * dyn-string.c: Removed. Not needed with dyn-string.c in
2136         libiberty.
2137         * dyn-string.h: Likewise.
2139         * Makefile.am: Remove references to dyn-string.c and
2140         dyn-string.h. Rebuild dependency.
2141         * Makefile.in: Rebuild.
2143 2000-06-15  H.J. Lu  <hjl@gnu.org>
2145         * binutils.texi: Put a warning on copying relocatable object
2146         files between two different formats.
2148 2000-06-13  DJ Delorie  <dj@cygnus.com>
2150         * rcparse.y (control): ICON controls take an id as the first
2151         parameter, not an optional string.  Also, call new convenience
2152         function that takes res_id's.
2153         * resrc.c (define_control): missing text means zero-length string,
2154         not zero ID.
2155         (define_icon_control): New.
2156         * windres.h: declare define_icon_control.
2158 2000-06-13  H.J. Lu  <hjl@gnu.org>
2160         * configure: Regenerate.
2162 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2164         * configure.in (VERSION): Update to show this is the CVS mainline.
2166 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2168         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2169         analogous to <SPACE>.
2171 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2173         * objdump.c (display_target_list): Use bfd_close_all_done, not
2174         bfd_close to fix crash caused by 2000-05-24 change.
2176 2000-05-25  DJ Delorie  <dj@cygnus.com>
2178         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2180 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2182         * Makefile.am: Update dependencies with "make dep-am"
2183         * Makefile.in: Regenerate.
2185 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2187         * ar.c: Include filenames.h.
2188         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2189         and drive letters in file names.
2190         (main): Support backslashes and drive letters in argv[0].  Drop
2191         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2192         FILENAME_CMP instead of strcmp to compare file names.
2193         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2194         DJGPP v2.
2195         (do_quick_append) [__GO32__]: Ditto.
2196         (get_pos_bfd, delete_members, move_members, replace_members):
2197         Compare file names with FILENAME_CMP.
2199         * bucomm.c: Include filenames.h.
2200         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2201         forward/backward slashes and drive letters in file names.
2203         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2204         mixed forward/backward slashes and drive letters in file names.
2206         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2207         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2208         mode.
2210         * objcopy.c: Include filenames.h.
2211         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2212         before comparing to "strip".
2213         Use FILENAME_CMP to compare file names.
2215         * arsup.c: Include filenames.h.
2216         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2217         FILENAME_CMP to compare file names.
2218         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2219         the temporary file name.
2221         * configure.in: Check for setmode.
2222         * configure: Regenerate.
2224 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2226         * objdump.c (display_target_list): Close the bfd.
2227         (display_info_table): Likewise.
2229 2000-05-14  H.J. Lu  (hjl@gnu.org)
2231         * objcopy.c (filter_symbols): Don't strip global symbols in
2232         relocatable object files.
2234 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2236         * size.c (usage): Associate short options with corresponding long
2237         option to give a clue as to their function.
2239 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2241         * size.c (main): Accept and ignore `-f' option.
2243 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2245         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2246         bindtextdomain): Replace defines with those from intl/libgettext.h
2247         to quieten gcc warnings.
2249 2000-05-12  H.J. Lu  <hjl@gnu.org>
2251         * nlmconv.c (temp_filename): Removed.
2253         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2254         choose_temp_base ().
2255         * objdump.c (display_target_list): Likewise.
2256         (display_info_table): Likewise.
2258 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2260         * objcopy.c (setup_section): Add const and gettext calls for err.
2262 2000-05-02  H.J. Lu  <hjl@gnu.org>
2264         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2265         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2266         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2267         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2268         and ELFOSABI_OPENBSD.
2270 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2272         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2273         * srconv.c: Likewise.
2274         * sysdump.c: Likewise.
2276 2000-04-23  Denis Chertykov  <denisc@overta.ru>
2278         * readelf.c (guess_is_rela): AVR uses RELA relocations.
2279         (get_machine_name): machine name for EM_AVR added.
2281 2000-04-21  Richard Henderson  <rth@cygnus.com>
2282             David Mosberger  <davidm@hpl.hp.com>
2284         * Makefile.am (readelf.o): Add elf/ia64.h.
2285         * Makefile.in: Rebuild.
2286         * readelf.c: Include elf/ia64.h.
2287         (guess_is_rela, dump_relocations): Handle EM_IA_64.
2289 2000-04-17  Timothy Wall  <twall@cygnus.com>
2291         * objdump.c (disassemble_data): Set octets per byte *after*
2292         resolving arch/mach for binary files.
2294 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2296         * arlex.l: Add directives to increase lex buffer size.
2298         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2299         already included by bucomm.h.
2301 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
2303         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2304         `strftime' since strftime is not available on all systems.
2305         (process_mips_specific): Ditto.
2307 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
2309         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
2310         --enable-build-warnings option.
2311         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2312         * Makefile.in, configure: Re-generate.
2314 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
2316         * addr2line.c: Update copyright.
2317         * objcopy.1: Likewise, and title.
2318         * strings.1: Likewise.
2320         * version.c (print_version): Add 2000.
2322         * rddbg.c (read_section_stabs_debugging_info): Don't use
2323         bfd_size_type for strx to avoid printf problems if BFD64.
2325         * bucomm.c: (report): Remove `static'.
2326         Move inclusion of stdarg.h/vararg.h from here.
2327         * bucomm.h: To here.
2328         (CONST): Change all occurences to const.
2329         (report): Declare it.
2330         (bfd_fatal): Add ATTRIBUTE_NORETURN.
2331         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2332         (non_fatal): Add ATTRIBUTE_PRINTF_1.
2334         * ar.c (main): Use fatal or non_fatal instead of fprintf.
2335         Correct a typo in an error message.
2336         (do_quick_append): Use non_fatal instead of fprintf.
2337         (move_members): Use fatal instead of fprintf, exit.
2338         * coffdump.c (main): Same here.
2340         * dlltool.c (display): Delete.
2341         (warn): Delete.
2342         (inform): Use `report' instead of `display'.
2343         (rvaafter): Remove trailing \n from fatal error msg.
2344         (rvabefore): Ditto.
2345         (asm_prefix): Ditto.
2346         (yyerror): Replace `warn' with `non_fatal', and remove \n.
2347         (def_name): Likewise.
2348         (run): Likewise.
2349         (scan_all_symbols): Likewise.
2350         (gen_lib_file): Likewise.
2351         (def_library): Likewise.  Remove extra program_name too.
2352         (run): Remove \n from inform strings.
2353         (scan_drectve_symbols): Likewise.
2354         (add_excludes): Likewise.
2355         (scan_open_obj_file): Likewise.
2356         (gen_exp_file): Likewise.
2357         (gen_lib_file): Likewise.
2358         (process_duplicates): Likewise.
2360         * Makefile.am (dllwrap_SOURCES): Add version.c.
2361         * dllwrap.c (program_version): Delete.
2362         (print_version): Delete.
2363         (display): Always print trailing \n.
2364         (warn): New.
2365         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
2366         (run): Here too.
2367         (main): And here.
2368         (usage): gettext'ify.
2369         (long_options): Add missing initialisers.
2371         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2372         (select_output_format): Likewise.
2373         (powerpc_mangle_relocs): Likewise.
2374         (link_inputs): Likewise.
2376         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2377         (set_output_format): Likewise.
2378         (main): Use non_fatal instead of fprintf.
2379         (display_rel_file): Likewise.
2381         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2382         (slurp_dynamic_symtab): Same here.
2383         (disassemble_data): And here.
2384         (read_section_stabs): And here.
2385         (read_section_stabs): And here.
2386         (dump_bfd): And here.
2387         (main): And here.
2388         (objdump_sprintf): Use fatal instead of fprintf, exit.
2389         (disassemble_data): Same here.
2391         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2392         (parse_coff_struct_type): Same here.
2393         (parse_coff_enum_type): And here.
2394         (parse_coff): And here.
2395         * rddbg.c (read_debugging_info): And here.
2396         * size.c (main): And here.
2397         * windres.c (format_from_name): And here.
2398         * wrstabs.c (stab_write_symbol): Here too.
2399         (write_stabs_in_sections_debugging_info): And here.
2400         (stab_int_type): And here.
2401         (stab_struct_field): And here.
2402         (stab_typdef): And here.
2404         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2405         * srconv.c (main): Same here.
2406         * strings.c (main): And here.
2407         (integer_arg): And here.
2408         * sysdump.c (main): And here.
2410 2000-04-06  Timothy Wall  <twall@cygnus.com>
2412         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2414 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2416         * readelf.c (decode_location_expression): Loop through multiple
2417         operations.
2418         (read_and_display_attr): Pass in length.
2420         * readelf.c (read_and_display_attr): Add CU offset to references.
2421         (display_debug_info): Pass it in.
2423 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2425         * readelf.c (decode_ARM_machine_flags): New function.
2426         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2427         targets.
2429         (get_machine_name): Catch EM_AVR
2431 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2433         * binutils.texi: Remove optional `=' from long options that have
2434         an `=' in the argument.
2435         * objcopy.1: Here too.  Remove extra space on discard-all.
2437         * binutils.texi (objcopy): Mention --redefine-sym.
2438         * objcopy.1: Here too.
2439         * NEWS: And here.
2441         * objcopy.c (parse_flags): Split off flag names from error message
2442         gettext as they are not translated.
2443         (copy_main): Similarly split off option name for --add-section,
2444         --set-section-flags, --change-section-vma, --change-section-lma
2445         error messages.
2446         Some white space changes.
2448         from Matthew Benjamin <matt@linuxbox.nu>
2449         * objcopy.c (struct redefine_node): New.
2450         (redefine_sym_list): New.
2451         (redefine_list_append): New.
2452         (lookup_sym_redefinition): New.
2453         (OPTION_REDEFINE_SYM): New.
2454         (copy_options): Add --redefine-sym option.
2455         (copy_usage): Mention it.
2456         (filter_symbols): Rename symbols on redefine_sym_list.
2457         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2458         (copy_main): Handle OPTION_REDEFINE_SYM.
2460 2000-04-04  H.J. Lu  <hjl@gnu.org>
2462         * readelf.c (process_symbol_table): Correctly read in symbol
2463         versioning information.
2465 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
2467         * po/binutils.pot: Regenerate.
2469         * addr2line.c (usage): Restore translated part of bug string.
2470         * ar.c (usage): Likewise.
2471         * nlmconv.c (show_usage): Likewise.
2472         * nm.c (usage): Likewise.
2473         * objcopy.c (copy_usage): Likewise.
2474         (strip_usage): Likewise.
2475         * objdump.c (usage): Likewise.
2476         * readelf.c (usage): Likewise.
2477         * size.c (usage): Likewise.
2478         * strings.c (usage): Likewise.
2479         * windres.c (usage): Likewise.
2481         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2482         (DEP): Quote when passing vars to sub-make.  Add warning
2483         message to end.
2484         (DEP1): Rewrite for "gcc -MM".
2485         (CLEANFILES): Add DEP2.
2486         Update dependencies.
2487         * Makefile.in: Regenerate.
2489 2000-04-04  H.J. Lu  <hjl@gnu.org>
2491         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2492         (arparse.h): Depend on arparse.c
2493         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2495 2000-04-03  H.J. Lu  (hjl@gnu.org)
2497         * size.c (usage): Use REPORT_BUGS_TO.
2499 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2501         * bucomm.h: #include "bin-bugs.h"
2502         * addr2line.c (usage): Use REPORT_BUGS_TO.
2503         * ar.c (usage): Likewise.
2504         * nlmconv.c (show_usage): Likewise.
2505         * nm.c (usage): Likewise.
2506         (OPTION_TARGET): Define.
2507         (long_options): Use OPTION_TARGET rather than 200.
2508         (main): Likewise.
2510         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2511         (strip_usage): Likewise.
2512         * objdump.c (usage): Likewise.
2513         * readelf.c (usage): Likewise.
2514         * strings.c (usage): Likewise.
2515         * windres.c (usage): Likewise.
2517 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2519         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2521 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2523         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2524         string offsets in corrupt stabs entries.
2526 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2528         * readelf.c: Include elf/avr.h
2529         (dump_relocations): Add EM_AVR case.
2531 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2533         * strings.1: Correct '-bytes' to '--bytes'.
2535 2000-03-08  H.J. Lu  <hjl@gnu.org>
2537         * Makefile.am (install-exec-local): Depend on
2538         install-binPROGRAMS for parallel make.
2539         * Makefile.in: Regenerated.
2541 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2543         From Brad Lucier <lucier@math.purdue.edu>:
2544         * readelf.c (process_dynamic_segment): Add cast to make sure
2545         argument to %* is int.
2547 2000-02-25  H.J. Lu  <hjl@gnu.org>
2549         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2551 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2553         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2554         * configure: Regenerate.
2556         * dlltool.c: Add support for sh-pe and mips-pe targets.
2557         * rescoff.c: Add support for sh-pe and mips-pe targets.
2559 2000-02-23  H.J. Lu  <hjl@gnu.org>
2561         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2563 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2565         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2567 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2569         From Brad Lucier <lucier@math.purdue.edu>:
2570         * readelf.c (process_version_sections): Add casts to make sure
2571         argument to %* is an int.
2572         (process_mips_specific): Add casts to make printf arguments match
2573         format.
2575 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2577         * objdump.c (dump_section_header): Change `opb' to unsigned.
2578         (find_symbol_for_address): Same here.
2579         (disassemble_data): And here.  Change `addr_offset',
2580         `stop_offset', `nextstop_offset' to unsigned long.
2581         (dump_data): Change opb to unsigned.
2583 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2585         * resrc.c: Remove unmatched #if for cygwin.
2587 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2589         * binutils.texi: Document the change of flavor name from atpcs-special
2590         to special-atpcs to prevent name conflict in gdb.
2592 2000-02-08  Timothy Wall  <twall@redhat.com>
2594         * objdump.c (show_line): Fix bug preventing printing of the very
2595         first line (line zero) of a file when interlisting source and
2596         assembly.  Added option to print entire context from start of file
2597         when the first line from that file is encountered.
2599 2000-02-03  Timothy Wall <twall@redhat.com>
2601         * objdump.c (dump_section_header, find_symbol_for_address,
2602         show_line, disassemble_bytes, disassemble_data, dump_data):
2603         distinguish between octets and bytes.
2605 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2607         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2608         check to unresolved symbols.
2609         (print_symbol_info_sysv):  Ditto.
2610         (print_symbol_info_posix):  Ditto.
2612         * binutils.texi: Document new 'V' symclass flag for nm.
2614 2000-01-27  Nick Clifton  <nickc@redhat.com>
2616         * binutils.texi (objdump): Document new ARM specific
2617         disassembler options.
2619         * objdump.c (usage): Call disassembler_usage().
2621 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2623         * readelf.c (get_dynamic_flags): Return buff.
2624         (process_dynamic_segment): Don't pass error strings to printf
2625         as format arg.
2626         (read_and_display_attr): Use lx and ld to print longs.
2627         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2628         before printing.
2629         Update copyright.
2631 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2633         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2635 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2637         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2638         false.
2639         (debug_tag_type): Here too.
2640         * ieee.c (ieee_builtin_type): And here.
2641         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2643 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2645         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2646         System/370".
2648 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2650         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2652 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2654         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2656 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2658         * windres.c (long_options): Add --use-temp-file and
2659         --no-use-temp-file options.
2660         (usage): Document.
2661         (main): Handle.
2663         * windres.h: Update read_rc_file prototype.
2665         * resrc.c (cpp_temp_file): New static variable.
2666         (istream_type): New static variable.
2667         (close_pipe): Delete function.
2668         (run_cmd): New static function.
2669         (open_input_stream): New static function.
2670         (close_input_stream): New static function.
2671         (look_for_default): Handle DOS directory separator. Use
2672         open_input_stream instead of popen.
2673         (read_rc_file): Likewise.
2675         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2676         options.
2678 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2680         * dlltool.c (create_compat_implib): New variable.
2681         (gen_exp_file): Use.
2682         (make_one_lib_file): Use.
2683         (long_options): Add --compat-implib option.
2684         (usage): Handle.
2685         (main): Handle.
2687         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2688         (main): Use. Don't look for "32" in cygwin and mingw target names.
2690 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2692         * binutils.texi: Document new, ARM specific disassembler
2693         command line switch "-M force-thumb".
2695 For older changes see ChangeLog-9899
2697 Local Variables:
2698 mode: change-log
2699 left-margin: 8
2700 fill-column: 74
2701 version-control: never
2702 End: