daily update
[binutils.git] / binutils / ChangeLog
blob6ee23c4060a260d27ec23b9b989966a37fcc3e22
1 2003-10-20  Andrew Cagney  <cagney@redhat.com>
3         * coffgrok.h (coff_section): Replace 'struct sec" with "struct
4         bfd_section".
6 2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
8         * objdump.c (read_section_stabs): Just read one section, return
9         pointer to it. Add size parameter.
10         (print_section_stabs): Add string offset parameter. Adjust.
11         (struct stab_section_names): Add string offset member.
12         (find_stabs_sections): Correct check for split section suffix,
13         adjust read_section_stabs and print_section_stabs calls.
14         (dump_stabs_section): Clear string_offset, free string table.
16 2003-10-01  Martin Fuchs  <martin-fuchs@gmx.net>
18         * resrc.c (define_icon): Fix storage of color attributes 'planes' and
19         'bit count' in icon groups.
21 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
23         * NEWS: Add an indication of the cutoff for 2.14.
25 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
27         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
29 2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31         * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
32         (get_symbol_index_type): Likewise.
34 2003-09-25  H.J. Lu  <hongjiu.lu@intel.com>
36         * readelf.c (process_version_sections): Indent version names.
38 2003-09-15  Anthony Green  <green@redhat.com>
40         * dlltool.c (prefix_encode): Fix ISO C90 conversion.
41         (dlltmp): Ditto.
42         (dtab): Ditto.
44 2003-09-14  Andreas Jaeger  <aj@suse.de>
46         * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
47         unneeded (void *) casts.
48         * ar.c: Likewise.
49         * arlex.l: Likewise.
50         * arparse.y: Likewise.
51         * arsup.c: Likewise.
52         * binemul.c: Likewise.
53         * binemul.h: Likewise.
54         * bucomm.c: Likewise.
55         * bucomm.h: Likewise.
56         * budbg.h: Likewise.
57         * budemang.c: Likewise.
58         * budemang.h: Likewise.
59         * coffdump.c: Likewise.
60         * coffgrok.c: Likewise.
61         * cxxfilt.c: Likewise.
62         * debug.c: Likewise.
63         * debug.h: Likewise.
64         * deflex.l: Likewise.
65         * dlltool.c: Likewise.
66         * dlltool.h: Likewise.
67         * dllwrap.c: Likewise.
68         * emul_aix.c: Likewise.
69         * filemode.c: Likewise.
70         * ieee.c: Likewise.
71         * nlmconv.c: Likewise.
72         * nlmconv.h: Likewise.
73         * nlmheader.y: Likewise.
74         * nm.c: Likewise.
75         * prdbg.c: Likewise.
76         * rclex.l: Likewise.
77         * rcparse.y: Likewise.
78         * rdcoff.c: Likewise.
79         * rddbg.c: Likewise.
80         * rename.c: Likewise.
81         * resbin.c: Likewise.
82         * rescoff.c: Likewise.
83         * resrc.c: Likewise.
84         * size.c: Likewise.
85         * srconv.c: Likewise.
86         * stabs.c: Likewise.
87         * strings.c: Likewise.
88         * sysdump.c: Likewise.
89         * sysinfo.y: Likewise.
90         * syslex.l: Likewise.
91         * unwind-ia64.c: Likewise.
92         * unwind-ia64.h: Likewise.
93         * version.c: Likewise.
94         * windres.c: Likewise.
95         * windres.h: Likewise.
96         * winduni.c: Likewise.
97         * wrstabs.c: Likewise.
99 2003-09-10  James E Wilson  <wilson@specifixinc.com>
101         * MAINTAINERS: Update my e-mail address.
103 2003-09-09  Ian Lance Taylor  <ian@wasabisystems.com>
105         * MAINTAINERS: Update my e-mail address.
107 2003-09-04  Nick Clifton  <nickc@redhat.com>
109         * MAINTAINERS: Make it clear what should be done with patches to
110         the top level configure files (other than config.guess and
111         config.sub).  Add binutils@sources.redhat.com as an address to
112         which patches can be sent.
114 2003-09-04  Nick Clifton  <nickc@redhat.com>
116         * readelf.c (get_machine_flags): Recognise V850E1 machine type.
118 2003-09-03  Andrew Cagney  <cagney@redhat.com>
120         * objdump.c: Refer to init_disassemble_info in comments.
121         (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
122         init_disassemble_info.
124 2003-09-03  Nick Clifton  <nickc@redhat.com>
126         * objdump.c (struct objdump_disasm_info): Add new fields
127         'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
128         (process_section_p): New function:  Returns TRUE if a section
129         can be dumped.
130         (disassemble_section): New function: Contains the body of
131         disassemble_data(), but just for one section.
132         (disassemble_data): Use bfd_map_over_sections to walk section
133         chain.
134         (find_stabs_section): New function: Find a stabs containing
135         section and then dump it.
136         (dump_stabs_section): New function: Use bfd_map_over_sections
137         to find the section to dump.
138         (dump_stabs): Use dump_stabs_section.
139         (dump_section): New function: Display the contents of a
140         section.
141         (dump_data): Use bfd_map_over_sections to display section
142         contents.
143         (dump_relocs_in_section): Display the relocs in a given section.
144         (dump_relocs): Use bfd_map_over_sections to display relocs.
145         (adjust_addresses): New function: Adjust the vma and lma of
146         sections.
147         (dump_bfd): Use bfd_map_over_sections.
148         * doc/binutils.texi: Document the "objdump -s" (no longer)
149         dumps empty sections.
150         
151 2003-08-24  Jonathan R. Grant  <jg-binutils@jguk.org>
153         * objdump.c: Improve comments/documentation.
154         dump_data: Eliminate duplicate function calls to bfd_section_size.
156 2003-09-02  Alan Modra  <amodra@bigpond.net.au>
158         * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
160 2003-08-21  Nick Clifton  <nickc@redhat.com>
162         * po/tr.po: Updated Turkish translation.
164 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
166         * dep-in.sed: Remove libintl.h.
167         * Makefile.am (POTFILES.in): Unset LC_COLLATE.
168         Run "make dep-am".
169         * Makefile.in: Regenerate.
171 2003-08-11  Ian Lance Taylor  <ian@airs.com>
173         * readelf.c (process_archive): Fix error handling.  Remove memory
174         leak.
176         * readelf.c: Add ability to read archives.
177         (archive_file_offset): New variable.
178         (archive_file_size): New variable.
179         (get_data): Include archive_file_offset in file offset
180         calculation when fseeking.
181         (process_program_headers): Likewise.
182         (process_symbol_table): Likewise.
183         (process_dynamic_segment): Handle computation of end of file
184         position when the file is in an archive.
185         (process_object): New function.  Contains the body of
186         process_file().
187         (process_archive): New function.  Call process_object on each
188         member of an archive.
189         (process_file): Detect archives and handle appropriately.
190         * Makefile.am: Add dependency on aout/ar.h for readelf.c
191         * Makefile.in: Regenerate.
192         * NEWS: Document readelf's new ability.
193         * doc/binutils: Alter text to say that readelf supports archives
194         and 64-bit ELF files.
195         
196 2003-08-08  Nick Clifton  <nickc@redhat.com>
198         * po/fr.po: Updated French translation.
200 2003-08-05  Alan Modra  <amodra@bigpond.net.au>
202         * objcopy.c: Remove unnecessary prototypes and casts.
203         * objdump.c: Remove unnecessary casts.
204         * readelf.c: Convert to C90.  Remove unnecessary prototypes and casts.
205         (get_osabi_name): Move so we don't need a forward declaration.
207 2003-08-04  Bradley Harrington  <bharring@us.ibm.com>
208             Alan Modra  <amodra@bigpond.net.au>
210         * objdump.c (include_paths, include_path_count): New vars.
211         (usage): Describe --include.
212         (long_options): Add "include".
213         (add_include_path): New function.
214         (struct print_file_list): Make filename const.  Add modname.
215         (try_print_file_open, update_source_path): New functions.
216         (show_line): Use them.
217         (main): Handle 'I' option.  Don't check for NULL xrealloc arg.
219 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
221         * objdump.c: Remove unnecessary prototypes.
222         (disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
223         code, and print relocs when dump_dynamic_reloc_info.
224         (disassemble_data): Read and handle dynamic relocs.  Correct reloc
225         skip code.  Formatting.
226         (dump_bfd): Don't dump dynamic relocs when disassembling.
228 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
230         * MAINTAINERS: Remove self as M88k maintainer.  Future M88k
231         maintenance defaults to the blanket write privilege maintainers.
233 2003-07-29  Michael Meissner  <gnu@the-meissners.org>
235         * MAINTAINERS: Updated my email address.
237 2003-07-29  Nick Clifton  <nickc@redhat.com>
239         * objdump.c: Update to ISO C.
241 2003-07-24  Nick Clifton  <nickc@redhat.com>
243         * objdump.c (disassemble_data): Do not ignore sections without the
244         LOAD flag when disassemble_all is true.  Only print a message
245         about disassembling a section if it contains some data.
247         * po/fr.po: Updated French translation.
249 2003-07-23  Nick Clifton  <nickc@redhat.com>
251         * objcopy.c: Switch to ISO C.  Remove debugging code accidentally
252         left in.  Some formatting tidy ups.
254 2003-07-22  Salvador Eduardo Tropea <set@computer.org>
256         * objdump.c: New command line option --debugging-tags.
257         * doc/binutils.texi: Document new command line option.
258         * prdbg.c: Code to print the debug info as tags compatible 
259         with ctags.
260         * budbg.h: Adjust prototype.
261         * NEWS: Mention new switch
262         
263 2003-07-18  Nick Clifton  <nickc@redhat.com>
265         * objdump.c (main) :Accept multiple -M switch.
266         * doc/binutils.texi: Document that multiple -M switches are
267         accepted and that a single -M switch can contain comma
268         separated options.
270 2003-07-17  Nick Clifton  <nickc@redhat.com>
272         * objdump.c (main): Issue a warning message if multiple -M
273         switches are used.
274         
275         * doc/binutils.texi (objdump): Update documentation about -M
276         option.
277         
278 2003-07-17  Nick Clifton  <nickc@redhat.com>
280         * po/es.po: New Spanish translation.
282 2003-07-11  Alan Modra  <amodra@bigpond.net.au>
284         * po/binutils.pot: Regenerate.
286 2003-07-05  Christopher Faylor  <cgf@redhat.com>
288         * dlltool.c (prefix_encode): Use a fixed length for alpha.
290 2003-07-04  Christopher Faylor  <cgf@redhat.com>
292         * dlltool.c (prefix_encode): New function.  Encode temp file prefix
293         from pid.
294         (dlltmp): Pass address of pointer being alloced or suffer neverending
295         mallocs.
296         (make_one_lib_file): Allocate enough space for new longer stub names.
297         (gen_lib_file): Ditto.
298         (main): Generate the temp file prefix from the pid if prefix was not
299         specified on the command line.
301 2003-07-04  Nick Clifton  <nickc@redhat.com>
303         * readelf.c (get_data): Print (unsigned) hex values for size and
304         offset in error messages.
305         (process_section_headers): If the string table could not be
306         allocated, do not continue.
308 2003-07-01  Jakub Jelinek  <jakub@redhat.com>
310         * readelf.c (dynamic_segment_ia64_val): Print address and newline
311         for sections by default.  Comment fix.
313 2003-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
315         * rcparse.y (res_text_field): New res_id variable.
316         (res_null_text): New static const struct res_id object,
317         with empty unicode name field.
318         (control): Pop parsing of optresidc up one level. Set
319         res_text_field to $2 except for controls which do not accept
320         a text field.  Set res_text_field to res_null_text for the
321         special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
322         (control_params): Adjust to use res_text_field rather
323         than optresidc.
324         (COMBOBOX): Add comment about discrepency between documented
325         vs. observed default style.
326         * resrc.c (define_control): Make first param const.
327         * windres.h (define_control): Adjust prototype.
329 2003-06-27  Nick Clifton  <nickc@redhat.com>
331         * objcopy.c (copy_object): Replace call to
332         bfd_create_gnu_debuglink_section with seperate calls to
333         bfd_add_gnu_debuglink_section and
334         bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
335         symbol tables.
337 2003-06-26  Roland McGrath  <roland@redhat.com>
339         * readelf.c (loadaddr): Variable removed.
340         (dynamic_info, version_info): Fix type long -> bfd_vma.
341         (program_headers): New variable.
342         (get_program_headers): New function, broken out of
343         process_program_headers.
344         (process_program_headers): Call it.  Don't set `loadaddr'.
345         (slurp_ia64_unwind_table): Use get_program_headers.
346         (process_corefile_note_segments):  Likewise.
347         (offset_from_vma): New function.
348         (process_relocs, process_dynamic_segment): Call that instead of
349         subtracting `loadaddr'.
350         (process_version_sections, process_symbol_table): Likewise.
351         (process_mips_specific): Likewise.
353 2003-06-26  Nick Clifton  <nickc@redhat.com>
355         * objcopy (enum strip_action): Add STRIP_NONDEBUG.
356         (OPTION_ONLY_KEEP_DEBUG): New.
357         (strip_options): Add --only-keep-debug.
358         (copy_options): Likewise.
359         (is_strip_section): Invert return value if STRIP_NONDEBUG is
360         active.
361         (copy_object): Do not copy private data when STRIP_NONDEBUG is
362         active.
363         (setup_section): Likewise.
364         (strip_main): Handle --only-keep-debug.
365         (copy_main): Likewise.
366         * NEWS: Mention new switch
367         * doc/binutils.texi: Document new switch.
369 2003-06-25  Alan Modra  <amodra@bigpond.net.au>
371         * NEWS: Correct spelling of "relocatable".
372         * objdump.c: Likewise.
373         * sysroff.info: Likewise.
375 2003-06-19  Nick Clifton  <nickc@redhat.com>
377         * readelf.c (print_vma): When printing DEC_5 values, if the
378         number is bigger than 99999 switch to using hexadecimal
379         notation.
381 2003-06-11  Nick Clifton  <nickc@redhat.com>
383         * objcopy.c (gnu_debuglink_filename): New variable.
384         (OPTION_ADD_GNU_DEBUGLINK): New switch
385         (copy_options): Describe --add-gnu-debuglink switch.
386         Mention that --strip-debug removes sections as well.
387         (is_strip_section): Process the sections removed and kept
388         lists before checking for debugging sections.
389         (add_redefine_syms_file): Make function static.
390         (copy_object): Use is_strip_section.
391         Check to see if a .gnu_debuglink section should be added.  If
392         so, call bfd_add_gnu_debuglink.
393         (setup_section): Use is_strip_section.
394         (copy_section): Use is_strip_section.
395         (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
396         * NEWS: Mention new objcopy switch.
397         * doc/binutils.texi: Document new switch.
399 2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
401         * po/Make-in (DESTDIR): New.
402         (install-data-yes): Support $(DESTDIR).
403         (uninstall): Likewise.
405 2003-06-11  Alan Modra  <amodra@bigpond.net.au>
407         * Makefile.in: Regenerate.
409 2003-05-23  Jakub Jelinek  <jakub@redhat.com>
411         * readelf.c (get_segment_type): Handle PT_GNU_STACK.
413 2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
415         * NEWS: Document the new BSD/POSIX single-character mapping for
416         .comment/.note sections.
417         
418 2003-06-02  Chris Demetriou  <cgd@broadcom.com>
419             Jason Thorpe  <thorpej@wasabisystems.com>
421         * objcopy.c (redefine_list_append): Add an argument that
422         indicates the context from which this function is being
423         called.  Change all callers.
424         (copy_options): Add a new option, --redefine-syms.
425         (copy_usage): Document new option.
426         (copy_main): Handle the --redefine-syms option.
427         * doc/binutils.text (objcopy): Document new option.
429 2003-05-31  Richard Henderson  <rth@redhat.com>
431         * readelf.c (byte_get_signed): New.
432         (get_encoded_value): New.
433         (display_debug_frames): Use it.  Always pre-process opcodes.
435 2003-05-20  Michal Ludvig  <mludvig@suse.cz>
437         * readelf.c (display_debug_frames): Print both registers
438         for DW_CFA_register.
440 2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
442         * configure.in: Accept i[3-7]86 variants. Escape '[]' for
443         i[3-7]86-*-interix.
444         * configure.in: Regenerate.
446 2003-05-13  Michael Eager <eager@mvista.com>
448         * objcopy.c: Treat identical src/dst file names as if only one
449         entered.  One Windows creating an output file of the same name as
450         the input file will delete the input file before it is read.
452 2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
454         * debug.c (debug_get_real_type): Extend test for circular debug
455         references.
457 2003-05-12  Nick Clifton  <nickc@redhat.com>
459         * configure.in (ALL_LINGUAS): Add zh_CN.
460         * configure: Regenerate.
461         * po/zh_CN.po: New file: Chinese (simplified) translation.
463 2003-05-11  Jason Eckhardt  <jle@rice.edu>
465         * MAINTAINERS: Update my mail address.
467 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
469         * readelf.c (dump_relocations): Enlarge the type field in wide
470         mode by one character.
472 2003-05-03  Richard Henderson  <rth@redhat.com>
474         * readelf.c (struct Frame_Chunk): Add cfa_exp.
475         (frame_display_row): Just print "exp" for cfa or register
476         defined by a location expression.
477         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
478         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
480 2003-04-30  H.J. Lu <hjl@gnu.org>
482         * objdump.c (only): Change it to char **.
483         (only_size): New.
484         (only_used): New.
485         (disassemble_data): Check only as an array.
486         (dump_data): Likewise.
487         (dump_relocs): Likewise.
488         (main): Treat only as an array.
490 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
492         * doc/binutils.texi: Fix the documentation for the -fo option.
494 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
496         * readelf.c (get_machine_name) <EM_SH>: Amend return value
497         to refer to SuperH.
499         * readelf.c (decode_location_expression): Don't add a trailing ';'.
501 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
502             Nick Clifton  <nickc@redhat.com>
504         * windres.c (long_options): Move close to main, where it is used.
505         Add 'input' and 'output' long options.
506         (main): Accept "-fo" as an alias for "-o".  This is for rc
507         comptibility.
508         * doc/binutils.texi: Mention that -fo is accepted as an alias for
509         -o, but discourage its use.
511 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
513         * windres.c (format_from_name): Make the exit on error
514         behaviour optional.
515         (main): Rename the -I option to -J. Introduce -I as a synonym
516         for --include-dir.  For backwards compatibility also support the
517         old -I behaviour, but issue a deprecation warning.
518         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
519         of the -I option.
521 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
523         * readelf.c: Replace references to Mitsubishi M32R with
524         references to Renesas M32R.
526 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
528         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
530 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
532         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
533         for debugging information types not supported by objdump.
535 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
537         * configure.in: Recognize canonical form of i[3-6]86-pe*.
538         * configure: Regenerate.
540 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
542         * readelf.c (display_debug_info): Apply RELA relocations on the
543         entire section.
544         (byte_put_little_endian, byte_put_big_endian): New functions.
545         (byte_put): New variable.
546         (get_file_header): Initialize it.
548 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
550         * windres.c: Add -l for compatibility with wrc, and rc.
551         Use the short option as a key for long options that have
552         a synonymous short option.
553         * doc/binutils.texi: Added -l to the list of options.
555 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
557         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
558         (main): Just pass the -U option down to the preprocessor.
559         * doc/binutils.texi: Added -U to the list of options.
561 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
563         * windres.c (usage): Report -r option.
564         (main): Ignore the -r option.
565         * doc/binutils.texi: Add -r to the list of options.
567 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
569         * MAINTAINERS: Add myself as Xtensa maintainer.
571 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
573         * readelf.c: Include "elf/xtensa.h".
574         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
575         targets that use RELA relocations.
576         (dump_relocations): Call elf_xtensa_reloc_type for
577         EM_XTENSA and EM_XTENSA_OLD.
578         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
580 2003-04-01  Nick Clifton  <nickc@redhat.com>
582         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
583         thumb-pe*, mcore-pe and mcore-*elf.
584         * configure: Regenerate.
586 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
588         * objdump.c (dump_data): Don't truncate the address to long; make
589         the width large enough, and uniform for all entries in a section.
591 2003-03-31  H.J. Lu <hjl@gnu.org>
593         * readelf.c: Include "libiberty.h".
594         (dynamic_relocations): New.
595         (process_relocs): Properly handle dynamic relocation.
596         (process_dynamic_segment): Fill relocation elements in
597         dynamic_info.
599 2003-03-31  Kevin Buettner <kevinb@redhat.com>
601         * readelf.c (read_and_display_attr, read_and_display_attr_value):
602         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
603         all callers.
604         (display_debug_lines, display_debug_pubnames, display_debug_info)
605         (display_debug_aranges, display_debug_frames, read_and_display_attr)
606         (read_and_display_attr_value): Add 64-bit DWARF support.
608 2003-03-31  Ian Lance Taylor <ian@airs.com>
610         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
611         (optresid): Handle a resource id that can be a string or a number.
612         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
613         struct res_id.
614         (define_icon_control): Pass a struct res_id to define_control.
615         * windres.h (define_control): Change prototype.
617 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
619         * objcopy (OPTION_FORMATS_INFO): Define.
620         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
621         (copy_options): Likewise.
622         (strip_usage): Add "--info" to usage.
623         (copy_usage): Likewise.
624         (strip_main): Declare formats_info. Iniatilize it to FALSE.
625         Handle "info".
626         (copy_main). Likewise.
627         * doc/binutils.texi. Document the "--info" option for
628         objcopy/strip.
629         * NEWS: Mention the new command line switch.
631         * objdump.c (endian_string): Move to bucomm.c.
632         (display_info): Likewise.
633         (display_target_list): Likewise.
634         (display_info_table): Likewise.
635         (display_target_tables): Likewise.
636         (main): Assign the return value of display_info to exit_status.
637         * bucomm.c: Include bfdver.h and libbfd.h
638         (display_target_list): Call bfd_nonfatal instead of nonfatal and
639         return 0 on a non-fatal error, 1 on success.
640         (display_info_table): Likewise. 
641         * bucomm.h (display_info): Provide a prototype.
642         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
643         libbfd.h.
644         * Makefile.in: Regenerate.
646 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
648         * dlltool.c (gen_def_file): Put demangled name comments on
649         own line preceding export name.
651 2003-03-17  Nick Clifton  <nickc@redhat.com>
653         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
654         printf for emitting new lines.
656 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
658         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
659         the symbol's value when --size-sort is used, unless -S is used.
660         doc/binutils.texi (--size-sort): For non-bsd formats both the
661         value and size of the symbols are displayed.
662         
663 2003-03-13  Nick Clifton  <nickc@redhat.com>
665         * po/da.po: Update.
667 2003-03-12  Nick Clifton  <nickc@redhat.com>
669         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
671 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
673         * MAINTAINERS: Update my mail address.
675 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
677         * stabs.c (BYTES_IN_WORD): Remove definition.
678         * wrstabs.c (BYTES_IN_WORD): Likewise.
680 2003-03-04  Nick Clifton  <nickc@redhat.com>
682         * nm.c (main): Print a warning message if --size-sort and
683         --undefined-only are used together.
685 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
687         * nm.c (print_symbol): Remove check for undefined_only.
688         
689 2003-03-03  Nick Clifton  <nickc@redhat.com>
691         * po/da.po: Installed latest translation.
693 2003-02-24  Nick Clifton  <nickc@redhat.com>
695         * README: Update binutils references to 2.13.
696         Add paragraph about using --disable-nls.
698 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
700         * doc/binutils.texi (nm --size-sort): Update.
702 2003-02-21  James E Wilson  <wilson@tuliptree.org>
704         * MAINTAINERS: Update email address.
706 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
708         * readelf.c (get_ia64_dynamic_type): New function.
709         (dynamic_segment_ia64_val): New function.
710         (get_dynamic_type): If machine type is EM_IA_64 call
711         get_ia64_dynamic_val.
712         (get_ia64_section_type_name): Handle sections with types in the
713         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
714         (get_dynamic_flags): If machine type is EM_IA_64 call
715         dynamic_segment_ia64_val.
717 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
719         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
720         section title capitalization more consistent.  Update descriptions
721         of various options to be consistent with the code.  Fix errors and
722         incomplete list in the description of c++filt format options.  Remove
723         information about the linker.  Change to be more polite about poor
724         bug reports.  Replace FDL appendix with include of fdl.texi.
725         * doc/fdl.texi: New file.
727 2003-02-21  Roger Sayle  <roger@eyesopen.com>
729         * objcopy.c (filter_symbols): Fix compilation problems with
730         HP-UX's C compiler.
732 2003-02-19  Christopher Faylor  <cgf@redhat.com>
734         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
735         previous change.
737 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
739         * rclex.l (handle_quotes): Handle strings spanning more than one line.
741 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
743         * nm.c (usage): Add `java' and `gnat' demangle styles and make
744         quotes consistent.
745         * objdump.c (usage): Ditto.  Also fix some typos.
747         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
749         * debug.c (debug_record_variable): Handle global register variables.
751         * stabs.c (parse_stab): For N_SLINE only include
752         function_start_offset if the symbol is within a function;
753         otherwise, the value is absolute.
755 2003-02-10  Nick Clifton  <nickc@redhat.com>
757         * readelf.c (decode_ARM_machine_flags): Handle the
758         EF_ARM_MAVERICK_FLOAT flag.
760 2003-02-04  Andreas Schwab  <schwab@suse.de>
762         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
763         long and use %ld in printf format.
765 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
767         * readelf.c (dump_relocations): Reorder the r_info field for
768         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
770 2003-01-21  Daniel Berlin  <dan@dberlin.org>
772         * readelf.c (display_debug_loc): Skip address base changes.
774 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
776         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
777         and ELFOSABI_NSK.
779 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
781         * readelf.c: Include elf/ppc64.h.
782         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
783         * Makefile.am: Run "make dep-am".
784         * Makefile.in: Regenerate.
786 2003-01-02  Ben Elliston  <bje@redhat.com>
788         * readelf.c (guess_is_rela): Handle EM_IQ2000.
789         (get_machine_name): Likewise.
790         (dump_relocations): Likewise.
791         * NEWS: Mention IQ2000 support.
793 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
795         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
797 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
799         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
800         changes in MIPS -M options.
802 2002-12-30    Dmitry Diky <diwil@mail.ru>
804         * Makefile.am: Add msp430 target.
805         * Makefile.in: Regenerate.
806         * readelf.c: Add support for msp430 target.
808 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
810         * doc/binutils.texi (objdump): Document MIPS -M options.
812 2002-12-23  Andreas Schwab  <schwab@suse.de>
814         * readelf.c (main): Reset dump request after each file.
816 2002-12-23  Nick Clifton  <nickc@redhat.com>
818         * nlmconv.c (main): Pass TRUE as third argument to
819         bfd_arch_get_compatible.
821 2002-12-23  Nick Clifton  <nickc@redhat.com>
823         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
824         macro.  Handle 'S' encoding, accepting 8-bit characters.
825         (main): Parse 'S' encoding.
826         (get_char): Accept 'S' encoding.
827         (print_strings): Use STRING_ISGRAPHIC.
828         (usage): Document support of 'S' encoding.
829         * doc/binutils.texi: Document support of 'S' encoding/
830         * NEWS: Mention new feature.
832 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
834         * README <building ar>: Don't use libibery's needed_list or
835         required_list, instead link libiberty/*.o.
837 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
839         * doc/binutils.texi: Fix typos.
841 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
843         * doc/binutils.texi: Add missing parenthesis.
845 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
847         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
848         symbols by adding the given prefix to the begining of the symbol
849         name. This is useful to provide name space seperation regardless
850         of how the object file was created. Added --prefix-sections=
851         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
852         sections (or all sections with the alloc flag set) by adding the given
853         prefix to the begining of the symbol name.
854         * NEWS: Mention this new feature.
855         * doc/binutils.texi: Document this new feature.
857 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
859         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
860         dyn_string_append with dyn_string_append_cstr.
862         * emul_aix.c (ar_emul_aix_create): Remove unused function.
864 2002-12-10  James Cownie <jcownie@etnus.com>
866         * readelf.h (get_TAG_name, get_AT_name,
867         read_and_display_attr_value): Add support for UPC extensions to
868         DWARF2 spec.
869         * NEWS: Mention this new support.
871 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
873         * NEWS: Mention that bfd no longer declares a "boolean" type.
875 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
877         * readelf.c (process_program_headers): When setting loadaddr, don't
878         assume segment size is 4k.  Use p_align instead.
879         (loadaddr): Change from int to long.
880         (dynamic_addr, dynamic_info, version_info): Likewise.
881         (process_dynamic_segment <syminsz>): Likewise.
882         (process_dynamic_segment): Adjust print format string.
883         (rela_addr, rela_size): Delete.
884         (process_relocs): Formatting.
886 2002-12-05  Jim Wilson  <wilson@redhat.com>
888         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
889         * configure: Regenerate.
891 2002-12-04  Ian Lance Taylor  <ian@airs.com>
893         * MAINTAINERS: Change e-mail address back to airs.com.
895 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
897         * MAINTAINERS: Add self.
899 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
901         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
902         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
903         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
904         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
905         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
906         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
907         with TRUE/FALSE.  Formatting.
909 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
911         * readelf.c Replace occurrences of Elf32_Internal_* and
912         Elf64_Internal_* with Elf_Internal_*.
913         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
914         Zero r_addend fields.
915         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
916         Elf_Internal_Rela.
918 2002-11-23  Nick Clifton  <nickc@redhat.com>
920         * size.c (usage): Fix typo describing switch for hex format.
922 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
924         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
925         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
926         testcase
928 2002-11-14  Nick Clifton  <nickc@redhat.com>
930         * readelf.c (process_program_headers): Add comment about return
931         value.  Ensure that 0 is returned if the headers are not loaded.
932         (process_file): If process_section_headers failed to load the
933         headers disable any tests that rely upon them.  Similarly for
934         process_program_headers.
936 2002-11-12  Nick Clifton  <nickc@redhat.com>
938         * po/da.po: Updated Danish translation.
940 2002-11-12  Klee Dienes  <kdienes@apple.com>
942         * rddbg.c (read_section_stabs_debugging_info): Also recognize
943         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
945 2002-11-11  Christopher Faylor  <cgf@redhat.com>
947         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
948         cgf maintainership.
950 2002-11-11  Christopher Faylor  <cgf@redhat.com>
952         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
954 2002-11-07  Nick Clifton  <nickc@redhat.com>
956         * configure.in (ALL_LINGUAS): Add 'da'.
957         * configure: Regenerate.
958         * po/da.po: New Danish translation.
960         * readelf.c (get_symbol_index_type): Revert part of previous
961         patch: Display unknown symbol types in decimal, not hex.
963 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
965         * dlltool.c (add_excludes): Don't prefix excluded fastcall
966         symbols with underscore.
967         (xlate): Ignore add_underscore for decorated fastcall symbols.
969 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
971         * deflex.l: Accept '@' as first character of an ID.
972         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
973         ASM_PREFIX for fastcall symbols.
974         (scan_drectve_symbols): Handle fastcall symbols when generating
975         undecorated aliases for symbols in drectve section.
976         (scan_filtered_symbols): Likewise, with export-all.
977         (xlate): Likewise, with --kill-at.
978         (make_imp_label): New function to handle fastcall symbols
979         correctly.
980         (make_one_lib_file): Use make_imp_label instead of make_label
981         for imp symbols.
983 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
985         * MAINTAINERS: Add self as TIC4X maintainer.
987 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
989         * readelf.c (get_symbol_index_type): Add hex number to
990         PROCESSOR-specific, OS-specific, reserved and unknown symbol
991         types.
993 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
995         * readelf.c (byte_get_little_endian): Comment typo fix.
996         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
997         as the format string.
998         (dump_relocations): Correct section sym names.
999         (process_section_headers): Clear symtab_shndx_hdr.
1000         (read_and_display_attr_value): Don't pass indirect string to printf
1001         as the format string.
1002         (display_debug_frames): Indicate when zero terminator found.  Decode
1003         DW_EH_PE_pcrel addresses.
1005 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
1007         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1008         order to ensure proper disassembly of the valid 0-value opcode.
1009         * configure: Regenerate.
1010         * aclocal.m4: Regenerate.
1011         * config.in: Regenerate.
1012         * configure.in: Regenerate.
1013         * doc/Makefile.in: Regenerate.
1014         * po/binutils.pot: Regenerate.
1016 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1018         * MAINTAINERS: Add self as SH maintainer.
1020 2002-10-23  Ben Elliston  <bje@redhat.com>
1022         * doc/binutils.texi (objdump): Document -z and move the entry for
1023         --disassemble-zeroes to the end of the options section (for `z').
1025 2002-10-21  Nick Clifton  <nickc@redhat.com>
1027         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1029 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
1031         * objdump.c (dump_data): Correct addr_offset for opb != 1.
1033 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
1035         * bucomm.c (list_supported_targets): Use bfd_target_list.
1037         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1038         other object errors in preference to bfd_core errors.
1040 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
1042         * Makefile.am: Run "make dep-am".
1043         * objdump.c: #include "bfdver.h".
1044         * version.c: Likewise.
1045         * Makefile.in: Regenerate.
1046         * config.in: Regenerate.
1047         * configure: Regenerate.
1048         * po/POTFILES.in: Regenerate.
1050 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
1052         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1053         sections.  Allow relocations against the absolute symbol.  Don't
1054         use the value in compunit.cu_abbrev_offset if we found a RELA
1055         relocation.
1057 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
1059         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1060         ordinary ones are available.
1062 2002-09-30  H.J. Lu <hjl@gnu.org>
1064         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1065         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1067 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
1069         * Makefile.am (CFILES): Add cxxfilt.c.
1070         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1071         (cxxfilt_LDADD): Delete.
1072         Remove all references to underscore.c.
1073         Regen dependencies.
1074         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1075         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1076         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1077         adjustments to fit into binutils framework.
1078         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1080 2002-09-12  Roland McGrath  <roland@redhat.com>
1082         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1083         Handle DW_OP_GNU_push_tls_address.
1085 2002-09-11  Nick Clifton  <nickc@redhat.com>
1087         * po/tr.po: Updated Turkish translation.
1089 2002-09-10  Nick Clifton  <nickc@redhat.com>
1091         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1092         testsuite changes.  Add paragraphs about testsuite and config
1093         patches.
1095 2002-08-29  Nick Clifton  <nickc@redhat.com>
1097         * readelf.c (get_machine_flags): Remove redundant reference to
1098         E_V850EA_ARCH.
1100 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
1102         * objdump.c (dump_bfd): Restore lines accidentally deleted in
1103         last commit.
1105 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1107         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1108         (dump_bfd_header): Likewise.
1110 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
1112         * nm.c: Revert last change.
1114 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
1116         * nm.c (display_rel_file): Don't report "no symbols" as an error.
1117         * objdump.c (slurp_symtab): Likewise.
1118         (slurp_dynamic_symtab): Likewise.
1119         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
1121 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
1123         * MAINTAINERS: Change my mailing address.
1125 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1127         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1129 2002-08-22  Nick Clifton  <nickc@redhat.com>
1131         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1132         HPPA.
1134 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1136         * readelf.c (parse_args): Change debug_dump_opt to static.
1138 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
1140         * stabs.c (parse_stab_argtype): Pass length of physname to
1141         stab_demangle_argtypes.
1142         (stab_demangle_argtypes): Add new parameter - length of physname.
1143         Pass length of physname on to stab_demangle_prefix.
1144         (stab_demangle_prefix): Add new parameter - length of physname.
1145         Use length of physname (if supplied) to compute end of function
1146         name.
1148 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
1150         * readelf.c: Include elf/i370.h.
1151         (dump_relocations): Handle EM_S370.
1152         (dynamic_segment_parisc_val): Print \n.
1153         (process_dynamic_segment <DT_BIND_NOW>): Here too.
1155 2002-08-14  Nick Clifton  <nickc@redhat.com>
1157         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1158         * objdump.c (usage): Likewise.
1159         * doc/binutils.texi: Likewise.
1161 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
1163         * rcparse.y (acc_entry): Don't warn about ALT use with
1164         non-VIRTKEY.
1166 2002-08-13  H.J. Lu <hjl@gnu.org>
1168         * objcopy.c (copy_object): Don't warn about the unsupported
1169         architecture unless the input target is defaulted or the
1170         output architecture is different from the input.
1172 2002-08-09  Nick Clifton  <nickc@redhat.com>
1174         * po/sv.po: Updated Swedish translation.
1176 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
1178         * prdbg.c (pr_fix_visibility): Remove assert.
1180 2002-07-31  Nick Clifton  <nickc@redhat.com>
1182         * addr2line.c (process_file): Rename parameter 'filename' to
1183         'file_name' in order to avoid shadowing global symbol of the
1184         same name.
1185         (main): Likewise.
1187 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
1189         * readelf.c (OPTION_DEBUG_DUMP): Define.
1190         (options): Use it.
1191         (usage): Update help.
1192         (parse_args): Handle --debug-dump separately from -w.
1193         * doc/binutils.texi (readelf): Update documentation.
1195 2002-07-25  Nick Clifton  <nickc@redhat.com>
1197         * po/es.po: Updated Spanish translation.
1198         * po/fr.po: Updated French translation.
1200 2002-07-24  Nick Clifton  <nickc@redhat.com>
1202         * po/es.po: Updated Spanish translation.
1204 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
1206         * Makefile.am: Run "make dep-am".
1207         * Makefile.in: Regenerate.
1209 2002-07-23  Nick Clifton  <nickc@redhat.com>
1211         * po/fr.po: Updated French translation.
1213 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
1215         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1217 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
1219         * budemang.c: Include config.h and string.h/strings.h.
1221 2002-07-18 Denis Chertykov  <denisc@overta.ru>
1222            Frank Ch. Eigler  <fche@redhat.com>
1224         * readelf.c: Include "elf/ip2k.h".
1225         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1226         (dump_relocations): Likewise.
1227         (get_machine_name): Likewise.
1228         * NEWS: Mention IP2K support.
1230 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
1232         * NEWS: Add 'Changes in 2.13'.
1234 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
1236         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1237         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1238         (get_section_type_name): Handle SHT_GNU_LIBLIST.
1239         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1240         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1241         (process_gnu_liblist): New.
1242         (process_file): Call it.
1244 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
1246         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1247         * Makefile.in: Regenerate.
1249 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
1251         * budemang.c: New file, "demangle" function.
1252         * budemang.h: New file.
1253         * addr2line.c (translate_addresses): Use "demangle".
1254         * nm.c (print_symname): Likewise.
1255         * objdump.c (objdump_print_symname): Likewise.
1256         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
1257         here since that obfuscates.
1258         * rdcoff.c: Don't #include demangle.h.
1259         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1260         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
1261         (HFILES): Add budemang.h.  Sort.
1262         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1263         Run "make dep-am".
1264         * Makefile.in: Regenerate.
1266 2002-07-01  Matt Thomas  <matt@3am-software.com>
1268         * readelf.c: Include "elf/vax.h".
1269         (guess_is_rela): Move EM_VAX from unknown to RELA case.
1270         (dump_relocations): Handle VAX relocations.
1271         (get_machine_flags): Handle VAX machine flags.
1273 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
1275         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1277 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
1279         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1281 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
1283         * nm.c (print_symname): When demangling, strip leading dots from
1284         symbol names to avoid confusing the demangler.
1286 2002-06-25  H.J. Lu <hjl@gnu.org>
1288         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1289         * Makefile.in: Regenerated.
1291 2002-06-21  Igor Schein  <igor@txc.com>
1293         * configure.in: Quote bu_cv_have_fopen64.
1294         * configure: Regenerate.
1296 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
1298         * configure.in: Check for strcoll.
1299         * configure: Regenerate.
1300         * config.in: Regenerate.
1301         * nm.c (main): Set locale for LC_COLLATE category.
1302         (non_numeric_forward): Use strcoll if available.
1304 2002-06-20  Dave Brolley  <brolley@redhat.com>
1306         * MAINTAINERS: Add self as fr30 and frv maintainer.
1308 2002-06-18  H.J. Lu  (hjl@gnu.org)
1310         * nm.c: Include "elf/common.h".
1311         (extended_symbol_info): Add elfinfo, a pointer to
1312         elf_symbol_type.
1313         (SYM_SIZE): Use elfinfo if it is not NULL.
1314         (get_symbol_type): New function.
1315         (display_archive): Set print_width for each archive member.
1316         (display_file): Likewise.
1317         (display_rel_file): Don't set print_width here.
1318         (print_object_filename_sysv): Handle print_width.
1319         (print_archive_member_sysv): Likewise.
1320         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1321         (print_symbol): Set the elfinfo field in extended_symbol_info
1322         for ELF.
1323         (print_object_filename_sysv): Fix the output format.
1324         (print_symbol_info_sysv): Print type and section for ELF.
1326 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
1328         * nm.c (print_size_symbols): Remove assignment, which makes
1329         the symbol's size equal to its value when --size-sort is
1330         used.
1332 2002-06-18  Dave Brolley  <brolley@redhat.com>
1334         From Catherine Moore:
1335         * readelf.c (elf/frv.h): #include it.
1336         (guess_is_rela): Support EM_CYGNUS_FRV.
1337         (dump_relocations): Ditto.
1338         (get_machine_name): Ditto.
1339         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1341 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
1343         * readelf.c (get_file_header): Only read the first section header if
1344         e_shoff is non-zero.
1346 2002-06-15  H.J. Lu  (hjl@gnu.org)
1348         * nm.c (print_size): New variable. Initialize to 0.
1349         (long_options): Add 'S'/"print-size".
1350         (main): Handle 'S'.
1351         (print_symbol_info_bsd): Print size only if print_size is not
1352         0.
1354         * doc/binutils.texi: Document -S/--print-size.
1356 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
1358         * nm.c (struct extended_symbol_info): New strcuture: Add the size
1359         of the symbols to the information provided by the symbol_info
1360         structure.
1361         (print_symbols): Pass the symbol size to print_symbol.
1362         (print_size_symbols): Pass the symbol size to print_symbol.
1363         (print_symbol): Extra argument: The size of the symbol.  Store
1364         this in the extended_symbol_info structure.
1365         (print_symbol_info): Change type of info parameter to
1366         extended_symbol_info.  Display the size, if known.
1367         (print_symbol_info_posix): Likewise.
1368         (print_symbol_info_sysv): Likewise.
1370 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
1372         * Makefile.am: Run "make dep-am".
1373         * Makefile.in: Regenerate.
1374         * doc/Makefile.in: Regnerate.
1376         * bucomm.c: Replace CONST with const.
1377         * nm.c: Likewise.
1378         * objdump.c: Likewise.
1380 2002-06-07  H.J. Lu <hjl@gnu.org>
1382         * readelf.c (DW_CFA_GNU_args_size): Don't define.
1383         (DW_CFA_GNU_negative_offset_extended): Likewise.
1384         (DW_CFA_GNU_window_save): Likewise.
1385         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1386         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1388 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
1390         * nm.c: When computing size of symbols for an ELF target use the
1391         internal size field.
1393 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1395         * testsuite/binutils-all/objcopy.exp: clear xfail for
1396         "hppa*64*-*-hpux*".
1397         * testsuite/binutils-all/hppa/objdump.exp: Return if
1398         "*64*-*-*".
1400 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
1402         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1404 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
1406         * objdump.c: Fix formatting.
1408 2002-05-29  Ben Elliston  <bje@redhat.com>
1410         * MAINTAINERS: Add self as M68k maintainer.
1412 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
1414         * readelf.c: Modified/Added DLX elf support.
1416 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
1418         * arsup.c: Fix formatting.
1419         * debug.c (debug_record_label): Add missing colon to error
1420         message.
1421         * ieee.c (parse_ieee_ty): Fix spelling typo.
1422         * readelf.c (process_program_headers): Remove English assumption
1423         about making a plural word.
1424         (process_section_headers): Likewise.
1425         (process_relocs): Allow quotes to be translated.
1426         (process_unwind): Likewise,
1427         (process_mips_specific): Improve error message.
1428         (get_note_type): Fix spelling typo.
1430         * configure.in (ALL_LINGUAS): Add sv
1431         * po/sv.po: New file.
1433 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
1435         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1436         (unw_print_grmask): Likewise.
1437         (unw_print_frmask): Likewise.
1439 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1441         * arsup.c: Remove ARGSUSED.
1442         * debug.c: Likewise.
1443         * ieee.c: Likewise.
1444         * nlmconv.c: Likewise.
1445         * prdbg.c: Likewise.
1446         * stabs.c: Likewise.
1447         * wrstabs.c: Likewise.
1449 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
1451         * arlex.l: Use #include "" instead of <> for local header files.
1452         * coffdump.c: Likewise.
1453         * coffgrok.c: Likewise.
1454         * nlmconv.c: Likewise.
1455         * nlmheader.y: Likewise.
1456         * srconv.c: Likewise.
1457         * strings.c: Likewise.
1458         * sysdump.c: Likewise.
1459         * unwind-ia64.h: Likewise.
1460         * windres.h: Likewise.
1461         * winduni.h: Likewise.
1463 2002-05-24  Tom Rix  <trix@redhat.com>
1465         * MAINTAINERS: Add self as the d10v maintainer.
1467 2002-05-24   TAMURA Kent <kent@netbsd.org>
1469         * configure.in: Builds dlltool for i386-netbsdpe.
1470         * configure: Regenerate.
1472 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1474         * size.c: Fix formatting.
1475         * srconv.c: Likewise.
1476         * stabs.c: Likewise.
1477         * sysdump.c: Likewise.
1478         * unwind-ia64.c: Likewise.
1479         * wrstabs.c: Likewise.
1481 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1483         * readelf.c (get_segment_type): Add PT_TLS.
1484         (get_elf_section_flags): Add SHF_TLS.
1485         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1486         (process_dynamic_segment): Use puts instead of printf.
1487         (get_symbol_type): Support STT_TLS.
1488         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1489         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1490         Add SEC_THREAD_LOCAL.
1492 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1494         * rdcoff.c: Fix formatting.
1495         * rddbg.c: Likewise.
1496         * readelf.c: Likewise.
1497         * rename.c: Likewise.
1498         * resbin.c: Likewise.
1499         * resrc.c: Likewise.
1500         * resres.c: Likewise.
1502 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1504         * filemode.c: Fix formatting.
1505         * ieee.c: Likewise.
1506         * is-ranlib.c: Likewise.
1507         * is-strip.c: Likewise.
1508         * maybe-ranlib.c: Likewise.
1509         * maybe-strip.c: Likewise.
1510         * nlmconv.c: Likewise.
1511         * nm.c: Likewise.
1512         * not-ranlib.c: Likewise.
1513         * not-strip.c: Likewise.
1514         * objcopy.c: Likewise.
1515         * objdump.c: Likewise.
1517 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1519         * objdump.c (dump_headers): Fix output formatting for ELF32
1520         architectures in a BFD64 enabled toolchain.
1522 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1524         * debug.c: Fix formatting.
1525         * debug.h: Likewise.
1526         * dlltool.c: Likewise.
1527         * dllwrap.c: Likewise.
1528         * emul_aix.c: Likewise.
1529         * emul_vanilla.c: Likewise.
1531 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1533         * addr2line.c: Fix formatting.
1534         * ar.c: Likewise.
1535         * arsup.c: Likewise.
1536         * arsup.h: Likewise.
1537         * binemul.c: Likewise.
1538         * binemul.h: Likewise.
1539         * bucomm.c: Likewise.
1540         * coffdump.c: Likewise.
1541         * coffgrok.c: Likewise.
1542         * coffgrok.h: Likewise.
1544 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1546         * MAINTAINERS: Add myself as the second AVR port maintainer.
1548 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1550         * MAINTAINERS: Update my email address.
1552 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1554         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1556 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1558         * configure.in: Replace `*pe' with `pe' throughout.
1559         * configure: Regenerate.
1561 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1563         * Makefile.am: Honour DESTDIR.
1564         * Makefile.in: Regenerate.
1566 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1568         * dlltool.c (process_def_file): Add missing prototype.
1569         (new_directive, assemble_file, main): Likewise.
1570         (process_def_file, new_directive): Make static.
1571         (inform): Rewrite using VA_FIXEDARG.
1572         * dllwrap.c (mybasename): Add missing prototype.
1573         (strhash, main): Likewise.
1574         (inform): Rewrite using VA_FIXEDARG.
1575         (warn): Likewise.
1576         (cleanup_and_exit): Use old style function definition.
1577         (strhash): Likewise.
1578         * windres.c (define_resource): Use one memset to clear all of
1579         struct res_resource.
1581         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1582         call to rules that need no lookahead.  Check for no lookahead.
1584 2002-05-06  Borut Razem  <borut.razem@siol.net>
1586         * rclex.l (get_string): Correct "strings" list handling.
1587         * resrc.c (read_rc_file): Discard strings.
1589 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1591         * ar.c (replace_members): Remove unused var.  Formatting fix.
1592         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1594         * MAINTAINERS: Sort port maintainers by CPU.
1596 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1598         * size.c (display_archive): Add last_arfile and code to close archives.
1600 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1602         * nm.c (print_symbol): Check returned filename from
1603         bfd_find_nearest_line is non-NULL.
1605 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1607         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1609 2002-04-24  Christian Groessler <chris@groessler.org>
1611         * MAINTAINERS: Changed my email address.
1613 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1615         * arparse.y: Fix syntax warning.
1617 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1619         * readelf.c (fetch_location_list): Remove unused function.
1621         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1622         and display a warning message, then exit the loop.
1624         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1626 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1628         * resrc.c (write_rc_dialog): If charset is non-default value
1629         display all of the DIALOGEX parameters.
1631 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1633         * rcparse.y: Allow two to five parameter in FONT statement of
1634         DIALOGEX resources.
1635         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1636         resource data.
1637         (res_to_bin_dialog): Likewise.
1638         * windres.h: Added misssing charset variable to dialog_ex
1639         structure.
1641 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1643         * rcparse.y: Set MEMFLAG_PURE by default.
1645 2002-04-09  Bernd Herd <info@herdsoft.com>
1647         * rcparse.y: CLASS definitions in DIALOG resources
1648         are quoted.
1649         Fix typo in BEDIT warning.
1650         Don't add default dialog style when explicit style specified.
1651         Add WS_CAPTION dialog style if CAPTION is specified.
1653         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1654         (handle_quotes) "\a" escape (used for right justified key
1655         definitions in menus) is encodes as binary 8.
1657         * resrc.c (write_rc_dialog): Print style even if it is 0.
1658         (write_rc_directory): Fix overlooked sublang shift bug.
1659         (bin_to_res_dialog): Don't print empty dialog caption.
1661         * resbin.c (bin_to_res_dialog): Use signature to identify
1662         DIALOGEX.
1664         * windres.c (main): Set default LANGUAGE to english/us.
1666 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1668         * resrc.c: print CLASS names in quotes
1670 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1672         * MAINTAINERS: Update my email address.
1674 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1676         * dep-in.sed: Cope with absolute paths.
1677         * Makefile.am (dep.sed): Subst TOPDIR.
1678         Run "make dep-am".
1679         * Makefile.in: Regenerate.
1681 2002-03-27  Peter Targett  <peter.targett@arc.com>
1683         * MAINTAINERS: Update my email address.
1685 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1687         * Makefile.am: Run "make dep-am".
1688         * Makefile.in: Regenerate.
1689         * doc/Makefile.in: Regenerate.
1690         * po/POTFILES.in: Regenerate.
1691         * aclocal.m4: Regenerate.
1692         * config.in: Regenerate.
1693         * configure: Regenerate.
1695 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1697         * readelf.c: Add support for displaying dwarf2 location lists.
1698         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1699         (parse_args): Use 'O' as shorthand for displaying location list
1700         section.
1701         (process_section_headers): Handle debug_loc as well.
1702         (load_debug_loc): New.
1703         (free_debug_loc): New.
1704         (fetch_location_list): New.
1705         (display_debug_loc): New.
1706         (display_debug_info): Call load_debug_loc and free_debug_loc.
1707         (debug_displays): We can display .debug_loc now, too.
1708         (usage): Update usage string.
1709         (read_and_display_attr_value): Note location lists, but don't
1710         display them inline.
1712 2002-03-18  Tom Rix  <trix@redhat.com>
1714         * Makefile.am: Add binutils emulation support.
1715         * configure.in: Same.
1716         * configure.tgt: New file.  Same.
1717         * ar.c (main): Use ar_emul_parse_arg.
1718         (usage): Use ar_emul_usage.
1719         (replace_members): Use ar_emul_replace, ar_emul_append.
1720         * binemul.c: New file.  Define the binutils emulation
1721         layer. Define default methods.
1722         * binemul.h: New file.  Binutils emulation layer header file.
1723         * emul_aix.c: New file.  AIX binutils emulation.
1724         * emul_vanilla.c: New file. Default binutils emulation.
1725         * Makefile.in: Regenerate.
1726         * configure: Same.
1728 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1730         * po/fr.po: Updated version.
1732 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1734         * po/fr.po: Updated version.
1736 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1738         * README: Update some version numbers.
1740 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1742         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1743         (Architecture Selection): Likewise.
1745 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1747         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1748         generating .exp file.
1750 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1752         * readelf.c (dump_relocations): Fix typo.
1754 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1756         * NEWS: Mark 2.12 branch.
1758 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1760         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1761         types for 64-bit MIPS.  Narrow some fields for 80-char
1762         output.
1763         (dump_relocations): Change spelling from 'unrecognised'
1764         to 'unrecognized'.
1765         (decode_ARM_machine_flags): Likewise.
1766         (parse_args): Likewise.
1767         (read_and_display_attr_value): Likewise.
1768         (display_debug_section): Likewise.
1770 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1772         * NEWS: Mention support for MMIX.
1774 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1776         * readelf.c (get_machine_flags): Recognize EF_M68000.
1778 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1780         * MAINTAINERS: Added self as MN10300 co-maintainer.
1782 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1784         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1785         DT_PPC64_OPDSZ.
1787 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1789         * MAINTAINERS: List myself as branch maintainer.
1791 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1793         * configure: Regenerate.
1794         * objcopy.c: Update copyright date.
1795         * doc/Makefile.in: Regenerate.
1797 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1799         * nlmconv.c: Back out localtime PARAMS change.
1801 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1803         * objcopy.c (MKDIR): Define.
1804         (copy_archive): Make name_list.name const.  Use MKDIR.
1805         Handle duplicate files in archives by making more temp dirs.
1807 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1809         * coffdump.c: Include "getopt.h" after "bucomm.h"
1810         so that macros are defined correctly.
1811         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1812         prototype.  Prototype main.
1813         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1815 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1817         * MAINTAINERS: Added self as SH co-maintainer.
1819 2002-02-05  Nick Clifton <nickc@redhat.com>
1821         * po/tr.po: Updated translation.
1823 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1825         * Makefile.am: Run "make dep-am"
1826         * Makefile.in: Regenerate.
1828 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1830         * nm.c (print_value): Mark abfd unused.
1832 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1834         * unwind-ia64.c (unw_decoder): Change second argument
1835         to unsigned int, to match function prototypes.
1837 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1839         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1840         __GNU_LIBRARY__ will be defined.
1841         * size.c: Likewise.
1843 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
1845         * configure: Regenerated.
1847 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
1849         * doc/Makefile.am (install): Depend on install-info.
1850         * doc/Makefile.in: Regenerate.
1852 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
1854         * objcopy.c (strip_usage): Document -d as an alias
1855         --strip-debug.
1857         * size.c (usage): Document [-t | --totals] options.
1858         (long_options): Add --totals option.
1859         (main): If the [-t | --totals] option is specified and
1860         the output format is Berkeley-style, print the total
1861         text, data, and bss sizes of all objects listed.
1862         (print_berkeley_format): If the [-t | --totals] option
1863         is specified, track the total text, data, and bss
1864         sizes.
1865         * doc/binutils.texi (size): Document [-t | --totals] options.
1866         (strip): Document -d as an alias for --strip-debug.
1867         * NEWS: Mention new feature of size.
1869 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
1871         * po/fr.po: Updated version.
1872         * po/es.po: Updated version.
1874 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1876         * addr2line.c (usage): Update text to provide verbose
1877         description of the command line options.
1878         * ar.c (usage): Update text to provide verbose
1879         description of the command line options.
1880         (main): Accept -h and -H when running as ranlib.
1881         * coffdump.c (show_usage): Update text to provide verbose
1882         description of the command line options.
1883         * dlltool.c (main): Accept -H as an alias for --help.
1884         * nlmconv.c (show_usage): Update text to provide verbose
1885         description of the command line options.
1886         * nm.c (usage): Replace OPTIONS with option(s).
1887         (main): Accept -H as an alias for --help.
1888         * objcopy.c (strip_main): Accept -H as an alias for --help.
1889         * objdump.c (main): Accept -v as an alias for --verbose.
1890         * readelf.c (usage): Adjust format to match style used in
1891         other binutils.
1892         * size.c (usage): Update text to provide verbose description
1893         of the command line options.
1894         (main): Accept -v, -h and -H as command line options.
1895         * srconv.c (show_usage): Update text to provide verbose
1896         description of the command line options.
1897         * strings.c (main): Accept -H and -v as command line options.
1898         (usage): Update text to provide verbose description of the
1899         command line options.
1900         * sysdump.c (show_usage): Update text to provide verbose
1901         description of the command line options.
1902         * windres.c (usage): Adjust format to match style used in
1903         other binutils.
1905         * coffdump.c: Fix formatting.
1906         * nlmconv.c: Fix formatting.
1907         * srconv.c: Fix formatting.
1908         * sysdump.c: Fix formatting.
1910 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
1912         * Makefile.am: Run "make dep-am".
1913         * Makefile.in: Regenerate.
1915 2002-01-18  Andreas Jaeger  <aj@suse.de>
1917         * version.c (print_version): Update year.
1919 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
1921         * readelf.c (get_machine_name): Handle EM_PPC64.
1922         (guess_is_rela): Here too.
1924 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1926         * po/binutils.pot: Regenerate.
1927         * po/fr.po: Regenerate.
1928         * po/tr.po: Regenerate.
1930 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1932         * po/tr.po: Import new version.
1934 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
1936         * readelf.c (get_ppc64_dynamic_type): New.
1937         (get_dynamic_type): Call it.
1939 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
1941         * objcopy.c (copy_usage): Use "options" instead of "switches".
1942         (strip_usage): Use "options" instead of "switches".
1943         * doc/binutils.texi (dlltool):  Refer to "options" instead of
1944         "switches".
1946 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
1948         * MAINTAINERS: Add self as co-maintainer for the ARM code.
1950 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1952         * po/es.po: Import from translation project.
1953         * configure.in (ALL_LINGUAS): Add es.
1954         * configure: Regenerate.
1956 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1958         * readelf.c (get_netbsd_elfcore_note_type): Use
1959         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1961 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1963         * readelf.c: Update copyright years.
1964         (get_note_type): Return a const char *.
1965         (get_netbsd_elfcore_note_type): New function.
1966         (process_note): Use get_netbsd_elfcore_note_type to get
1967         the note type string for NetBSD ELF core files.
1969 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
1971         * readelf.c (get_ia64_segment_type): Add support for macros.
1972         (get_segment_type): Add support for IA64 specific macros.
1974 2001-12-20  Julian v. Bock  <julian@wongr.net>
1976         * readelf.c (print_symbol): New function: Print a formatted symbol
1977         name.  If --wide is specified do not truncate it.
1978         (dump_relocations): Use print_symbol() to print symbol names.
1979         (process_symbol_table): Likewise.
1980         (process_syminfo): Likewise.
1981         (process_mips_specific): Likewise.
1982         (usage): Document new feature of --wide switch.
1983         * doc/binutils.texi (objdump): Document additional behaviour of
1984         --wide.
1986 2001-12-18  Michael Snyder  <msnyder@redhat.com>
1988         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1989         (copy_object): Don't set the start address or flags of a core file.
1990         (copy_section): Don't relocate a core file.  Don't copy contents
1991         if the input section has the contents flag set, but the output
1992         section does not (which happens with the fake 'note' pseudo-
1993         sections that BFD creates for corefiles).
1995 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1997         * readelf.c (get_machine_flags): Recognize header flags for ABI and
1998         ASE extensions. More robust code for ISA checking. Ignore empty fields
1999         in header flags for GNU extensions.
2001 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
2003         * objcopy.c (copy_archive): Set output bfd format outside the loop.
2005 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2007         * po/ja.po: Import from translation project.
2008         * configure.in (ALL_LINGUAS): Add ja.
2009         * configure: Regenerate.
2011 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2013         * addr2line.c (main): Protoype.
2014         * ar.c (main): Protoype.
2015         * nm.c (main): Protoype.
2016         * objcopy.c (main): Protoype.
2017         * objdump.c (main): Protoype.
2018         * size.c (main): Protoype.
2019         * strings.c (main): Protoype.
2021 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
2023         * readelf.c (symtab_shndx_hdr): New global.
2024         (SECTION_HEADER_INDEX): Define.
2025         (SECTION_HEADER_NUM): Define.
2026         (SECTION_HEADER): Define.
2027         (GET_ELF_SYMBOLS): Pass two params rather than three.
2028         (get_32bit_elf_symbols): Take file and section args.  Read and
2029         use SHT_SYMTAB_SHNDX.
2030         (get_64bit_elf_symbols): Likewise.
2031         (dump_relocations): Use SECTION_HEADER to index "section_headers".
2032         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
2033         Remember symtab_shdx_hdr.
2034         (process_program_headers): Scan from index 1 for segment map.
2035         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2036         "section_headers".
2037         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
2038         (process_unwind): Likewise.
2039         (process_version_sections): Likewise.
2040         (process_symbol_table): Likewise.
2041         (display_debug_info): Likewise.
2042         (process_dynamic_segment): Fake up a symtab section for changed
2043         GET_ELF_SYMBOLS.
2044         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2045         (process_program_headers): Kill signed/unsigned warning.
2046         (load_debug_str): Likewise.
2047         (display_debug_info): Likewise.
2049 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
2051         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2053 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
2055         * readelf.c (process_file_header): Print extended e_shnum and
2056         e_shdtrndx values.  Set elf_header values for same.
2057         (get_32bit_section_headers): Add "num" arg to read "num" headers.
2058         (get_64bit_section_headers): Likewise.
2059         (process_section_headers): Update calls.
2060         (get_file_header): Call get_32bit_section_headers or 64bit variant.
2062 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
2064         * objcopy.c (setup_section): Copy entsize.
2066 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
2068         * readelf.c (guess_is_rela): Add support for stormy16.
2069         (dump_relocations): Likewise.
2070         (get_machine_name): Likewise.
2072 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
2074         * dllwrap.c (main) Replace multiple strings describing a
2075         single error with a single, newline escaped sentence to permit
2076         better translation into foreign languages.
2078         * readelf.c (get_elf_class): Remove internalionalisation of ELF
2079         class names.
2081 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2083         * strings.c (get_char): Initialize value.
2085 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2087         * arlex.l: Silence compile warnings.
2088         * arsup.h: Likewise. Fix formatting.
2090 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
2092         * strings.c: Include config.h before bfd.h.
2093         (file_off): New type.
2094         (file_open): Define.
2095         (print_strings): Use file_off instead of file_ptr.  Print addresses
2096         which don't fit into long correctly.
2097         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
2098         available.
2099         (strings_file): Use file_off instead of file_ptr.  Use file_open.
2100         * configure.in: Check for getc_unlocked.
2101         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2102         be defined for it.
2103         * configure: Rebuilt.
2104         * config.h.in: Rebuilt.
2106 2001-11-29  H.J. Lu <hjl@gnu.org>
2108         * bucomm.c (make_tempname): Revert the changes made on
2109         2001-11-14 and 2001-11-12. They won't work with directories.
2111 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2113         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2114         CFLAGS_FOR_TARGET to runtest in environment.
2115         * Makefile.in: Rebuild.
2116         * doc/Makefile.in: Rebuild.
2118 2001-11-28  Mike Stump  <mrs@wrs.com>
2120         * objcopy.c (setup_section): Preserve SEC_RELOC when
2121         --set-section-flags is used.
2123 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
2125         * readelf.c (do_debug_str): New variable.
2126         (display_debug_str): New function: Display the contents of a
2127         .debug_str section.
2128         (load_debug_str): New function: Load in the contents of a
2129         .debug_str section.
2130         (free_debug_str): New function: Free the memory used by
2131         load_debug_str().
2132         (fetch_indirect_string): Retrieve a string from the .debug_str
2133         section.
2134         (usage): Add -ws.
2135         (parse_args): Accept -ws.
2136         (process_section_headers): Allow the display of the .debug_str
2137         section.
2138         (read_and_display_attr_value): Use fetch_indirect_string.  Show
2139         offset into .debug_str section.
2140         (display_debug_info): Use load_debug_str and free_debug_str.
2141         (debug_displays): Add .debug_str.
2142         * doc/binutils.texi: Document -ws.
2144 2001-11-19  Andreas Jaeger  <aj@suse.de>
2146         * testsuite/binutils-all/objdump.exp: Add x86-64.
2148 2001-11-15  Andreas Schwab  <schwab@suse.de>
2150         * readelf.c: Fix warnings without terminating newline.
2152 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
2154         * doc/binutils.texi (objdump): Document ppc -M options.
2156 2001-11-14  Andreas Jaeger  <aj@suse.de>
2158         * doc/binutils.texi (objdump): Fix description to use x86-64.
2160 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
2162         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2163         not all systems provide mkstemp.
2165 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
2167         * doc/binutils.texi (objdump): Document x86 -M options.
2169 2001-11-13  Keith Walker <keith.walker@arm.com>
2171         * readelf.c (read_and_display_attr_value): New function to
2172         handle DW_FORM_indirect.
2173         (read_and_display_attr): Use it.
2175 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
2177         * readelf.c (display_debug_lines): Deal with unknown standard
2178         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2179         DW_LNS_set_isa.
2181 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
2183         * MAINTAINERS: Add self as tic54x maintainer.  This target
2184         includes the IBM C54XDSP clone.
2186 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
2188         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2190 2001-11-09  Jeffrey A Law  (law@cygnus.com)
2192         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2193         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2194         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2195         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2196         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2197         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2198         (unw_decode_b2, unw_decode_b3_b4): Likewise.
2200         * readelf.c (get_elf_class): Fix ISO portability glitch.
2201         (get_data_encoding, get_osabi_name, request_dump): Likewise.
2203 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
2205         * readelf.c (debug_str, debug_str_size): New.
2206         (display_debug_abbrev): If no abbrevs were read, skip the CU.
2207         Call free_abbrevs.
2208         (read_and_display_addr): Handle DW_FORM_strp.
2209         (display_debug_info): Read .debug_str section if present,
2210         so that DW_FORM_strp can be handled.
2211         Fix test for non-existant .debug_abbrev section.
2213 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
2215         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
2217         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2219 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2221         * MAINTAINERS: Add self as s390/s390x maintainer.
2223 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
2225         * MAINTAINERS: Add self as PPC XCOFF maintainer.
2227 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
2229         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2230         * configure: Regernate.
2231         * po/fr.po: New file.
2232         * po/tr.po: New file.
2234 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
2236         * MAINTAINERS: Add self as MMIX port maintainer.
2237         * readelf.c: Include elf/mmix.h.
2238         (guess_is_rela): MMIX is RELA.
2239         (dump_relocations): Handle MMIX relocations.
2240         * Makefile.am: Regenerate dependencies.
2241         * Makefile.in: Regenerate.
2243 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
2245         * readelf.c (parse_args): Handle multiple options to the -w
2246         switch.
2248 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
2250         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2251         LOPROC, LOOS and LOUSER.
2253 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
2255         * MAINTAINERS: Update my email address.
2257 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
2259         * doc/Makefile.in: Regenerate.
2260         * configure: Regenerate.
2262 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
2264         * readelf.c (display_debug_line, display_debug_pubnames,
2265         display_debug_info, display_debug_frames): Detect and warn
2266         about 64-bit format entries.
2267         (display_debug_aranges): Reword 64-bit warning.
2268         (debug_displays): Add .debug_pubtypes as a known, but not yet
2269         supported, debug section.
2271 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
2273         * coffdump.c (PROGRAM_VERSION): Delete.
2274         (main <'V'>): Call print_version.
2275         * srconv.c: Likewise.
2276         * sysdump.c: Likewise.
2277         * version.c (program_version): Remove.
2278         (print_version): Use BFD_VERSION_STRING.  Just print the current
2279         year in copyright message.
2280         * addr2line.c (program_version): Remove unused declaration.
2281         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2282         place of BFD_VERSION.
2283         * Makefile.am (Makefile): Depend on bfd/configure.in.
2284         (cplus-dem.o): Depend on Makefile.
2285         Run "make dep-am".
2286         * Makefile.in: Regenerate.
2288 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
2290         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2291         format .debug_arange sections.
2292         (main): Add missing prototype.
2294 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
2296         * Makefile.am: Update dependencies with "make dep-am".
2297         * Makefile.in: Regenerate.
2299 2001-09-28  Richard Henderson  <rth@redhat.com>
2301         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2303 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
2305         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2306         VA_CLOSE.
2307         (non_fatal): Likewise.
2308         * objdump.c (objdump_sprintf): Likewise.
2309         * readelf.c (error): Likewise.
2310         (warn): Likewise.
2312 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
2314         * readelf.c (do_wide): New.
2315         (options): Add --wide.
2316         (usage, parse_args): Likewise.
2317         (process_program_headers): Put each segment on a single line if
2318         --wide is given.
2319         (process_section_headers): Put each section on a single line if
2320         --wide is given.
2321         * doc/binutils.texi: Document it.
2322         * NEWS: Likewise.
2324 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
2326         * readelf.c (print_vma): Print 8 digits of low hex value.
2328 2001-09-24  Andreas Jaeger  <aj@suse.de>
2330         * nlmconv.c: Fix warnings about unused attributes and function
2331         prototypes.
2333         * strings.c: Add prototype for get_char.
2335 2000-09-19  H.J. Lu  <hjl@gnu.org>
2337         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2338         $(srcdir)/cxxfilt.man.
2339         * doc/Makefile.in: Rebuild.
2341 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
2343         * objcopy.c (copy_main): Correct rename-section string parsing.
2344         Consolidate new_name parsing, and error messages.
2346 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
2348         * addr2line.c: Don't include <ctype.h>.
2349         (main): For gettext, also set the LC_CTYPE locate facet.
2350         * ar.c (main): Likewise.
2351         * coffdump.c (main): Likewise.
2352         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2353         (main): For gettext, also set the LC_CTYPE locate facet.
2354         Use ISALNUM instead of isalpha/isdigit.
2355         * dllwrap.c: Don't include <ctype.h>.
2356         (main): For gettext, also set the LC_CTYPE locate facet.
2357         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2358         (main): For gettext, also set the LC_CTYPE locate facet.
2359         Use TOUPPER instead of islower/toupper.
2360         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2361         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2362         Use TOUPPER instead of islower/toupper.
2363         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2364         * objcopy.c (main): Likewise.
2365         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2366         (disassemble_bytes): Use ISPRINT instead of isprint.
2367         (dump_section_stabs): Use ISDIGIT instead of isdigit.
2368         (dump_data): Use ISPRINT instead of isprint.
2369         (main): For gettext, also set the LC_CTYPE locate facet.
2370         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2371         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2372         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2373         Use TOUPPER instead of islower/toupper.
2374         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2375         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2376         (write_rc_accelerators): Use ISPRINT instead of isprint.
2377         (write_rc_rcdata): Likewise.
2378         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2379         * srconv.c (main): Likewise.
2380         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2381         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2382         isdigit/isupper/islower.
2383         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2384         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2385         stab_demangle_prefix, stab_demangle_qualified,
2386         stab_demangle_template, stab_demangle_type,
2387         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2388         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2389         (isgraphic): Use ISPRINT instead of isascii/isprint.
2390         (main): Remove HAVE_LC_MESSAGES dependency.
2391         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2392         (pbarray): Use ISPRINT instead of isprint.
2393         (main): For gettext, also set the LC_CTYPE locate facet.
2394         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2395         (format_from_filename): Use ISPRINT instead of isprint.
2396         (main): For gettext, also set the LC_CTYPE locate facet.
2397         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2398         (unicode_print): Use ISPRINT instead of isprint.
2399         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2400         (stab_variable): Use ISDIGIT instead of isdigit.
2402 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
2404         * ar.c (print_contents): Cast args of bfd_seek to the right types.
2405         Replace bfd_read call with call to bfd_bread.
2406         (extract_file): Likewise.
2408         * objdump.c (dump_section_header): Cast section->filepos to
2409         unsigned long to suit printf format string.
2410         * readelf.c (process_section_headers): Similarly for sh_offset.
2411         (process_unwind): Likewise.
2413 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2415         * strings.c (encoding, encoding_bytes): New variables.
2416         (long_options): Add --encoding.
2417         (main): Accept -e and --encoding.
2418         (get_char): New function.  Read a, possibly wide, character from
2419         the input stream.
2420         (print_strings): Use get_char().
2421         (usage): Document new command line option.
2422         * doc/binutils.texi: Document new command line option.
2423         * NEWS: Announce new command line option.
2425 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
2427         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2428         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2429         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2430         Removed EM_CYGNUS_ARC.
2432 2001-09-04  Jeffrey A Law  (law@cygnus.com)
2434         * readelf.c: Include elf/h8 for H8 series definitions.
2435         (guess_is_rela): H8 series if RELA.
2436         (dump_relocations): Handle H8 series relocations.
2438 2001-08-31  Eric Christopher  <echristo@redhat.com>
2440         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2442 2001-08-29  Peter Targett  <peter.targett@arccores.com>
2444         * MAINTAINERS: Include ARC Maintainer.
2446 2001-08-29  Ben Elliston  <bje@redhat.com>
2448         * stabs.c (stab_demangle_template): Initialise s4.
2450 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
2452         * readelf.c (dump_relocations): Recognise EM_PPC64.
2454 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2456         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2458 2001-08-25  H.J. Lu  <hjl@gnu.org>
2460         * nm.c (print_width): New.
2461         (display_rel_file): Set `print_width' according to
2462         bfd_sprintf_vma.
2463         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2465 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2467         * objcopy.c (use_alt_mach_code): New variable.
2468         (OPTION_ALT_MACH_CODE): Define.
2469         (copy_options): Added --alt-machine-code.
2470         (copy_main): Handle it.
2471         (copy_object): Switch to alternate machine code if requested.
2472         * doc/binutils.texi: Document new option.
2473         * NEWS: Likewise.
2475 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2477         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2479 2001-08-21  H.J. Lu  <hjl@gnu.org>
2481         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2482         (display_debug_info): Cast for 64bit hosts.
2483         (display_debug_frames): Likewise.
2484         (process_mips_specific): Likewise.
2486 2001-08-21  Andreas Jaeger  <aj@suse.de>
2488         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2490         * sysdump.c: Add missing prototypes.
2491         * srconv.c: Likewise.
2492         * unwind-ia64.c: Likewise.
2493         * coffdump.c: Likewise.
2495         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2497         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2498         of declaring xcalloc.
2500 2001-08-10  H.J. Lu  <hjl@gnu.org>
2502         * nm.c (print_value): Add one arg, bfd *.
2503         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2504         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2505         (print_symbol_info_sysv): Likewise.
2506         (print_symbol_info_posix): Likewise.
2508         * objdump.c (dump_section_header): Replace printf_vma with
2509         bfd_printf_vma.
2510         (print_section_stabs): Likewise.
2511         (dump_bfd_header): Likewise.
2512         (objdump_print_value): Replace sprintf_vma with
2513         bfd_sprintf_vma.
2514         (disassemble_bytes): Likewise.
2515         (dump_reloc_set): Likewise.
2517 2001-08-10  Andreas Jaeger  <aj@suse.de>
2519         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2520         to build warnings.
2521         * configure: Regenerate.
2523 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2525         * readelf.c: Add missing prototypes.
2526         * objdump.c: Likewise.  Format existing prototypes.
2528 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2530         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2531         of any RELA relocation for the abbrev_offset memory location that
2532         refers to the .debug_abbrev section symbol.
2534 2001-08-07  H.J. Lu  <hjl@gnu.org>
2536         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2537         (main): Return process_file ().
2539 2001-08-05  Philip Blundell  <philb@gnu.org>
2541         * doc/binutils.texi: Use "Thumb" not "THUMB".
2543 2001-08-03  John Healy  <jhealy@redhat.com>
2545         Patch suggested by Frank Eigler <fche@redhat.com>.
2546         * objdump.c (disassemble_data): Fill in section member of the
2547         disasm_info structure.
2549 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2551         * configure.in: Added --with-windres option.
2552         * configure: Regenerated.
2554 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2556         * doc/binutils.texi: Use @command{name} for commands;
2557         use @option{-opt} for options; use @table @env for list of options;
2558         remove spaces arround [ | ] in synopsis.
2560         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2561         center title.
2563 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2565         * objcopy.c: Fix formatting.
2566         (section_rename): New structure.
2567         (OPTION_RENAME_SECTION): New switch.
2568         (copy_usage): Document new switch.
2569         (add_section_rename): New function: Add a node to the section
2570         rename list.
2571         (find_section_rename): New function: Find the new name and
2572         flags for a section.
2573         (setup_section): Call find_section_name to determine the name
2574         of the output section.
2575         (copy_main): Handle OPTION_RENAME_SECTION.
2576         * binutils.texi: Document new switch.
2577         * NEWS: Mention new switch.
2579 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2581         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2582         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2583         bug-binutils@gcc.org.
2585 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2587         * bucomm.c (list_supported_architectures): New function.
2588         * bucomm.h (list_supported_architectures): Declare.
2589         * objdump.c (usage): Call the above.
2591 2001-07-25  Dave Brolley  <brolley@redhat.com>
2593         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2594         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2596 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2598         * README: Update for 2.11.  Change bug reporting email address.
2599         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2601 2001-07-16  DJ Delorie  <dj@redhat.com>
2603         * resres.c (write_res_header): Align header size.
2604         (res_align_file): Calculate alignment correctly.
2606         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2607         correct 10).
2608         * resrc.c (write_rc_resource): Likewise.
2609         * windres.h (SUBLANG_SHIFT): Define - as 10.
2611 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2613         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2615 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2617         * MAINTAINERS: Add notes about branch checkins.
2619 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2621         * readelf.c (display_debug_macinfo): New function, display
2622         .debug_macinfo section.
2623         (do_debug_macinfo): New variable.
2624         (parse_args): Handle "-w[mM]" to mean display macro info.
2625         (process_section_headers): Handle debug_macinfo.
2626         (debug_displays): Replace unsupported function with macinfo
2627         function for .debug_macinfo display.
2628         * doc/binutils.texi: Document new command line switch.
2629         * NEWS: Document new feature of readelf.
2631 2001-07-05  H.J. Lu  <hjl@gnu.org>
2633         * objcopy.c (filter_symbols): Don't turn undefined symbols
2634         into local.
2636 2001-07-03  H.J. Lu <hjl@gnu.org>
2638         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2639         $@.pod.
2640         (ar.1): Likewise.
2641         (dlltool.1): Likewise.
2642         (nlmconv.1): Likewise.
2643         (nm.1): Likewise.
2644         (objcopy.1): Likewise.
2645         (objdump.1): Likewise.
2646         (ranlib.1): Likewise.
2647         (readelf.1): Likewise.
2648         (size.1): Likewise.
2649         (strings.1): Likewise.
2650         (strip.1): Likewise.
2651         (windres.1): Likewise.
2652         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2653         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2654         $(DEMANGLER_NAME).
2655         (as.1): Removed.
2656         * doc/Makefile.in: Regenerated.
2658 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2660         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2662 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2664         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2666 2001-06-29  James Cownie <jcownie@etnus.com>
2668         * readelf.c: Support DWARF 2.1 attributes.
2670 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2672         * readelf.c (GET_DATA_ALLOC): Remove.
2673         (GET_DATA): Remove.
2674         (get_data): New function combining above macros, with an extra
2675         test for zero size.
2676         (slurp_rela_relocs): Use get_data, and catch error return.
2677         (slurp_rel_relocs): Likewise.
2678         (get_32bit_program_headers): Likewise.
2679         (get_64bit_program_headers): Likewise.
2680         (get_32bit_section_headers): Likewise.
2681         (get_64bit_section_headers): Likewise.
2682         (get_32bit_elf_symbols): Likewise.
2683         (get_64bit_elf_symbols): Likewise.
2684         (process_section_headers): Likewise.
2685         (process_relocs): Likewise.
2686         (slurp_ia64_unwind_table): Likewise.
2687         (process_unwind): Likewise.
2688         (get_32bit_dynamic_segment): Likewise.
2689         (get_64bit_dynamic_segment): Likewise.
2690         (process_dynamic_segment): Likewise.
2691         (process_version_sections): Likewise.
2692         (process_symbol_table): Likewise.
2693         (dump_section): Likewise.
2694         (display_debug_info): Likewise.
2695         (display_debug_section): Likewise.
2696         (process_section_contents): Likewise.
2697         (process_corefile_note_segment): Likewise.
2698         (process_mips_specific): Likewise.  Also free econf32, econf64.
2700 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2702         * readelf.c (dump_relocations): Print "bad symbol index" if
2703         symtab == NULL with non-zero symtab_index.
2704         (process_relocs): Don't bomb if reloc section has no symsec.
2706 2001-06-24  H.J. Lu  <hjl@gnu.org>
2708         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2709         by accident.
2710         (copy_main): Apply the the change made to strip_main on
2711         2001-05-30 by accident.
2713 2001-06-23  Andreas Jaeger  <aj@suse.de>
2715         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2716         parameter 'code'.
2717         (unw_decode_x2): Likewise.
2718         (unw_decode_x3): Likewise.
2719         (unw_decode_x4): Likewise.
2721 2001-06-23  Ben Elliston  <bje@redhat.com>
2723         * MAINTAINERS: Add myself as M88k maintainer.
2725 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2727         * objcopy.c (strip_main): Support -o or --output-file command lien
2728         switch.
2730 2001-06-19  H.J. Lu <hjl@gnu.org>
2732         * doc/Makefile.in: Regenerated.
2734 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2736         * readelf.c: Restore formatting.
2738 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2740         * Makefile.am: Move documentation into doc subdirectory.
2741         * Makefile.in: Regenerated.
2742         * binutils.texi: Move into doc subdirectory.
2743         * addr2line.1: Removed.
2744         * ar.1: Likewise.
2745         * dlltool.1: Likewise.
2746         * nlmconv.1: Likewise.
2747         * nm.1: Likewise.
2748         * objcopy.1: Likewise.
2749         * objdump.1: Likewise.
2750         * ranlib.1: Likewise.
2751         * readelf.1: Likewise.
2752         * size.1: Likewise.
2753         * strings.1: Likewise.
2754         * strip.1: Likewise.
2755         * windres.1: Likewise.
2756         * cxxfilt.man: Likewise.
2757         * doc: New Directory.
2758         * doc/Makefile.am: New file.
2759         * doc/Makefile.in: Generate.
2761 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2763         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2765 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2767         * MAINTAINERS: Update my email address.
2769 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2771         * objcopy.c: Add new switches: --keep-global-symbol,
2772         --keep-symbols, --localize-symbols, --keep-global-symbols and
2773         --weaken-symbols.
2774         * binutils.texi: Document new switches.
2775         * objcopy.1: Regenerate.
2776         * NEWS: Announce new feature.
2778 2001-05-28  Andreas Jaeger  <aj@suse.de>
2780         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2781         variables, fix format strings.
2783 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2785         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2786         when computing the address of the line to show.
2788 2001-05-16  Richard Henderson  <rth@redhat.com>
2790         * readelf.c (do_debug_frames_interp): New.
2791         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2792         (byte_get_big_endian): Likewise.
2793         (parse_args) ['F']: Set do_debug_frames_interp.
2794         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2795         (frame_display_row): Don't trunc pc_begin to int.
2796         (size_of_encoded_value): New.
2797         (display_debug_frames): Handle 64-bit targets.  Print raw data
2798         unless do_debug_frames_interp.
2799         (debug_displays): Remove duplicate .debug_frame.
2801 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2803         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2804         The former constant was never in active use and is used otherwise
2805         by the ABI.
2807 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2809         * readelf.c (process_unwind): Print all unwind sections, not just
2810         one.
2812 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2814         * readelf.c (process_unwind): Remove const specifier.
2816 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2818         * strings.c (isgraphic): Do not use isascii() unless it is needed
2819         for isprint() to work.
2820         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2822 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2824         * NEWS: Announce support for OpenRISC.
2826 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2828         * dlltool.c (do_default_excludes): Initialise to true.
2830 2001-04-10  Alan Modra  <amodra@one.net.au>
2832         * MAINTAINERS: Update my email address
2833         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2835 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2837         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2839 2001-03-30  H.J. Lu  <hjl@gnu.org>
2841         * readelf.c (process_unwind): Just return if do_unwind is 0.
2843 2001-03-28  Roger Sayle  <roger@metaphorics.com>
2845         * dlltool.c (make_one_lib_file): Fix section flags for
2846         .text, .data and .bss in stub ds*.o files to match those
2847         generated by gas.
2849 2001-03-29  H.J. Lu  <hjl@gnu.org>
2851         * readelf.c (process_unwind): Only do unwind sections for
2852         IA64.
2854 2001-03-28  H.J. Lu  <hjl@gnu.org>
2856         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2857         * Makefile.in: Regenerate.
2859 2001-03-26  Andreas Jaeger  <aj@suse.de>
2861         * binutils.texi (nm): Fix texi syntax.
2863 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2865         * binutils.texi: Put @c man begin and @c man end indications
2866         to generate man pages using texi2pod and pod2man. Put @c man title
2867         to identify each man. Add SEEALSO entries.
2868         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2869         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2870         sort the list.
2871         (*.1): Build the man pages from binutils.texi.
2872         * Makefile.in: Regenerate.
2874 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
2876         * defparse.y (opt_equal_name): allow "." in name.
2877         * dlltool.c (def_exports): Added ability to generate forwarded exports.
2878         (gen_exp_file): Likewise.
2880 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
2882         * NEWS: Document addition of -B switch to objcopy.
2883         * binutils.texi:  Document addition of -B switch to objcopy.
2884         * objcopy.c: (copy_options): Add --binary-architecture.
2885         (copy_usage): Document -B/--binary-architecture.
2886         (copy_main): Support -B/--binary-architecture.  Set
2887         bfd_external_binary_architecture.
2889 2001-03-11  Andreas Jaeger  <aj@suse.de>
2891         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2892         (dump_relocations): Likewise.
2893         (get_machine_name): Likewise.
2895 2001-02-28  Nick Clifton  <nickc@redhat.com>
2897         * readelf.c: (struct unw_aux_info): Remove const modifier for
2898         'strtab' field.
2899         (process_unwind): Remove non-K&R compliant LHS type cast in call
2900         to GET_DATA_ALLOC macro.
2902 2001-02-28  Philip Blundell  <pb@futuretv.com>
2904         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2905         ABI is in use; remove ambiguity between the "unknown" EABI and
2906         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
2907         renamed EF_xx constants.
2909 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2911         * configure.in (BFD_VERSION): New.
2912         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2913         * configure: Regenerate.
2914         * Makefile.am: Run "make dep-am"
2915         * Makefile.in: Regenerate.
2917 2001-02-14  Nick Clifton  <nickc@redhat.com>
2919         * MAINTAINERS: Add "Obvious Fix" rule.
2921 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2923         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2924         literal concatenation.
2926 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2928         * readelf.c (struct unw_aux_info): Remove const from the info member.
2929         (process_unwind): Don't type-cast the third argument to the
2930         GET_DATA_ALLOC macro.
2932 2001-02-11  Nick Clifton  <nickc@redhat.com>
2934         * readelf.c (dump_relocations): Free corrected allocated
2935         array.
2936         (process_unwind): Fix compile time warning.
2938 2001-02-10  Nick Clifton  <nickc@redhat.com>
2940         * binutils.texi: Document new --unwind option to readelf.
2942 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2944         * readelf.c: Add linux target for S/390.
2946 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
2948         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2949         printf is a macro.
2951 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
2953         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2954         * aclocal.m4: Regenerate.
2955         * configure: Regenerate.
2957 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
2959         * bucomm.c (bfd_target_vector): Change extern array to pointer.
2960         * objdump.c (bfd_target_vector): Likewise.
2962 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
2964         * readelf.c (process_unwind): New function.
2965         (slurp_ia64_unwind_table): Ditto.
2966         (dump_ia64_unwind): Ditto.
2967         (find_symbol_for_address): Ditto.
2968         (slurp_rela_relocs): New function (split off from dump_relocations()).
2969         (slurp_rel_relocs): Ditto.
2970         (parse_args): Handle '-u' option.
2972         * unwind-ia64.c: New file.
2973         * unwind-ia64.h: New file.
2974         * Makefile.am: Include unwind-ia64.c in readelf build.
2975         * Makefile.in: Regenerate.
2976         * po/binutils.pot: Regenerate.
2978 2001-02-04  Philip Blundell  <philb@gnu.org>
2980         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2981         * configure: Regenerate.
2983 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
2985         * ieee.c (ieee_add_bb11): Don't check for backslashes
2986         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2988 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
2990         * ieee.c: Update copyright.
2991         (ieee_start_compilation_unit): Don't check for backslashes
2992         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2994         * stabs.c: Update copyright. Include "filenames.h".
2995         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2997 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2999         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3000         sections are present before using them.  Remove code duplication.
3001         (process_symbol_table): Check if VERDEF or VERNEED sections are
3002         present before using them.
3004 2001-01-17  Nick Clifton  <nickc@redhat.com>
3006         * objcopy.c (copy_object): Fail if attempting to convert the
3007         endianness of the input object file.
3009         * binutils.texi: Explain that objcopy cannot convert endianness.
3011 2001-01-16  Nick Clifton  <nickc@redhat.com>
3013         * readelf.c (string_table_length): New variable.
3014         (SECTION_NAME): Catch out of range indices and missing section
3015         pointers.
3016         (process_section_headers): Delete useless local variable
3017         string_table_offset.  Set the value of string_table_length
3018         after loading the string table.
3019         (process_mips_specific): Use SECTION_NAME macro.
3020         (process_file): Set string_table_length to 0 when it is freed.
3022 2001-01-12  Nick Clifton  <nickc@redhat.com>
3024         * version.c (print_version): Update copyright date.
3026 2001-01-11  Peter Targett  <peter.targett@arccores.com>
3028         * readelf.c (dump_relocations): Include selection with EM_ARC.
3029         (get_machine_name) Update name to "ARC".
3031 2001-01-09  Nick Clifton  <nickc@redhat.com>
3033         * Makefile.am: Add rule to build objdump.o from objdump.c and
3034         using OBJDUMP_DEFS.
3035         * Makefile.in: Regenerate.
3037         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
3038         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3039         -DDISASSEMBLER_NEEDS_RELOCS.
3040         * configure: Regenerate.
3042         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3043         is defined read in the relocs even if dump_reloc_info is
3044         false.
3046 2001-01-07  Philip Blundell  <philb@gnu.org>
3048         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3049         `bug-binutils'.
3050         * README: Likewise.
3052 2000-12-19  Nick Clifton  <nickc@redhat.com>
3054         * dlltool.c: Add missing support for arm-epoc-pe.
3055         * configure.in: Add missing support for arm-epoc-pe.
3056         * configure: Regenerate.
3058 2000-12-15  Nick Clifton  <nickc@redhat.com>
3060         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3061         Mode parts of the x86 port.
3063 2000-12-04  Andreas Jaeger  <aj@suse.de>
3065         * readelf.c (guess_is_rela): Add EM_X86_64.
3066         (dump_relocations): Add EM_X86_64.
3067         (get_machine_name): Add EM_X86_64.
3068         Include "elf/x86-64.h".
3070 2000-12-12  Nick Clifton  <nickc@redhat.com>
3072         * readelf.c: Fix formatting.
3074 2000-12-11  Jan Hubicka  <jh@suse.cz>
3076         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3078 2000-12-07  Andrew Haley  <aph@redhat.com>
3080         * readelf.c (display_debug_frames): Only display columns that are
3081         referenced by the frame debug info.
3083 2000-12-05  Nick Clifton  <nickc@redhat.com>
3085         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3087 2000-12-04  Jason Merrill  <jason@redhat.com>
3089         * readelf.c (process_section_headers): Handle linkonce.wi sections.
3090         (display_debug_section): Likewise.
3091         (display_debug_info): Display CU header before bailing.
3093 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
3095         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3096         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
3097         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3099         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3100         and E_MIPS_ARCH_64.
3102         * readelf.c (get_machine_flags): Add case for
3103         E_MIPS_MACH_SB1.
3105 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
3107         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3109 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
3111         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
3112         Change sourceware.cygnus.com to sources.redhat.com.
3113         Fix typo for "amongst".
3115 2000-11-28  Nick Clifton  <nickc@redhat.com>
3117         * strip.1 (COPYING): Mention that the GNU Free Documentation
3118         License is present in the sources, but not the output, and
3119         also available from the GNU website.
3120         (GNU Free Documentation License): Comment out this section.
3121         * strings.1: Ditto.
3122         * size.1: Ditto.
3123         * ranlib.1: Ditto.
3124         * objdump.1: Ditto.
3125         * objcopy.1: Ditto.
3126         * nm.1: Ditto.
3127         * nlmconv.1: Ditto.
3128         * ar.1: Ditto.
3129         * addr2line.1: Ditto.
3131 2000-11-27  DJ Delorie  <dj@redhat.com>
3133         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3134         (parse_args): Support -wf option.
3135         (process_section_headers): Ditto.
3136         (debug_displays): Ditto.
3137         (display_debug_frames): New, dump *_frame sections.
3138         (frame_need_space): Support for above.
3139         (frame_display_row): Ditto.
3140         * binutils.texi: Document it.
3142 2000-11-24  Nick Clifton  <nickc@redhat.com>
3144         * NEWS: Announce support for v5t, v5te and XScale.
3146 2000-11-22  Nick Clifton  <nickc@redhat.com>
3148         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3149         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3150         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3151         (get_elf_section_flags: Add SHF_GROUP.
3152         (process_section_headers): Adjust output for 32-bit binaries
3153         to look nice on an 80 column terminal.
3155 2000-11-20  H.J. Lu  <hjl@gnu.org>
3157         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3158         ELFOSABI_AIX.
3160 2000-11-17  Richard Henderson  <rth@redhat.com>
3162         * readelf.c (display_debug_lines): Adjust last change to
3163         use sizeof (external->li_length).
3165 2000-11-17  Richard Henderson  <rth@redhat.com>
3167         * readelf.c (display_debug_lines): Fix section length check
3168         and end_of_sequence computation.
3170 2000-11-06  Nick Clifton  <nickc@redhat.com>
3172         * binutils.texi: Add GNU Free Documentation License.
3173         * objcopy.1: Add GNU Free Documentation License.
3174         * objdump.1: Add GNU Free Documentation License.
3175         * addr2line.1: Add GNU Free Documentation License.
3176         * ar.1: Add GNU Free Documentation License.
3177         * nlmconv.1: Add GNU Free Documentation License.
3178         * nm.1: Add GNU Free Documentation License.
3179         * ranlib.1: Add GNU Free Documentation License.
3180         * size.1: Add GNU Free Documentation License.
3181         * strings.1: Add GNU Free Documentation License.
3182         * strip.1: Add GNU Free Documentation License.
3184 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
3186         * objcopy.c (--srec-len=nn): New parameter to set the
3187         maximum length of generated Srecords.
3188         (--srec-forceS3): New parameter that restricts the generation of
3189         Srecords to type S3 only.
3190         * binutils.texi: Document new command line switches.
3191         * objcopy.1: Docuemnt the new command line switches.
3192         * NEWS: Announce the existence of the new command line switches.
3194 2000-10-31  Nick Clifton  <nickc@redhat.com>
3196         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3197         code.  Add Eric Chrisopher as maintainer of MN10300 port.
3199 2000-10-12  Roger Sayle  <roger@metaphorics.com>
3201         * Make comma after string after icon/control optional.
3203 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
3205         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3207         * NEWS: Mention support for MIPS32.
3209 2000-09-08  Nick Clifton  <nickc@redhat.com>
3211         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3213 2000-09-07  H.J. Lu  <hjl@gnu.org>
3215         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3216         * configure: Rebuild.
3218 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3220         * configure: Rebuilt with new libtool.m4.
3222 2000-09-05  Nick Clifton  <nickc@redhat.com>
3224         * aclocal.m4: Regenerate.
3225         * config.in: Regenerate.
3226         * configure: Regenerate.
3228 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
3230         * strip.1: Fix stray '\' in -o formatting.
3232 2000-09-02  Nick Clifton  <nickc@redhat.com>
3234         * configure.in: Increase version number to 2.10.91.
3235         * configure: Regenerate.
3236         * aclocal.m4: Regenerate.
3237         * config.in: Regenerate.
3238         * po/binutils.pot: Regenerate.
3240 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
3242         * acinclude.m4: Include libtool and gettext macros from the
3243         top level.
3244         * aclocal.m4, configure: Rebuilt.
3246 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
3248         * resrc.c (close_input_stream): Delete extraneous logic
3250 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
3252         * NEWS: Mention support for CRIS.
3254 2000-08-21  Nick Clifton  <nickc@redhat.com>
3256         * addr2line.c: Changed email address for Ulrich Lauther.
3258 2000-08-17  Christopher C. Chimelis <chris@debian.org>
3260         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3262 2000-08-17  Nick Clifton  <nickc@redhat.com>
3264         * readelf.c (display_debug_pubnames): Only issue warning
3265         message once.  Terminate message with a new line.
3266         (display_debug_aranges): Only display version 2 debug info.
3268 2000-08-14  Todd Vierling <tv@wasabisystems.com>
3270         * objcopy.c (strip_main): Silently accept -d as an alias for -g
3271         for compatability with old BSD systems.
3273 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
3275         * NEWS: Mention i860 support.
3277 2000-08-11  Carlo Wood <carlo@alinoe.com>
3279         * addr2line.c (main): Add const to char *.
3281 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
3283         * ar.c (main): Don't crash if called with no arguments
3284         or only '-X32_64' as an argument.
3286 2000-08-08  DJ Delorie  <dj@redhat.com>
3288         * resrc.c: use "gcc -xc" instead of -xc-header
3290 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
3292         * readelf.c (elf/i860.h): Include.
3293         (dump_relocations): Add recognition of i860 architecture.
3294         (guess_is_rela): Add recognition of i860 architecture.
3296 2000-08-03  Nick Clifton  <nickc@cygnus.com>
3298         * MAINTAINERS: Add information about CGEN maintainers.
3300 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
3302         * nm.c (main): Ignore '-X32_64' as an option.
3303         * ar.c (main): Likewise.
3304         * binutils.texi (nm): Document new option.
3305         (ar): Likewise.
3307 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3309         * rdcoff.c (external_coff_symbol_p): K&R-ise.
3311 2000-07-20  H.J. Lu  <hjl@gnu.org>
3313         * binutils.texi: Put back "@end table" deleted by
3314         accident.
3316 2000-07-05  Kenneth Block  <krblock@computer.org>
3318         * nm.c: Add optional style to demangle switch.
3319         * objdump.c: Add optional style to demangle switch.
3320         * addr2line.c: Add optional style to demangle switch.
3321         * binutils.texi: Document optional style to demangle
3322         switch.
3324 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
3326         * MAINTAINERS: Add self as CRIS port maintainer.
3327         * readelf.c: Include elf/cris.h.
3328         (guess_is_rela): Handle EM_CRIS.
3329         (dump_relocations): Ditto.
3330         (get_machine_name): Ditto.
3331         * Makefile.am: Rebuild dependencies.
3332         * Makefile.in: Regenerate.
3333         * po/binutils.pot: Regenerate.
3335 2000-07-19  H.J. Lu  <hjl@gnu.org>
3337         * readelf.c (get_dynamic_type): Change "AUXILARY" to
3338         "AUXILIARY".
3339         (process_dynamic_segment): Print out strings for DT_CONFIG,
3340         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3342 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
3344         * nm.c (usage): Change output of `nm --help' to include a
3345         description of the purpose of the program and a detailed
3346         description of the accepted options.
3348 2000-07-19  H.J. Lu  <hjl@gnu.org>
3350         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3351         to DF_1_NODEFLIB.
3353 2000-07-19  H.J. Lu  <hjl@gnu.org>
3355         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3357 2000-07-19  H.J. Lu  <hjl@gnu.org>
3359         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3360         DT_FEATURE.
3361         (process_dynamic_segment): Likewise.
3363         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3364         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3365         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3366         DF_1_NODUMP and DF_1_CONLFAT.
3368 2000-07-18  Nick Clifton  <nickc@cygnus.com>
3370         * binutils.texi (readelf): Fix spelling typo.
3372 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
3374         * objdump.c (usage): Make output of `objdump --help' more
3375         consistent with the rest of the GNU world.  Add a line describing
3376         the purpose of the program.
3378 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
3380         * stabs.c (parse_stab_range_type): Cast to proper type to fix
3381         warning.
3383 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
3385         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3386         to fix warnings.
3387         (process_symbol_table): Ditto.
3388         (procesS_extended_line_op): Ditto.
3389         (display_debug_lines): Ditto.
3390         (display_debug_pubnames): Ditto.
3391         (read_and_display_attr): Ditto.
3393 2000-07-09  Nick Clifton  <nickc@cygnus.com>
3395         * MAINTAINERS: Add several more port specific maintainers.
3397 2000-07-05  Nick Clifton  <nickc@cygnus.com>
3399         * MAINTAINERS: Add blanket write privs for Michael Meissner.
3401 2000-06-05  DJ Delorie  <dj@redhat.com>
3403         * MAINTAINERS: New.
3405 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
3407         * dllwrap.c: Changed mistaken dyn_string_append() calls
3408         to dyn_string_append_cstr().
3410 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
3412         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3413         struct debug_type stores size in bytes.
3415 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
3417         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
3418         (CLEANFILES): Add DEPA.
3419         * Makefile.in: Regenerate.
3421 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
3423         * ar.c: Revert incorrect 2000-06-25 patch.
3424         * bucomm.c: Likewise.
3426 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3428         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3429         (external_coff_symbol_p): New function.
3430         (parse_coff): Use it.
3432 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
3434         * ar.c (normalize): Advance past both characters in a DOS based
3435         <letter>: filepath prefix.
3436         (main): Likewise.
3437         * bucomm.c (make_tempname): Likewise.
3439 2000-06-24  Nick Clifton  <nickc@cygnus.com>
3441         * objdump.c (usage): Fix description of --stabs switch.
3443 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
3445         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3446         find one.
3447         * Makefile.in: Regenerate.
3449 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
3451         * ar.c (normalize): Correct pointer comparison when checking for
3452         backslashes.
3453         (main): Likewise.
3454         * bucomm.c (make_tempname): Likewise.
3456         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3457         and search for backslashes in the original pathname.
3458         (ieee_add_bb11): Likewise.
3460 2000-06-18  Nick Clifton  <nickc@redhat.com>
3462         * ar.c (print_contents): Improve verbose message.
3464 2000-06-15  H.J. Lu  <hjl@gnu.org>
3466         * dyn-string.c: Removed. Not needed with dyn-string.c in
3467         libiberty.
3468         * dyn-string.h: Likewise.
3470         * Makefile.am: Remove references to dyn-string.c and
3471         dyn-string.h. Rebuild dependency.
3472         * Makefile.in: Rebuild.
3474 2000-06-15  H.J. Lu  <hjl@gnu.org>
3476         * binutils.texi: Put a warning on copying relocatable object
3477         files between two different formats.
3479 2000-06-13  DJ Delorie  <dj@cygnus.com>
3481         * rcparse.y (control): ICON controls take an id as the first
3482         parameter, not an optional string.  Also, call new convenience
3483         function that takes res_id's.
3484         * resrc.c (define_control): missing text means zero-length string,
3485         not zero ID.
3486         (define_icon_control): New.
3487         * windres.h: declare define_icon_control.
3489 2000-06-13  H.J. Lu  <hjl@gnu.org>
3491         * configure: Regenerate.
3493 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3495         * configure.in (VERSION): Update to show this is the CVS mainline.
3497 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3499         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3500         analogous to <SPACE>.
3502 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3504         * objdump.c (display_target_list): Use bfd_close_all_done, not
3505         bfd_close to fix crash caused by 2000-05-24 change.
3507 2000-05-25  DJ Delorie  <dj@cygnus.com>
3509         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3511 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3513         * Makefile.am: Update dependencies with "make dep-am"
3514         * Makefile.in: Regenerate.
3516 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3518         * ar.c: Include filenames.h.
3519         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3520         and drive letters in file names.
3521         (main): Support backslashes and drive letters in argv[0].  Drop
3522         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3523         FILENAME_CMP instead of strcmp to compare file names.
3524         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3525         DJGPP v2.
3526         (do_quick_append) [__GO32__]: Ditto.
3527         (get_pos_bfd, delete_members, move_members, replace_members):
3528         Compare file names with FILENAME_CMP.
3530         * bucomm.c: Include filenames.h.
3531         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3532         forward/backward slashes and drive letters in file names.
3534         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3535         mixed forward/backward slashes and drive letters in file names.
3537         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3538         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3539         mode.
3541         * objcopy.c: Include filenames.h.
3542         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3543         before comparing to "strip".
3544         Use FILENAME_CMP to compare file names.
3546         * arsup.c: Include filenames.h.
3547         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3548         FILENAME_CMP to compare file names.
3549         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3550         the temporary file name.
3552         * configure.in: Check for setmode.
3553         * configure: Regenerate.
3555 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3557         * objdump.c (display_target_list): Close the bfd.
3558         (display_info_table): Likewise.
3560 2000-05-14  H.J. Lu  (hjl@gnu.org)
3562         * objcopy.c (filter_symbols): Don't strip global symbols in
3563         relocatable object files.
3565 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3567         * size.c (usage): Associate short options with corresponding long
3568         option to give a clue as to their function.
3570 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3572         * size.c (main): Accept and ignore `-f' option.
3574 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3576         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3577         bindtextdomain): Replace defines with those from intl/libgettext.h
3578         to quieten gcc warnings.
3580 2000-05-12  H.J. Lu  <hjl@gnu.org>
3582         * nlmconv.c (temp_filename): Removed.
3584         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3585         choose_temp_base ().
3586         * objdump.c (display_target_list): Likewise.
3587         (display_info_table): Likewise.
3589 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3591         * objcopy.c (setup_section): Add const and gettext calls for err.
3593 2000-05-02  H.J. Lu  <hjl@gnu.org>
3595         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3596         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3597         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3598         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3599         and ELFOSABI_OPENBSD.
3601 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3603         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3604         * srconv.c: Likewise.
3605         * sysdump.c: Likewise.
3607 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3609         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3610         (get_machine_name): machine name for EM_AVR added.
3612 2000-04-21  Richard Henderson  <rth@cygnus.com>
3613             David Mosberger  <davidm@hpl.hp.com>
3615         * Makefile.am (readelf.o): Add elf/ia64.h.
3616         * Makefile.in: Rebuild.
3617         * readelf.c: Include elf/ia64.h.
3618         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3620 2000-04-17  Timothy Wall  <twall@cygnus.com>
3622         * objdump.c (disassemble_data): Set octets per byte *after*
3623         resolving arch/mach for binary files.
3625 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3627         * arlex.l: Add directives to increase lex buffer size.
3629         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3630         already included by bucomm.h.
3632 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3634         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3635         `strftime' since strftime is not available on all systems.
3636         (process_mips_specific): Ditto.
3638 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3640         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3641         --enable-build-warnings option.
3642         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3643         * Makefile.in, configure: Re-generate.
3645 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3647         * addr2line.c: Update copyright.
3648         * objcopy.1: Likewise, and title.
3649         * strings.1: Likewise.
3651         * version.c (print_version): Add 2000.
3653         * rddbg.c (read_section_stabs_debugging_info): Don't use
3654         bfd_size_type for strx to avoid printf problems if BFD64.
3656         * bucomm.c: (report): Remove `static'.
3657         Move inclusion of stdarg.h/vararg.h from here.
3658         * bucomm.h: To here.
3659         (CONST): Change all occurences to const.
3660         (report): Declare it.
3661         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3662         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3663         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3665         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3666         Correct a typo in an error message.
3667         (do_quick_append): Use non_fatal instead of fprintf.
3668         (move_members): Use fatal instead of fprintf, exit.
3669         * coffdump.c (main): Same here.
3671         * dlltool.c (display): Delete.
3672         (warn): Delete.
3673         (inform): Use `report' instead of `display'.
3674         (rvaafter): Remove trailing \n from fatal error msg.
3675         (rvabefore): Ditto.
3676         (asm_prefix): Ditto.
3677         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3678         (def_name): Likewise.
3679         (run): Likewise.
3680         (scan_all_symbols): Likewise.
3681         (gen_lib_file): Likewise.
3682         (def_library): Likewise.  Remove extra program_name too.
3683         (run): Remove \n from inform strings.
3684         (scan_drectve_symbols): Likewise.
3685         (add_excludes): Likewise.
3686         (scan_open_obj_file): Likewise.
3687         (gen_exp_file): Likewise.
3688         (gen_lib_file): Likewise.
3689         (process_duplicates): Likewise.
3691         * Makefile.am (dllwrap_SOURCES): Add version.c.
3692         * dllwrap.c (program_version): Delete.
3693         (print_version): Delete.
3694         (display): Always print trailing \n.
3695         (warn): New.
3696         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3697         (run): Here too.
3698         (main): And here.
3699         (usage): gettext'ify.
3700         (long_options): Add missing initialisers.
3702         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3703         (select_output_format): Likewise.
3704         (powerpc_mangle_relocs): Likewise.
3705         (link_inputs): Likewise.
3707         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3708         (set_output_format): Likewise.
3709         (main): Use non_fatal instead of fprintf.
3710         (display_rel_file): Likewise.
3712         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3713         (slurp_dynamic_symtab): Same here.
3714         (disassemble_data): And here.
3715         (read_section_stabs): And here.
3716         (read_section_stabs): And here.
3717         (dump_bfd): And here.
3718         (main): And here.
3719         (objdump_sprintf): Use fatal instead of fprintf, exit.
3720         (disassemble_data): Same here.
3722         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3723         (parse_coff_struct_type): Same here.
3724         (parse_coff_enum_type): And here.
3725         (parse_coff): And here.
3726         * rddbg.c (read_debugging_info): And here.
3727         * size.c (main): And here.
3728         * windres.c (format_from_name): And here.
3729         * wrstabs.c (stab_write_symbol): Here too.
3730         (write_stabs_in_sections_debugging_info): And here.
3731         (stab_int_type): And here.
3732         (stab_struct_field): And here.
3733         (stab_typdef): And here.
3735         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3736         * srconv.c (main): Same here.
3737         * strings.c (main): And here.
3738         (integer_arg): And here.
3739         * sysdump.c (main): And here.
3741 2000-04-06  Timothy Wall  <twall@cygnus.com>
3743         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3745 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3747         * readelf.c (decode_location_expression): Loop through multiple
3748         operations.
3749         (read_and_display_attr): Pass in length.
3751         * readelf.c (read_and_display_attr): Add CU offset to references.
3752         (display_debug_info): Pass it in.
3754 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3756         * readelf.c (decode_ARM_machine_flags): New function.
3757         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3758         targets.
3760         (get_machine_name): Catch EM_AVR
3762 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3764         * binutils.texi: Remove optional `=' from long options that have
3765         an `=' in the argument.
3766         * objcopy.1: Here too.  Remove extra space on discard-all.
3768         * binutils.texi (objcopy): Mention --redefine-sym.
3769         * objcopy.1: Here too.
3770         * NEWS: And here.
3772         * objcopy.c (parse_flags): Split off flag names from error message
3773         gettext as they are not translated.
3774         (copy_main): Similarly split off option name for --add-section,
3775         --set-section-flags, --change-section-vma, --change-section-lma
3776         error messages.
3777         Some white space changes.
3779         from Matthew Benjamin <matt@linuxbox.nu>
3780         * objcopy.c (struct redefine_node): New.
3781         (redefine_sym_list): New.
3782         (redefine_list_append): New.
3783         (lookup_sym_redefinition): New.
3784         (OPTION_REDEFINE_SYM): New.
3785         (copy_options): Add --redefine-sym option.
3786         (copy_usage): Mention it.
3787         (filter_symbols): Rename symbols on redefine_sym_list.
3788         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3789         (copy_main): Handle OPTION_REDEFINE_SYM.
3791 2000-04-04  H.J. Lu  <hjl@gnu.org>
3793         * readelf.c (process_symbol_table): Correctly read in symbol
3794         versioning information.
3796 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3798         * po/binutils.pot: Regenerate.
3800         * addr2line.c (usage): Restore translated part of bug string.
3801         * ar.c (usage): Likewise.
3802         * nlmconv.c (show_usage): Likewise.
3803         * nm.c (usage): Likewise.
3804         * objcopy.c (copy_usage): Likewise.
3805         (strip_usage): Likewise.
3806         * objdump.c (usage): Likewise.
3807         * readelf.c (usage): Likewise.
3808         * size.c (usage): Likewise.
3809         * strings.c (usage): Likewise.
3810         * windres.c (usage): Likewise.
3812         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3813         (DEP): Quote when passing vars to sub-make.  Add warning
3814         message to end.
3815         (DEP1): Rewrite for "gcc -MM".
3816         (CLEANFILES): Add DEP2.
3817         Update dependencies.
3818         * Makefile.in: Regenerate.
3820 2000-04-04  H.J. Lu  <hjl@gnu.org>
3822         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3823         (arparse.h): Depend on arparse.c
3824         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3826 2000-04-03  H.J. Lu  (hjl@gnu.org)
3828         * size.c (usage): Use REPORT_BUGS_TO.
3830 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3832         * bucomm.h: #include "bin-bugs.h"
3833         * addr2line.c (usage): Use REPORT_BUGS_TO.
3834         * ar.c (usage): Likewise.
3835         * nlmconv.c (show_usage): Likewise.
3836         * nm.c (usage): Likewise.
3837         (OPTION_TARGET): Define.
3838         (long_options): Use OPTION_TARGET rather than 200.
3839         (main): Likewise.
3841         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3842         (strip_usage): Likewise.
3843         * objdump.c (usage): Likewise.
3844         * readelf.c (usage): Likewise.
3845         * strings.c (usage): Likewise.
3846         * windres.c (usage): Likewise.
3848 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3850         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3852 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3854         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3855         string offsets in corrupt stabs entries.
3857 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3859         * readelf.c: Include elf/avr.h
3860         (dump_relocations): Add EM_AVR case.
3862 2000-03-09  Tim Waugh  <twaugh@redhat.com>
3864         * strings.1: Correct '-bytes' to '--bytes'.
3866 2000-03-08  H.J. Lu  <hjl@gnu.org>
3868         * Makefile.am (install-exec-local): Depend on
3869         install-binPROGRAMS for parallel make.
3870         * Makefile.in: Regenerated.
3872 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
3874         From Brad Lucier <lucier@math.purdue.edu>:
3875         * readelf.c (process_dynamic_segment): Add cast to make sure
3876         argument to %* is int.
3878 2000-02-25  H.J. Lu  <hjl@gnu.org>
3880         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3882 2000-02-24  Nick Clifton  <nickc@cygnus.com>
3884         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3885         * configure: Regenerate.
3887         * dlltool.c: Add support for sh-pe and mips-pe targets.
3888         * rescoff.c: Add support for sh-pe and mips-pe targets.
3890 2000-02-23  H.J. Lu  <hjl@gnu.org>
3892         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3894 2000-02-22  Nick Clifton  <nickc@cygnus.com>
3896         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3898 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
3900         From Brad Lucier <lucier@math.purdue.edu>:
3901         * readelf.c (process_version_sections): Add casts to make sure
3902         argument to %* is an int.
3903         (process_mips_specific): Add casts to make printf arguments match
3904         format.
3906 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
3908         * objdump.c (dump_section_header): Change `opb' to unsigned.
3909         (find_symbol_for_address): Same here.
3910         (disassemble_data): And here.  Change `addr_offset',
3911         `stop_offset', `nextstop_offset' to unsigned long.
3912         (dump_data): Change opb to unsigned.
3914 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
3916         * resrc.c: Remove unmatched #if for cygwin.
3918 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3920         * binutils.texi: Document the change of flavor name from atpcs-special
3921         to special-atpcs to prevent name conflict in gdb.
3923 2000-02-08  Timothy Wall  <twall@redhat.com>
3925         * objdump.c (show_line): Fix bug preventing printing of the very
3926         first line (line zero) of a file when interlisting source and
3927         assembly.  Added option to print entire context from start of file
3928         when the first line from that file is encountered.
3930 2000-02-03  Timothy Wall <twall@redhat.com>
3932         * objdump.c (dump_section_header, find_symbol_for_address,
3933         show_line, disassemble_bytes, disassemble_data, dump_data):
3934         distinguish between octets and bytes.
3936 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
3938         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3939         check to unresolved symbols.
3940         (print_symbol_info_sysv):  Ditto.
3941         (print_symbol_info_posix):  Ditto.
3943         * binutils.texi: Document new 'V' symclass flag for nm.
3945 2000-01-27  Nick Clifton  <nickc@redhat.com>
3947         * binutils.texi (objdump): Document new ARM specific
3948         disassembler options.
3950         * objdump.c (usage): Call disassembler_usage().
3952 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
3954         * readelf.c (get_dynamic_flags): Return buff.
3955         (process_dynamic_segment): Don't pass error strings to printf
3956         as format arg.
3957         (read_and_display_attr): Use lx and ld to print longs.
3958         (process_corefile_note_segment): Cast bfd_vma to unsigned long
3959         before printing.
3960         Update copyright.
3962 2000-01-17  Nick Clifton  <nickc@cygnus.com>
3964         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3966 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
3968         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3969         false.
3970         (debug_tag_type): Here too.
3971         * ieee.c (ieee_builtin_type): And here.
3972         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3974 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3976         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3977         System/370".
3979 2000-01-11  Nick Clifton  <nickc@cygnus.com>
3981         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3983 2000-01-10  Nick Clifton  <nickc@cygnus.com>
3985         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3987 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
3989         * windres.c (long_options): Add --use-temp-file and
3990         --no-use-temp-file options.
3991         (usage): Document.
3992         (main): Handle.
3994         * windres.h: Update read_rc_file prototype.
3996         * resrc.c (cpp_temp_file): New static variable.
3997         (istream_type): New static variable.
3998         (close_pipe): Delete function.
3999         (run_cmd): New static function.
4000         (open_input_stream): New static function.
4001         (close_input_stream): New static function.
4002         (look_for_default): Handle DOS directory separator. Use
4003         open_input_stream instead of popen.
4004         (read_rc_file): Likewise.
4006         * binutils.texi: Document --use-temp-file, --no-use-temp-file
4007         options.
4009 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
4011         * dlltool.c (create_compat_implib): New variable.
4012         (gen_exp_file): Use.
4013         (make_one_lib_file): Use.
4014         (long_options): Add --compat-implib option.
4015         (usage): Handle.
4016         (main): Handle.
4018         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4019         (main): Use. Don't look for "32" in cygwin and mingw target names.
4021 2000-01-03  Nick Clifton  <nickc@cygnus.com>
4023         * binutils.texi: Document new, ARM specific disassembler
4024         command line switch "-M force-thumb".
4026 For older changes see ChangeLog-9899
4028 Local Variables:
4029 mode: change-log
4030 left-margin: 8
4031 fill-column: 74
4032 version-control: never
4033 End: