Remove redundant returns in void functions.
[binutils.git] / binutils / ChangeLog
blob77f21b0cc961b4b32a6399dc5456b5361489b140
1 2003-12-04  Nick Clifton  <nickc@redhat.com>
3         * objcopy.c (copy_object): Do not copy the object if the
4         output file's format cannot be set to that of the input file.
5         If the input file's format is unknown, fail.
7 2003-11-28  Ian Lance Taylor  <ian@wasabisystems.com>
9         * cxxfilt.c (usage): Mention new -p/--no-params options.
11 2003-11-28  Alan Modra  <amodra@bigpond.net.au>
13         * Makefile.am (install-exec-local): Remove common term from string
14         comparison.
15         * Makefile.in: Regenerate.
16         * doc/Makefile.am: Don't use $<.
17         * doc/Makefile.in: Regenerate.
19 2003-11-27  Nick Clifton  <nickc@redhat.com>
21         * rename.c (smart_rename): Make sure that we have write
22         permission on the destination file before renaming.
24 2003-11-26  Daniel Jacobowitz <drow@mvista.com>
25             Nick Clifton  <nickc@redhat.com>
27         * readelf.c: Add a comment describing the difference between
28         readelf and objdump.
29         * doc/binutils.texi (readelf): Likewise.
31 2003-11-25  Danny Smith  <dannysmith@users.sourceforge.net>
33         * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
34         option.
35         * dlltool.c (usage): Likewise.
37 2003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
39         * cxxfilt.c (long_options): Add --no-params.
40         (main): Handle -p/--no-params.
41         * doc/binutils.texi (c++filt): Document -p/--no-params.
43 2003-11-19  Alan Modra  <amodra@bigpond.net.au>
45         * objdump.c: Wrap long lines, init vars separately from decl.
46         (disassemble_section): Reset require_sec after call to
47         find_symbol_for_address.
49 2003-11-14  Nick Clifton  <nickc@redhat.com>
51         * objdump.c (find_symbol_for_address): Change parameters so
52         that the entire disassemble_info structure is passed, not just
53         a few fields.  Use the symbol_is_valid field to check the
54         validity of located symbols and continue searching if they are
55         not valid.
56         (objdump_print_addr): Alter parameters passed to
57         find_symbol_for_address.
58         (objdump_symbol_at_address): Likewise.
59         (disassemble_section): Likewise.  Also use symbol_is_valid
60         function to check the validity of located symbols.
62 2003-11-13  Tobias Burnus  <tobias.burnus@physik.fu-berlin.de>
64         * ar.c (open_inarch): Emit a warning when an archive is created
65         (only shown with -v) in order to confrom to POSIX specification.
67 2003-11-11  Wang Li  <charles@linux.net.cn>
69         * objcopy.c (wildcard): New variable.  True if wildcard pattern
70         matching is allowed in symbol names.
71         (strip_options): Add -w option to enable wildcard pattern
72         matching.
73         (copy_options): Likewise.
74         (copy_usage): Mention new switch.
75         (strip_usage): Likewise.
76         (is_specified_symbol): If performing wildcard matches use fnmatch
77         to compare symbol names with entries on the symbol list.
78         (strip_main): Accept -w switch.
79         (copy_main): Likewise.
80         * Makefile.am: Add dependency on fnmatch.h for objcopy.c
81         * Makefile.in: Regenerate.
82         * doc/binutils.texi: Document new switch.
83         * NEWS: Mention new switch.
85 2003-11-11  Alan Modra  <amodra@bigpond.net.au>
87         * objdump.c: Revert rev 1.81 commit.
89 2003-11-10  Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
91         * ar.c (print_contents): Remove "member" from verbose output in
92         order to conform to POSIX specification.
94 2003-11-10  Alan Modra  <amodra@bigpond.net.au>
96         * README: Expand bug reporting information.
98 2003-11-07  Jonathan R. Grant  <jg-binutils@jguk.org>
100         * bucomm,c (get_file_size): New function.  Returns the size of a
101           file.
102         * bucomm.h: Add prototype for get_file_size.
103         * addr2line.c (process_file): Use new function.
104         * ar.c (main, ranlib_only, ranlib_touch): Likewise.
105         * nm.c (display_file): Likewise.
106         * objcopy.c (add_specific_symbols, copy_file, strip_main,
107           copy_main): Likewise.
108         * objdump.c (display_file): Likewise.
109         * size.c (display_file): Likewise.
110         * strings.c (strings_file): Likewise.
111         * readelf.c (process_file): Use similar code to get_file_size.
113 2003-11-06  Bruno Rohee  <bruno@rohee.com>
115         * ieee.c: Fix "the the" typo.
116         * stabs.c: Likewise.
118 2003-10-30  Marshall T. Vandegrift  <llasram@wuli.nu>
120         * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
121         sections - they have no file space assigned to their contents.
123 2003-10-28  Segher Boessenkool  <segher@kernel.crashing.org>
125         * readelf.c (dump_section): Don't display DEL characters.
127 2003-10-27  Kazu Hirata  <kazu@cs.umass.edu>
129         * ChangeLog: Fix typos.
130         * ChangeLog-9197: Likewise.
131         * ChangeLog-9899: Likewise.
132         * NEWS: Likewise.
133         * ar.c: Fix comment typos.
134         * arsup.c: Likewise.
135         * coffgrok.c: Likewise.
136         * debug.c: Likewise.
137         * debug.h: Likewise.
138         * dlltool.c: Likewise.
139         * ieee.c: Likewise.
140         * nm.c: Likewise.
141         * objdump.c: Likewise.
142         * prdbg.c: Likewise.
143         * readelf.c: Likewise.
144         * resrc.c: Likewise.
145         * sysinfo.y: Likewise.
146         * windres.c: Likewise.
148 2003-10-27  Nick Clifton  <nickc@redhat.com>
150         * objcopy.c (copy_section): Do not complain when a target does not
151         support relocations.
152         (mark_symbols_used_in_relocations): Likewise.
154 2003-10-14  Anil Paranjpe  <anilp1@KPITCummins.com>
156         * objcopy.c (copy_main): Reads machine flags from arch_info
157         structure.
159 2003-10-20  Andrew Cagney  <cagney@redhat.com>
161         * coffgrok.h (coff_section): Replace 'struct sec" with "struct
162         bfd_section".
164 2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
166         * objdump.c (read_section_stabs): Just read one section, return
167         pointer to it. Add size parameter.
168         (print_section_stabs): Add string offset parameter. Adjust.
169         (struct stab_section_names): Add string offset member.
170         (find_stabs_sections): Correct check for split section suffix,
171         adjust read_section_stabs and print_section_stabs calls.
172         (dump_stabs_section): Clear string_offset, free string table.
174 2003-10-01  Martin Fuchs  <martin-fuchs@gmx.net>
176         * resrc.c (define_icon): Fix storage of color attributes 'planes' and
177         'bit count' in icon groups.
179 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
181         * NEWS: Add an indication of the cutoff for 2.14.
183 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
185         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
187 2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>
189         * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
190         (get_symbol_index_type): Likewise.
192 2003-09-25  H.J. Lu  <hongjiu.lu@intel.com>
194         * readelf.c (process_version_sections): Indent version names.
196 2003-09-15  Anthony Green  <green@redhat.com>
198         * dlltool.c (prefix_encode): Fix ISO C90 conversion.
199         (dlltmp): Ditto.
200         (dtab): Ditto.
202 2003-09-14  Andreas Jaeger  <aj@suse.de>
204         * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
205         unneeded (void *) casts.
206         * ar.c: Likewise.
207         * arlex.l: Likewise.
208         * arparse.y: Likewise.
209         * arsup.c: Likewise.
210         * binemul.c: Likewise.
211         * binemul.h: Likewise.
212         * bucomm.c: Likewise.
213         * bucomm.h: Likewise.
214         * budbg.h: Likewise.
215         * budemang.c: Likewise.
216         * budemang.h: Likewise.
217         * coffdump.c: Likewise.
218         * coffgrok.c: Likewise.
219         * cxxfilt.c: Likewise.
220         * debug.c: Likewise.
221         * debug.h: Likewise.
222         * deflex.l: Likewise.
223         * dlltool.c: Likewise.
224         * dlltool.h: Likewise.
225         * dllwrap.c: Likewise.
226         * emul_aix.c: Likewise.
227         * filemode.c: Likewise.
228         * ieee.c: Likewise.
229         * nlmconv.c: Likewise.
230         * nlmconv.h: Likewise.
231         * nlmheader.y: Likewise.
232         * nm.c: Likewise.
233         * prdbg.c: Likewise.
234         * rclex.l: Likewise.
235         * rcparse.y: Likewise.
236         * rdcoff.c: Likewise.
237         * rddbg.c: Likewise.
238         * rename.c: Likewise.
239         * resbin.c: Likewise.
240         * rescoff.c: Likewise.
241         * resrc.c: Likewise.
242         * size.c: Likewise.
243         * srconv.c: Likewise.
244         * stabs.c: Likewise.
245         * strings.c: Likewise.
246         * sysdump.c: Likewise.
247         * sysinfo.y: Likewise.
248         * syslex.l: Likewise.
249         * unwind-ia64.c: Likewise.
250         * unwind-ia64.h: Likewise.
251         * version.c: Likewise.
252         * windres.c: Likewise.
253         * windres.h: Likewise.
254         * winduni.c: Likewise.
255         * wrstabs.c: Likewise.
257 2003-09-10  James E Wilson  <wilson@specifixinc.com>
259         * MAINTAINERS: Update my e-mail address.
261 2003-09-09  Ian Lance Taylor  <ian@wasabisystems.com>
263         * MAINTAINERS: Update my e-mail address.
265 2003-09-04  Nick Clifton  <nickc@redhat.com>
267         * MAINTAINERS: Make it clear what should be done with patches to
268         the top level configure files (other than config.guess and
269         config.sub).  Add binutils@sources.redhat.com as an address to
270         which patches can be sent.
272 2003-09-04  Nick Clifton  <nickc@redhat.com>
274         * readelf.c (get_machine_flags): Recognise V850E1 machine type.
276 2003-09-03  Andrew Cagney  <cagney@redhat.com>
278         * objdump.c: Refer to init_disassemble_info in comments.
279         (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
280         init_disassemble_info.
282 2003-09-03  Nick Clifton  <nickc@redhat.com>
284         * objdump.c (struct objdump_disasm_info): Add new fields
285         'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
286         (process_section_p): New function:  Returns TRUE if a section
287         can be dumped.
288         (disassemble_section): New function: Contains the body of
289         disassemble_data(), but just for one section.
290         (disassemble_data): Use bfd_map_over_sections to walk section
291         chain.
292         (find_stabs_section): New function: Find a stabs containing
293         section and then dump it.
294         (dump_stabs_section): New function: Use bfd_map_over_sections
295         to find the section to dump.
296         (dump_stabs): Use dump_stabs_section.
297         (dump_section): New function: Display the contents of a
298         section.
299         (dump_data): Use bfd_map_over_sections to display section
300         contents.
301         (dump_relocs_in_section): Display the relocs in a given section.
302         (dump_relocs): Use bfd_map_over_sections to display relocs.
303         (adjust_addresses): New function: Adjust the vma and lma of
304         sections.
305         (dump_bfd): Use bfd_map_over_sections.
306         * doc/binutils.texi: Document the "objdump -s" (no longer)
307         dumps empty sections.
309 2003-08-24  Jonathan R. Grant  <jg-binutils@jguk.org>
311         * objdump.c: Improve comments/documentation.
312         dump_data: Eliminate duplicate function calls to bfd_section_size.
314 2003-09-02  Alan Modra  <amodra@bigpond.net.au>
316         * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
318 2003-08-21  Nick Clifton  <nickc@redhat.com>
320         * po/tr.po: Updated Turkish translation.
322 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
324         * dep-in.sed: Remove libintl.h.
325         * Makefile.am (POTFILES.in): Unset LC_COLLATE.
326         Run "make dep-am".
327         * Makefile.in: Regenerate.
329 2003-08-11  Ian Lance Taylor  <ian@airs.com>
331         * readelf.c (process_archive): Fix error handling.  Remove memory
332         leak.
334         * readelf.c: Add ability to read archives.
335         (archive_file_offset): New variable.
336         (archive_file_size): New variable.
337         (get_data): Include archive_file_offset in file offset
338         calculation when fseeking.
339         (process_program_headers): Likewise.
340         (process_symbol_table): Likewise.
341         (process_dynamic_segment): Handle computation of end of file
342         position when the file is in an archive.
343         (process_object): New function.  Contains the body of
344         process_file().
345         (process_archive): New function.  Call process_object on each
346         member of an archive.
347         (process_file): Detect archives and handle appropriately.
348         * Makefile.am: Add dependency on aout/ar.h for readelf.c
349         * Makefile.in: Regenerate.
350         * NEWS: Document readelf's new ability.
351         * doc/binutils: Alter text to say that readelf supports archives
352         and 64-bit ELF files.
354 2003-08-08  Nick Clifton  <nickc@redhat.com>
356         * po/fr.po: Updated French translation.
358 2003-08-05  Alan Modra  <amodra@bigpond.net.au>
360         * objcopy.c: Remove unnecessary prototypes and casts.
361         * objdump.c: Remove unnecessary casts.
362         * readelf.c: Convert to C90.  Remove unnecessary prototypes and casts.
363         (get_osabi_name): Move so we don't need a forward declaration.
365 2003-08-04  Bradley Harrington  <bharring@us.ibm.com>
366             Alan Modra  <amodra@bigpond.net.au>
368         * objdump.c (include_paths, include_path_count): New vars.
369         (usage): Describe --include.
370         (long_options): Add "include".
371         (add_include_path): New function.
372         (struct print_file_list): Make filename const.  Add modname.
373         (try_print_file_open, update_source_path): New functions.
374         (show_line): Use them.
375         (main): Handle 'I' option.  Don't check for NULL xrealloc arg.
377 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
379         * objdump.c: Remove unnecessary prototypes.
380         (disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
381         code, and print relocs when dump_dynamic_reloc_info.
382         (disassemble_data): Read and handle dynamic relocs.  Correct reloc
383         skip code.  Formatting.
384         (dump_bfd): Don't dump dynamic relocs when disassembling.
386 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
388         * MAINTAINERS: Remove self as M88k maintainer.  Future M88k
389         maintenance defaults to the blanket write privilege maintainers.
391 2003-07-29  Michael Meissner  <gnu@the-meissners.org>
393         * MAINTAINERS: Updated my email address.
395 2003-07-29  Nick Clifton  <nickc@redhat.com>
397         * objdump.c: Update to ISO C.
399 2003-07-24  Nick Clifton  <nickc@redhat.com>
401         * objdump.c (disassemble_data): Do not ignore sections without the
402         LOAD flag when disassemble_all is true.  Only print a message
403         about disassembling a section if it contains some data.
405         * po/fr.po: Updated French translation.
407 2003-07-23  Nick Clifton  <nickc@redhat.com>
409         * objcopy.c: Switch to ISO C.  Remove debugging code accidentally
410         left in.  Some formatting tidy ups.
412 2003-07-22  Salvador Eduardo Tropea <set@computer.org>
414         * objdump.c: New command line option --debugging-tags.
415         * doc/binutils.texi: Document new command line option.
416         * prdbg.c: Code to print the debug info as tags compatible
417         with ctags.
418         * budbg.h: Adjust prototype.
419         * NEWS: Mention new switch
421 2003-07-18  Nick Clifton  <nickc@redhat.com>
423         * objdump.c (main) :Accept multiple -M switch.
424         * doc/binutils.texi: Document that multiple -M switches are
425         accepted and that a single -M switch can contain comma
426         separated options.
428 2003-07-17  Nick Clifton  <nickc@redhat.com>
430         * objdump.c (main): Issue a warning message if multiple -M
431         switches are used.
433         * doc/binutils.texi (objdump): Update documentation about -M
434         option.
436 2003-07-17  Nick Clifton  <nickc@redhat.com>
438         * po/es.po: New Spanish translation.
440 2003-07-11  Alan Modra  <amodra@bigpond.net.au>
442         * po/binutils.pot: Regenerate.
444 2003-07-05  Christopher Faylor  <cgf@redhat.com>
446         * dlltool.c (prefix_encode): Use a fixed length for alpha.
448 2003-07-04  Christopher Faylor  <cgf@redhat.com>
450         * dlltool.c (prefix_encode): New function.  Encode temp file prefix
451         from pid.
452         (dlltmp): Pass address of pointer being alloced or suffer neverending
453         mallocs.
454         (make_one_lib_file): Allocate enough space for new longer stub names.
455         (gen_lib_file): Ditto.
456         (main): Generate the temp file prefix from the pid if prefix was not
457         specified on the command line.
459 2003-07-04  Nick Clifton  <nickc@redhat.com>
461         * readelf.c (get_data): Print (unsigned) hex values for size and
462         offset in error messages.
463         (process_section_headers): If the string table could not be
464         allocated, do not continue.
466 2003-07-01  Jakub Jelinek  <jakub@redhat.com>
468         * readelf.c (dynamic_segment_ia64_val): Print address and newline
469         for sections by default.  Comment fix.
471 2003-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
473         * rcparse.y (res_text_field): New res_id variable.
474         (res_null_text): New static const struct res_id object,
475         with empty unicode name field.
476         (control): Pop parsing of optresidc up one level. Set
477         res_text_field to $2 except for controls which do not accept
478         a text field.  Set res_text_field to res_null_text for the
479         special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
480         (control_params): Adjust to use res_text_field rather
481         than optresidc.
482         (COMBOBOX): Add comment about discrepency between documented
483         vs. observed default style.
484         * resrc.c (define_control): Make first param const.
485         * windres.h (define_control): Adjust prototype.
487 2003-06-27  Nick Clifton  <nickc@redhat.com>
489         * objcopy.c (copy_object): Replace call to
490         bfd_create_gnu_debuglink_section with separate calls to
491         bfd_add_gnu_debuglink_section and
492         bfd_fill_in_gnu_debuglink_section, separated by a walk over the
493         symbol tables.
495 2003-06-26  Roland McGrath  <roland@redhat.com>
497         * readelf.c (loadaddr): Variable removed.
498         (dynamic_info, version_info): Fix type long -> bfd_vma.
499         (program_headers): New variable.
500         (get_program_headers): New function, broken out of
501         process_program_headers.
502         (process_program_headers): Call it.  Don't set `loadaddr'.
503         (slurp_ia64_unwind_table): Use get_program_headers.
504         (process_corefile_note_segments):  Likewise.
505         (offset_from_vma): New function.
506         (process_relocs, process_dynamic_segment): Call that instead of
507         subtracting `loadaddr'.
508         (process_version_sections, process_symbol_table): Likewise.
509         (process_mips_specific): Likewise.
511 2003-06-26  Nick Clifton  <nickc@redhat.com>
513         * objcopy (enum strip_action): Add STRIP_NONDEBUG.
514         (OPTION_ONLY_KEEP_DEBUG): New.
515         (strip_options): Add --only-keep-debug.
516         (copy_options): Likewise.
517         (is_strip_section): Invert return value if STRIP_NONDEBUG is
518         active.
519         (copy_object): Do not copy private data when STRIP_NONDEBUG is
520         active.
521         (setup_section): Likewise.
522         (strip_main): Handle --only-keep-debug.
523         (copy_main): Likewise.
524         * NEWS: Mention new switch
525         * doc/binutils.texi: Document new switch.
527 2003-06-25  Alan Modra  <amodra@bigpond.net.au>
529         * NEWS: Correct spelling of "relocatable".
530         * objdump.c: Likewise.
531         * sysroff.info: Likewise.
533 2003-06-19  Nick Clifton  <nickc@redhat.com>
535         * readelf.c (print_vma): When printing DEC_5 values, if the
536         number is bigger than 99999 switch to using hexadecimal
537         notation.
539 2003-06-11  Nick Clifton  <nickc@redhat.com>
541         * objcopy.c (gnu_debuglink_filename): New variable.
542         (OPTION_ADD_GNU_DEBUGLINK): New switch
543         (copy_options): Describe --add-gnu-debuglink switch.
544         Mention that --strip-debug removes sections as well.
545         (is_strip_section): Process the sections removed and kept
546         lists before checking for debugging sections.
547         (add_redefine_syms_file): Make function static.
548         (copy_object): Use is_strip_section.
549         Check to see if a .gnu_debuglink section should be added.  If
550         so, call bfd_add_gnu_debuglink.
551         (setup_section): Use is_strip_section.
552         (copy_section): Use is_strip_section.
553         (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
554         * NEWS: Mention new objcopy switch.
555         * doc/binutils.texi: Document new switch.
557 2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
559         * po/Make-in (DESTDIR): New.
560         (install-data-yes): Support $(DESTDIR).
561         (uninstall): Likewise.
563 2003-06-11  Alan Modra  <amodra@bigpond.net.au>
565         * Makefile.in: Regenerate.
567 2003-05-23  Jakub Jelinek  <jakub@redhat.com>
569         * readelf.c (get_segment_type): Handle PT_GNU_STACK.
571 2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
573         * NEWS: Document the new BSD/POSIX single-character mapping for
574         .comment/.note sections.
576 2003-06-02  Chris Demetriou  <cgd@broadcom.com>
577             Jason Thorpe  <thorpej@wasabisystems.com>
579         * objcopy.c (redefine_list_append): Add an argument that
580         indicates the context from which this function is being
581         called.  Change all callers.
582         (copy_options): Add a new option, --redefine-syms.
583         (copy_usage): Document new option.
584         (copy_main): Handle the --redefine-syms option.
585         * doc/binutils.text (objcopy): Document new option.
587 2003-05-31  Richard Henderson  <rth@redhat.com>
589         * readelf.c (byte_get_signed): New.
590         (get_encoded_value): New.
591         (display_debug_frames): Use it.  Always pre-process opcodes.
593 2003-05-20  Michal Ludvig  <mludvig@suse.cz>
595         * readelf.c (display_debug_frames): Print both registers
596         for DW_CFA_register.
598 2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
600         * configure.in: Accept i[3-7]86 variants. Escape '[]' for
601         i[3-7]86-*-interix.
602         * configure.in: Regenerate.
604 2003-05-13  Michael Eager <eager@mvista.com>
606         * objcopy.c: Treat identical src/dst file names as if only one
607         entered.  One Windows creating an output file of the same name as
608         the input file will delete the input file before it is read.
610 2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
612         * debug.c (debug_get_real_type): Extend test for circular debug
613         references.
615 2003-05-12  Nick Clifton  <nickc@redhat.com>
617         * configure.in (ALL_LINGUAS): Add zh_CN.
618         * configure: Regenerate.
619         * po/zh_CN.po: New file: Chinese (simplified) translation.
621 2003-05-11  Jason Eckhardt  <jle@rice.edu>
623         * MAINTAINERS: Update my mail address.
625 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
627         * readelf.c (dump_relocations): Enlarge the type field in wide
628         mode by one character.
630 2003-05-03  Richard Henderson  <rth@redhat.com>
632         * readelf.c (struct Frame_Chunk): Add cfa_exp.
633         (frame_display_row): Just print "exp" for cfa or register
634         defined by a location expression.
635         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
636         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
638 2003-04-30  H.J. Lu <hjl@gnu.org>
640         * objdump.c (only): Change it to char **.
641         (only_size): New.
642         (only_used): New.
643         (disassemble_data): Check only as an array.
644         (dump_data): Likewise.
645         (dump_relocs): Likewise.
646         (main): Treat only as an array.
648 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
650         * doc/binutils.texi: Fix the documentation for the -fo option.
652 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
654         * readelf.c (get_machine_name) <EM_SH>: Amend return value
655         to refer to SuperH.
657         * readelf.c (decode_location_expression): Don't add a trailing ';'.
659 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
660             Nick Clifton  <nickc@redhat.com>
662         * windres.c (long_options): Move close to main, where it is used.
663         Add 'input' and 'output' long options.
664         (main): Accept "-fo" as an alias for "-o".  This is for rc
665         comptibility.
666         * doc/binutils.texi: Mention that -fo is accepted as an alias for
667         -o, but discourage its use.
669 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
671         * windres.c (format_from_name): Make the exit on error
672         behaviour optional.
673         (main): Rename the -I option to -J. Introduce -I as a synonym
674         for --include-dir.  For backwards compatibility also support the
675         old -I behaviour, but issue a deprecation warning.
676         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
677         of the -I option.
679 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
681         * readelf.c: Replace references to Mitsubishi M32R with
682         references to Renesas M32R.
684 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
686         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
688 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
690         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
691         for debugging information types not supported by objdump.
693 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
695         * configure.in: Recognize canonical form of i[3-6]86-pe*.
696         * configure: Regenerate.
698 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
700         * readelf.c (display_debug_info): Apply RELA relocations on the
701         entire section.
702         (byte_put_little_endian, byte_put_big_endian): New functions.
703         (byte_put): New variable.
704         (get_file_header): Initialize it.
706 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
708         * windres.c: Add -l for compatibility with wrc, and rc.
709         Use the short option as a key for long options that have
710         a synonymous short option.
711         * doc/binutils.texi: Added -l to the list of options.
713 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
715         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
716         (main): Just pass the -U option down to the preprocessor.
717         * doc/binutils.texi: Added -U to the list of options.
719 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
721         * windres.c (usage): Report -r option.
722         (main): Ignore the -r option.
723         * doc/binutils.texi: Add -r to the list of options.
725 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
727         * MAINTAINERS: Add myself as Xtensa maintainer.
729 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
731         * readelf.c: Include "elf/xtensa.h".
732         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
733         targets that use RELA relocations.
734         (dump_relocations): Call elf_xtensa_reloc_type for
735         EM_XTENSA and EM_XTENSA_OLD.
736         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
738 2003-04-01  Nick Clifton  <nickc@redhat.com>
740         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
741         thumb-pe*, mcore-pe and mcore-*elf.
742         * configure: Regenerate.
744 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
746         * objdump.c (dump_data): Don't truncate the address to long; make
747         the width large enough, and uniform for all entries in a section.
749 2003-03-31  H.J. Lu <hjl@gnu.org>
751         * readelf.c: Include "libiberty.h".
752         (dynamic_relocations): New.
753         (process_relocs): Properly handle dynamic relocation.
754         (process_dynamic_segment): Fill relocation elements in
755         dynamic_info.
757 2003-03-31  Kevin Buettner <kevinb@redhat.com>
759         * readelf.c (read_and_display_attr, read_and_display_attr_value):
760         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
761         all callers.
762         (display_debug_lines, display_debug_pubnames, display_debug_info)
763         (display_debug_aranges, display_debug_frames, read_and_display_attr)
764         (read_and_display_attr_value): Add 64-bit DWARF support.
766 2003-03-31  Ian Lance Taylor <ian@airs.com>
768         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
769         (optresid): Handle a resource id that can be a string or a number.
770         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
771         struct res_id.
772         (define_icon_control): Pass a struct res_id to define_control.
773         * windres.h (define_control): Change prototype.
775 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
777         * objcopy (OPTION_FORMATS_INFO): Define.
778         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
779         (copy_options): Likewise.
780         (strip_usage): Add "--info" to usage.
781         (copy_usage): Likewise.
782         (strip_main): Declare formats_info. Iniatilize it to FALSE.
783         Handle "info".
784         (copy_main). Likewise.
785         * doc/binutils.texi. Document the "--info" option for
786         objcopy/strip.
787         * NEWS: Mention the new command line switch.
789         * objdump.c (endian_string): Move to bucomm.c.
790         (display_info): Likewise.
791         (display_target_list): Likewise.
792         (display_info_table): Likewise.
793         (display_target_tables): Likewise.
794         (main): Assign the return value of display_info to exit_status.
795         * bucomm.c: Include bfdver.h and libbfd.h
796         (display_target_list): Call bfd_nonfatal instead of nonfatal and
797         return 0 on a non-fatal error, 1 on success.
798         (display_info_table): Likewise.
799         * bucomm.h (display_info): Provide a prototype.
800         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
801         libbfd.h.
802         * Makefile.in: Regenerate.
804 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
806         * dlltool.c (gen_def_file): Put demangled name comments on
807         own line preceding export name.
809 2003-03-17  Nick Clifton  <nickc@redhat.com>
811         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
812         printf for emitting new lines.
814 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
816         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
817         the symbol's value when --size-sort is used, unless -S is used.
818         doc/binutils.texi (--size-sort): For non-bsd formats both the
819         value and size of the symbols are displayed.
821 2003-03-13  Nick Clifton  <nickc@redhat.com>
823         * po/da.po: Update.
825 2003-03-12  Nick Clifton  <nickc@redhat.com>
827         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
829 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
831         * MAINTAINERS: Update my mail address.
833 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
835         * stabs.c (BYTES_IN_WORD): Remove definition.
836         * wrstabs.c (BYTES_IN_WORD): Likewise.
838 2003-03-04  Nick Clifton  <nickc@redhat.com>
840         * nm.c (main): Print a warning message if --size-sort and
841         --undefined-only are used together.
843 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
845         * nm.c (print_symbol): Remove check for undefined_only.
847 2003-03-03  Nick Clifton  <nickc@redhat.com>
849         * po/da.po: Installed latest translation.
851 2003-02-24  Nick Clifton  <nickc@redhat.com>
853         * README: Update binutils references to 2.13.
854         Add paragraph about using --disable-nls.
856 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
858         * doc/binutils.texi (nm --size-sort): Update.
860 2003-02-21  James E Wilson  <wilson@tuliptree.org>
862         * MAINTAINERS: Update email address.
864 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
866         * readelf.c (get_ia64_dynamic_type): New function.
867         (dynamic_segment_ia64_val): New function.
868         (get_dynamic_type): If machine type is EM_IA_64 call
869         get_ia64_dynamic_val.
870         (get_ia64_section_type_name): Handle sections with types in the
871         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
872         (get_dynamic_flags): If machine type is EM_IA_64 call
873         dynamic_segment_ia64_val.
875 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
877         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
878         section title capitalization more consistent.  Update descriptions
879         of various options to be consistent with the code.  Fix errors and
880         incomplete list in the description of c++filt format options.  Remove
881         information about the linker.  Change to be more polite about poor
882         bug reports.  Replace FDL appendix with include of fdl.texi.
883         * doc/fdl.texi: New file.
885 2003-02-21  Roger Sayle  <roger@eyesopen.com>
887         * objcopy.c (filter_symbols): Fix compilation problems with
888         HP-UX's C compiler.
890 2003-02-19  Christopher Faylor  <cgf@redhat.com>
892         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
893         previous change.
895 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
897         * rclex.l (handle_quotes): Handle strings spanning more than one line.
899 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
901         * nm.c (usage): Add `java' and `gnat' demangle styles and make
902         quotes consistent.
903         * objdump.c (usage): Ditto.  Also fix some typos.
905         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
907         * debug.c (debug_record_variable): Handle global register variables.
909         * stabs.c (parse_stab): For N_SLINE only include
910         function_start_offset if the symbol is within a function;
911         otherwise, the value is absolute.
913 2003-02-10  Nick Clifton  <nickc@redhat.com>
915         * readelf.c (decode_ARM_machine_flags): Handle the
916         EF_ARM_MAVERICK_FLOAT flag.
918 2003-02-04  Andreas Schwab  <schwab@suse.de>
920         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
921         long and use %ld in printf format.
923 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
925         * readelf.c (dump_relocations): Reorder the r_info field for
926         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
928 2003-01-21  Daniel Berlin  <dan@dberlin.org>
930         * readelf.c (display_debug_loc): Skip address base changes.
932 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
934         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
935         and ELFOSABI_NSK.
937 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
939         * readelf.c: Include elf/ppc64.h.
940         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
941         * Makefile.am: Run "make dep-am".
942         * Makefile.in: Regenerate.
944 2003-01-02  Ben Elliston  <bje@redhat.com>
946         * readelf.c (guess_is_rela): Handle EM_IQ2000.
947         (get_machine_name): Likewise.
948         (dump_relocations): Likewise.
949         * NEWS: Mention IQ2000 support.
951 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
953         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
955 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
957         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
958         changes in MIPS -M options.
960 2002-12-30    Dmitry Diky <diwil@mail.ru>
962         * Makefile.am: Add msp430 target.
963         * Makefile.in: Regenerate.
964         * readelf.c: Add support for msp430 target.
966 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
968         * doc/binutils.texi (objdump): Document MIPS -M options.
970 2002-12-23  Andreas Schwab  <schwab@suse.de>
972         * readelf.c (main): Reset dump request after each file.
974 2002-12-23  Nick Clifton  <nickc@redhat.com>
976         * nlmconv.c (main): Pass TRUE as third argument to
977         bfd_arch_get_compatible.
979 2002-12-23  Nick Clifton  <nickc@redhat.com>
981         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
982         macro.  Handle 'S' encoding, accepting 8-bit characters.
983         (main): Parse 'S' encoding.
984         (get_char): Accept 'S' encoding.
985         (print_strings): Use STRING_ISGRAPHIC.
986         (usage): Document support of 'S' encoding.
987         * doc/binutils.texi: Document support of 'S' encoding/
988         * NEWS: Mention new feature.
990 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
992         * README <building ar>: Don't use libibery's needed_list or
993         required_list, instead link libiberty/*.o.
995 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
997         * doc/binutils.texi: Fix typos.
999 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1001         * doc/binutils.texi: Add missing parenthesis.
1003 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
1005         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
1006         symbols by adding the given prefix to the begining of the symbol
1007         name. This is useful to provide name space separation regardless
1008         of how the object file was created. Added --prefix-sections=
1009         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
1010         sections (or all sections with the alloc flag set) by adding the given
1011         prefix to the begining of the symbol name.
1012         * NEWS: Mention this new feature.
1013         * doc/binutils.texi: Document this new feature.
1015 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
1017         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
1018         dyn_string_append with dyn_string_append_cstr.
1020         * emul_aix.c (ar_emul_aix_create): Remove unused function.
1022 2002-12-10  James Cownie <jcownie@etnus.com>
1024         * readelf.h (get_TAG_name, get_AT_name,
1025         read_and_display_attr_value): Add support for UPC extensions to
1026         DWARF2 spec.
1027         * NEWS: Mention this new support.
1029 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
1031         * NEWS: Mention that bfd no longer declares a "boolean" type.
1033 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
1035         * readelf.c (process_program_headers): When setting loadaddr, don't
1036         assume segment size is 4k.  Use p_align instead.
1037         (loadaddr): Change from int to long.
1038         (dynamic_addr, dynamic_info, version_info): Likewise.
1039         (process_dynamic_segment <syminsz>): Likewise.
1040         (process_dynamic_segment): Adjust print format string.
1041         (rela_addr, rela_size): Delete.
1042         (process_relocs): Formatting.
1044 2002-12-05  Jim Wilson  <wilson@redhat.com>
1046         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
1047         * configure: Regenerate.
1049 2002-12-04  Ian Lance Taylor  <ian@airs.com>
1051         * MAINTAINERS: Change e-mail address back to airs.com.
1053 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
1055         * MAINTAINERS: Add self.
1057 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
1059         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
1060         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
1061         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
1062         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
1063         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
1064         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
1065         with TRUE/FALSE.  Formatting.
1067 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
1069         * readelf.c Replace occurrences of Elf32_Internal_* and
1070         Elf64_Internal_* with Elf_Internal_*.
1071         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1072         Zero r_addend fields.
1073         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1074         Elf_Internal_Rela.
1076 2002-11-23  Nick Clifton  <nickc@redhat.com>
1078         * size.c (usage): Fix typo describing switch for hex format.
1080 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
1082         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1083         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1084         testcase
1086 2002-11-14  Nick Clifton  <nickc@redhat.com>
1088         * readelf.c (process_program_headers): Add comment about return
1089         value.  Ensure that 0 is returned if the headers are not loaded.
1090         (process_file): If process_section_headers failed to load the
1091         headers disable any tests that rely upon them.  Similarly for
1092         process_program_headers.
1094 2002-11-12  Nick Clifton  <nickc@redhat.com>
1096         * po/da.po: Updated Danish translation.
1098 2002-11-12  Klee Dienes  <kdienes@apple.com>
1100         * rddbg.c (read_section_stabs_debugging_info): Also recognize
1101         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1103 2002-11-11  Christopher Faylor  <cgf@redhat.com>
1105         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
1106         cgf maintainership.
1108 2002-11-11  Christopher Faylor  <cgf@redhat.com>
1110         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1112 2002-11-07  Nick Clifton  <nickc@redhat.com>
1114         * configure.in (ALL_LINGUAS): Add 'da'.
1115         * configure: Regenerate.
1116         * po/da.po: New Danish translation.
1118         * readelf.c (get_symbol_index_type): Revert part of previous
1119         patch: Display unknown symbol types in decimal, not hex.
1121 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
1123         * dlltool.c (add_excludes): Don't prefix excluded fastcall
1124         symbols with underscore.
1125         (xlate): Ignore add_underscore for decorated fastcall symbols.
1127 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
1129         * deflex.l: Accept '@' as first character of an ID.
1130         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1131         ASM_PREFIX for fastcall symbols.
1132         (scan_drectve_symbols): Handle fastcall symbols when generating
1133         undecorated aliases for symbols in drectve section.
1134         (scan_filtered_symbols): Likewise, with export-all.
1135         (xlate): Likewise, with --kill-at.
1136         (make_imp_label): New function to handle fastcall symbols
1137         correctly.
1138         (make_one_lib_file): Use make_imp_label instead of make_label
1139         for imp symbols.
1141 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
1143         * MAINTAINERS: Add self as TIC4X maintainer.
1145 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
1147         * readelf.c (get_symbol_index_type): Add hex number to
1148         PROCESSOR-specific, OS-specific, reserved and unknown symbol
1149         types.
1151 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
1153         * readelf.c (byte_get_little_endian): Comment typo fix.
1154         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
1155         as the format string.
1156         (dump_relocations): Correct section sym names.
1157         (process_section_headers): Clear symtab_shndx_hdr.
1158         (read_and_display_attr_value): Don't pass indirect string to printf
1159         as the format string.
1160         (display_debug_frames): Indicate when zero terminator found.  Decode
1161         DW_EH_PE_pcrel addresses.
1163 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
1165         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1166         order to ensure proper disassembly of the valid 0-value opcode.
1167         * configure: Regenerate.
1168         * aclocal.m4: Regenerate.
1169         * config.in: Regenerate.
1170         * configure.in: Regenerate.
1171         * doc/Makefile.in: Regenerate.
1172         * po/binutils.pot: Regenerate.
1174 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1176         * MAINTAINERS: Add self as SH maintainer.
1178 2002-10-23  Ben Elliston  <bje@redhat.com>
1180         * doc/binutils.texi (objdump): Document -z and move the entry for
1181         --disassemble-zeroes to the end of the options section (for `z').
1183 2002-10-21  Nick Clifton  <nickc@redhat.com>
1185         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1187 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
1189         * objdump.c (dump_data): Correct addr_offset for opb != 1.
1191 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
1193         * bucomm.c (list_supported_targets): Use bfd_target_list.
1195         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1196         other object errors in preference to bfd_core errors.
1198 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
1200         * Makefile.am: Run "make dep-am".
1201         * objdump.c: #include "bfdver.h".
1202         * version.c: Likewise.
1203         * Makefile.in: Regenerate.
1204         * config.in: Regenerate.
1205         * configure: Regenerate.
1206         * po/POTFILES.in: Regenerate.
1208 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
1210         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1211         sections.  Allow relocations against the absolute symbol.  Don't
1212         use the value in compunit.cu_abbrev_offset if we found a RELA
1213         relocation.
1215 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
1217         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1218         ordinary ones are available.
1220 2002-09-30  H.J. Lu <hjl@gnu.org>
1222         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1223         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1225 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
1227         * Makefile.am (CFILES): Add cxxfilt.c.
1228         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1229         (cxxfilt_LDADD): Delete.
1230         Remove all references to underscore.c.
1231         Regen dependencies.
1232         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1233         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1234         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1235         adjustments to fit into binutils framework.
1236         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1238 2002-09-12  Roland McGrath  <roland@redhat.com>
1240         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1241         Handle DW_OP_GNU_push_tls_address.
1243 2002-09-11  Nick Clifton  <nickc@redhat.com>
1245         * po/tr.po: Updated Turkish translation.
1247 2002-09-10  Nick Clifton  <nickc@redhat.com>
1249         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1250         testsuite changes.  Add paragraphs about testsuite and config
1251         patches.
1253 2002-08-29  Nick Clifton  <nickc@redhat.com>
1255         * readelf.c (get_machine_flags): Remove redundant reference to
1256         E_V850EA_ARCH.
1258 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
1260         * objdump.c (dump_bfd): Restore lines accidentally deleted in
1261         last commit.
1263 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1265         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1266         (dump_bfd_header): Likewise.
1268 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
1270         * nm.c: Revert last change.
1272 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
1274         * nm.c (display_rel_file): Don't report "no symbols" as an error.
1275         * objdump.c (slurp_symtab): Likewise.
1276         (slurp_dynamic_symtab): Likewise.
1277         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
1279 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
1281         * MAINTAINERS: Change my mailing address.
1283 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1285         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1287 2002-08-22  Nick Clifton  <nickc@redhat.com>
1289         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1290         HPPA.
1292 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1294         * readelf.c (parse_args): Change debug_dump_opt to static.
1296 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
1298         * stabs.c (parse_stab_argtype): Pass length of physname to
1299         stab_demangle_argtypes.
1300         (stab_demangle_argtypes): Add new parameter - length of physname.
1301         Pass length of physname on to stab_demangle_prefix.
1302         (stab_demangle_prefix): Add new parameter - length of physname.
1303         Use length of physname (if supplied) to compute end of function
1304         name.
1306 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
1308         * readelf.c: Include elf/i370.h.
1309         (dump_relocations): Handle EM_S370.
1310         (dynamic_segment_parisc_val): Print \n.
1311         (process_dynamic_segment <DT_BIND_NOW>): Here too.
1313 2002-08-14  Nick Clifton  <nickc@redhat.com>
1315         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1316         * objdump.c (usage): Likewise.
1317         * doc/binutils.texi: Likewise.
1319 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
1321         * rcparse.y (acc_entry): Don't warn about ALT use with
1322         non-VIRTKEY.
1324 2002-08-13  H.J. Lu <hjl@gnu.org>
1326         * objcopy.c (copy_object): Don't warn about the unsupported
1327         architecture unless the input target is defaulted or the
1328         output architecture is different from the input.
1330 2002-08-09  Nick Clifton  <nickc@redhat.com>
1332         * po/sv.po: Updated Swedish translation.
1334 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
1336         * prdbg.c (pr_fix_visibility): Remove assert.
1338 2002-07-31  Nick Clifton  <nickc@redhat.com>
1340         * addr2line.c (process_file): Rename parameter 'filename' to
1341         'file_name' in order to avoid shadowing global symbol of the
1342         same name.
1343         (main): Likewise.
1345 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
1347         * readelf.c (OPTION_DEBUG_DUMP): Define.
1348         (options): Use it.
1349         (usage): Update help.
1350         (parse_args): Handle --debug-dump separately from -w.
1351         * doc/binutils.texi (readelf): Update documentation.
1353 2002-07-25  Nick Clifton  <nickc@redhat.com>
1355         * po/es.po: Updated Spanish translation.
1356         * po/fr.po: Updated French translation.
1358 2002-07-24  Nick Clifton  <nickc@redhat.com>
1360         * po/es.po: Updated Spanish translation.
1362 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
1364         * Makefile.am: Run "make dep-am".
1365         * Makefile.in: Regenerate.
1367 2002-07-23  Nick Clifton  <nickc@redhat.com>
1369         * po/fr.po: Updated French translation.
1371 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
1373         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1375 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
1377         * budemang.c: Include config.h and string.h/strings.h.
1379 2002-07-18 Denis Chertykov  <denisc@overta.ru>
1380            Frank Ch. Eigler  <fche@redhat.com>
1382         * readelf.c: Include "elf/ip2k.h".
1383         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1384         (dump_relocations): Likewise.
1385         (get_machine_name): Likewise.
1386         * NEWS: Mention IP2K support.
1388 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
1390         * NEWS: Add 'Changes in 2.13'.
1392 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
1394         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1395         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1396         (get_section_type_name): Handle SHT_GNU_LIBLIST.
1397         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1398         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1399         (process_gnu_liblist): New.
1400         (process_file): Call it.
1402 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
1404         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1405         * Makefile.in: Regenerate.
1407 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
1409         * budemang.c: New file, "demangle" function.
1410         * budemang.h: New file.
1411         * addr2line.c (translate_addresses): Use "demangle".
1412         * nm.c (print_symname): Likewise.
1413         * objdump.c (objdump_print_symname): Likewise.
1414         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
1415         here since that obfuscates.
1416         * rdcoff.c: Don't #include demangle.h.
1417         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1418         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
1419         (HFILES): Add budemang.h.  Sort.
1420         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1421         Run "make dep-am".
1422         * Makefile.in: Regenerate.
1424 2002-07-01  Matt Thomas  <matt@3am-software.com>
1426         * readelf.c: Include "elf/vax.h".
1427         (guess_is_rela): Move EM_VAX from unknown to RELA case.
1428         (dump_relocations): Handle VAX relocations.
1429         (get_machine_flags): Handle VAX machine flags.
1431 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
1433         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1435 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
1437         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1439 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
1441         * nm.c (print_symname): When demangling, strip leading dots from
1442         symbol names to avoid confusing the demangler.
1444 2002-06-25  H.J. Lu <hjl@gnu.org>
1446         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1447         * Makefile.in: Regenerated.
1449 2002-06-21  Igor Schein  <igor@txc.com>
1451         * configure.in: Quote bu_cv_have_fopen64.
1452         * configure: Regenerate.
1454 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
1456         * configure.in: Check for strcoll.
1457         * configure: Regenerate.
1458         * config.in: Regenerate.
1459         * nm.c (main): Set locale for LC_COLLATE category.
1460         (non_numeric_forward): Use strcoll if available.
1462 2002-06-20  Dave Brolley  <brolley@redhat.com>
1464         * MAINTAINERS: Add self as fr30 and frv maintainer.
1466 2002-06-18  H.J. Lu  (hjl@gnu.org)
1468         * nm.c: Include "elf/common.h".
1469         (extended_symbol_info): Add elfinfo, a pointer to
1470         elf_symbol_type.
1471         (SYM_SIZE): Use elfinfo if it is not NULL.
1472         (get_symbol_type): New function.
1473         (display_archive): Set print_width for each archive member.
1474         (display_file): Likewise.
1475         (display_rel_file): Don't set print_width here.
1476         (print_object_filename_sysv): Handle print_width.
1477         (print_archive_member_sysv): Likewise.
1478         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1479         (print_symbol): Set the elfinfo field in extended_symbol_info
1480         for ELF.
1481         (print_object_filename_sysv): Fix the output format.
1482         (print_symbol_info_sysv): Print type and section for ELF.
1484 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
1486         * nm.c (print_size_symbols): Remove assignment, which makes
1487         the symbol's size equal to its value when --size-sort is
1488         used.
1490 2002-06-18  Dave Brolley  <brolley@redhat.com>
1492         From Catherine Moore:
1493         * readelf.c (elf/frv.h): #include it.
1494         (guess_is_rela): Support EM_CYGNUS_FRV.
1495         (dump_relocations): Ditto.
1496         (get_machine_name): Ditto.
1497         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1499 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
1501         * readelf.c (get_file_header): Only read the first section header if
1502         e_shoff is non-zero.
1504 2002-06-15  H.J. Lu  (hjl@gnu.org)
1506         * nm.c (print_size): New variable. Initialize to 0.
1507         (long_options): Add 'S'/"print-size".
1508         (main): Handle 'S'.
1509         (print_symbol_info_bsd): Print size only if print_size is not
1510         0.
1512         * doc/binutils.texi: Document -S/--print-size.
1514 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
1516         * nm.c (struct extended_symbol_info): New structure: Add the size
1517         of the symbols to the information provided by the symbol_info
1518         structure.
1519         (print_symbols): Pass the symbol size to print_symbol.
1520         (print_size_symbols): Pass the symbol size to print_symbol.
1521         (print_symbol): Extra argument: The size of the symbol.  Store
1522         this in the extended_symbol_info structure.
1523         (print_symbol_info): Change type of info parameter to
1524         extended_symbol_info.  Display the size, if known.
1525         (print_symbol_info_posix): Likewise.
1526         (print_symbol_info_sysv): Likewise.
1528 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
1530         * Makefile.am: Run "make dep-am".
1531         * Makefile.in: Regenerate.
1532         * doc/Makefile.in: Regnerate.
1534         * bucomm.c: Replace CONST with const.
1535         * nm.c: Likewise.
1536         * objdump.c: Likewise.
1538 2002-06-07  H.J. Lu <hjl@gnu.org>
1540         * readelf.c (DW_CFA_GNU_args_size): Don't define.
1541         (DW_CFA_GNU_negative_offset_extended): Likewise.
1542         (DW_CFA_GNU_window_save): Likewise.
1543         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1544         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1546 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
1548         * nm.c: When computing size of symbols for an ELF target use the
1549         internal size field.
1551 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1553         * testsuite/binutils-all/objcopy.exp: clear xfail for
1554         "hppa*64*-*-hpux*".
1555         * testsuite/binutils-all/hppa/objdump.exp: Return if
1556         "*64*-*-*".
1558 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
1560         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1562 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
1564         * objdump.c: Fix formatting.
1566 2002-05-29  Ben Elliston  <bje@redhat.com>
1568         * MAINTAINERS: Add self as M68k maintainer.
1570 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
1572         * readelf.c: Modified/Added DLX elf support.
1574 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
1576         * arsup.c: Fix formatting.
1577         * debug.c (debug_record_label): Add missing colon to error
1578         message.
1579         * ieee.c (parse_ieee_ty): Fix spelling typo.
1580         * readelf.c (process_program_headers): Remove English assumption
1581         about making a plural word.
1582         (process_section_headers): Likewise.
1583         (process_relocs): Allow quotes to be translated.
1584         (process_unwind): Likewise,
1585         (process_mips_specific): Improve error message.
1586         (get_note_type): Fix spelling typo.
1588         * configure.in (ALL_LINGUAS): Add sv
1589         * po/sv.po: New file.
1591 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
1593         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1594         (unw_print_grmask): Likewise.
1595         (unw_print_frmask): Likewise.
1597 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1599         * arsup.c: Remove ARGSUSED.
1600         * debug.c: Likewise.
1601         * ieee.c: Likewise.
1602         * nlmconv.c: Likewise.
1603         * prdbg.c: Likewise.
1604         * stabs.c: Likewise.
1605         * wrstabs.c: Likewise.
1607 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
1609         * arlex.l: Use #include "" instead of <> for local header files.
1610         * coffdump.c: Likewise.
1611         * coffgrok.c: Likewise.
1612         * nlmconv.c: Likewise.
1613         * nlmheader.y: Likewise.
1614         * srconv.c: Likewise.
1615         * strings.c: Likewise.
1616         * sysdump.c: Likewise.
1617         * unwind-ia64.h: Likewise.
1618         * windres.h: Likewise.
1619         * winduni.h: Likewise.
1621 2002-05-24  Tom Rix  <trix@redhat.com>
1623         * MAINTAINERS: Add self as the d10v maintainer.
1625 2002-05-24   TAMURA Kent <kent@netbsd.org>
1627         * configure.in: Builds dlltool for i386-netbsdpe.
1628         * configure: Regenerate.
1630 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1632         * size.c: Fix formatting.
1633         * srconv.c: Likewise.
1634         * stabs.c: Likewise.
1635         * sysdump.c: Likewise.
1636         * unwind-ia64.c: Likewise.
1637         * wrstabs.c: Likewise.
1639 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1641         * readelf.c (get_segment_type): Add PT_TLS.
1642         (get_elf_section_flags): Add SHF_TLS.
1643         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1644         (process_dynamic_segment): Use puts instead of printf.
1645         (get_symbol_type): Support STT_TLS.
1646         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1647         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1648         Add SEC_THREAD_LOCAL.
1650 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1652         * rdcoff.c: Fix formatting.
1653         * rddbg.c: Likewise.
1654         * readelf.c: Likewise.
1655         * rename.c: Likewise.
1656         * resbin.c: Likewise.
1657         * resrc.c: Likewise.
1658         * resres.c: Likewise.
1660 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1662         * filemode.c: Fix formatting.
1663         * ieee.c: Likewise.
1664         * is-ranlib.c: Likewise.
1665         * is-strip.c: Likewise.
1666         * maybe-ranlib.c: Likewise.
1667         * maybe-strip.c: Likewise.
1668         * nlmconv.c: Likewise.
1669         * nm.c: Likewise.
1670         * not-ranlib.c: Likewise.
1671         * not-strip.c: Likewise.
1672         * objcopy.c: Likewise.
1673         * objdump.c: Likewise.
1675 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1677         * objdump.c (dump_headers): Fix output formatting for ELF32
1678         architectures in a BFD64 enabled toolchain.
1680 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1682         * debug.c: Fix formatting.
1683         * debug.h: Likewise.
1684         * dlltool.c: Likewise.
1685         * dllwrap.c: Likewise.
1686         * emul_aix.c: Likewise.
1687         * emul_vanilla.c: Likewise.
1689 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1691         * addr2line.c: Fix formatting.
1692         * ar.c: Likewise.
1693         * arsup.c: Likewise.
1694         * arsup.h: Likewise.
1695         * binemul.c: Likewise.
1696         * binemul.h: Likewise.
1697         * bucomm.c: Likewise.
1698         * coffdump.c: Likewise.
1699         * coffgrok.c: Likewise.
1700         * coffgrok.h: Likewise.
1702 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1704         * MAINTAINERS: Add myself as the second AVR port maintainer.
1706 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1708         * MAINTAINERS: Update my email address.
1710 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1712         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1714 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1716         * configure.in: Replace `*pe' with `pe' throughout.
1717         * configure: Regenerate.
1719 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1721         * Makefile.am: Honour DESTDIR.
1722         * Makefile.in: Regenerate.
1724 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1726         * dlltool.c (process_def_file): Add missing prototype.
1727         (new_directive, assemble_file, main): Likewise.
1728         (process_def_file, new_directive): Make static.
1729         (inform): Rewrite using VA_FIXEDARG.
1730         * dllwrap.c (mybasename): Add missing prototype.
1731         (strhash, main): Likewise.
1732         (inform): Rewrite using VA_FIXEDARG.
1733         (warn): Likewise.
1734         (cleanup_and_exit): Use old style function definition.
1735         (strhash): Likewise.
1736         * windres.c (define_resource): Use one memset to clear all of
1737         struct res_resource.
1739         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1740         call to rules that need no lookahead.  Check for no lookahead.
1742 2002-05-06  Borut Razem  <borut.razem@siol.net>
1744         * rclex.l (get_string): Correct "strings" list handling.
1745         * resrc.c (read_rc_file): Discard strings.
1747 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1749         * ar.c (replace_members): Remove unused var.  Formatting fix.
1750         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1752         * MAINTAINERS: Sort port maintainers by CPU.
1754 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1756         * size.c (display_archive): Add last_arfile and code to close archives.
1758 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1760         * nm.c (print_symbol): Check returned filename from
1761         bfd_find_nearest_line is non-NULL.
1763 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1765         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1767 2002-04-24  Christian Groessler <chris@groessler.org>
1769         * MAINTAINERS: Changed my email address.
1771 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1773         * arparse.y: Fix syntax warning.
1775 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1777         * readelf.c (fetch_location_list): Remove unused function.
1779         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1780         and display a warning message, then exit the loop.
1782         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1784 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1786         * resrc.c (write_rc_dialog): If charset is non-default value
1787         display all of the DIALOGEX parameters.
1789 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1791         * rcparse.y: Allow two to five parameter in FONT statement of
1792         DIALOGEX resources.
1793         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1794         resource data.
1795         (res_to_bin_dialog): Likewise.
1796         * windres.h: Added misssing charset variable to dialog_ex
1797         structure.
1799 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1801         * rcparse.y: Set MEMFLAG_PURE by default.
1803 2002-04-09  Bernd Herd <info@herdsoft.com>
1805         * rcparse.y: CLASS definitions in DIALOG resources
1806         are quoted.
1807         Fix typo in BEDIT warning.
1808         Don't add default dialog style when explicit style specified.
1809         Add WS_CAPTION dialog style if CAPTION is specified.
1811         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1812         (handle_quotes) "\a" escape (used for right justified key
1813         definitions in menus) is encodes as binary 8.
1815         * resrc.c (write_rc_dialog): Print style even if it is 0.
1816         (write_rc_directory): Fix overlooked sublang shift bug.
1817         (bin_to_res_dialog): Don't print empty dialog caption.
1819         * resbin.c (bin_to_res_dialog): Use signature to identify
1820         DIALOGEX.
1822         * windres.c (main): Set default LANGUAGE to english/us.
1824 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1826         * resrc.c: print CLASS names in quotes
1828 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1830         * MAINTAINERS: Update my email address.
1832 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1834         * dep-in.sed: Cope with absolute paths.
1835         * Makefile.am (dep.sed): Subst TOPDIR.
1836         Run "make dep-am".
1837         * Makefile.in: Regenerate.
1839 2002-03-27  Peter Targett  <peter.targett@arc.com>
1841         * MAINTAINERS: Update my email address.
1843 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1845         * Makefile.am: Run "make dep-am".
1846         * Makefile.in: Regenerate.
1847         * doc/Makefile.in: Regenerate.
1848         * po/POTFILES.in: Regenerate.
1849         * aclocal.m4: Regenerate.
1850         * config.in: Regenerate.
1851         * configure: Regenerate.
1853 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1855         * readelf.c: Add support for displaying dwarf2 location lists.
1856         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1857         (parse_args): Use 'O' as shorthand for displaying location list
1858         section.
1859         (process_section_headers): Handle debug_loc as well.
1860         (load_debug_loc): New.
1861         (free_debug_loc): New.
1862         (fetch_location_list): New.
1863         (display_debug_loc): New.
1864         (display_debug_info): Call load_debug_loc and free_debug_loc.
1865         (debug_displays): We can display .debug_loc now, too.
1866         (usage): Update usage string.
1867         (read_and_display_attr_value): Note location lists, but don't
1868         display them inline.
1870 2002-03-18  Tom Rix  <trix@redhat.com>
1872         * Makefile.am: Add binutils emulation support.
1873         * configure.in: Same.
1874         * configure.tgt: New file.  Same.
1875         * ar.c (main): Use ar_emul_parse_arg.
1876         (usage): Use ar_emul_usage.
1877         (replace_members): Use ar_emul_replace, ar_emul_append.
1878         * binemul.c: New file.  Define the binutils emulation
1879         layer. Define default methods.
1880         * binemul.h: New file.  Binutils emulation layer header file.
1881         * emul_aix.c: New file.  AIX binutils emulation.
1882         * emul_vanilla.c: New file. Default binutils emulation.
1883         * Makefile.in: Regenerate.
1884         * configure: Same.
1886 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1888         * po/fr.po: Updated version.
1890 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1892         * po/fr.po: Updated version.
1894 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1896         * README: Update some version numbers.
1898 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1900         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1901         (Architecture Selection): Likewise.
1903 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1905         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1906         generating .exp file.
1908 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1910         * readelf.c (dump_relocations): Fix typo.
1912 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1914         * NEWS: Mark 2.12 branch.
1916 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1918         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1919         types for 64-bit MIPS.  Narrow some fields for 80-char
1920         output.
1921         (dump_relocations): Change spelling from 'unrecognised'
1922         to 'unrecognized'.
1923         (decode_ARM_machine_flags): Likewise.
1924         (parse_args): Likewise.
1925         (read_and_display_attr_value): Likewise.
1926         (display_debug_section): Likewise.
1928 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1930         * NEWS: Mention support for MMIX.
1932 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1934         * readelf.c (get_machine_flags): Recognize EF_M68000.
1936 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1938         * MAINTAINERS: Added self as MN10300 co-maintainer.
1940 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1942         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1943         DT_PPC64_OPDSZ.
1945 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1947         * MAINTAINERS: List myself as branch maintainer.
1949 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1951         * configure: Regenerate.
1952         * objcopy.c: Update copyright date.
1953         * doc/Makefile.in: Regenerate.
1955 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1957         * nlmconv.c: Back out localtime PARAMS change.
1959 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1961         * objcopy.c (MKDIR): Define.
1962         (copy_archive): Make name_list.name const.  Use MKDIR.
1963         Handle duplicate files in archives by making more temp dirs.
1965 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1967         * coffdump.c: Include "getopt.h" after "bucomm.h"
1968         so that macros are defined correctly.
1969         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1970         prototype.  Prototype main.
1971         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1973 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1975         * MAINTAINERS: Added self as SH co-maintainer.
1977 2002-02-05  Nick Clifton <nickc@redhat.com>
1979         * po/tr.po: Updated translation.
1981 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1983         * Makefile.am: Run "make dep-am"
1984         * Makefile.in: Regenerate.
1986 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1988         * nm.c (print_value): Mark abfd unused.
1990 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1992         * unwind-ia64.c (unw_decoder): Change second argument
1993         to unsigned int, to match function prototypes.
1995 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1997         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1998         __GNU_LIBRARY__ will be defined.
1999         * size.c: Likewise.
2001 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
2003         * configure: Regenerated.
2005 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
2007         * doc/Makefile.am (install): Depend on install-info.
2008         * doc/Makefile.in: Regenerate.
2010 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
2012         * objcopy.c (strip_usage): Document -d as an alias
2013         --strip-debug.
2015         * size.c (usage): Document [-t | --totals] options.
2016         (long_options): Add --totals option.
2017         (main): If the [-t | --totals] option is specified and
2018         the output format is Berkeley-style, print the total
2019         text, data, and bss sizes of all objects listed.
2020         (print_berkeley_format): If the [-t | --totals] option
2021         is specified, track the total text, data, and bss
2022         sizes.
2023         * doc/binutils.texi (size): Document [-t | --totals] options.
2024         (strip): Document -d as an alias for --strip-debug.
2025         * NEWS: Mention new feature of size.
2027 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
2029         * po/fr.po: Updated version.
2030         * po/es.po: Updated version.
2032 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
2034         * addr2line.c (usage): Update text to provide verbose
2035         description of the command line options.
2036         * ar.c (usage): Update text to provide verbose
2037         description of the command line options.
2038         (main): Accept -h and -H when running as ranlib.
2039         * coffdump.c (show_usage): Update text to provide verbose
2040         description of the command line options.
2041         * dlltool.c (main): Accept -H as an alias for --help.
2042         * nlmconv.c (show_usage): Update text to provide verbose
2043         description of the command line options.
2044         * nm.c (usage): Replace OPTIONS with option(s).
2045         (main): Accept -H as an alias for --help.
2046         * objcopy.c (strip_main): Accept -H as an alias for --help.
2047         * objdump.c (main): Accept -v as an alias for --verbose.
2048         * readelf.c (usage): Adjust format to match style used in
2049         other binutils.
2050         * size.c (usage): Update text to provide verbose description
2051         of the command line options.
2052         (main): Accept -v, -h and -H as command line options.
2053         * srconv.c (show_usage): Update text to provide verbose
2054         description of the command line options.
2055         * strings.c (main): Accept -H and -v as command line options.
2056         (usage): Update text to provide verbose description of the
2057         command line options.
2058         * sysdump.c (show_usage): Update text to provide verbose
2059         description of the command line options.
2060         * windres.c (usage): Adjust format to match style used in
2061         other binutils.
2063         * coffdump.c: Fix formatting.
2064         * nlmconv.c: Fix formatting.
2065         * srconv.c: Fix formatting.
2066         * sysdump.c: Fix formatting.
2068 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
2070         * Makefile.am: Run "make dep-am".
2071         * Makefile.in: Regenerate.
2073 2002-01-18  Andreas Jaeger  <aj@suse.de>
2075         * version.c (print_version): Update year.
2077 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
2079         * readelf.c (get_machine_name): Handle EM_PPC64.
2080         (guess_is_rela): Here too.
2082 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2084         * po/binutils.pot: Regenerate.
2085         * po/fr.po: Regenerate.
2086         * po/tr.po: Regenerate.
2088 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
2090         * po/tr.po: Import new version.
2092 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
2094         * readelf.c (get_ppc64_dynamic_type): New.
2095         (get_dynamic_type): Call it.
2097 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
2099         * objcopy.c (copy_usage): Use "options" instead of "switches".
2100         (strip_usage): Use "options" instead of "switches".
2101         * doc/binutils.texi (dlltool):  Refer to "options" instead of
2102         "switches".
2104 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
2106         * MAINTAINERS: Add self as co-maintainer for the ARM code.
2108 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2110         * po/es.po: Import from translation project.
2111         * configure.in (ALL_LINGUAS): Add es.
2112         * configure: Regenerate.
2114 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
2116         * readelf.c (get_netbsd_elfcore_note_type): Use
2117         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2119 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
2121         * readelf.c: Update copyright years.
2122         (get_note_type): Return a const char *.
2123         (get_netbsd_elfcore_note_type): New function.
2124         (process_note): Use get_netbsd_elfcore_note_type to get
2125         the note type string for NetBSD ELF core files.
2127 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
2129         * readelf.c (get_ia64_segment_type): Add support for macros.
2130         (get_segment_type): Add support for IA64 specific macros.
2132 2001-12-20  Julian v. Bock  <julian@wongr.net>
2134         * readelf.c (print_symbol): New function: Print a formatted symbol
2135         name.  If --wide is specified do not truncate it.
2136         (dump_relocations): Use print_symbol() to print symbol names.
2137         (process_symbol_table): Likewise.
2138         (process_syminfo): Likewise.
2139         (process_mips_specific): Likewise.
2140         (usage): Document new feature of --wide switch.
2141         * doc/binutils.texi (objdump): Document additional behaviour of
2142         --wide.
2144 2001-12-18  Michael Snyder  <msnyder@redhat.com>
2146         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2147         (copy_object): Don't set the start address or flags of a core file.
2148         (copy_section): Don't relocate a core file.  Don't copy contents
2149         if the input section has the contents flag set, but the output
2150         section does not (which happens with the fake 'note' pseudo-
2151         sections that BFD creates for corefiles).
2153 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2155         * readelf.c (get_machine_flags): Recognize header flags for ABI and
2156         ASE extensions. More robust code for ISA checking. Ignore empty fields
2157         in header flags for GNU extensions.
2159 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
2161         * objcopy.c (copy_archive): Set output bfd format outside the loop.
2163 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2165         * po/ja.po: Import from translation project.
2166         * configure.in (ALL_LINGUAS): Add ja.
2167         * configure: Regenerate.
2169 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2171         * addr2line.c (main): Protoype.
2172         * ar.c (main): Protoype.
2173         * nm.c (main): Protoype.
2174         * objcopy.c (main): Protoype.
2175         * objdump.c (main): Protoype.
2176         * size.c (main): Protoype.
2177         * strings.c (main): Protoype.
2179 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
2181         * readelf.c (symtab_shndx_hdr): New global.
2182         (SECTION_HEADER_INDEX): Define.
2183         (SECTION_HEADER_NUM): Define.
2184         (SECTION_HEADER): Define.
2185         (GET_ELF_SYMBOLS): Pass two params rather than three.
2186         (get_32bit_elf_symbols): Take file and section args.  Read and
2187         use SHT_SYMTAB_SHNDX.
2188         (get_64bit_elf_symbols): Likewise.
2189         (dump_relocations): Use SECTION_HEADER to index "section_headers".
2190         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
2191         Remember symtab_shdx_hdr.
2192         (process_program_headers): Scan from index 1 for segment map.
2193         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2194         "section_headers".
2195         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
2196         (process_unwind): Likewise.
2197         (process_version_sections): Likewise.
2198         (process_symbol_table): Likewise.
2199         (display_debug_info): Likewise.
2200         (process_dynamic_segment): Fake up a symtab section for changed
2201         GET_ELF_SYMBOLS.
2202         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2203         (process_program_headers): Kill signed/unsigned warning.
2204         (load_debug_str): Likewise.
2205         (display_debug_info): Likewise.
2207 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
2209         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2211 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
2213         * readelf.c (process_file_header): Print extended e_shnum and
2214         e_shdtrndx values.  Set elf_header values for same.
2215         (get_32bit_section_headers): Add "num" arg to read "num" headers.
2216         (get_64bit_section_headers): Likewise.
2217         (process_section_headers): Update calls.
2218         (get_file_header): Call get_32bit_section_headers or 64bit variant.
2220 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
2222         * objcopy.c (setup_section): Copy entsize.
2224 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
2226         * readelf.c (guess_is_rela): Add support for stormy16.
2227         (dump_relocations): Likewise.
2228         (get_machine_name): Likewise.
2230 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
2232         * dllwrap.c (main) Replace multiple strings describing a
2233         single error with a single, newline escaped sentence to permit
2234         better translation into foreign languages.
2236         * readelf.c (get_elf_class): Remove internalionalisation of ELF
2237         class names.
2239 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2241         * strings.c (get_char): Initialize value.
2243 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2245         * arlex.l: Silence compile warnings.
2246         * arsup.h: Likewise. Fix formatting.
2248 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
2250         * strings.c: Include config.h before bfd.h.
2251         (file_off): New type.
2252         (file_open): Define.
2253         (print_strings): Use file_off instead of file_ptr.  Print addresses
2254         which don't fit into long correctly.
2255         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
2256         available.
2257         (strings_file): Use file_off instead of file_ptr.  Use file_open.
2258         * configure.in: Check for getc_unlocked.
2259         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2260         be defined for it.
2261         * configure: Rebuilt.
2262         * config.h.in: Rebuilt.
2264 2001-11-29  H.J. Lu <hjl@gnu.org>
2266         * bucomm.c (make_tempname): Revert the changes made on
2267         2001-11-14 and 2001-11-12. They won't work with directories.
2269 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2271         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2272         CFLAGS_FOR_TARGET to runtest in environment.
2273         * Makefile.in: Rebuild.
2274         * doc/Makefile.in: Rebuild.
2276 2001-11-28  Mike Stump  <mrs@wrs.com>
2278         * objcopy.c (setup_section): Preserve SEC_RELOC when
2279         --set-section-flags is used.
2281 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
2283         * readelf.c (do_debug_str): New variable.
2284         (display_debug_str): New function: Display the contents of a
2285         .debug_str section.
2286         (load_debug_str): New function: Load in the contents of a
2287         .debug_str section.
2288         (free_debug_str): New function: Free the memory used by
2289         load_debug_str().
2290         (fetch_indirect_string): Retrieve a string from the .debug_str
2291         section.
2292         (usage): Add -ws.
2293         (parse_args): Accept -ws.
2294         (process_section_headers): Allow the display of the .debug_str
2295         section.
2296         (read_and_display_attr_value): Use fetch_indirect_string.  Show
2297         offset into .debug_str section.
2298         (display_debug_info): Use load_debug_str and free_debug_str.
2299         (debug_displays): Add .debug_str.
2300         * doc/binutils.texi: Document -ws.
2302 2001-11-19  Andreas Jaeger  <aj@suse.de>
2304         * testsuite/binutils-all/objdump.exp: Add x86-64.
2306 2001-11-15  Andreas Schwab  <schwab@suse.de>
2308         * readelf.c: Fix warnings without terminating newline.
2310 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
2312         * doc/binutils.texi (objdump): Document ppc -M options.
2314 2001-11-14  Andreas Jaeger  <aj@suse.de>
2316         * doc/binutils.texi (objdump): Fix description to use x86-64.
2318 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
2320         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2321         not all systems provide mkstemp.
2323 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
2325         * doc/binutils.texi (objdump): Document x86 -M options.
2327 2001-11-13  Keith Walker <keith.walker@arm.com>
2329         * readelf.c (read_and_display_attr_value): New function to
2330         handle DW_FORM_indirect.
2331         (read_and_display_attr): Use it.
2333 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
2335         * readelf.c (display_debug_lines): Deal with unknown standard
2336         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2337         DW_LNS_set_isa.
2339 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
2341         * MAINTAINERS: Add self as tic54x maintainer.  This target
2342         includes the IBM C54XDSP clone.
2344 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
2346         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2348 2001-11-09  Jeffrey A Law  (law@cygnus.com)
2350         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2351         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2352         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2353         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2354         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2355         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2356         (unw_decode_b2, unw_decode_b3_b4): Likewise.
2358         * readelf.c (get_elf_class): Fix ISO portability glitch.
2359         (get_data_encoding, get_osabi_name, request_dump): Likewise.
2361 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
2363         * readelf.c (debug_str, debug_str_size): New.
2364         (display_debug_abbrev): If no abbrevs were read, skip the CU.
2365         Call free_abbrevs.
2366         (read_and_display_addr): Handle DW_FORM_strp.
2367         (display_debug_info): Read .debug_str section if present,
2368         so that DW_FORM_strp can be handled.
2369         Fix test for non-existant .debug_abbrev section.
2371 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
2373         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
2375         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2377 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2379         * MAINTAINERS: Add self as s390/s390x maintainer.
2381 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
2383         * MAINTAINERS: Add self as PPC XCOFF maintainer.
2385 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
2387         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2388         * configure: Regernate.
2389         * po/fr.po: New file.
2390         * po/tr.po: New file.
2392 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
2394         * MAINTAINERS: Add self as MMIX port maintainer.
2395         * readelf.c: Include elf/mmix.h.
2396         (guess_is_rela): MMIX is RELA.
2397         (dump_relocations): Handle MMIX relocations.
2398         * Makefile.am: Regenerate dependencies.
2399         * Makefile.in: Regenerate.
2401 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
2403         * readelf.c (parse_args): Handle multiple options to the -w
2404         switch.
2406 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
2408         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2409         LOPROC, LOOS and LOUSER.
2411 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
2413         * MAINTAINERS: Update my email address.
2415 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
2417         * doc/Makefile.in: Regenerate.
2418         * configure: Regenerate.
2420 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
2422         * readelf.c (display_debug_line, display_debug_pubnames,
2423         display_debug_info, display_debug_frames): Detect and warn
2424         about 64-bit format entries.
2425         (display_debug_aranges): Reword 64-bit warning.
2426         (debug_displays): Add .debug_pubtypes as a known, but not yet
2427         supported, debug section.
2429 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
2431         * coffdump.c (PROGRAM_VERSION): Delete.
2432         (main <'V'>): Call print_version.
2433         * srconv.c: Likewise.
2434         * sysdump.c: Likewise.
2435         * version.c (program_version): Remove.
2436         (print_version): Use BFD_VERSION_STRING.  Just print the current
2437         year in copyright message.
2438         * addr2line.c (program_version): Remove unused declaration.
2439         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2440         place of BFD_VERSION.
2441         * Makefile.am (Makefile): Depend on bfd/configure.in.
2442         (cplus-dem.o): Depend on Makefile.
2443         Run "make dep-am".
2444         * Makefile.in: Regenerate.
2446 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
2448         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2449         format .debug_arange sections.
2450         (main): Add missing prototype.
2452 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
2454         * Makefile.am: Update dependencies with "make dep-am".
2455         * Makefile.in: Regenerate.
2457 2001-09-28  Richard Henderson  <rth@redhat.com>
2459         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2461 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
2463         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2464         VA_CLOSE.
2465         (non_fatal): Likewise.
2466         * objdump.c (objdump_sprintf): Likewise.
2467         * readelf.c (error): Likewise.
2468         (warn): Likewise.
2470 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
2472         * readelf.c (do_wide): New.
2473         (options): Add --wide.
2474         (usage, parse_args): Likewise.
2475         (process_program_headers): Put each segment on a single line if
2476         --wide is given.
2477         (process_section_headers): Put each section on a single line if
2478         --wide is given.
2479         * doc/binutils.texi: Document it.
2480         * NEWS: Likewise.
2482 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
2484         * readelf.c (print_vma): Print 8 digits of low hex value.
2486 2001-09-24  Andreas Jaeger  <aj@suse.de>
2488         * nlmconv.c: Fix warnings about unused attributes and function
2489         prototypes.
2491         * strings.c: Add prototype for get_char.
2493 2000-09-19  H.J. Lu  <hjl@gnu.org>
2495         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2496         $(srcdir)/cxxfilt.man.
2497         * doc/Makefile.in: Rebuild.
2499 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
2501         * objcopy.c (copy_main): Correct rename-section string parsing.
2502         Consolidate new_name parsing, and error messages.
2504 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
2506         * addr2line.c: Don't include <ctype.h>.
2507         (main): For gettext, also set the LC_CTYPE locate facet.
2508         * ar.c (main): Likewise.
2509         * coffdump.c (main): Likewise.
2510         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2511         (main): For gettext, also set the LC_CTYPE locate facet.
2512         Use ISALNUM instead of isalpha/isdigit.
2513         * dllwrap.c: Don't include <ctype.h>.
2514         (main): For gettext, also set the LC_CTYPE locate facet.
2515         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2516         (main): For gettext, also set the LC_CTYPE locate facet.
2517         Use TOUPPER instead of islower/toupper.
2518         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2519         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2520         Use TOUPPER instead of islower/toupper.
2521         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2522         * objcopy.c (main): Likewise.
2523         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2524         (disassemble_bytes): Use ISPRINT instead of isprint.
2525         (dump_section_stabs): Use ISDIGIT instead of isdigit.
2526         (dump_data): Use ISPRINT instead of isprint.
2527         (main): For gettext, also set the LC_CTYPE locate facet.
2528         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2529         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2530         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2531         Use TOUPPER instead of islower/toupper.
2532         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2533         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2534         (write_rc_accelerators): Use ISPRINT instead of isprint.
2535         (write_rc_rcdata): Likewise.
2536         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2537         * srconv.c (main): Likewise.
2538         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2539         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2540         isdigit/isupper/islower.
2541         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2542         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2543         stab_demangle_prefix, stab_demangle_qualified,
2544         stab_demangle_template, stab_demangle_type,
2545         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2546         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2547         (isgraphic): Use ISPRINT instead of isascii/isprint.
2548         (main): Remove HAVE_LC_MESSAGES dependency.
2549         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2550         (pbarray): Use ISPRINT instead of isprint.
2551         (main): For gettext, also set the LC_CTYPE locate facet.
2552         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2553         (format_from_filename): Use ISPRINT instead of isprint.
2554         (main): For gettext, also set the LC_CTYPE locate facet.
2555         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2556         (unicode_print): Use ISPRINT instead of isprint.
2557         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2558         (stab_variable): Use ISDIGIT instead of isdigit.
2560 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
2562         * ar.c (print_contents): Cast args of bfd_seek to the right types.
2563         Replace bfd_read call with call to bfd_bread.
2564         (extract_file): Likewise.
2566         * objdump.c (dump_section_header): Cast section->filepos to
2567         unsigned long to suit printf format string.
2568         * readelf.c (process_section_headers): Similarly for sh_offset.
2569         (process_unwind): Likewise.
2571 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2573         * strings.c (encoding, encoding_bytes): New variables.
2574         (long_options): Add --encoding.
2575         (main): Accept -e and --encoding.
2576         (get_char): New function.  Read a, possibly wide, character from
2577         the input stream.
2578         (print_strings): Use get_char().
2579         (usage): Document new command line option.
2580         * doc/binutils.texi: Document new command line option.
2581         * NEWS: Announce new command line option.
2583 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
2585         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2586         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2587         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2588         Removed EM_CYGNUS_ARC.
2590 2001-09-04  Jeffrey A Law  (law@cygnus.com)
2592         * readelf.c: Include elf/h8 for H8 series definitions.
2593         (guess_is_rela): H8 series if RELA.
2594         (dump_relocations): Handle H8 series relocations.
2596 2001-08-31  Eric Christopher  <echristo@redhat.com>
2598         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2600 2001-08-29  Peter Targett  <peter.targett@arccores.com>
2602         * MAINTAINERS: Include ARC Maintainer.
2604 2001-08-29  Ben Elliston  <bje@redhat.com>
2606         * stabs.c (stab_demangle_template): Initialise s4.
2608 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
2610         * readelf.c (dump_relocations): Recognise EM_PPC64.
2612 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2614         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2616 2001-08-25  H.J. Lu  <hjl@gnu.org>
2618         * nm.c (print_width): New.
2619         (display_rel_file): Set `print_width' according to
2620         bfd_sprintf_vma.
2621         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2623 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2625         * objcopy.c (use_alt_mach_code): New variable.
2626         (OPTION_ALT_MACH_CODE): Define.
2627         (copy_options): Added --alt-machine-code.
2628         (copy_main): Handle it.
2629         (copy_object): Switch to alternate machine code if requested.
2630         * doc/binutils.texi: Document new option.
2631         * NEWS: Likewise.
2633 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2635         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2637 2001-08-21  H.J. Lu  <hjl@gnu.org>
2639         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2640         (display_debug_info): Cast for 64bit hosts.
2641         (display_debug_frames): Likewise.
2642         (process_mips_specific): Likewise.
2644 2001-08-21  Andreas Jaeger  <aj@suse.de>
2646         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2648         * sysdump.c: Add missing prototypes.
2649         * srconv.c: Likewise.
2650         * unwind-ia64.c: Likewise.
2651         * coffdump.c: Likewise.
2653         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2655         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2656         of declaring xcalloc.
2658 2001-08-10  H.J. Lu  <hjl@gnu.org>
2660         * nm.c (print_value): Add one arg, bfd *.
2661         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2662         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2663         (print_symbol_info_sysv): Likewise.
2664         (print_symbol_info_posix): Likewise.
2666         * objdump.c (dump_section_header): Replace printf_vma with
2667         bfd_printf_vma.
2668         (print_section_stabs): Likewise.
2669         (dump_bfd_header): Likewise.
2670         (objdump_print_value): Replace sprintf_vma with
2671         bfd_sprintf_vma.
2672         (disassemble_bytes): Likewise.
2673         (dump_reloc_set): Likewise.
2675 2001-08-10  Andreas Jaeger  <aj@suse.de>
2677         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2678         to build warnings.
2679         * configure: Regenerate.
2681 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2683         * readelf.c: Add missing prototypes.
2684         * objdump.c: Likewise.  Format existing prototypes.
2686 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2688         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2689         of any RELA relocation for the abbrev_offset memory location that
2690         refers to the .debug_abbrev section symbol.
2692 2001-08-07  H.J. Lu  <hjl@gnu.org>
2694         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2695         (main): Return process_file ().
2697 2001-08-05  Philip Blundell  <philb@gnu.org>
2699         * doc/binutils.texi: Use "Thumb" not "THUMB".
2701 2001-08-03  John Healy  <jhealy@redhat.com>
2703         Patch suggested by Frank Eigler <fche@redhat.com>.
2704         * objdump.c (disassemble_data): Fill in section member of the
2705         disasm_info structure.
2707 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2709         * configure.in: Added --with-windres option.
2710         * configure: Regenerated.
2712 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2714         * doc/binutils.texi: Use @command{name} for commands;
2715         use @option{-opt} for options; use @table @env for list of options;
2716         remove spaces arround [ | ] in synopsis.
2718         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2719         center title.
2721 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2723         * objcopy.c: Fix formatting.
2724         (section_rename): New structure.
2725         (OPTION_RENAME_SECTION): New switch.
2726         (copy_usage): Document new switch.
2727         (add_section_rename): New function: Add a node to the section
2728         rename list.
2729         (find_section_rename): New function: Find the new name and
2730         flags for a section.
2731         (setup_section): Call find_section_name to determine the name
2732         of the output section.
2733         (copy_main): Handle OPTION_RENAME_SECTION.
2734         * binutils.texi: Document new switch.
2735         * NEWS: Mention new switch.
2737 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2739         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2740         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2741         bug-binutils@gcc.org.
2743 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2745         * bucomm.c (list_supported_architectures): New function.
2746         * bucomm.h (list_supported_architectures): Declare.
2747         * objdump.c (usage): Call the above.
2749 2001-07-25  Dave Brolley  <brolley@redhat.com>
2751         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2752         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2754 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2756         * README: Update for 2.11.  Change bug reporting email address.
2757         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2759 2001-07-16  DJ Delorie  <dj@redhat.com>
2761         * resres.c (write_res_header): Align header size.
2762         (res_align_file): Calculate alignment correctly.
2764         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2765         correct 10).
2766         * resrc.c (write_rc_resource): Likewise.
2767         * windres.h (SUBLANG_SHIFT): Define - as 10.
2769 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2771         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2773 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2775         * MAINTAINERS: Add notes about branch checkins.
2777 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2779         * readelf.c (display_debug_macinfo): New function, display
2780         .debug_macinfo section.
2781         (do_debug_macinfo): New variable.
2782         (parse_args): Handle "-w[mM]" to mean display macro info.
2783         (process_section_headers): Handle debug_macinfo.
2784         (debug_displays): Replace unsupported function with macinfo
2785         function for .debug_macinfo display.
2786         * doc/binutils.texi: Document new command line switch.
2787         * NEWS: Document new feature of readelf.
2789 2001-07-05  H.J. Lu  <hjl@gnu.org>
2791         * objcopy.c (filter_symbols): Don't turn undefined symbols
2792         into local.
2794 2001-07-03  H.J. Lu <hjl@gnu.org>
2796         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2797         $@.pod.
2798         (ar.1): Likewise.
2799         (dlltool.1): Likewise.
2800         (nlmconv.1): Likewise.
2801         (nm.1): Likewise.
2802         (objcopy.1): Likewise.
2803         (objdump.1): Likewise.
2804         (ranlib.1): Likewise.
2805         (readelf.1): Likewise.
2806         (size.1): Likewise.
2807         (strings.1): Likewise.
2808         (strip.1): Likewise.
2809         (windres.1): Likewise.
2810         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2811         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2812         $(DEMANGLER_NAME).
2813         (as.1): Removed.
2814         * doc/Makefile.in: Regenerated.
2816 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2818         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2820 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2822         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2824 2001-06-29  James Cownie <jcownie@etnus.com>
2826         * readelf.c: Support DWARF 2.1 attributes.
2828 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2830         * readelf.c (GET_DATA_ALLOC): Remove.
2831         (GET_DATA): Remove.
2832         (get_data): New function combining above macros, with an extra
2833         test for zero size.
2834         (slurp_rela_relocs): Use get_data, and catch error return.
2835         (slurp_rel_relocs): Likewise.
2836         (get_32bit_program_headers): Likewise.
2837         (get_64bit_program_headers): Likewise.
2838         (get_32bit_section_headers): Likewise.
2839         (get_64bit_section_headers): Likewise.
2840         (get_32bit_elf_symbols): Likewise.
2841         (get_64bit_elf_symbols): Likewise.
2842         (process_section_headers): Likewise.
2843         (process_relocs): Likewise.
2844         (slurp_ia64_unwind_table): Likewise.
2845         (process_unwind): Likewise.
2846         (get_32bit_dynamic_segment): Likewise.
2847         (get_64bit_dynamic_segment): Likewise.
2848         (process_dynamic_segment): Likewise.
2849         (process_version_sections): Likewise.
2850         (process_symbol_table): Likewise.
2851         (dump_section): Likewise.
2852         (display_debug_info): Likewise.
2853         (display_debug_section): Likewise.
2854         (process_section_contents): Likewise.
2855         (process_corefile_note_segment): Likewise.
2856         (process_mips_specific): Likewise.  Also free econf32, econf64.
2858 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2860         * readelf.c (dump_relocations): Print "bad symbol index" if
2861         symtab == NULL with non-zero symtab_index.
2862         (process_relocs): Don't bomb if reloc section has no symsec.
2864 2001-06-24  H.J. Lu  <hjl@gnu.org>
2866         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2867         by accident.
2868         (copy_main): Apply the the change made to strip_main on
2869         2001-05-30 by accident.
2871 2001-06-23  Andreas Jaeger  <aj@suse.de>
2873         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2874         parameter 'code'.
2875         (unw_decode_x2): Likewise.
2876         (unw_decode_x3): Likewise.
2877         (unw_decode_x4): Likewise.
2879 2001-06-23  Ben Elliston  <bje@redhat.com>
2881         * MAINTAINERS: Add myself as M88k maintainer.
2883 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2885         * objcopy.c (strip_main): Support -o or --output-file command lien
2886         switch.
2888 2001-06-19  H.J. Lu <hjl@gnu.org>
2890         * doc/Makefile.in: Regenerated.
2892 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2894         * readelf.c: Restore formatting.
2896 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2898         * Makefile.am: Move documentation into doc subdirectory.
2899         * Makefile.in: Regenerated.
2900         * binutils.texi: Move into doc subdirectory.
2901         * addr2line.1: Removed.
2902         * ar.1: Likewise.
2903         * dlltool.1: Likewise.
2904         * nlmconv.1: Likewise.
2905         * nm.1: Likewise.
2906         * objcopy.1: Likewise.
2907         * objdump.1: Likewise.
2908         * ranlib.1: Likewise.
2909         * readelf.1: Likewise.
2910         * size.1: Likewise.
2911         * strings.1: Likewise.
2912         * strip.1: Likewise.
2913         * windres.1: Likewise.
2914         * cxxfilt.man: Likewise.
2915         * doc: New Directory.
2916         * doc/Makefile.am: New file.
2917         * doc/Makefile.in: Generate.
2919 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2921         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2923 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2925         * MAINTAINERS: Update my email address.
2927 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2929         * objcopy.c: Add new switches: --keep-global-symbol,
2930         --keep-symbols, --localize-symbols, --keep-global-symbols and
2931         --weaken-symbols.
2932         * binutils.texi: Document new switches.
2933         * objcopy.1: Regenerate.
2934         * NEWS: Announce new feature.
2936 2001-05-28  Andreas Jaeger  <aj@suse.de>
2938         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2939         variables, fix format strings.
2941 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2943         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2944         when computing the address of the line to show.
2946 2001-05-16  Richard Henderson  <rth@redhat.com>
2948         * readelf.c (do_debug_frames_interp): New.
2949         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2950         (byte_get_big_endian): Likewise.
2951         (parse_args) ['F']: Set do_debug_frames_interp.
2952         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2953         (frame_display_row): Don't trunc pc_begin to int.
2954         (size_of_encoded_value): New.
2955         (display_debug_frames): Handle 64-bit targets.  Print raw data
2956         unless do_debug_frames_interp.
2957         (debug_displays): Remove duplicate .debug_frame.
2959 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2961         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2962         The former constant was never in active use and is used otherwise
2963         by the ABI.
2965 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2967         * readelf.c (process_unwind): Print all unwind sections, not just
2968         one.
2970 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2972         * readelf.c (process_unwind): Remove const specifier.
2974 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2976         * strings.c (isgraphic): Do not use isascii() unless it is needed
2977         for isprint() to work.
2978         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2980 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2982         * NEWS: Announce support for OpenRISC.
2984 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2986         * dlltool.c (do_default_excludes): Initialise to true.
2988 2001-04-10  Alan Modra  <amodra@one.net.au>
2990         * MAINTAINERS: Update my email address
2991         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2993 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2995         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2997 2001-03-30  H.J. Lu  <hjl@gnu.org>
2999         * readelf.c (process_unwind): Just return if do_unwind is 0.
3001 2001-03-28  Roger Sayle  <roger@metaphorics.com>
3003         * dlltool.c (make_one_lib_file): Fix section flags for
3004         .text, .data and .bss in stub ds*.o files to match those
3005         generated by gas.
3007 2001-03-29  H.J. Lu  <hjl@gnu.org>
3009         * readelf.c (process_unwind): Only do unwind sections for
3010         IA64.
3012 2001-03-28  H.J. Lu  <hjl@gnu.org>
3014         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
3015         * Makefile.in: Regenerate.
3017 2001-03-26  Andreas Jaeger  <aj@suse.de>
3019         * binutils.texi (nm): Fix texi syntax.
3021 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3023         * binutils.texi: Put @c man begin and @c man end indications
3024         to generate man pages using texi2pod and pod2man. Put @c man title
3025         to identify each man. Add SEEALSO entries.
3026         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
3027         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
3028         sort the list.
3029         (*.1): Build the man pages from binutils.texi.
3030         * Makefile.in: Regenerate.
3032 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
3034         * defparse.y (opt_equal_name): allow "." in name.
3035         * dlltool.c (def_exports): Added ability to generate forwarded exports.
3036         (gen_exp_file): Likewise.
3038 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
3040         * NEWS: Document addition of -B switch to objcopy.
3041         * binutils.texi:  Document addition of -B switch to objcopy.
3042         * objcopy.c: (copy_options): Add --binary-architecture.
3043         (copy_usage): Document -B/--binary-architecture.
3044         (copy_main): Support -B/--binary-architecture.  Set
3045         bfd_external_binary_architecture.
3047 2001-03-11  Andreas Jaeger  <aj@suse.de>
3049         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
3050         (dump_relocations): Likewise.
3051         (get_machine_name): Likewise.
3053 2001-02-28  Nick Clifton  <nickc@redhat.com>
3055         * readelf.c: (struct unw_aux_info): Remove const modifier for
3056         'strtab' field.
3057         (process_unwind): Remove non-K&R compliant LHS type cast in call
3058         to GET_DATA_ALLOC macro.
3060 2001-02-28  Philip Blundell  <pb@futuretv.com>
3062         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
3063         ABI is in use; remove ambiguity between the "unknown" EABI and
3064         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
3065         renamed EF_xx constants.
3067 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
3069         * configure.in (BFD_VERSION): New.
3070         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3071         * configure: Regenerate.
3072         * Makefile.am: Run "make dep-am"
3073         * Makefile.in: Regenerate.
3075 2001-02-14  Nick Clifton  <nickc@redhat.com>
3077         * MAINTAINERS: Add "Obvious Fix" rule.
3079 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3081         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
3082         literal concatenation.
3084 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3086         * readelf.c (struct unw_aux_info): Remove const from the info member.
3087         (process_unwind): Don't type-cast the third argument to the
3088         GET_DATA_ALLOC macro.
3090 2001-02-11  Nick Clifton  <nickc@redhat.com>
3092         * readelf.c (dump_relocations): Free corrected allocated
3093         array.
3094         (process_unwind): Fix compile time warning.
3096 2001-02-10  Nick Clifton  <nickc@redhat.com>
3098         * binutils.texi: Document new --unwind option to readelf.
3100 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3102         * readelf.c: Add linux target for S/390.
3104 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
3106         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
3107         printf is a macro.
3109 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
3111         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3112         * aclocal.m4: Regenerate.
3113         * configure: Regenerate.
3115 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
3117         * bucomm.c (bfd_target_vector): Change extern array to pointer.
3118         * objdump.c (bfd_target_vector): Likewise.
3120 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
3122         * readelf.c (process_unwind): New function.
3123         (slurp_ia64_unwind_table): Ditto.
3124         (dump_ia64_unwind): Ditto.
3125         (find_symbol_for_address): Ditto.
3126         (slurp_rela_relocs): New function (split off from dump_relocations()).
3127         (slurp_rel_relocs): Ditto.
3128         (parse_args): Handle '-u' option.
3130         * unwind-ia64.c: New file.
3131         * unwind-ia64.h: New file.
3132         * Makefile.am: Include unwind-ia64.c in readelf build.
3133         * Makefile.in: Regenerate.
3134         * po/binutils.pot: Regenerate.
3136 2001-02-04  Philip Blundell  <philb@gnu.org>
3138         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3139         * configure: Regenerate.
3141 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
3143         * ieee.c (ieee_add_bb11): Don't check for backslashes
3144         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3146 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
3148         * ieee.c: Update copyright.
3149         (ieee_start_compilation_unit): Don't check for backslashes
3150         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3152         * stabs.c: Update copyright. Include "filenames.h".
3153         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3155 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
3157         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3158         sections are present before using them.  Remove code duplication.
3159         (process_symbol_table): Check if VERDEF or VERNEED sections are
3160         present before using them.
3162 2001-01-17  Nick Clifton  <nickc@redhat.com>
3164         * objcopy.c (copy_object): Fail if attempting to convert the
3165         endianness of the input object file.
3167         * binutils.texi: Explain that objcopy cannot convert endianness.
3169 2001-01-16  Nick Clifton  <nickc@redhat.com>
3171         * readelf.c (string_table_length): New variable.
3172         (SECTION_NAME): Catch out of range indices and missing section
3173         pointers.
3174         (process_section_headers): Delete useless local variable
3175         string_table_offset.  Set the value of string_table_length
3176         after loading the string table.
3177         (process_mips_specific): Use SECTION_NAME macro.
3178         (process_file): Set string_table_length to 0 when it is freed.
3180 2001-01-12  Nick Clifton  <nickc@redhat.com>
3182         * version.c (print_version): Update copyright date.
3184 2001-01-11  Peter Targett  <peter.targett@arccores.com>
3186         * readelf.c (dump_relocations): Include selection with EM_ARC.
3187         (get_machine_name) Update name to "ARC".
3189 2001-01-09  Nick Clifton  <nickc@redhat.com>
3191         * Makefile.am: Add rule to build objdump.o from objdump.c and
3192         using OBJDUMP_DEFS.
3193         * Makefile.in: Regenerate.
3195         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
3196         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3197         -DDISASSEMBLER_NEEDS_RELOCS.
3198         * configure: Regenerate.
3200         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3201         is defined read in the relocs even if dump_reloc_info is
3202         false.
3204 2001-01-07  Philip Blundell  <philb@gnu.org>
3206         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3207         `bug-binutils'.
3208         * README: Likewise.
3210 2000-12-19  Nick Clifton  <nickc@redhat.com>
3212         * dlltool.c: Add missing support for arm-epoc-pe.
3213         * configure.in: Add missing support for arm-epoc-pe.
3214         * configure: Regenerate.
3216 2000-12-15  Nick Clifton  <nickc@redhat.com>
3218         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3219         Mode parts of the x86 port.
3221 2000-12-04  Andreas Jaeger  <aj@suse.de>
3223         * readelf.c (guess_is_rela): Add EM_X86_64.
3224         (dump_relocations): Add EM_X86_64.
3225         (get_machine_name): Add EM_X86_64.
3226         Include "elf/x86-64.h".
3228 2000-12-12  Nick Clifton  <nickc@redhat.com>
3230         * readelf.c: Fix formatting.
3232 2000-12-11  Jan Hubicka  <jh@suse.cz>
3234         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3236 2000-12-07  Andrew Haley  <aph@redhat.com>
3238         * readelf.c (display_debug_frames): Only display columns that are
3239         referenced by the frame debug info.
3241 2000-12-05  Nick Clifton  <nickc@redhat.com>
3243         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3245 2000-12-04  Jason Merrill  <jason@redhat.com>
3247         * readelf.c (process_section_headers): Handle linkonce.wi sections.
3248         (display_debug_section): Likewise.
3249         (display_debug_info): Display CU header before bailing.
3251 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
3253         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3254         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
3255         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3257         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3258         and E_MIPS_ARCH_64.
3260         * readelf.c (get_machine_flags): Add case for
3261         E_MIPS_MACH_SB1.
3263 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
3265         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3267 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
3269         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
3270         Change sourceware.cygnus.com to sources.redhat.com.
3271         Fix typo for "amongst".
3273 2000-11-28  Nick Clifton  <nickc@redhat.com>
3275         * strip.1 (COPYING): Mention that the GNU Free Documentation
3276         License is present in the sources, but not the output, and
3277         also available from the GNU website.
3278         (GNU Free Documentation License): Comment out this section.
3279         * strings.1: Ditto.
3280         * size.1: Ditto.
3281         * ranlib.1: Ditto.
3282         * objdump.1: Ditto.
3283         * objcopy.1: Ditto.
3284         * nm.1: Ditto.
3285         * nlmconv.1: Ditto.
3286         * ar.1: Ditto.
3287         * addr2line.1: Ditto.
3289 2000-11-27  DJ Delorie  <dj@redhat.com>
3291         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3292         (parse_args): Support -wf option.
3293         (process_section_headers): Ditto.
3294         (debug_displays): Ditto.
3295         (display_debug_frames): New, dump *_frame sections.
3296         (frame_need_space): Support for above.
3297         (frame_display_row): Ditto.
3298         * binutils.texi: Document it.
3300 2000-11-24  Nick Clifton  <nickc@redhat.com>
3302         * NEWS: Announce support for v5t, v5te and XScale.
3304 2000-11-22  Nick Clifton  <nickc@redhat.com>
3306         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3307         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3308         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3309         (get_elf_section_flags: Add SHF_GROUP.
3310         (process_section_headers): Adjust output for 32-bit binaries
3311         to look nice on an 80 column terminal.
3313 2000-11-20  H.J. Lu  <hjl@gnu.org>
3315         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3316         ELFOSABI_AIX.
3318 2000-11-17  Richard Henderson  <rth@redhat.com>
3320         * readelf.c (display_debug_lines): Adjust last change to
3321         use sizeof (external->li_length).
3323 2000-11-17  Richard Henderson  <rth@redhat.com>
3325         * readelf.c (display_debug_lines): Fix section length check
3326         and end_of_sequence computation.
3328 2000-11-06  Nick Clifton  <nickc@redhat.com>
3330         * binutils.texi: Add GNU Free Documentation License.
3331         * objcopy.1: Add GNU Free Documentation License.
3332         * objdump.1: Add GNU Free Documentation License.
3333         * addr2line.1: Add GNU Free Documentation License.
3334         * ar.1: Add GNU Free Documentation License.
3335         * nlmconv.1: Add GNU Free Documentation License.
3336         * nm.1: Add GNU Free Documentation License.
3337         * ranlib.1: Add GNU Free Documentation License.
3338         * size.1: Add GNU Free Documentation License.
3339         * strings.1: Add GNU Free Documentation License.
3340         * strip.1: Add GNU Free Documentation License.
3342 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
3344         * objcopy.c (--srec-len=nn): New parameter to set the
3345         maximum length of generated Srecords.
3346         (--srec-forceS3): New parameter that restricts the generation of
3347         Srecords to type S3 only.
3348         * binutils.texi: Document new command line switches.
3349         * objcopy.1: Docuemnt the new command line switches.
3350         * NEWS: Announce the existence of the new command line switches.
3352 2000-10-31  Nick Clifton  <nickc@redhat.com>
3354         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3355         code.  Add Eric Chrisopher as maintainer of MN10300 port.
3357 2000-10-12  Roger Sayle  <roger@metaphorics.com>
3359         * Make comma after string after icon/control optional.
3361 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
3363         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3365         * NEWS: Mention support for MIPS32.
3367 2000-09-08  Nick Clifton  <nickc@redhat.com>
3369         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3371 2000-09-07  H.J. Lu  <hjl@gnu.org>
3373         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3374         * configure: Rebuild.
3376 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3378         * configure: Rebuilt with new libtool.m4.
3380 2000-09-05  Nick Clifton  <nickc@redhat.com>
3382         * aclocal.m4: Regenerate.
3383         * config.in: Regenerate.
3384         * configure: Regenerate.
3386 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
3388         * strip.1: Fix stray '\' in -o formatting.
3390 2000-09-02  Nick Clifton  <nickc@redhat.com>
3392         * configure.in: Increase version number to 2.10.91.
3393         * configure: Regenerate.
3394         * aclocal.m4: Regenerate.
3395         * config.in: Regenerate.
3396         * po/binutils.pot: Regenerate.
3398 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
3400         * acinclude.m4: Include libtool and gettext macros from the
3401         top level.
3402         * aclocal.m4, configure: Rebuilt.
3404 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
3406         * resrc.c (close_input_stream): Delete extraneous logic
3408 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
3410         * NEWS: Mention support for CRIS.
3412 2000-08-21  Nick Clifton  <nickc@redhat.com>
3414         * addr2line.c: Changed email address for Ulrich Lauther.
3416 2000-08-17  Christopher C. Chimelis <chris@debian.org>
3418         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3420 2000-08-17  Nick Clifton  <nickc@redhat.com>
3422         * readelf.c (display_debug_pubnames): Only issue warning
3423         message once.  Terminate message with a new line.
3424         (display_debug_aranges): Only display version 2 debug info.
3426 2000-08-14  Todd Vierling <tv@wasabisystems.com>
3428         * objcopy.c (strip_main): Silently accept -d as an alias for -g
3429         for compatibility with old BSD systems.
3431 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
3433         * NEWS: Mention i860 support.
3435 2000-08-11  Carlo Wood <carlo@alinoe.com>
3437         * addr2line.c (main): Add const to char *.
3439 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
3441         * ar.c (main): Don't crash if called with no arguments
3442         or only '-X32_64' as an argument.
3444 2000-08-08  DJ Delorie  <dj@redhat.com>
3446         * resrc.c: use "gcc -xc" instead of -xc-header
3448 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
3450         * readelf.c (elf/i860.h): Include.
3451         (dump_relocations): Add recognition of i860 architecture.
3452         (guess_is_rela): Add recognition of i860 architecture.
3454 2000-08-03  Nick Clifton  <nickc@cygnus.com>
3456         * MAINTAINERS: Add information about CGEN maintainers.
3458 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
3460         * nm.c (main): Ignore '-X32_64' as an option.
3461         * ar.c (main): Likewise.
3462         * binutils.texi (nm): Document new option.
3463         (ar): Likewise.
3465 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3467         * rdcoff.c (external_coff_symbol_p): K&R-ise.
3469 2000-07-20  H.J. Lu  <hjl@gnu.org>
3471         * binutils.texi: Put back "@end table" deleted by
3472         accident.
3474 2000-07-05  Kenneth Block  <krblock@computer.org>
3476         * nm.c: Add optional style to demangle switch.
3477         * objdump.c: Add optional style to demangle switch.
3478         * addr2line.c: Add optional style to demangle switch.
3479         * binutils.texi: Document optional style to demangle
3480         switch.
3482 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
3484         * MAINTAINERS: Add self as CRIS port maintainer.
3485         * readelf.c: Include elf/cris.h.
3486         (guess_is_rela): Handle EM_CRIS.
3487         (dump_relocations): Ditto.
3488         (get_machine_name): Ditto.
3489         * Makefile.am: Rebuild dependencies.
3490         * Makefile.in: Regenerate.
3491         * po/binutils.pot: Regenerate.
3493 2000-07-19  H.J. Lu  <hjl@gnu.org>
3495         * readelf.c (get_dynamic_type): Change "AUXILARY" to
3496         "AUXILIARY".
3497         (process_dynamic_segment): Print out strings for DT_CONFIG,
3498         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3500 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
3502         * nm.c (usage): Change output of `nm --help' to include a
3503         description of the purpose of the program and a detailed
3504         description of the accepted options.
3506 2000-07-19  H.J. Lu  <hjl@gnu.org>
3508         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3509         to DF_1_NODEFLIB.
3511 2000-07-19  H.J. Lu  <hjl@gnu.org>
3513         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3515 2000-07-19  H.J. Lu  <hjl@gnu.org>
3517         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3518         DT_FEATURE.
3519         (process_dynamic_segment): Likewise.
3521         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3522         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3523         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3524         DF_1_NODUMP and DF_1_CONLFAT.
3526 2000-07-18  Nick Clifton  <nickc@cygnus.com>
3528         * binutils.texi (readelf): Fix spelling typo.
3530 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
3532         * objdump.c (usage): Make output of `objdump --help' more
3533         consistent with the rest of the GNU world.  Add a line describing
3534         the purpose of the program.
3536 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
3538         * stabs.c (parse_stab_range_type): Cast to proper type to fix
3539         warning.
3541 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
3543         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3544         to fix warnings.
3545         (process_symbol_table): Ditto.
3546         (procesS_extended_line_op): Ditto.
3547         (display_debug_lines): Ditto.
3548         (display_debug_pubnames): Ditto.
3549         (read_and_display_attr): Ditto.
3551 2000-07-09  Nick Clifton  <nickc@cygnus.com>
3553         * MAINTAINERS: Add several more port specific maintainers.
3555 2000-07-05  Nick Clifton  <nickc@cygnus.com>
3557         * MAINTAINERS: Add blanket write privs for Michael Meissner.
3559 2000-06-05  DJ Delorie  <dj@redhat.com>
3561         * MAINTAINERS: New.
3563 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
3565         * dllwrap.c: Changed mistaken dyn_string_append() calls
3566         to dyn_string_append_cstr().
3568 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
3570         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3571         struct debug_type stores size in bytes.
3573 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
3575         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
3576         (CLEANFILES): Add DEPA.
3577         * Makefile.in: Regenerate.
3579 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
3581         * ar.c: Revert incorrect 2000-06-25 patch.
3582         * bucomm.c: Likewise.
3584 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3586         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3587         (external_coff_symbol_p): New function.
3588         (parse_coff): Use it.
3590 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
3592         * ar.c (normalize): Advance past both characters in a DOS based
3593         <letter>: filepath prefix.
3594         (main): Likewise.
3595         * bucomm.c (make_tempname): Likewise.
3597 2000-06-24  Nick Clifton  <nickc@cygnus.com>
3599         * objdump.c (usage): Fix description of --stabs switch.
3601 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
3603         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3604         find one.
3605         * Makefile.in: Regenerate.
3607 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
3609         * ar.c (normalize): Correct pointer comparison when checking for
3610         backslashes.
3611         (main): Likewise.
3612         * bucomm.c (make_tempname): Likewise.
3614         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3615         and search for backslashes in the original pathname.
3616         (ieee_add_bb11): Likewise.
3618 2000-06-18  Nick Clifton  <nickc@redhat.com>
3620         * ar.c (print_contents): Improve verbose message.
3622 2000-06-15  H.J. Lu  <hjl@gnu.org>
3624         * dyn-string.c: Removed. Not needed with dyn-string.c in
3625         libiberty.
3626         * dyn-string.h: Likewise.
3628         * Makefile.am: Remove references to dyn-string.c and
3629         dyn-string.h. Rebuild dependency.
3630         * Makefile.in: Rebuild.
3632 2000-06-15  H.J. Lu  <hjl@gnu.org>
3634         * binutils.texi: Put a warning on copying relocatable object
3635         files between two different formats.
3637 2000-06-13  DJ Delorie  <dj@cygnus.com>
3639         * rcparse.y (control): ICON controls take an id as the first
3640         parameter, not an optional string.  Also, call new convenience
3641         function that takes res_id's.
3642         * resrc.c (define_control): missing text means zero-length string,
3643         not zero ID.
3644         (define_icon_control): New.
3645         * windres.h: declare define_icon_control.
3647 2000-06-13  H.J. Lu  <hjl@gnu.org>
3649         * configure: Regenerate.
3651 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3653         * configure.in (VERSION): Update to show this is the CVS mainline.
3655 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3657         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3658         analogous to <SPACE>.
3660 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3662         * objdump.c (display_target_list): Use bfd_close_all_done, not
3663         bfd_close to fix crash caused by 2000-05-24 change.
3665 2000-05-25  DJ Delorie  <dj@cygnus.com>
3667         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3669 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3671         * Makefile.am: Update dependencies with "make dep-am"
3672         * Makefile.in: Regenerate.
3674 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3676         * ar.c: Include filenames.h.
3677         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3678         and drive letters in file names.
3679         (main): Support backslashes and drive letters in argv[0].  Drop
3680         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3681         FILENAME_CMP instead of strcmp to compare file names.
3682         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3683         DJGPP v2.
3684         (do_quick_append) [__GO32__]: Ditto.
3685         (get_pos_bfd, delete_members, move_members, replace_members):
3686         Compare file names with FILENAME_CMP.
3688         * bucomm.c: Include filenames.h.
3689         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3690         forward/backward slashes and drive letters in file names.
3692         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3693         mixed forward/backward slashes and drive letters in file names.
3695         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3696         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3697         mode.
3699         * objcopy.c: Include filenames.h.
3700         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3701         before comparing to "strip".
3702         Use FILENAME_CMP to compare file names.
3704         * arsup.c: Include filenames.h.
3705         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3706         FILENAME_CMP to compare file names.
3707         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3708         the temporary file name.
3710         * configure.in: Check for setmode.
3711         * configure: Regenerate.
3713 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3715         * objdump.c (display_target_list): Close the bfd.
3716         (display_info_table): Likewise.
3718 2000-05-14  H.J. Lu  (hjl@gnu.org)
3720         * objcopy.c (filter_symbols): Don't strip global symbols in
3721         relocatable object files.
3723 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3725         * size.c (usage): Associate short options with corresponding long
3726         option to give a clue as to their function.
3728 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3730         * size.c (main): Accept and ignore `-f' option.
3732 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3734         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3735         bindtextdomain): Replace defines with those from intl/libgettext.h
3736         to quieten gcc warnings.
3738 2000-05-12  H.J. Lu  <hjl@gnu.org>
3740         * nlmconv.c (temp_filename): Removed.
3742         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3743         choose_temp_base ().
3744         * objdump.c (display_target_list): Likewise.
3745         (display_info_table): Likewise.
3747 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3749         * objcopy.c (setup_section): Add const and gettext calls for err.
3751 2000-05-02  H.J. Lu  <hjl@gnu.org>
3753         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3754         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3755         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3756         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3757         and ELFOSABI_OPENBSD.
3759 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3761         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3762         * srconv.c: Likewise.
3763         * sysdump.c: Likewise.
3765 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3767         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3768         (get_machine_name): machine name for EM_AVR added.
3770 2000-04-21  Richard Henderson  <rth@cygnus.com>
3771             David Mosberger  <davidm@hpl.hp.com>
3773         * Makefile.am (readelf.o): Add elf/ia64.h.
3774         * Makefile.in: Rebuild.
3775         * readelf.c: Include elf/ia64.h.
3776         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3778 2000-04-17  Timothy Wall  <twall@cygnus.com>
3780         * objdump.c (disassemble_data): Set octets per byte *after*
3781         resolving arch/mach for binary files.
3783 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3785         * arlex.l: Add directives to increase lex buffer size.
3787         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3788         already included by bucomm.h.
3790 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3792         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3793         `strftime' since strftime is not available on all systems.
3794         (process_mips_specific): Ditto.
3796 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3798         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3799         --enable-build-warnings option.
3800         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3801         * Makefile.in, configure: Re-generate.
3803 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3805         * addr2line.c: Update copyright.
3806         * objcopy.1: Likewise, and title.
3807         * strings.1: Likewise.
3809         * version.c (print_version): Add 2000.
3811         * rddbg.c (read_section_stabs_debugging_info): Don't use
3812         bfd_size_type for strx to avoid printf problems if BFD64.
3814         * bucomm.c: (report): Remove `static'.
3815         Move inclusion of stdarg.h/vararg.h from here.
3816         * bucomm.h: To here.
3817         (CONST): Change all occurences to const.
3818         (report): Declare it.
3819         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3820         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3821         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3823         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3824         Correct a typo in an error message.
3825         (do_quick_append): Use non_fatal instead of fprintf.
3826         (move_members): Use fatal instead of fprintf, exit.
3827         * coffdump.c (main): Same here.
3829         * dlltool.c (display): Delete.
3830         (warn): Delete.
3831         (inform): Use `report' instead of `display'.
3832         (rvaafter): Remove trailing \n from fatal error msg.
3833         (rvabefore): Ditto.
3834         (asm_prefix): Ditto.
3835         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3836         (def_name): Likewise.
3837         (run): Likewise.
3838         (scan_all_symbols): Likewise.
3839         (gen_lib_file): Likewise.
3840         (def_library): Likewise.  Remove extra program_name too.
3841         (run): Remove \n from inform strings.
3842         (scan_drectve_symbols): Likewise.
3843         (add_excludes): Likewise.
3844         (scan_open_obj_file): Likewise.
3845         (gen_exp_file): Likewise.
3846         (gen_lib_file): Likewise.
3847         (process_duplicates): Likewise.
3849         * Makefile.am (dllwrap_SOURCES): Add version.c.
3850         * dllwrap.c (program_version): Delete.
3851         (print_version): Delete.
3852         (display): Always print trailing \n.
3853         (warn): New.
3854         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3855         (run): Here too.
3856         (main): And here.
3857         (usage): gettext'ify.
3858         (long_options): Add missing initialisers.
3860         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3861         (select_output_format): Likewise.
3862         (powerpc_mangle_relocs): Likewise.
3863         (link_inputs): Likewise.
3865         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3866         (set_output_format): Likewise.
3867         (main): Use non_fatal instead of fprintf.
3868         (display_rel_file): Likewise.
3870         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3871         (slurp_dynamic_symtab): Same here.
3872         (disassemble_data): And here.
3873         (read_section_stabs): And here.
3874         (read_section_stabs): And here.
3875         (dump_bfd): And here.
3876         (main): And here.
3877         (objdump_sprintf): Use fatal instead of fprintf, exit.
3878         (disassemble_data): Same here.
3880         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3881         (parse_coff_struct_type): Same here.
3882         (parse_coff_enum_type): And here.
3883         (parse_coff): And here.
3884         * rddbg.c (read_debugging_info): And here.
3885         * size.c (main): And here.
3886         * windres.c (format_from_name): And here.
3887         * wrstabs.c (stab_write_symbol): Here too.
3888         (write_stabs_in_sections_debugging_info): And here.
3889         (stab_int_type): And here.
3890         (stab_struct_field): And here.
3891         (stab_typdef): And here.
3893         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3894         * srconv.c (main): Same here.
3895         * strings.c (main): And here.
3896         (integer_arg): And here.
3897         * sysdump.c (main): And here.
3899 2000-04-06  Timothy Wall  <twall@cygnus.com>
3901         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3903 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3905         * readelf.c (decode_location_expression): Loop through multiple
3906         operations.
3907         (read_and_display_attr): Pass in length.
3909         * readelf.c (read_and_display_attr): Add CU offset to references.
3910         (display_debug_info): Pass it in.
3912 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3914         * readelf.c (decode_ARM_machine_flags): New function.
3915         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3916         targets.
3918         (get_machine_name): Catch EM_AVR
3920 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3922         * binutils.texi: Remove optional `=' from long options that have
3923         an `=' in the argument.
3924         * objcopy.1: Here too.  Remove extra space on discard-all.
3926         * binutils.texi (objcopy): Mention --redefine-sym.
3927         * objcopy.1: Here too.
3928         * NEWS: And here.
3930         * objcopy.c (parse_flags): Split off flag names from error message
3931         gettext as they are not translated.
3932         (copy_main): Similarly split off option name for --add-section,
3933         --set-section-flags, --change-section-vma, --change-section-lma
3934         error messages.
3935         Some white space changes.
3937         from Matthew Benjamin <matt@linuxbox.nu>
3938         * objcopy.c (struct redefine_node): New.
3939         (redefine_sym_list): New.
3940         (redefine_list_append): New.
3941         (lookup_sym_redefinition): New.
3942         (OPTION_REDEFINE_SYM): New.
3943         (copy_options): Add --redefine-sym option.
3944         (copy_usage): Mention it.
3945         (filter_symbols): Rename symbols on redefine_sym_list.
3946         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3947         (copy_main): Handle OPTION_REDEFINE_SYM.
3949 2000-04-04  H.J. Lu  <hjl@gnu.org>
3951         * readelf.c (process_symbol_table): Correctly read in symbol
3952         versioning information.
3954 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3956         * po/binutils.pot: Regenerate.
3958         * addr2line.c (usage): Restore translated part of bug string.
3959         * ar.c (usage): Likewise.
3960         * nlmconv.c (show_usage): Likewise.
3961         * nm.c (usage): Likewise.
3962         * objcopy.c (copy_usage): Likewise.
3963         (strip_usage): Likewise.
3964         * objdump.c (usage): Likewise.
3965         * readelf.c (usage): Likewise.
3966         * size.c (usage): Likewise.
3967         * strings.c (usage): Likewise.
3968         * windres.c (usage): Likewise.
3970         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3971         (DEP): Quote when passing vars to sub-make.  Add warning
3972         message to end.
3973         (DEP1): Rewrite for "gcc -MM".
3974         (CLEANFILES): Add DEP2.
3975         Update dependencies.
3976         * Makefile.in: Regenerate.
3978 2000-04-04  H.J. Lu  <hjl@gnu.org>
3980         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3981         (arparse.h): Depend on arparse.c
3982         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3984 2000-04-03  H.J. Lu  (hjl@gnu.org)
3986         * size.c (usage): Use REPORT_BUGS_TO.
3988 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3990         * bucomm.h: #include "bin-bugs.h"
3991         * addr2line.c (usage): Use REPORT_BUGS_TO.
3992         * ar.c (usage): Likewise.
3993         * nlmconv.c (show_usage): Likewise.
3994         * nm.c (usage): Likewise.
3995         (OPTION_TARGET): Define.
3996         (long_options): Use OPTION_TARGET rather than 200.
3997         (main): Likewise.
3999         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
4000         (strip_usage): Likewise.
4001         * objdump.c (usage): Likewise.
4002         * readelf.c (usage): Likewise.
4003         * strings.c (usage): Likewise.
4004         * windres.c (usage): Likewise.
4006 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4008         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
4010 2000-03-27  Nick Clifton  <nickc@cygnus.com>
4012         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
4013         string offsets in corrupt stabs entries.
4015 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
4017         * readelf.c: Include elf/avr.h
4018         (dump_relocations): Add EM_AVR case.
4020 2000-03-09  Tim Waugh  <twaugh@redhat.com>
4022         * strings.1: Correct '-bytes' to '--bytes'.
4024 2000-03-08  H.J. Lu  <hjl@gnu.org>
4026         * Makefile.am (install-exec-local): Depend on
4027         install-binPROGRAMS for parallel make.
4028         * Makefile.in: Regenerated.
4030 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
4032         From Brad Lucier <lucier@math.purdue.edu>:
4033         * readelf.c (process_dynamic_segment): Add cast to make sure
4034         argument to %* is int.
4036 2000-02-25  H.J. Lu  <hjl@gnu.org>
4038         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
4040 2000-02-24  Nick Clifton  <nickc@cygnus.com>
4042         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
4043         * configure: Regenerate.
4045         * dlltool.c: Add support for sh-pe and mips-pe targets.
4046         * rescoff.c: Add support for sh-pe and mips-pe targets.
4048 2000-02-23  H.J. Lu  <hjl@gnu.org>
4050         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
4052 2000-02-22  Nick Clifton  <nickc@cygnus.com>
4054         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
4056 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
4058         From Brad Lucier <lucier@math.purdue.edu>:
4059         * readelf.c (process_version_sections): Add casts to make sure
4060         argument to %* is an int.
4061         (process_mips_specific): Add casts to make printf arguments match
4062         format.
4064 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
4066         * objdump.c (dump_section_header): Change `opb' to unsigned.
4067         (find_symbol_for_address): Same here.
4068         (disassemble_data): And here.  Change `addr_offset',
4069         `stop_offset', `nextstop_offset' to unsigned long.
4070         (dump_data): Change opb to unsigned.
4072 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
4074         * resrc.c: Remove unmatched #if for cygwin.
4076 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4078         * binutils.texi: Document the change of flavor name from atpcs-special
4079         to special-atpcs to prevent name conflict in gdb.
4081 2000-02-08  Timothy Wall  <twall@redhat.com>
4083         * objdump.c (show_line): Fix bug preventing printing of the very
4084         first line (line zero) of a file when interlisting source and
4085         assembly.  Added option to print entire context from start of file
4086         when the first line from that file is encountered.
4088 2000-02-03  Timothy Wall <twall@redhat.com>
4090         * objdump.c (dump_section_header, find_symbol_for_address,
4091         show_line, disassemble_bytes, disassemble_data, dump_data):
4092         distinguish between octets and bytes.
4094 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
4096         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
4097         check to unresolved symbols.
4098         (print_symbol_info_sysv):  Ditto.
4099         (print_symbol_info_posix):  Ditto.
4101         * binutils.texi: Document new 'V' symclass flag for nm.
4103 2000-01-27  Nick Clifton  <nickc@redhat.com>
4105         * binutils.texi (objdump): Document new ARM specific
4106         disassembler options.
4108         * objdump.c (usage): Call disassembler_usage().
4110 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
4112         * readelf.c (get_dynamic_flags): Return buff.
4113         (process_dynamic_segment): Don't pass error strings to printf
4114         as format arg.
4115         (read_and_display_attr): Use lx and ld to print longs.
4116         (process_corefile_note_segment): Cast bfd_vma to unsigned long
4117         before printing.
4118         Update copyright.
4120 2000-01-17  Nick Clifton  <nickc@cygnus.com>
4122         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4124 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
4126         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4127         false.
4128         (debug_tag_type): Here too.
4129         * ieee.c (ieee_builtin_type): And here.
4130         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4132 2000-01-13  Nick Clifton  <nickc@cygnus.com>
4134         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4135         System/370".
4137 2000-01-11  Nick Clifton  <nickc@cygnus.com>
4139         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4141 2000-01-10  Nick Clifton  <nickc@cygnus.com>
4143         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4145 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
4147         * windres.c (long_options): Add --use-temp-file and
4148         --no-use-temp-file options.
4149         (usage): Document.
4150         (main): Handle.
4152         * windres.h: Update read_rc_file prototype.
4154         * resrc.c (cpp_temp_file): New static variable.
4155         (istream_type): New static variable.
4156         (close_pipe): Delete function.
4157         (run_cmd): New static function.
4158         (open_input_stream): New static function.
4159         (close_input_stream): New static function.
4160         (look_for_default): Handle DOS directory separator. Use
4161         open_input_stream instead of popen.
4162         (read_rc_file): Likewise.
4164         * binutils.texi: Document --use-temp-file, --no-use-temp-file
4165         options.
4167 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
4169         * dlltool.c (create_compat_implib): New variable.
4170         (gen_exp_file): Use.
4171         (make_one_lib_file): Use.
4172         (long_options): Add --compat-implib option.
4173         (usage): Handle.
4174         (main): Handle.
4176         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4177         (main): Use. Don't look for "32" in cygwin and mingw target names.
4179 2000-01-03  Nick Clifton  <nickc@cygnus.com>
4181         * binutils.texi: Document new, ARM specific disassembler
4182         command line switch "-M force-thumb".
4184 For older changes see ChangeLog-9899
4186 Local Variables:
4187 mode: change-log
4188 left-margin: 8
4189 fill-column: 74
4190 version-control: never
4191 End: