* read.c: Remove unneeded prototypes.
[binutils.git] / binutils / ChangeLog
blob3caa02027f2a16795e844f10c05ae5689c3daa08
1 2003-12-11  Nick Clifton  <nickc@redhat.com>
3         * objcopy.c (strip_usage): Add --only-keep-debug.
4         (copy_usage): Likewise.
6 2003-12-04  Nick Clifton  <nickc@redhat.com>
8         * objcopy.c (copy_object): Do not copy the object if the
9         output file's format cannot be set to that of the input file.
10         If the input file's format is unknown, fail.
12 2003-11-28  Ian Lance Taylor  <ian@wasabisystems.com>
14         * cxxfilt.c (usage): Mention new -p/--no-params options.
16 2003-11-28  Alan Modra  <amodra@bigpond.net.au>
18         * Makefile.am (install-exec-local): Remove common term from string
19         comparison.
20         * Makefile.in: Regenerate.
21         * doc/Makefile.am: Don't use $<.
22         * doc/Makefile.in: Regenerate.
24 2003-11-27  Nick Clifton  <nickc@redhat.com>
26         * rename.c (smart_rename): Make sure that we have write
27         permission on the destination file before renaming.
29 2003-11-26  Daniel Jacobowitz <drow@mvista.com>
30             Nick Clifton  <nickc@redhat.com>
32         * readelf.c: Add a comment describing the difference between
33         readelf and objdump.
34         * doc/binutils.texi (readelf): Likewise.
36 2003-11-25  Danny Smith  <dannysmith@users.sourceforge.net>
38         * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
39         option.
40         * dlltool.c (usage): Likewise.
42 2003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
44         * cxxfilt.c (long_options): Add --no-params.
45         (main): Handle -p/--no-params.
46         * doc/binutils.texi (c++filt): Document -p/--no-params.
48 2003-11-19  Alan Modra  <amodra@bigpond.net.au>
50         * objdump.c: Wrap long lines, init vars separately from decl.
51         (disassemble_section): Reset require_sec after call to
52         find_symbol_for_address.
54 2003-11-14  Nick Clifton  <nickc@redhat.com>
56         * objdump.c (find_symbol_for_address): Change parameters so
57         that the entire disassemble_info structure is passed, not just
58         a few fields.  Use the symbol_is_valid field to check the
59         validity of located symbols and continue searching if they are
60         not valid.
61         (objdump_print_addr): Alter parameters passed to
62         find_symbol_for_address.
63         (objdump_symbol_at_address): Likewise.
64         (disassemble_section): Likewise.  Also use symbol_is_valid
65         function to check the validity of located symbols.
67 2003-11-13  Tobias Burnus  <tobias.burnus@physik.fu-berlin.de>
69         * ar.c (open_inarch): Emit a warning when an archive is created
70         (only shown with -v) in order to confrom to POSIX specification.
72 2003-11-11  Wang Li  <charles@linux.net.cn>
74         * objcopy.c (wildcard): New variable.  True if wildcard pattern
75         matching is allowed in symbol names.
76         (strip_options): Add -w option to enable wildcard pattern
77         matching.
78         (copy_options): Likewise.
79         (copy_usage): Mention new switch.
80         (strip_usage): Likewise.
81         (is_specified_symbol): If performing wildcard matches use fnmatch
82         to compare symbol names with entries on the symbol list.
83         (strip_main): Accept -w switch.
84         (copy_main): Likewise.
85         * Makefile.am: Add dependency on fnmatch.h for objcopy.c
86         * Makefile.in: Regenerate.
87         * doc/binutils.texi: Document new switch.
88         * NEWS: Mention new switch.
90 2003-11-11  Alan Modra  <amodra@bigpond.net.au>
92         * objdump.c: Revert rev 1.81 commit.
94 2003-11-10  Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
96         * ar.c (print_contents): Remove "member" from verbose output in
97         order to conform to POSIX specification.
99 2003-11-10  Alan Modra  <amodra@bigpond.net.au>
101         * README: Expand bug reporting information.
103 2003-11-07  Jonathan R. Grant  <jg-binutils@jguk.org>
105         * bucomm,c (get_file_size): New function.  Returns the size of a
106           file.
107         * bucomm.h: Add prototype for get_file_size.
108         * addr2line.c (process_file): Use new function.
109         * ar.c (main, ranlib_only, ranlib_touch): Likewise.
110         * nm.c (display_file): Likewise.
111         * objcopy.c (add_specific_symbols, copy_file, strip_main,
112           copy_main): Likewise.
113         * objdump.c (display_file): Likewise.
114         * size.c (display_file): Likewise.
115         * strings.c (strings_file): Likewise.
116         * readelf.c (process_file): Use similar code to get_file_size.
118 2003-11-06  Bruno Rohee  <bruno@rohee.com>
120         * ieee.c: Fix "the the" typo.
121         * stabs.c: Likewise.
123 2003-10-30  Marshall T. Vandegrift  <llasram@wuli.nu>
125         * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
126         sections - they have no file space assigned to their contents.
128 2003-10-28  Segher Boessenkool  <segher@kernel.crashing.org>
130         * readelf.c (dump_section): Don't display DEL characters.
132 2003-10-27  Kazu Hirata  <kazu@cs.umass.edu>
134         * ChangeLog: Fix typos.
135         * ChangeLog-9197: Likewise.
136         * ChangeLog-9899: Likewise.
137         * NEWS: Likewise.
138         * ar.c: Fix comment typos.
139         * arsup.c: Likewise.
140         * coffgrok.c: Likewise.
141         * debug.c: Likewise.
142         * debug.h: Likewise.
143         * dlltool.c: Likewise.
144         * ieee.c: Likewise.
145         * nm.c: Likewise.
146         * objdump.c: Likewise.
147         * prdbg.c: Likewise.
148         * readelf.c: Likewise.
149         * resrc.c: Likewise.
150         * sysinfo.y: Likewise.
151         * windres.c: Likewise.
153 2003-10-27  Nick Clifton  <nickc@redhat.com>
155         * objcopy.c (copy_section): Do not complain when a target does not
156         support relocations.
157         (mark_symbols_used_in_relocations): Likewise.
159 2003-10-14  Anil Paranjpe  <anilp1@KPITCummins.com>
161         * objcopy.c (copy_main): Reads machine flags from arch_info
162         structure.
164 2003-10-20  Andrew Cagney  <cagney@redhat.com>
166         * coffgrok.h (coff_section): Replace 'struct sec" with "struct
167         bfd_section".
169 2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
171         * objdump.c (read_section_stabs): Just read one section, return
172         pointer to it. Add size parameter.
173         (print_section_stabs): Add string offset parameter. Adjust.
174         (struct stab_section_names): Add string offset member.
175         (find_stabs_sections): Correct check for split section suffix,
176         adjust read_section_stabs and print_section_stabs calls.
177         (dump_stabs_section): Clear string_offset, free string table.
179 2003-10-01  Martin Fuchs  <martin-fuchs@gmx.net>
181         * resrc.c (define_icon): Fix storage of color attributes 'planes' and
182         'bit count' in icon groups.
184 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
186         * NEWS: Add an indication of the cutoff for 2.14.
188 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
190         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
192 2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>
194         * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
195         (get_symbol_index_type): Likewise.
197 2003-09-25  H.J. Lu  <hongjiu.lu@intel.com>
199         * readelf.c (process_version_sections): Indent version names.
201 2003-09-15  Anthony Green  <green@redhat.com>
203         * dlltool.c (prefix_encode): Fix ISO C90 conversion.
204         (dlltmp): Ditto.
205         (dtab): Ditto.
207 2003-09-14  Andreas Jaeger  <aj@suse.de>
209         * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
210         unneeded (void *) casts.
211         * ar.c: Likewise.
212         * arlex.l: Likewise.
213         * arparse.y: Likewise.
214         * arsup.c: Likewise.
215         * binemul.c: Likewise.
216         * binemul.h: Likewise.
217         * bucomm.c: Likewise.
218         * bucomm.h: Likewise.
219         * budbg.h: Likewise.
220         * budemang.c: Likewise.
221         * budemang.h: Likewise.
222         * coffdump.c: Likewise.
223         * coffgrok.c: Likewise.
224         * cxxfilt.c: Likewise.
225         * debug.c: Likewise.
226         * debug.h: Likewise.
227         * deflex.l: Likewise.
228         * dlltool.c: Likewise.
229         * dlltool.h: Likewise.
230         * dllwrap.c: Likewise.
231         * emul_aix.c: Likewise.
232         * filemode.c: Likewise.
233         * ieee.c: Likewise.
234         * nlmconv.c: Likewise.
235         * nlmconv.h: Likewise.
236         * nlmheader.y: Likewise.
237         * nm.c: Likewise.
238         * prdbg.c: Likewise.
239         * rclex.l: Likewise.
240         * rcparse.y: Likewise.
241         * rdcoff.c: Likewise.
242         * rddbg.c: Likewise.
243         * rename.c: Likewise.
244         * resbin.c: Likewise.
245         * rescoff.c: Likewise.
246         * resrc.c: Likewise.
247         * size.c: Likewise.
248         * srconv.c: Likewise.
249         * stabs.c: Likewise.
250         * strings.c: Likewise.
251         * sysdump.c: Likewise.
252         * sysinfo.y: Likewise.
253         * syslex.l: Likewise.
254         * unwind-ia64.c: Likewise.
255         * unwind-ia64.h: Likewise.
256         * version.c: Likewise.
257         * windres.c: Likewise.
258         * windres.h: Likewise.
259         * winduni.c: Likewise.
260         * wrstabs.c: Likewise.
262 2003-09-10  James E Wilson  <wilson@specifixinc.com>
264         * MAINTAINERS: Update my e-mail address.
266 2003-09-09  Ian Lance Taylor  <ian@wasabisystems.com>
268         * MAINTAINERS: Update my e-mail address.
270 2003-09-04  Nick Clifton  <nickc@redhat.com>
272         * MAINTAINERS: Make it clear what should be done with patches to
273         the top level configure files (other than config.guess and
274         config.sub).  Add binutils@sources.redhat.com as an address to
275         which patches can be sent.
277 2003-09-04  Nick Clifton  <nickc@redhat.com>
279         * readelf.c (get_machine_flags): Recognise V850E1 machine type.
281 2003-09-03  Andrew Cagney  <cagney@redhat.com>
283         * objdump.c: Refer to init_disassemble_info in comments.
284         (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
285         init_disassemble_info.
287 2003-09-03  Nick Clifton  <nickc@redhat.com>
289         * objdump.c (struct objdump_disasm_info): Add new fields
290         'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
291         (process_section_p): New function:  Returns TRUE if a section
292         can be dumped.
293         (disassemble_section): New function: Contains the body of
294         disassemble_data(), but just for one section.
295         (disassemble_data): Use bfd_map_over_sections to walk section
296         chain.
297         (find_stabs_section): New function: Find a stabs containing
298         section and then dump it.
299         (dump_stabs_section): New function: Use bfd_map_over_sections
300         to find the section to dump.
301         (dump_stabs): Use dump_stabs_section.
302         (dump_section): New function: Display the contents of a
303         section.
304         (dump_data): Use bfd_map_over_sections to display section
305         contents.
306         (dump_relocs_in_section): Display the relocs in a given section.
307         (dump_relocs): Use bfd_map_over_sections to display relocs.
308         (adjust_addresses): New function: Adjust the vma and lma of
309         sections.
310         (dump_bfd): Use bfd_map_over_sections.
311         * doc/binutils.texi: Document the "objdump -s" (no longer)
312         dumps empty sections.
314 2003-08-24  Jonathan R. Grant  <jg-binutils@jguk.org>
316         * objdump.c: Improve comments/documentation.
317         dump_data: Eliminate duplicate function calls to bfd_section_size.
319 2003-09-02  Alan Modra  <amodra@bigpond.net.au>
321         * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
323 2003-08-21  Nick Clifton  <nickc@redhat.com>
325         * po/tr.po: Updated Turkish translation.
327 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
329         * dep-in.sed: Remove libintl.h.
330         * Makefile.am (POTFILES.in): Unset LC_COLLATE.
331         Run "make dep-am".
332         * Makefile.in: Regenerate.
334 2003-08-11  Ian Lance Taylor  <ian@airs.com>
336         * readelf.c (process_archive): Fix error handling.  Remove memory
337         leak.
339         * readelf.c: Add ability to read archives.
340         (archive_file_offset): New variable.
341         (archive_file_size): New variable.
342         (get_data): Include archive_file_offset in file offset
343         calculation when fseeking.
344         (process_program_headers): Likewise.
345         (process_symbol_table): Likewise.
346         (process_dynamic_segment): Handle computation of end of file
347         position when the file is in an archive.
348         (process_object): New function.  Contains the body of
349         process_file().
350         (process_archive): New function.  Call process_object on each
351         member of an archive.
352         (process_file): Detect archives and handle appropriately.
353         * Makefile.am: Add dependency on aout/ar.h for readelf.c
354         * Makefile.in: Regenerate.
355         * NEWS: Document readelf's new ability.
356         * doc/binutils: Alter text to say that readelf supports archives
357         and 64-bit ELF files.
359 2003-08-08  Nick Clifton  <nickc@redhat.com>
361         * po/fr.po: Updated French translation.
363 2003-08-05  Alan Modra  <amodra@bigpond.net.au>
365         * objcopy.c: Remove unnecessary prototypes and casts.
366         * objdump.c: Remove unnecessary casts.
367         * readelf.c: Convert to C90.  Remove unnecessary prototypes and casts.
368         (get_osabi_name): Move so we don't need a forward declaration.
370 2003-08-04  Bradley Harrington  <bharring@us.ibm.com>
371             Alan Modra  <amodra@bigpond.net.au>
373         * objdump.c (include_paths, include_path_count): New vars.
374         (usage): Describe --include.
375         (long_options): Add "include".
376         (add_include_path): New function.
377         (struct print_file_list): Make filename const.  Add modname.
378         (try_print_file_open, update_source_path): New functions.
379         (show_line): Use them.
380         (main): Handle 'I' option.  Don't check for NULL xrealloc arg.
382 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
384         * objdump.c: Remove unnecessary prototypes.
385         (disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
386         code, and print relocs when dump_dynamic_reloc_info.
387         (disassemble_data): Read and handle dynamic relocs.  Correct reloc
388         skip code.  Formatting.
389         (dump_bfd): Don't dump dynamic relocs when disassembling.
391 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
393         * MAINTAINERS: Remove self as M88k maintainer.  Future M88k
394         maintenance defaults to the blanket write privilege maintainers.
396 2003-07-29  Michael Meissner  <gnu@the-meissners.org>
398         * MAINTAINERS: Updated my email address.
400 2003-07-29  Nick Clifton  <nickc@redhat.com>
402         * objdump.c: Update to ISO C.
404 2003-07-24  Nick Clifton  <nickc@redhat.com>
406         * objdump.c (disassemble_data): Do not ignore sections without the
407         LOAD flag when disassemble_all is true.  Only print a message
408         about disassembling a section if it contains some data.
410         * po/fr.po: Updated French translation.
412 2003-07-23  Nick Clifton  <nickc@redhat.com>
414         * objcopy.c: Switch to ISO C.  Remove debugging code accidentally
415         left in.  Some formatting tidy ups.
417 2003-07-22  Salvador Eduardo Tropea <set@computer.org>
419         * objdump.c: New command line option --debugging-tags.
420         * doc/binutils.texi: Document new command line option.
421         * prdbg.c: Code to print the debug info as tags compatible
422         with ctags.
423         * budbg.h: Adjust prototype.
424         * NEWS: Mention new switch
426 2003-07-18  Nick Clifton  <nickc@redhat.com>
428         * objdump.c (main) :Accept multiple -M switch.
429         * doc/binutils.texi: Document that multiple -M switches are
430         accepted and that a single -M switch can contain comma
431         separated options.
433 2003-07-17  Nick Clifton  <nickc@redhat.com>
435         * objdump.c (main): Issue a warning message if multiple -M
436         switches are used.
438         * doc/binutils.texi (objdump): Update documentation about -M
439         option.
441 2003-07-17  Nick Clifton  <nickc@redhat.com>
443         * po/es.po: New Spanish translation.
445 2003-07-11  Alan Modra  <amodra@bigpond.net.au>
447         * po/binutils.pot: Regenerate.
449 2003-07-05  Christopher Faylor  <cgf@redhat.com>
451         * dlltool.c (prefix_encode): Use a fixed length for alpha.
453 2003-07-04  Christopher Faylor  <cgf@redhat.com>
455         * dlltool.c (prefix_encode): New function.  Encode temp file prefix
456         from pid.
457         (dlltmp): Pass address of pointer being alloced or suffer neverending
458         mallocs.
459         (make_one_lib_file): Allocate enough space for new longer stub names.
460         (gen_lib_file): Ditto.
461         (main): Generate the temp file prefix from the pid if prefix was not
462         specified on the command line.
464 2003-07-04  Nick Clifton  <nickc@redhat.com>
466         * readelf.c (get_data): Print (unsigned) hex values for size and
467         offset in error messages.
468         (process_section_headers): If the string table could not be
469         allocated, do not continue.
471 2003-07-01  Jakub Jelinek  <jakub@redhat.com>
473         * readelf.c (dynamic_segment_ia64_val): Print address and newline
474         for sections by default.  Comment fix.
476 2003-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
478         * rcparse.y (res_text_field): New res_id variable.
479         (res_null_text): New static const struct res_id object,
480         with empty unicode name field.
481         (control): Pop parsing of optresidc up one level. Set
482         res_text_field to $2 except for controls which do not accept
483         a text field.  Set res_text_field to res_null_text for the
484         special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
485         (control_params): Adjust to use res_text_field rather
486         than optresidc.
487         (COMBOBOX): Add comment about discrepency between documented
488         vs. observed default style.
489         * resrc.c (define_control): Make first param const.
490         * windres.h (define_control): Adjust prototype.
492 2003-06-27  Nick Clifton  <nickc@redhat.com>
494         * objcopy.c (copy_object): Replace call to
495         bfd_create_gnu_debuglink_section with separate calls to
496         bfd_add_gnu_debuglink_section and
497         bfd_fill_in_gnu_debuglink_section, separated by a walk over the
498         symbol tables.
500 2003-06-26  Roland McGrath  <roland@redhat.com>
502         * readelf.c (loadaddr): Variable removed.
503         (dynamic_info, version_info): Fix type long -> bfd_vma.
504         (program_headers): New variable.
505         (get_program_headers): New function, broken out of
506         process_program_headers.
507         (process_program_headers): Call it.  Don't set `loadaddr'.
508         (slurp_ia64_unwind_table): Use get_program_headers.
509         (process_corefile_note_segments):  Likewise.
510         (offset_from_vma): New function.
511         (process_relocs, process_dynamic_segment): Call that instead of
512         subtracting `loadaddr'.
513         (process_version_sections, process_symbol_table): Likewise.
514         (process_mips_specific): Likewise.
516 2003-06-26  Nick Clifton  <nickc@redhat.com>
518         * objcopy (enum strip_action): Add STRIP_NONDEBUG.
519         (OPTION_ONLY_KEEP_DEBUG): New.
520         (strip_options): Add --only-keep-debug.
521         (copy_options): Likewise.
522         (is_strip_section): Invert return value if STRIP_NONDEBUG is
523         active.
524         (copy_object): Do not copy private data when STRIP_NONDEBUG is
525         active.
526         (setup_section): Likewise.
527         (strip_main): Handle --only-keep-debug.
528         (copy_main): Likewise.
529         * NEWS: Mention new switch
530         * doc/binutils.texi: Document new switch.
532 2003-06-25  Alan Modra  <amodra@bigpond.net.au>
534         * NEWS: Correct spelling of "relocatable".
535         * objdump.c: Likewise.
536         * sysroff.info: Likewise.
538 2003-06-19  Nick Clifton  <nickc@redhat.com>
540         * readelf.c (print_vma): When printing DEC_5 values, if the
541         number is bigger than 99999 switch to using hexadecimal
542         notation.
544 2003-06-11  Nick Clifton  <nickc@redhat.com>
546         * objcopy.c (gnu_debuglink_filename): New variable.
547         (OPTION_ADD_GNU_DEBUGLINK): New switch
548         (copy_options): Describe --add-gnu-debuglink switch.
549         Mention that --strip-debug removes sections as well.
550         (is_strip_section): Process the sections removed and kept
551         lists before checking for debugging sections.
552         (add_redefine_syms_file): Make function static.
553         (copy_object): Use is_strip_section.
554         Check to see if a .gnu_debuglink section should be added.  If
555         so, call bfd_add_gnu_debuglink.
556         (setup_section): Use is_strip_section.
557         (copy_section): Use is_strip_section.
558         (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
559         * NEWS: Mention new objcopy switch.
560         * doc/binutils.texi: Document new switch.
562 2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
564         * po/Make-in (DESTDIR): New.
565         (install-data-yes): Support $(DESTDIR).
566         (uninstall): Likewise.
568 2003-06-11  Alan Modra  <amodra@bigpond.net.au>
570         * Makefile.in: Regenerate.
572 2003-05-23  Jakub Jelinek  <jakub@redhat.com>
574         * readelf.c (get_segment_type): Handle PT_GNU_STACK.
576 2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
578         * NEWS: Document the new BSD/POSIX single-character mapping for
579         .comment/.note sections.
581 2003-06-02  Chris Demetriou  <cgd@broadcom.com>
582             Jason Thorpe  <thorpej@wasabisystems.com>
584         * objcopy.c (redefine_list_append): Add an argument that
585         indicates the context from which this function is being
586         called.  Change all callers.
587         (copy_options): Add a new option, --redefine-syms.
588         (copy_usage): Document new option.
589         (copy_main): Handle the --redefine-syms option.
590         * doc/binutils.text (objcopy): Document new option.
592 2003-05-31  Richard Henderson  <rth@redhat.com>
594         * readelf.c (byte_get_signed): New.
595         (get_encoded_value): New.
596         (display_debug_frames): Use it.  Always pre-process opcodes.
598 2003-05-20  Michal Ludvig  <mludvig@suse.cz>
600         * readelf.c (display_debug_frames): Print both registers
601         for DW_CFA_register.
603 2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
605         * configure.in: Accept i[3-7]86 variants. Escape '[]' for
606         i[3-7]86-*-interix.
607         * configure.in: Regenerate.
609 2003-05-13  Michael Eager <eager@mvista.com>
611         * objcopy.c: Treat identical src/dst file names as if only one
612         entered.  One Windows creating an output file of the same name as
613         the input file will delete the input file before it is read.
615 2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
617         * debug.c (debug_get_real_type): Extend test for circular debug
618         references.
620 2003-05-12  Nick Clifton  <nickc@redhat.com>
622         * configure.in (ALL_LINGUAS): Add zh_CN.
623         * configure: Regenerate.
624         * po/zh_CN.po: New file: Chinese (simplified) translation.
626 2003-05-11  Jason Eckhardt  <jle@rice.edu>
628         * MAINTAINERS: Update my mail address.
630 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
632         * readelf.c (dump_relocations): Enlarge the type field in wide
633         mode by one character.
635 2003-05-03  Richard Henderson  <rth@redhat.com>
637         * readelf.c (struct Frame_Chunk): Add cfa_exp.
638         (frame_display_row): Just print "exp" for cfa or register
639         defined by a location expression.
640         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
641         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
643 2003-04-30  H.J. Lu <hjl@gnu.org>
645         * objdump.c (only): Change it to char **.
646         (only_size): New.
647         (only_used): New.
648         (disassemble_data): Check only as an array.
649         (dump_data): Likewise.
650         (dump_relocs): Likewise.
651         (main): Treat only as an array.
653 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
655         * doc/binutils.texi: Fix the documentation for the -fo option.
657 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
659         * readelf.c (get_machine_name) <EM_SH>: Amend return value
660         to refer to SuperH.
662         * readelf.c (decode_location_expression): Don't add a trailing ';'.
664 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
665             Nick Clifton  <nickc@redhat.com>
667         * windres.c (long_options): Move close to main, where it is used.
668         Add 'input' and 'output' long options.
669         (main): Accept "-fo" as an alias for "-o".  This is for rc
670         comptibility.
671         * doc/binutils.texi: Mention that -fo is accepted as an alias for
672         -o, but discourage its use.
674 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
676         * windres.c (format_from_name): Make the exit on error
677         behaviour optional.
678         (main): Rename the -I option to -J. Introduce -I as a synonym
679         for --include-dir.  For backwards compatibility also support the
680         old -I behaviour, but issue a deprecation warning.
681         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
682         of the -I option.
684 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
686         * readelf.c: Replace references to Mitsubishi M32R with
687         references to Renesas M32R.
689 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
691         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
693 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
695         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
696         for debugging information types not supported by objdump.
698 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
700         * configure.in: Recognize canonical form of i[3-6]86-pe*.
701         * configure: Regenerate.
703 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
705         * readelf.c (display_debug_info): Apply RELA relocations on the
706         entire section.
707         (byte_put_little_endian, byte_put_big_endian): New functions.
708         (byte_put): New variable.
709         (get_file_header): Initialize it.
711 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
713         * windres.c: Add -l for compatibility with wrc, and rc.
714         Use the short option as a key for long options that have
715         a synonymous short option.
716         * doc/binutils.texi: Added -l to the list of options.
718 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
720         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
721         (main): Just pass the -U option down to the preprocessor.
722         * doc/binutils.texi: Added -U to the list of options.
724 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
726         * windres.c (usage): Report -r option.
727         (main): Ignore the -r option.
728         * doc/binutils.texi: Add -r to the list of options.
730 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
732         * MAINTAINERS: Add myself as Xtensa maintainer.
734 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
736         * readelf.c: Include "elf/xtensa.h".
737         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
738         targets that use RELA relocations.
739         (dump_relocations): Call elf_xtensa_reloc_type for
740         EM_XTENSA and EM_XTENSA_OLD.
741         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
743 2003-04-01  Nick Clifton  <nickc@redhat.com>
745         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
746         thumb-pe*, mcore-pe and mcore-*elf.
747         * configure: Regenerate.
749 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
751         * objdump.c (dump_data): Don't truncate the address to long; make
752         the width large enough, and uniform for all entries in a section.
754 2003-03-31  H.J. Lu <hjl@gnu.org>
756         * readelf.c: Include "libiberty.h".
757         (dynamic_relocations): New.
758         (process_relocs): Properly handle dynamic relocation.
759         (process_dynamic_segment): Fill relocation elements in
760         dynamic_info.
762 2003-03-31  Kevin Buettner <kevinb@redhat.com>
764         * readelf.c (read_and_display_attr, read_and_display_attr_value):
765         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
766         all callers.
767         (display_debug_lines, display_debug_pubnames, display_debug_info)
768         (display_debug_aranges, display_debug_frames, read_and_display_attr)
769         (read_and_display_attr_value): Add 64-bit DWARF support.
771 2003-03-31  Ian Lance Taylor <ian@airs.com>
773         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
774         (optresid): Handle a resource id that can be a string or a number.
775         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
776         struct res_id.
777         (define_icon_control): Pass a struct res_id to define_control.
778         * windres.h (define_control): Change prototype.
780 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
782         * objcopy (OPTION_FORMATS_INFO): Define.
783         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
784         (copy_options): Likewise.
785         (strip_usage): Add "--info" to usage.
786         (copy_usage): Likewise.
787         (strip_main): Declare formats_info. Iniatilize it to FALSE.
788         Handle "info".
789         (copy_main). Likewise.
790         * doc/binutils.texi. Document the "--info" option for
791         objcopy/strip.
792         * NEWS: Mention the new command line switch.
794         * objdump.c (endian_string): Move to bucomm.c.
795         (display_info): Likewise.
796         (display_target_list): Likewise.
797         (display_info_table): Likewise.
798         (display_target_tables): Likewise.
799         (main): Assign the return value of display_info to exit_status.
800         * bucomm.c: Include bfdver.h and libbfd.h
801         (display_target_list): Call bfd_nonfatal instead of nonfatal and
802         return 0 on a non-fatal error, 1 on success.
803         (display_info_table): Likewise.
804         * bucomm.h (display_info): Provide a prototype.
805         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
806         libbfd.h.
807         * Makefile.in: Regenerate.
809 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
811         * dlltool.c (gen_def_file): Put demangled name comments on
812         own line preceding export name.
814 2003-03-17  Nick Clifton  <nickc@redhat.com>
816         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
817         printf for emitting new lines.
819 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
821         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
822         the symbol's value when --size-sort is used, unless -S is used.
823         doc/binutils.texi (--size-sort): For non-bsd formats both the
824         value and size of the symbols are displayed.
826 2003-03-13  Nick Clifton  <nickc@redhat.com>
828         * po/da.po: Update.
830 2003-03-12  Nick Clifton  <nickc@redhat.com>
832         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
834 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
836         * MAINTAINERS: Update my mail address.
838 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
840         * stabs.c (BYTES_IN_WORD): Remove definition.
841         * wrstabs.c (BYTES_IN_WORD): Likewise.
843 2003-03-04  Nick Clifton  <nickc@redhat.com>
845         * nm.c (main): Print a warning message if --size-sort and
846         --undefined-only are used together.
848 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
850         * nm.c (print_symbol): Remove check for undefined_only.
852 2003-03-03  Nick Clifton  <nickc@redhat.com>
854         * po/da.po: Installed latest translation.
856 2003-02-24  Nick Clifton  <nickc@redhat.com>
858         * README: Update binutils references to 2.13.
859         Add paragraph about using --disable-nls.
861 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
863         * doc/binutils.texi (nm --size-sort): Update.
865 2003-02-21  James E Wilson  <wilson@tuliptree.org>
867         * MAINTAINERS: Update email address.
869 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
871         * readelf.c (get_ia64_dynamic_type): New function.
872         (dynamic_segment_ia64_val): New function.
873         (get_dynamic_type): If machine type is EM_IA_64 call
874         get_ia64_dynamic_val.
875         (get_ia64_section_type_name): Handle sections with types in the
876         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
877         (get_dynamic_flags): If machine type is EM_IA_64 call
878         dynamic_segment_ia64_val.
880 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
882         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
883         section title capitalization more consistent.  Update descriptions
884         of various options to be consistent with the code.  Fix errors and
885         incomplete list in the description of c++filt format options.  Remove
886         information about the linker.  Change to be more polite about poor
887         bug reports.  Replace FDL appendix with include of fdl.texi.
888         * doc/fdl.texi: New file.
890 2003-02-21  Roger Sayle  <roger@eyesopen.com>
892         * objcopy.c (filter_symbols): Fix compilation problems with
893         HP-UX's C compiler.
895 2003-02-19  Christopher Faylor  <cgf@redhat.com>
897         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
898         previous change.
900 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
902         * rclex.l (handle_quotes): Handle strings spanning more than one line.
904 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
906         * nm.c (usage): Add `java' and `gnat' demangle styles and make
907         quotes consistent.
908         * objdump.c (usage): Ditto.  Also fix some typos.
910         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
912         * debug.c (debug_record_variable): Handle global register variables.
914         * stabs.c (parse_stab): For N_SLINE only include
915         function_start_offset if the symbol is within a function;
916         otherwise, the value is absolute.
918 2003-02-10  Nick Clifton  <nickc@redhat.com>
920         * readelf.c (decode_ARM_machine_flags): Handle the
921         EF_ARM_MAVERICK_FLOAT flag.
923 2003-02-04  Andreas Schwab  <schwab@suse.de>
925         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
926         long and use %ld in printf format.
928 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
930         * readelf.c (dump_relocations): Reorder the r_info field for
931         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
933 2003-01-21  Daniel Berlin  <dan@dberlin.org>
935         * readelf.c (display_debug_loc): Skip address base changes.
937 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
939         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
940         and ELFOSABI_NSK.
942 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
944         * readelf.c: Include elf/ppc64.h.
945         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
946         * Makefile.am: Run "make dep-am".
947         * Makefile.in: Regenerate.
949 2003-01-02  Ben Elliston  <bje@redhat.com>
951         * readelf.c (guess_is_rela): Handle EM_IQ2000.
952         (get_machine_name): Likewise.
953         (dump_relocations): Likewise.
954         * NEWS: Mention IQ2000 support.
956 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
958         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
960 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
962         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
963         changes in MIPS -M options.
965 2002-12-30    Dmitry Diky <diwil@mail.ru>
967         * Makefile.am: Add msp430 target.
968         * Makefile.in: Regenerate.
969         * readelf.c: Add support for msp430 target.
971 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
973         * doc/binutils.texi (objdump): Document MIPS -M options.
975 2002-12-23  Andreas Schwab  <schwab@suse.de>
977         * readelf.c (main): Reset dump request after each file.
979 2002-12-23  Nick Clifton  <nickc@redhat.com>
981         * nlmconv.c (main): Pass TRUE as third argument to
982         bfd_arch_get_compatible.
984 2002-12-23  Nick Clifton  <nickc@redhat.com>
986         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
987         macro.  Handle 'S' encoding, accepting 8-bit characters.
988         (main): Parse 'S' encoding.
989         (get_char): Accept 'S' encoding.
990         (print_strings): Use STRING_ISGRAPHIC.
991         (usage): Document support of 'S' encoding.
992         * doc/binutils.texi: Document support of 'S' encoding/
993         * NEWS: Mention new feature.
995 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
997         * README <building ar>: Don't use libibery's needed_list or
998         required_list, instead link libiberty/*.o.
1000 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
1002         * doc/binutils.texi: Fix typos.
1004 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1006         * doc/binutils.texi: Add missing parenthesis.
1008 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
1010         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
1011         symbols by adding the given prefix to the begining of the symbol
1012         name. This is useful to provide name space separation regardless
1013         of how the object file was created. Added --prefix-sections=
1014         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
1015         sections (or all sections with the alloc flag set) by adding the given
1016         prefix to the begining of the symbol name.
1017         * NEWS: Mention this new feature.
1018         * doc/binutils.texi: Document this new feature.
1020 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
1022         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
1023         dyn_string_append with dyn_string_append_cstr.
1025         * emul_aix.c (ar_emul_aix_create): Remove unused function.
1027 2002-12-10  James Cownie <jcownie@etnus.com>
1029         * readelf.h (get_TAG_name, get_AT_name,
1030         read_and_display_attr_value): Add support for UPC extensions to
1031         DWARF2 spec.
1032         * NEWS: Mention this new support.
1034 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
1036         * NEWS: Mention that bfd no longer declares a "boolean" type.
1038 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
1040         * readelf.c (process_program_headers): When setting loadaddr, don't
1041         assume segment size is 4k.  Use p_align instead.
1042         (loadaddr): Change from int to long.
1043         (dynamic_addr, dynamic_info, version_info): Likewise.
1044         (process_dynamic_segment <syminsz>): Likewise.
1045         (process_dynamic_segment): Adjust print format string.
1046         (rela_addr, rela_size): Delete.
1047         (process_relocs): Formatting.
1049 2002-12-05  Jim Wilson  <wilson@redhat.com>
1051         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
1052         * configure: Regenerate.
1054 2002-12-04  Ian Lance Taylor  <ian@airs.com>
1056         * MAINTAINERS: Change e-mail address back to airs.com.
1058 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
1060         * MAINTAINERS: Add self.
1062 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
1064         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
1065         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
1066         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
1067         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
1068         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
1069         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
1070         with TRUE/FALSE.  Formatting.
1072 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
1074         * readelf.c Replace occurrences of Elf32_Internal_* and
1075         Elf64_Internal_* with Elf_Internal_*.
1076         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1077         Zero r_addend fields.
1078         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1079         Elf_Internal_Rela.
1081 2002-11-23  Nick Clifton  <nickc@redhat.com>
1083         * size.c (usage): Fix typo describing switch for hex format.
1085 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
1087         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1088         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1089         testcase
1091 2002-11-14  Nick Clifton  <nickc@redhat.com>
1093         * readelf.c (process_program_headers): Add comment about return
1094         value.  Ensure that 0 is returned if the headers are not loaded.
1095         (process_file): If process_section_headers failed to load the
1096         headers disable any tests that rely upon them.  Similarly for
1097         process_program_headers.
1099 2002-11-12  Nick Clifton  <nickc@redhat.com>
1101         * po/da.po: Updated Danish translation.
1103 2002-11-12  Klee Dienes  <kdienes@apple.com>
1105         * rddbg.c (read_section_stabs_debugging_info): Also recognize
1106         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1108 2002-11-11  Christopher Faylor  <cgf@redhat.com>
1110         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
1111         cgf maintainership.
1113 2002-11-11  Christopher Faylor  <cgf@redhat.com>
1115         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1117 2002-11-07  Nick Clifton  <nickc@redhat.com>
1119         * configure.in (ALL_LINGUAS): Add 'da'.
1120         * configure: Regenerate.
1121         * po/da.po: New Danish translation.
1123         * readelf.c (get_symbol_index_type): Revert part of previous
1124         patch: Display unknown symbol types in decimal, not hex.
1126 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
1128         * dlltool.c (add_excludes): Don't prefix excluded fastcall
1129         symbols with underscore.
1130         (xlate): Ignore add_underscore for decorated fastcall symbols.
1132 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
1134         * deflex.l: Accept '@' as first character of an ID.
1135         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1136         ASM_PREFIX for fastcall symbols.
1137         (scan_drectve_symbols): Handle fastcall symbols when generating
1138         undecorated aliases for symbols in drectve section.
1139         (scan_filtered_symbols): Likewise, with export-all.
1140         (xlate): Likewise, with --kill-at.
1141         (make_imp_label): New function to handle fastcall symbols
1142         correctly.
1143         (make_one_lib_file): Use make_imp_label instead of make_label
1144         for imp symbols.
1146 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
1148         * MAINTAINERS: Add self as TIC4X maintainer.
1150 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
1152         * readelf.c (get_symbol_index_type): Add hex number to
1153         PROCESSOR-specific, OS-specific, reserved and unknown symbol
1154         types.
1156 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
1158         * readelf.c (byte_get_little_endian): Comment typo fix.
1159         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
1160         as the format string.
1161         (dump_relocations): Correct section sym names.
1162         (process_section_headers): Clear symtab_shndx_hdr.
1163         (read_and_display_attr_value): Don't pass indirect string to printf
1164         as the format string.
1165         (display_debug_frames): Indicate when zero terminator found.  Decode
1166         DW_EH_PE_pcrel addresses.
1168 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
1170         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1171         order to ensure proper disassembly of the valid 0-value opcode.
1172         * configure: Regenerate.
1173         * aclocal.m4: Regenerate.
1174         * config.in: Regenerate.
1175         * configure.in: Regenerate.
1176         * doc/Makefile.in: Regenerate.
1177         * po/binutils.pot: Regenerate.
1179 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1181         * MAINTAINERS: Add self as SH maintainer.
1183 2002-10-23  Ben Elliston  <bje@redhat.com>
1185         * doc/binutils.texi (objdump): Document -z and move the entry for
1186         --disassemble-zeroes to the end of the options section (for `z').
1188 2002-10-21  Nick Clifton  <nickc@redhat.com>
1190         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1192 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
1194         * objdump.c (dump_data): Correct addr_offset for opb != 1.
1196 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
1198         * bucomm.c (list_supported_targets): Use bfd_target_list.
1200         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1201         other object errors in preference to bfd_core errors.
1203 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
1205         * Makefile.am: Run "make dep-am".
1206         * objdump.c: #include "bfdver.h".
1207         * version.c: Likewise.
1208         * Makefile.in: Regenerate.
1209         * config.in: Regenerate.
1210         * configure: Regenerate.
1211         * po/POTFILES.in: Regenerate.
1213 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
1215         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1216         sections.  Allow relocations against the absolute symbol.  Don't
1217         use the value in compunit.cu_abbrev_offset if we found a RELA
1218         relocation.
1220 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
1222         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1223         ordinary ones are available.
1225 2002-09-30  H.J. Lu <hjl@gnu.org>
1227         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1228         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1230 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
1232         * Makefile.am (CFILES): Add cxxfilt.c.
1233         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1234         (cxxfilt_LDADD): Delete.
1235         Remove all references to underscore.c.
1236         Regen dependencies.
1237         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1238         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1239         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1240         adjustments to fit into binutils framework.
1241         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1243 2002-09-12  Roland McGrath  <roland@redhat.com>
1245         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1246         Handle DW_OP_GNU_push_tls_address.
1248 2002-09-11  Nick Clifton  <nickc@redhat.com>
1250         * po/tr.po: Updated Turkish translation.
1252 2002-09-10  Nick Clifton  <nickc@redhat.com>
1254         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1255         testsuite changes.  Add paragraphs about testsuite and config
1256         patches.
1258 2002-08-29  Nick Clifton  <nickc@redhat.com>
1260         * readelf.c (get_machine_flags): Remove redundant reference to
1261         E_V850EA_ARCH.
1263 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
1265         * objdump.c (dump_bfd): Restore lines accidentally deleted in
1266         last commit.
1268 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1270         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1271         (dump_bfd_header): Likewise.
1273 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
1275         * nm.c: Revert last change.
1277 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
1279         * nm.c (display_rel_file): Don't report "no symbols" as an error.
1280         * objdump.c (slurp_symtab): Likewise.
1281         (slurp_dynamic_symtab): Likewise.
1282         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
1284 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
1286         * MAINTAINERS: Change my mailing address.
1288 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1290         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1292 2002-08-22  Nick Clifton  <nickc@redhat.com>
1294         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1295         HPPA.
1297 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1299         * readelf.c (parse_args): Change debug_dump_opt to static.
1301 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
1303         * stabs.c (parse_stab_argtype): Pass length of physname to
1304         stab_demangle_argtypes.
1305         (stab_demangle_argtypes): Add new parameter - length of physname.
1306         Pass length of physname on to stab_demangle_prefix.
1307         (stab_demangle_prefix): Add new parameter - length of physname.
1308         Use length of physname (if supplied) to compute end of function
1309         name.
1311 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
1313         * readelf.c: Include elf/i370.h.
1314         (dump_relocations): Handle EM_S370.
1315         (dynamic_segment_parisc_val): Print \n.
1316         (process_dynamic_segment <DT_BIND_NOW>): Here too.
1318 2002-08-14  Nick Clifton  <nickc@redhat.com>
1320         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1321         * objdump.c (usage): Likewise.
1322         * doc/binutils.texi: Likewise.
1324 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
1326         * rcparse.y (acc_entry): Don't warn about ALT use with
1327         non-VIRTKEY.
1329 2002-08-13  H.J. Lu <hjl@gnu.org>
1331         * objcopy.c (copy_object): Don't warn about the unsupported
1332         architecture unless the input target is defaulted or the
1333         output architecture is different from the input.
1335 2002-08-09  Nick Clifton  <nickc@redhat.com>
1337         * po/sv.po: Updated Swedish translation.
1339 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
1341         * prdbg.c (pr_fix_visibility): Remove assert.
1343 2002-07-31  Nick Clifton  <nickc@redhat.com>
1345         * addr2line.c (process_file): Rename parameter 'filename' to
1346         'file_name' in order to avoid shadowing global symbol of the
1347         same name.
1348         (main): Likewise.
1350 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
1352         * readelf.c (OPTION_DEBUG_DUMP): Define.
1353         (options): Use it.
1354         (usage): Update help.
1355         (parse_args): Handle --debug-dump separately from -w.
1356         * doc/binutils.texi (readelf): Update documentation.
1358 2002-07-25  Nick Clifton  <nickc@redhat.com>
1360         * po/es.po: Updated Spanish translation.
1361         * po/fr.po: Updated French translation.
1363 2002-07-24  Nick Clifton  <nickc@redhat.com>
1365         * po/es.po: Updated Spanish translation.
1367 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
1369         * Makefile.am: Run "make dep-am".
1370         * Makefile.in: Regenerate.
1372 2002-07-23  Nick Clifton  <nickc@redhat.com>
1374         * po/fr.po: Updated French translation.
1376 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
1378         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1380 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
1382         * budemang.c: Include config.h and string.h/strings.h.
1384 2002-07-18 Denis Chertykov  <denisc@overta.ru>
1385            Frank Ch. Eigler  <fche@redhat.com>
1387         * readelf.c: Include "elf/ip2k.h".
1388         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1389         (dump_relocations): Likewise.
1390         (get_machine_name): Likewise.
1391         * NEWS: Mention IP2K support.
1393 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
1395         * NEWS: Add 'Changes in 2.13'.
1397 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
1399         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1400         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1401         (get_section_type_name): Handle SHT_GNU_LIBLIST.
1402         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1403         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1404         (process_gnu_liblist): New.
1405         (process_file): Call it.
1407 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
1409         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1410         * Makefile.in: Regenerate.
1412 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
1414         * budemang.c: New file, "demangle" function.
1415         * budemang.h: New file.
1416         * addr2line.c (translate_addresses): Use "demangle".
1417         * nm.c (print_symname): Likewise.
1418         * objdump.c (objdump_print_symname): Likewise.
1419         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
1420         here since that obfuscates.
1421         * rdcoff.c: Don't #include demangle.h.
1422         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1423         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
1424         (HFILES): Add budemang.h.  Sort.
1425         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1426         Run "make dep-am".
1427         * Makefile.in: Regenerate.
1429 2002-07-01  Matt Thomas  <matt@3am-software.com>
1431         * readelf.c: Include "elf/vax.h".
1432         (guess_is_rela): Move EM_VAX from unknown to RELA case.
1433         (dump_relocations): Handle VAX relocations.
1434         (get_machine_flags): Handle VAX machine flags.
1436 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
1438         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1440 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
1442         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1444 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
1446         * nm.c (print_symname): When demangling, strip leading dots from
1447         symbol names to avoid confusing the demangler.
1449 2002-06-25  H.J. Lu <hjl@gnu.org>
1451         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1452         * Makefile.in: Regenerated.
1454 2002-06-21  Igor Schein  <igor@txc.com>
1456         * configure.in: Quote bu_cv_have_fopen64.
1457         * configure: Regenerate.
1459 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
1461         * configure.in: Check for strcoll.
1462         * configure: Regenerate.
1463         * config.in: Regenerate.
1464         * nm.c (main): Set locale for LC_COLLATE category.
1465         (non_numeric_forward): Use strcoll if available.
1467 2002-06-20  Dave Brolley  <brolley@redhat.com>
1469         * MAINTAINERS: Add self as fr30 and frv maintainer.
1471 2002-06-18  H.J. Lu  (hjl@gnu.org)
1473         * nm.c: Include "elf/common.h".
1474         (extended_symbol_info): Add elfinfo, a pointer to
1475         elf_symbol_type.
1476         (SYM_SIZE): Use elfinfo if it is not NULL.
1477         (get_symbol_type): New function.
1478         (display_archive): Set print_width for each archive member.
1479         (display_file): Likewise.
1480         (display_rel_file): Don't set print_width here.
1481         (print_object_filename_sysv): Handle print_width.
1482         (print_archive_member_sysv): Likewise.
1483         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1484         (print_symbol): Set the elfinfo field in extended_symbol_info
1485         for ELF.
1486         (print_object_filename_sysv): Fix the output format.
1487         (print_symbol_info_sysv): Print type and section for ELF.
1489 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
1491         * nm.c (print_size_symbols): Remove assignment, which makes
1492         the symbol's size equal to its value when --size-sort is
1493         used.
1495 2002-06-18  Dave Brolley  <brolley@redhat.com>
1497         From Catherine Moore:
1498         * readelf.c (elf/frv.h): #include it.
1499         (guess_is_rela): Support EM_CYGNUS_FRV.
1500         (dump_relocations): Ditto.
1501         (get_machine_name): Ditto.
1502         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1504 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
1506         * readelf.c (get_file_header): Only read the first section header if
1507         e_shoff is non-zero.
1509 2002-06-15  H.J. Lu  (hjl@gnu.org)
1511         * nm.c (print_size): New variable. Initialize to 0.
1512         (long_options): Add 'S'/"print-size".
1513         (main): Handle 'S'.
1514         (print_symbol_info_bsd): Print size only if print_size is not
1515         0.
1517         * doc/binutils.texi: Document -S/--print-size.
1519 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
1521         * nm.c (struct extended_symbol_info): New structure: Add the size
1522         of the symbols to the information provided by the symbol_info
1523         structure.
1524         (print_symbols): Pass the symbol size to print_symbol.
1525         (print_size_symbols): Pass the symbol size to print_symbol.
1526         (print_symbol): Extra argument: The size of the symbol.  Store
1527         this in the extended_symbol_info structure.
1528         (print_symbol_info): Change type of info parameter to
1529         extended_symbol_info.  Display the size, if known.
1530         (print_symbol_info_posix): Likewise.
1531         (print_symbol_info_sysv): Likewise.
1533 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
1535         * Makefile.am: Run "make dep-am".
1536         * Makefile.in: Regenerate.
1537         * doc/Makefile.in: Regnerate.
1539         * bucomm.c: Replace CONST with const.
1540         * nm.c: Likewise.
1541         * objdump.c: Likewise.
1543 2002-06-07  H.J. Lu <hjl@gnu.org>
1545         * readelf.c (DW_CFA_GNU_args_size): Don't define.
1546         (DW_CFA_GNU_negative_offset_extended): Likewise.
1547         (DW_CFA_GNU_window_save): Likewise.
1548         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1549         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1551 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
1553         * nm.c: When computing size of symbols for an ELF target use the
1554         internal size field.
1556 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1558         * testsuite/binutils-all/objcopy.exp: clear xfail for
1559         "hppa*64*-*-hpux*".
1560         * testsuite/binutils-all/hppa/objdump.exp: Return if
1561         "*64*-*-*".
1563 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
1565         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1567 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
1569         * objdump.c: Fix formatting.
1571 2002-05-29  Ben Elliston  <bje@redhat.com>
1573         * MAINTAINERS: Add self as M68k maintainer.
1575 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
1577         * readelf.c: Modified/Added DLX elf support.
1579 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
1581         * arsup.c: Fix formatting.
1582         * debug.c (debug_record_label): Add missing colon to error
1583         message.
1584         * ieee.c (parse_ieee_ty): Fix spelling typo.
1585         * readelf.c (process_program_headers): Remove English assumption
1586         about making a plural word.
1587         (process_section_headers): Likewise.
1588         (process_relocs): Allow quotes to be translated.
1589         (process_unwind): Likewise,
1590         (process_mips_specific): Improve error message.
1591         (get_note_type): Fix spelling typo.
1593         * configure.in (ALL_LINGUAS): Add sv
1594         * po/sv.po: New file.
1596 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
1598         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1599         (unw_print_grmask): Likewise.
1600         (unw_print_frmask): Likewise.
1602 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1604         * arsup.c: Remove ARGSUSED.
1605         * debug.c: Likewise.
1606         * ieee.c: Likewise.
1607         * nlmconv.c: Likewise.
1608         * prdbg.c: Likewise.
1609         * stabs.c: Likewise.
1610         * wrstabs.c: Likewise.
1612 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
1614         * arlex.l: Use #include "" instead of <> for local header files.
1615         * coffdump.c: Likewise.
1616         * coffgrok.c: Likewise.
1617         * nlmconv.c: Likewise.
1618         * nlmheader.y: Likewise.
1619         * srconv.c: Likewise.
1620         * strings.c: Likewise.
1621         * sysdump.c: Likewise.
1622         * unwind-ia64.h: Likewise.
1623         * windres.h: Likewise.
1624         * winduni.h: Likewise.
1626 2002-05-24  Tom Rix  <trix@redhat.com>
1628         * MAINTAINERS: Add self as the d10v maintainer.
1630 2002-05-24   TAMURA Kent <kent@netbsd.org>
1632         * configure.in: Builds dlltool for i386-netbsdpe.
1633         * configure: Regenerate.
1635 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1637         * size.c: Fix formatting.
1638         * srconv.c: Likewise.
1639         * stabs.c: Likewise.
1640         * sysdump.c: Likewise.
1641         * unwind-ia64.c: Likewise.
1642         * wrstabs.c: Likewise.
1644 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1646         * readelf.c (get_segment_type): Add PT_TLS.
1647         (get_elf_section_flags): Add SHF_TLS.
1648         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1649         (process_dynamic_segment): Use puts instead of printf.
1650         (get_symbol_type): Support STT_TLS.
1651         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1652         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1653         Add SEC_THREAD_LOCAL.
1655 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1657         * rdcoff.c: Fix formatting.
1658         * rddbg.c: Likewise.
1659         * readelf.c: Likewise.
1660         * rename.c: Likewise.
1661         * resbin.c: Likewise.
1662         * resrc.c: Likewise.
1663         * resres.c: Likewise.
1665 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1667         * filemode.c: Fix formatting.
1668         * ieee.c: Likewise.
1669         * is-ranlib.c: Likewise.
1670         * is-strip.c: Likewise.
1671         * maybe-ranlib.c: Likewise.
1672         * maybe-strip.c: Likewise.
1673         * nlmconv.c: Likewise.
1674         * nm.c: Likewise.
1675         * not-ranlib.c: Likewise.
1676         * not-strip.c: Likewise.
1677         * objcopy.c: Likewise.
1678         * objdump.c: Likewise.
1680 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1682         * objdump.c (dump_headers): Fix output formatting for ELF32
1683         architectures in a BFD64 enabled toolchain.
1685 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1687         * debug.c: Fix formatting.
1688         * debug.h: Likewise.
1689         * dlltool.c: Likewise.
1690         * dllwrap.c: Likewise.
1691         * emul_aix.c: Likewise.
1692         * emul_vanilla.c: Likewise.
1694 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1696         * addr2line.c: Fix formatting.
1697         * ar.c: Likewise.
1698         * arsup.c: Likewise.
1699         * arsup.h: Likewise.
1700         * binemul.c: Likewise.
1701         * binemul.h: Likewise.
1702         * bucomm.c: Likewise.
1703         * coffdump.c: Likewise.
1704         * coffgrok.c: Likewise.
1705         * coffgrok.h: Likewise.
1707 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1709         * MAINTAINERS: Add myself as the second AVR port maintainer.
1711 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1713         * MAINTAINERS: Update my email address.
1715 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1717         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1719 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1721         * configure.in: Replace `*pe' with `pe' throughout.
1722         * configure: Regenerate.
1724 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1726         * Makefile.am: Honour DESTDIR.
1727         * Makefile.in: Regenerate.
1729 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1731         * dlltool.c (process_def_file): Add missing prototype.
1732         (new_directive, assemble_file, main): Likewise.
1733         (process_def_file, new_directive): Make static.
1734         (inform): Rewrite using VA_FIXEDARG.
1735         * dllwrap.c (mybasename): Add missing prototype.
1736         (strhash, main): Likewise.
1737         (inform): Rewrite using VA_FIXEDARG.
1738         (warn): Likewise.
1739         (cleanup_and_exit): Use old style function definition.
1740         (strhash): Likewise.
1741         * windres.c (define_resource): Use one memset to clear all of
1742         struct res_resource.
1744         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1745         call to rules that need no lookahead.  Check for no lookahead.
1747 2002-05-06  Borut Razem  <borut.razem@siol.net>
1749         * rclex.l (get_string): Correct "strings" list handling.
1750         * resrc.c (read_rc_file): Discard strings.
1752 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1754         * ar.c (replace_members): Remove unused var.  Formatting fix.
1755         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1757         * MAINTAINERS: Sort port maintainers by CPU.
1759 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1761         * size.c (display_archive): Add last_arfile and code to close archives.
1763 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1765         * nm.c (print_symbol): Check returned filename from
1766         bfd_find_nearest_line is non-NULL.
1768 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1770         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1772 2002-04-24  Christian Groessler <chris@groessler.org>
1774         * MAINTAINERS: Changed my email address.
1776 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1778         * arparse.y: Fix syntax warning.
1780 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1782         * readelf.c (fetch_location_list): Remove unused function.
1784         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1785         and display a warning message, then exit the loop.
1787         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1789 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1791         * resrc.c (write_rc_dialog): If charset is non-default value
1792         display all of the DIALOGEX parameters.
1794 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1796         * rcparse.y: Allow two to five parameter in FONT statement of
1797         DIALOGEX resources.
1798         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1799         resource data.
1800         (res_to_bin_dialog): Likewise.
1801         * windres.h: Added misssing charset variable to dialog_ex
1802         structure.
1804 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1806         * rcparse.y: Set MEMFLAG_PURE by default.
1808 2002-04-09  Bernd Herd <info@herdsoft.com>
1810         * rcparse.y: CLASS definitions in DIALOG resources
1811         are quoted.
1812         Fix typo in BEDIT warning.
1813         Don't add default dialog style when explicit style specified.
1814         Add WS_CAPTION dialog style if CAPTION is specified.
1816         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1817         (handle_quotes) "\a" escape (used for right justified key
1818         definitions in menus) is encodes as binary 8.
1820         * resrc.c (write_rc_dialog): Print style even if it is 0.
1821         (write_rc_directory): Fix overlooked sublang shift bug.
1822         (bin_to_res_dialog): Don't print empty dialog caption.
1824         * resbin.c (bin_to_res_dialog): Use signature to identify
1825         DIALOGEX.
1827         * windres.c (main): Set default LANGUAGE to english/us.
1829 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1831         * resrc.c: print CLASS names in quotes
1833 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1835         * MAINTAINERS: Update my email address.
1837 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1839         * dep-in.sed: Cope with absolute paths.
1840         * Makefile.am (dep.sed): Subst TOPDIR.
1841         Run "make dep-am".
1842         * Makefile.in: Regenerate.
1844 2002-03-27  Peter Targett  <peter.targett@arc.com>
1846         * MAINTAINERS: Update my email address.
1848 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1850         * Makefile.am: Run "make dep-am".
1851         * Makefile.in: Regenerate.
1852         * doc/Makefile.in: Regenerate.
1853         * po/POTFILES.in: Regenerate.
1854         * aclocal.m4: Regenerate.
1855         * config.in: Regenerate.
1856         * configure: Regenerate.
1858 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1860         * readelf.c: Add support for displaying dwarf2 location lists.
1861         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1862         (parse_args): Use 'O' as shorthand for displaying location list
1863         section.
1864         (process_section_headers): Handle debug_loc as well.
1865         (load_debug_loc): New.
1866         (free_debug_loc): New.
1867         (fetch_location_list): New.
1868         (display_debug_loc): New.
1869         (display_debug_info): Call load_debug_loc and free_debug_loc.
1870         (debug_displays): We can display .debug_loc now, too.
1871         (usage): Update usage string.
1872         (read_and_display_attr_value): Note location lists, but don't
1873         display them inline.
1875 2002-03-18  Tom Rix  <trix@redhat.com>
1877         * Makefile.am: Add binutils emulation support.
1878         * configure.in: Same.
1879         * configure.tgt: New file.  Same.
1880         * ar.c (main): Use ar_emul_parse_arg.
1881         (usage): Use ar_emul_usage.
1882         (replace_members): Use ar_emul_replace, ar_emul_append.
1883         * binemul.c: New file.  Define the binutils emulation
1884         layer. Define default methods.
1885         * binemul.h: New file.  Binutils emulation layer header file.
1886         * emul_aix.c: New file.  AIX binutils emulation.
1887         * emul_vanilla.c: New file. Default binutils emulation.
1888         * Makefile.in: Regenerate.
1889         * configure: Same.
1891 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1893         * po/fr.po: Updated version.
1895 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1897         * po/fr.po: Updated version.
1899 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1901         * README: Update some version numbers.
1903 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1905         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1906         (Architecture Selection): Likewise.
1908 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1910         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1911         generating .exp file.
1913 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1915         * readelf.c (dump_relocations): Fix typo.
1917 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1919         * NEWS: Mark 2.12 branch.
1921 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1923         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1924         types for 64-bit MIPS.  Narrow some fields for 80-char
1925         output.
1926         (dump_relocations): Change spelling from 'unrecognised'
1927         to 'unrecognized'.
1928         (decode_ARM_machine_flags): Likewise.
1929         (parse_args): Likewise.
1930         (read_and_display_attr_value): Likewise.
1931         (display_debug_section): Likewise.
1933 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1935         * NEWS: Mention support for MMIX.
1937 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1939         * readelf.c (get_machine_flags): Recognize EF_M68000.
1941 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1943         * MAINTAINERS: Added self as MN10300 co-maintainer.
1945 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1947         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1948         DT_PPC64_OPDSZ.
1950 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1952         * MAINTAINERS: List myself as branch maintainer.
1954 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1956         * configure: Regenerate.
1957         * objcopy.c: Update copyright date.
1958         * doc/Makefile.in: Regenerate.
1960 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1962         * nlmconv.c: Back out localtime PARAMS change.
1964 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1966         * objcopy.c (MKDIR): Define.
1967         (copy_archive): Make name_list.name const.  Use MKDIR.
1968         Handle duplicate files in archives by making more temp dirs.
1970 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1972         * coffdump.c: Include "getopt.h" after "bucomm.h"
1973         so that macros are defined correctly.
1974         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1975         prototype.  Prototype main.
1976         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1978 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1980         * MAINTAINERS: Added self as SH co-maintainer.
1982 2002-02-05  Nick Clifton <nickc@redhat.com>
1984         * po/tr.po: Updated translation.
1986 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1988         * Makefile.am: Run "make dep-am"
1989         * Makefile.in: Regenerate.
1991 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1993         * nm.c (print_value): Mark abfd unused.
1995 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1997         * unwind-ia64.c (unw_decoder): Change second argument
1998         to unsigned int, to match function prototypes.
2000 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
2002         * objdump.c: Include "getopt.h" after "bucomm.h" so that
2003         __GNU_LIBRARY__ will be defined.
2004         * size.c: Likewise.
2006 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
2008         * configure: Regenerated.
2010 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
2012         * doc/Makefile.am (install): Depend on install-info.
2013         * doc/Makefile.in: Regenerate.
2015 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
2017         * objcopy.c (strip_usage): Document -d as an alias
2018         --strip-debug.
2020         * size.c (usage): Document [-t | --totals] options.
2021         (long_options): Add --totals option.
2022         (main): If the [-t | --totals] option is specified and
2023         the output format is Berkeley-style, print the total
2024         text, data, and bss sizes of all objects listed.
2025         (print_berkeley_format): If the [-t | --totals] option
2026         is specified, track the total text, data, and bss
2027         sizes.
2028         * doc/binutils.texi (size): Document [-t | --totals] options.
2029         (strip): Document -d as an alias for --strip-debug.
2030         * NEWS: Mention new feature of size.
2032 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
2034         * po/fr.po: Updated version.
2035         * po/es.po: Updated version.
2037 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
2039         * addr2line.c (usage): Update text to provide verbose
2040         description of the command line options.
2041         * ar.c (usage): Update text to provide verbose
2042         description of the command line options.
2043         (main): Accept -h and -H when running as ranlib.
2044         * coffdump.c (show_usage): Update text to provide verbose
2045         description of the command line options.
2046         * dlltool.c (main): Accept -H as an alias for --help.
2047         * nlmconv.c (show_usage): Update text to provide verbose
2048         description of the command line options.
2049         * nm.c (usage): Replace OPTIONS with option(s).
2050         (main): Accept -H as an alias for --help.
2051         * objcopy.c (strip_main): Accept -H as an alias for --help.
2052         * objdump.c (main): Accept -v as an alias for --verbose.
2053         * readelf.c (usage): Adjust format to match style used in
2054         other binutils.
2055         * size.c (usage): Update text to provide verbose description
2056         of the command line options.
2057         (main): Accept -v, -h and -H as command line options.
2058         * srconv.c (show_usage): Update text to provide verbose
2059         description of the command line options.
2060         * strings.c (main): Accept -H and -v as command line options.
2061         (usage): Update text to provide verbose description of the
2062         command line options.
2063         * sysdump.c (show_usage): Update text to provide verbose
2064         description of the command line options.
2065         * windres.c (usage): Adjust format to match style used in
2066         other binutils.
2068         * coffdump.c: Fix formatting.
2069         * nlmconv.c: Fix formatting.
2070         * srconv.c: Fix formatting.
2071         * sysdump.c: Fix formatting.
2073 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
2075         * Makefile.am: Run "make dep-am".
2076         * Makefile.in: Regenerate.
2078 2002-01-18  Andreas Jaeger  <aj@suse.de>
2080         * version.c (print_version): Update year.
2082 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
2084         * readelf.c (get_machine_name): Handle EM_PPC64.
2085         (guess_is_rela): Here too.
2087 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2089         * po/binutils.pot: Regenerate.
2090         * po/fr.po: Regenerate.
2091         * po/tr.po: Regenerate.
2093 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
2095         * po/tr.po: Import new version.
2097 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
2099         * readelf.c (get_ppc64_dynamic_type): New.
2100         (get_dynamic_type): Call it.
2102 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
2104         * objcopy.c (copy_usage): Use "options" instead of "switches".
2105         (strip_usage): Use "options" instead of "switches".
2106         * doc/binutils.texi (dlltool):  Refer to "options" instead of
2107         "switches".
2109 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
2111         * MAINTAINERS: Add self as co-maintainer for the ARM code.
2113 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2115         * po/es.po: Import from translation project.
2116         * configure.in (ALL_LINGUAS): Add es.
2117         * configure: Regenerate.
2119 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
2121         * readelf.c (get_netbsd_elfcore_note_type): Use
2122         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2124 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
2126         * readelf.c: Update copyright years.
2127         (get_note_type): Return a const char *.
2128         (get_netbsd_elfcore_note_type): New function.
2129         (process_note): Use get_netbsd_elfcore_note_type to get
2130         the note type string for NetBSD ELF core files.
2132 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
2134         * readelf.c (get_ia64_segment_type): Add support for macros.
2135         (get_segment_type): Add support for IA64 specific macros.
2137 2001-12-20  Julian v. Bock  <julian@wongr.net>
2139         * readelf.c (print_symbol): New function: Print a formatted symbol
2140         name.  If --wide is specified do not truncate it.
2141         (dump_relocations): Use print_symbol() to print symbol names.
2142         (process_symbol_table): Likewise.
2143         (process_syminfo): Likewise.
2144         (process_mips_specific): Likewise.
2145         (usage): Document new feature of --wide switch.
2146         * doc/binutils.texi (objdump): Document additional behaviour of
2147         --wide.
2149 2001-12-18  Michael Snyder  <msnyder@redhat.com>
2151         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2152         (copy_object): Don't set the start address or flags of a core file.
2153         (copy_section): Don't relocate a core file.  Don't copy contents
2154         if the input section has the contents flag set, but the output
2155         section does not (which happens with the fake 'note' pseudo-
2156         sections that BFD creates for corefiles).
2158 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2160         * readelf.c (get_machine_flags): Recognize header flags for ABI and
2161         ASE extensions. More robust code for ISA checking. Ignore empty fields
2162         in header flags for GNU extensions.
2164 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
2166         * objcopy.c (copy_archive): Set output bfd format outside the loop.
2168 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2170         * po/ja.po: Import from translation project.
2171         * configure.in (ALL_LINGUAS): Add ja.
2172         * configure: Regenerate.
2174 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2176         * addr2line.c (main): Protoype.
2177         * ar.c (main): Protoype.
2178         * nm.c (main): Protoype.
2179         * objcopy.c (main): Protoype.
2180         * objdump.c (main): Protoype.
2181         * size.c (main): Protoype.
2182         * strings.c (main): Protoype.
2184 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
2186         * readelf.c (symtab_shndx_hdr): New global.
2187         (SECTION_HEADER_INDEX): Define.
2188         (SECTION_HEADER_NUM): Define.
2189         (SECTION_HEADER): Define.
2190         (GET_ELF_SYMBOLS): Pass two params rather than three.
2191         (get_32bit_elf_symbols): Take file and section args.  Read and
2192         use SHT_SYMTAB_SHNDX.
2193         (get_64bit_elf_symbols): Likewise.
2194         (dump_relocations): Use SECTION_HEADER to index "section_headers".
2195         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
2196         Remember symtab_shdx_hdr.
2197         (process_program_headers): Scan from index 1 for segment map.
2198         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2199         "section_headers".
2200         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
2201         (process_unwind): Likewise.
2202         (process_version_sections): Likewise.
2203         (process_symbol_table): Likewise.
2204         (display_debug_info): Likewise.
2205         (process_dynamic_segment): Fake up a symtab section for changed
2206         GET_ELF_SYMBOLS.
2207         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2208         (process_program_headers): Kill signed/unsigned warning.
2209         (load_debug_str): Likewise.
2210         (display_debug_info): Likewise.
2212 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
2214         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2216 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
2218         * readelf.c (process_file_header): Print extended e_shnum and
2219         e_shdtrndx values.  Set elf_header values for same.
2220         (get_32bit_section_headers): Add "num" arg to read "num" headers.
2221         (get_64bit_section_headers): Likewise.
2222         (process_section_headers): Update calls.
2223         (get_file_header): Call get_32bit_section_headers or 64bit variant.
2225 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
2227         * objcopy.c (setup_section): Copy entsize.
2229 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
2231         * readelf.c (guess_is_rela): Add support for stormy16.
2232         (dump_relocations): Likewise.
2233         (get_machine_name): Likewise.
2235 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
2237         * dllwrap.c (main) Replace multiple strings describing a
2238         single error with a single, newline escaped sentence to permit
2239         better translation into foreign languages.
2241         * readelf.c (get_elf_class): Remove internalionalisation of ELF
2242         class names.
2244 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2246         * strings.c (get_char): Initialize value.
2248 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2250         * arlex.l: Silence compile warnings.
2251         * arsup.h: Likewise. Fix formatting.
2253 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
2255         * strings.c: Include config.h before bfd.h.
2256         (file_off): New type.
2257         (file_open): Define.
2258         (print_strings): Use file_off instead of file_ptr.  Print addresses
2259         which don't fit into long correctly.
2260         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
2261         available.
2262         (strings_file): Use file_off instead of file_ptr.  Use file_open.
2263         * configure.in: Check for getc_unlocked.
2264         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2265         be defined for it.
2266         * configure: Rebuilt.
2267         * config.h.in: Rebuilt.
2269 2001-11-29  H.J. Lu <hjl@gnu.org>
2271         * bucomm.c (make_tempname): Revert the changes made on
2272         2001-11-14 and 2001-11-12. They won't work with directories.
2274 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2276         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2277         CFLAGS_FOR_TARGET to runtest in environment.
2278         * Makefile.in: Rebuild.
2279         * doc/Makefile.in: Rebuild.
2281 2001-11-28  Mike Stump  <mrs@wrs.com>
2283         * objcopy.c (setup_section): Preserve SEC_RELOC when
2284         --set-section-flags is used.
2286 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
2288         * readelf.c (do_debug_str): New variable.
2289         (display_debug_str): New function: Display the contents of a
2290         .debug_str section.
2291         (load_debug_str): New function: Load in the contents of a
2292         .debug_str section.
2293         (free_debug_str): New function: Free the memory used by
2294         load_debug_str().
2295         (fetch_indirect_string): Retrieve a string from the .debug_str
2296         section.
2297         (usage): Add -ws.
2298         (parse_args): Accept -ws.
2299         (process_section_headers): Allow the display of the .debug_str
2300         section.
2301         (read_and_display_attr_value): Use fetch_indirect_string.  Show
2302         offset into .debug_str section.
2303         (display_debug_info): Use load_debug_str and free_debug_str.
2304         (debug_displays): Add .debug_str.
2305         * doc/binutils.texi: Document -ws.
2307 2001-11-19  Andreas Jaeger  <aj@suse.de>
2309         * testsuite/binutils-all/objdump.exp: Add x86-64.
2311 2001-11-15  Andreas Schwab  <schwab@suse.de>
2313         * readelf.c: Fix warnings without terminating newline.
2315 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
2317         * doc/binutils.texi (objdump): Document ppc -M options.
2319 2001-11-14  Andreas Jaeger  <aj@suse.de>
2321         * doc/binutils.texi (objdump): Fix description to use x86-64.
2323 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
2325         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2326         not all systems provide mkstemp.
2328 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
2330         * doc/binutils.texi (objdump): Document x86 -M options.
2332 2001-11-13  Keith Walker <keith.walker@arm.com>
2334         * readelf.c (read_and_display_attr_value): New function to
2335         handle DW_FORM_indirect.
2336         (read_and_display_attr): Use it.
2338 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
2340         * readelf.c (display_debug_lines): Deal with unknown standard
2341         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2342         DW_LNS_set_isa.
2344 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
2346         * MAINTAINERS: Add self as tic54x maintainer.  This target
2347         includes the IBM C54XDSP clone.
2349 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
2351         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2353 2001-11-09  Jeffrey A Law  (law@cygnus.com)
2355         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2356         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2357         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2358         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2359         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2360         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2361         (unw_decode_b2, unw_decode_b3_b4): Likewise.
2363         * readelf.c (get_elf_class): Fix ISO portability glitch.
2364         (get_data_encoding, get_osabi_name, request_dump): Likewise.
2366 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
2368         * readelf.c (debug_str, debug_str_size): New.
2369         (display_debug_abbrev): If no abbrevs were read, skip the CU.
2370         Call free_abbrevs.
2371         (read_and_display_addr): Handle DW_FORM_strp.
2372         (display_debug_info): Read .debug_str section if present,
2373         so that DW_FORM_strp can be handled.
2374         Fix test for non-existant .debug_abbrev section.
2376 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
2378         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
2380         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2382 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2384         * MAINTAINERS: Add self as s390/s390x maintainer.
2386 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
2388         * MAINTAINERS: Add self as PPC XCOFF maintainer.
2390 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
2392         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2393         * configure: Regernate.
2394         * po/fr.po: New file.
2395         * po/tr.po: New file.
2397 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
2399         * MAINTAINERS: Add self as MMIX port maintainer.
2400         * readelf.c: Include elf/mmix.h.
2401         (guess_is_rela): MMIX is RELA.
2402         (dump_relocations): Handle MMIX relocations.
2403         * Makefile.am: Regenerate dependencies.
2404         * Makefile.in: Regenerate.
2406 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
2408         * readelf.c (parse_args): Handle multiple options to the -w
2409         switch.
2411 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
2413         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2414         LOPROC, LOOS and LOUSER.
2416 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
2418         * MAINTAINERS: Update my email address.
2420 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
2422         * doc/Makefile.in: Regenerate.
2423         * configure: Regenerate.
2425 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
2427         * readelf.c (display_debug_line, display_debug_pubnames,
2428         display_debug_info, display_debug_frames): Detect and warn
2429         about 64-bit format entries.
2430         (display_debug_aranges): Reword 64-bit warning.
2431         (debug_displays): Add .debug_pubtypes as a known, but not yet
2432         supported, debug section.
2434 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
2436         * coffdump.c (PROGRAM_VERSION): Delete.
2437         (main <'V'>): Call print_version.
2438         * srconv.c: Likewise.
2439         * sysdump.c: Likewise.
2440         * version.c (program_version): Remove.
2441         (print_version): Use BFD_VERSION_STRING.  Just print the current
2442         year in copyright message.
2443         * addr2line.c (program_version): Remove unused declaration.
2444         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2445         place of BFD_VERSION.
2446         * Makefile.am (Makefile): Depend on bfd/configure.in.
2447         (cplus-dem.o): Depend on Makefile.
2448         Run "make dep-am".
2449         * Makefile.in: Regenerate.
2451 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
2453         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2454         format .debug_arange sections.
2455         (main): Add missing prototype.
2457 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
2459         * Makefile.am: Update dependencies with "make dep-am".
2460         * Makefile.in: Regenerate.
2462 2001-09-28  Richard Henderson  <rth@redhat.com>
2464         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2466 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
2468         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2469         VA_CLOSE.
2470         (non_fatal): Likewise.
2471         * objdump.c (objdump_sprintf): Likewise.
2472         * readelf.c (error): Likewise.
2473         (warn): Likewise.
2475 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
2477         * readelf.c (do_wide): New.
2478         (options): Add --wide.
2479         (usage, parse_args): Likewise.
2480         (process_program_headers): Put each segment on a single line if
2481         --wide is given.
2482         (process_section_headers): Put each section on a single line if
2483         --wide is given.
2484         * doc/binutils.texi: Document it.
2485         * NEWS: Likewise.
2487 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
2489         * readelf.c (print_vma): Print 8 digits of low hex value.
2491 2001-09-24  Andreas Jaeger  <aj@suse.de>
2493         * nlmconv.c: Fix warnings about unused attributes and function
2494         prototypes.
2496         * strings.c: Add prototype for get_char.
2498 2000-09-19  H.J. Lu  <hjl@gnu.org>
2500         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2501         $(srcdir)/cxxfilt.man.
2502         * doc/Makefile.in: Rebuild.
2504 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
2506         * objcopy.c (copy_main): Correct rename-section string parsing.
2507         Consolidate new_name parsing, and error messages.
2509 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
2511         * addr2line.c: Don't include <ctype.h>.
2512         (main): For gettext, also set the LC_CTYPE locate facet.
2513         * ar.c (main): Likewise.
2514         * coffdump.c (main): Likewise.
2515         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2516         (main): For gettext, also set the LC_CTYPE locate facet.
2517         Use ISALNUM instead of isalpha/isdigit.
2518         * dllwrap.c: Don't include <ctype.h>.
2519         (main): For gettext, also set the LC_CTYPE locate facet.
2520         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2521         (main): For gettext, also set the LC_CTYPE locate facet.
2522         Use TOUPPER instead of islower/toupper.
2523         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2524         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2525         Use TOUPPER instead of islower/toupper.
2526         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2527         * objcopy.c (main): Likewise.
2528         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2529         (disassemble_bytes): Use ISPRINT instead of isprint.
2530         (dump_section_stabs): Use ISDIGIT instead of isdigit.
2531         (dump_data): Use ISPRINT instead of isprint.
2532         (main): For gettext, also set the LC_CTYPE locate facet.
2533         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2534         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2535         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2536         Use TOUPPER instead of islower/toupper.
2537         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2538         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2539         (write_rc_accelerators): Use ISPRINT instead of isprint.
2540         (write_rc_rcdata): Likewise.
2541         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2542         * srconv.c (main): Likewise.
2543         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2544         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2545         isdigit/isupper/islower.
2546         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2547         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2548         stab_demangle_prefix, stab_demangle_qualified,
2549         stab_demangle_template, stab_demangle_type,
2550         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2551         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2552         (isgraphic): Use ISPRINT instead of isascii/isprint.
2553         (main): Remove HAVE_LC_MESSAGES dependency.
2554         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2555         (pbarray): Use ISPRINT instead of isprint.
2556         (main): For gettext, also set the LC_CTYPE locate facet.
2557         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2558         (format_from_filename): Use ISPRINT instead of isprint.
2559         (main): For gettext, also set the LC_CTYPE locate facet.
2560         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2561         (unicode_print): Use ISPRINT instead of isprint.
2562         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2563         (stab_variable): Use ISDIGIT instead of isdigit.
2565 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
2567         * ar.c (print_contents): Cast args of bfd_seek to the right types.
2568         Replace bfd_read call with call to bfd_bread.
2569         (extract_file): Likewise.
2571         * objdump.c (dump_section_header): Cast section->filepos to
2572         unsigned long to suit printf format string.
2573         * readelf.c (process_section_headers): Similarly for sh_offset.
2574         (process_unwind): Likewise.
2576 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2578         * strings.c (encoding, encoding_bytes): New variables.
2579         (long_options): Add --encoding.
2580         (main): Accept -e and --encoding.
2581         (get_char): New function.  Read a, possibly wide, character from
2582         the input stream.
2583         (print_strings): Use get_char().
2584         (usage): Document new command line option.
2585         * doc/binutils.texi: Document new command line option.
2586         * NEWS: Announce new command line option.
2588 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
2590         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2591         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2592         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2593         Removed EM_CYGNUS_ARC.
2595 2001-09-04  Jeffrey A Law  (law@cygnus.com)
2597         * readelf.c: Include elf/h8 for H8 series definitions.
2598         (guess_is_rela): H8 series if RELA.
2599         (dump_relocations): Handle H8 series relocations.
2601 2001-08-31  Eric Christopher  <echristo@redhat.com>
2603         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2605 2001-08-29  Peter Targett  <peter.targett@arccores.com>
2607         * MAINTAINERS: Include ARC Maintainer.
2609 2001-08-29  Ben Elliston  <bje@redhat.com>
2611         * stabs.c (stab_demangle_template): Initialise s4.
2613 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
2615         * readelf.c (dump_relocations): Recognise EM_PPC64.
2617 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2619         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2621 2001-08-25  H.J. Lu  <hjl@gnu.org>
2623         * nm.c (print_width): New.
2624         (display_rel_file): Set `print_width' according to
2625         bfd_sprintf_vma.
2626         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2628 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2630         * objcopy.c (use_alt_mach_code): New variable.
2631         (OPTION_ALT_MACH_CODE): Define.
2632         (copy_options): Added --alt-machine-code.
2633         (copy_main): Handle it.
2634         (copy_object): Switch to alternate machine code if requested.
2635         * doc/binutils.texi: Document new option.
2636         * NEWS: Likewise.
2638 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2640         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2642 2001-08-21  H.J. Lu  <hjl@gnu.org>
2644         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2645         (display_debug_info): Cast for 64bit hosts.
2646         (display_debug_frames): Likewise.
2647         (process_mips_specific): Likewise.
2649 2001-08-21  Andreas Jaeger  <aj@suse.de>
2651         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2653         * sysdump.c: Add missing prototypes.
2654         * srconv.c: Likewise.
2655         * unwind-ia64.c: Likewise.
2656         * coffdump.c: Likewise.
2658         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2660         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2661         of declaring xcalloc.
2663 2001-08-10  H.J. Lu  <hjl@gnu.org>
2665         * nm.c (print_value): Add one arg, bfd *.
2666         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2667         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2668         (print_symbol_info_sysv): Likewise.
2669         (print_symbol_info_posix): Likewise.
2671         * objdump.c (dump_section_header): Replace printf_vma with
2672         bfd_printf_vma.
2673         (print_section_stabs): Likewise.
2674         (dump_bfd_header): Likewise.
2675         (objdump_print_value): Replace sprintf_vma with
2676         bfd_sprintf_vma.
2677         (disassemble_bytes): Likewise.
2678         (dump_reloc_set): Likewise.
2680 2001-08-10  Andreas Jaeger  <aj@suse.de>
2682         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2683         to build warnings.
2684         * configure: Regenerate.
2686 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2688         * readelf.c: Add missing prototypes.
2689         * objdump.c: Likewise.  Format existing prototypes.
2691 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2693         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2694         of any RELA relocation for the abbrev_offset memory location that
2695         refers to the .debug_abbrev section symbol.
2697 2001-08-07  H.J. Lu  <hjl@gnu.org>
2699         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2700         (main): Return process_file ().
2702 2001-08-05  Philip Blundell  <philb@gnu.org>
2704         * doc/binutils.texi: Use "Thumb" not "THUMB".
2706 2001-08-03  John Healy  <jhealy@redhat.com>
2708         Patch suggested by Frank Eigler <fche@redhat.com>.
2709         * objdump.c (disassemble_data): Fill in section member of the
2710         disasm_info structure.
2712 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2714         * configure.in: Added --with-windres option.
2715         * configure: Regenerated.
2717 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2719         * doc/binutils.texi: Use @command{name} for commands;
2720         use @option{-opt} for options; use @table @env for list of options;
2721         remove spaces arround [ | ] in synopsis.
2723         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2724         center title.
2726 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2728         * objcopy.c: Fix formatting.
2729         (section_rename): New structure.
2730         (OPTION_RENAME_SECTION): New switch.
2731         (copy_usage): Document new switch.
2732         (add_section_rename): New function: Add a node to the section
2733         rename list.
2734         (find_section_rename): New function: Find the new name and
2735         flags for a section.
2736         (setup_section): Call find_section_name to determine the name
2737         of the output section.
2738         (copy_main): Handle OPTION_RENAME_SECTION.
2739         * binutils.texi: Document new switch.
2740         * NEWS: Mention new switch.
2742 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2744         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2745         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2746         bug-binutils@gcc.org.
2748 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2750         * bucomm.c (list_supported_architectures): New function.
2751         * bucomm.h (list_supported_architectures): Declare.
2752         * objdump.c (usage): Call the above.
2754 2001-07-25  Dave Brolley  <brolley@redhat.com>
2756         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2757         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2759 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2761         * README: Update for 2.11.  Change bug reporting email address.
2762         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2764 2001-07-16  DJ Delorie  <dj@redhat.com>
2766         * resres.c (write_res_header): Align header size.
2767         (res_align_file): Calculate alignment correctly.
2769         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2770         correct 10).
2771         * resrc.c (write_rc_resource): Likewise.
2772         * windres.h (SUBLANG_SHIFT): Define - as 10.
2774 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2776         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2778 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2780         * MAINTAINERS: Add notes about branch checkins.
2782 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2784         * readelf.c (display_debug_macinfo): New function, display
2785         .debug_macinfo section.
2786         (do_debug_macinfo): New variable.
2787         (parse_args): Handle "-w[mM]" to mean display macro info.
2788         (process_section_headers): Handle debug_macinfo.
2789         (debug_displays): Replace unsupported function with macinfo
2790         function for .debug_macinfo display.
2791         * doc/binutils.texi: Document new command line switch.
2792         * NEWS: Document new feature of readelf.
2794 2001-07-05  H.J. Lu  <hjl@gnu.org>
2796         * objcopy.c (filter_symbols): Don't turn undefined symbols
2797         into local.
2799 2001-07-03  H.J. Lu <hjl@gnu.org>
2801         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2802         $@.pod.
2803         (ar.1): Likewise.
2804         (dlltool.1): Likewise.
2805         (nlmconv.1): Likewise.
2806         (nm.1): Likewise.
2807         (objcopy.1): Likewise.
2808         (objdump.1): Likewise.
2809         (ranlib.1): Likewise.
2810         (readelf.1): Likewise.
2811         (size.1): Likewise.
2812         (strings.1): Likewise.
2813         (strip.1): Likewise.
2814         (windres.1): Likewise.
2815         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2816         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2817         $(DEMANGLER_NAME).
2818         (as.1): Removed.
2819         * doc/Makefile.in: Regenerated.
2821 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2823         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2825 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2827         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2829 2001-06-29  James Cownie <jcownie@etnus.com>
2831         * readelf.c: Support DWARF 2.1 attributes.
2833 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2835         * readelf.c (GET_DATA_ALLOC): Remove.
2836         (GET_DATA): Remove.
2837         (get_data): New function combining above macros, with an extra
2838         test for zero size.
2839         (slurp_rela_relocs): Use get_data, and catch error return.
2840         (slurp_rel_relocs): Likewise.
2841         (get_32bit_program_headers): Likewise.
2842         (get_64bit_program_headers): Likewise.
2843         (get_32bit_section_headers): Likewise.
2844         (get_64bit_section_headers): Likewise.
2845         (get_32bit_elf_symbols): Likewise.
2846         (get_64bit_elf_symbols): Likewise.
2847         (process_section_headers): Likewise.
2848         (process_relocs): Likewise.
2849         (slurp_ia64_unwind_table): Likewise.
2850         (process_unwind): Likewise.
2851         (get_32bit_dynamic_segment): Likewise.
2852         (get_64bit_dynamic_segment): Likewise.
2853         (process_dynamic_segment): Likewise.
2854         (process_version_sections): Likewise.
2855         (process_symbol_table): Likewise.
2856         (dump_section): Likewise.
2857         (display_debug_info): Likewise.
2858         (display_debug_section): Likewise.
2859         (process_section_contents): Likewise.
2860         (process_corefile_note_segment): Likewise.
2861         (process_mips_specific): Likewise.  Also free econf32, econf64.
2863 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2865         * readelf.c (dump_relocations): Print "bad symbol index" if
2866         symtab == NULL with non-zero symtab_index.
2867         (process_relocs): Don't bomb if reloc section has no symsec.
2869 2001-06-24  H.J. Lu  <hjl@gnu.org>
2871         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2872         by accident.
2873         (copy_main): Apply the the change made to strip_main on
2874         2001-05-30 by accident.
2876 2001-06-23  Andreas Jaeger  <aj@suse.de>
2878         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2879         parameter 'code'.
2880         (unw_decode_x2): Likewise.
2881         (unw_decode_x3): Likewise.
2882         (unw_decode_x4): Likewise.
2884 2001-06-23  Ben Elliston  <bje@redhat.com>
2886         * MAINTAINERS: Add myself as M88k maintainer.
2888 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2890         * objcopy.c (strip_main): Support -o or --output-file command lien
2891         switch.
2893 2001-06-19  H.J. Lu <hjl@gnu.org>
2895         * doc/Makefile.in: Regenerated.
2897 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2899         * readelf.c: Restore formatting.
2901 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2903         * Makefile.am: Move documentation into doc subdirectory.
2904         * Makefile.in: Regenerated.
2905         * binutils.texi: Move into doc subdirectory.
2906         * addr2line.1: Removed.
2907         * ar.1: Likewise.
2908         * dlltool.1: Likewise.
2909         * nlmconv.1: Likewise.
2910         * nm.1: Likewise.
2911         * objcopy.1: Likewise.
2912         * objdump.1: Likewise.
2913         * ranlib.1: Likewise.
2914         * readelf.1: Likewise.
2915         * size.1: Likewise.
2916         * strings.1: Likewise.
2917         * strip.1: Likewise.
2918         * windres.1: Likewise.
2919         * cxxfilt.man: Likewise.
2920         * doc: New Directory.
2921         * doc/Makefile.am: New file.
2922         * doc/Makefile.in: Generate.
2924 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2926         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2928 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2930         * MAINTAINERS: Update my email address.
2932 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2934         * objcopy.c: Add new switches: --keep-global-symbol,
2935         --keep-symbols, --localize-symbols, --keep-global-symbols and
2936         --weaken-symbols.
2937         * binutils.texi: Document new switches.
2938         * objcopy.1: Regenerate.
2939         * NEWS: Announce new feature.
2941 2001-05-28  Andreas Jaeger  <aj@suse.de>
2943         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2944         variables, fix format strings.
2946 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2948         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2949         when computing the address of the line to show.
2951 2001-05-16  Richard Henderson  <rth@redhat.com>
2953         * readelf.c (do_debug_frames_interp): New.
2954         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2955         (byte_get_big_endian): Likewise.
2956         (parse_args) ['F']: Set do_debug_frames_interp.
2957         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2958         (frame_display_row): Don't trunc pc_begin to int.
2959         (size_of_encoded_value): New.
2960         (display_debug_frames): Handle 64-bit targets.  Print raw data
2961         unless do_debug_frames_interp.
2962         (debug_displays): Remove duplicate .debug_frame.
2964 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2966         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2967         The former constant was never in active use and is used otherwise
2968         by the ABI.
2970 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2972         * readelf.c (process_unwind): Print all unwind sections, not just
2973         one.
2975 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2977         * readelf.c (process_unwind): Remove const specifier.
2979 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2981         * strings.c (isgraphic): Do not use isascii() unless it is needed
2982         for isprint() to work.
2983         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2985 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2987         * NEWS: Announce support for OpenRISC.
2989 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2991         * dlltool.c (do_default_excludes): Initialise to true.
2993 2001-04-10  Alan Modra  <amodra@one.net.au>
2995         * MAINTAINERS: Update my email address
2996         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2998 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
3000         * readelf.c (display_debug_lines): Fix typo for "Prologue".
3002 2001-03-30  H.J. Lu  <hjl@gnu.org>
3004         * readelf.c (process_unwind): Just return if do_unwind is 0.
3006 2001-03-28  Roger Sayle  <roger@metaphorics.com>
3008         * dlltool.c (make_one_lib_file): Fix section flags for
3009         .text, .data and .bss in stub ds*.o files to match those
3010         generated by gas.
3012 2001-03-29  H.J. Lu  <hjl@gnu.org>
3014         * readelf.c (process_unwind): Only do unwind sections for
3015         IA64.
3017 2001-03-28  H.J. Lu  <hjl@gnu.org>
3019         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
3020         * Makefile.in: Regenerate.
3022 2001-03-26  Andreas Jaeger  <aj@suse.de>
3024         * binutils.texi (nm): Fix texi syntax.
3026 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3028         * binutils.texi: Put @c man begin and @c man end indications
3029         to generate man pages using texi2pod and pod2man. Put @c man title
3030         to identify each man. Add SEEALSO entries.
3031         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
3032         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
3033         sort the list.
3034         (*.1): Build the man pages from binutils.texi.
3035         * Makefile.in: Regenerate.
3037 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
3039         * defparse.y (opt_equal_name): allow "." in name.
3040         * dlltool.c (def_exports): Added ability to generate forwarded exports.
3041         (gen_exp_file): Likewise.
3043 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
3045         * NEWS: Document addition of -B switch to objcopy.
3046         * binutils.texi:  Document addition of -B switch to objcopy.
3047         * objcopy.c: (copy_options): Add --binary-architecture.
3048         (copy_usage): Document -B/--binary-architecture.
3049         (copy_main): Support -B/--binary-architecture.  Set
3050         bfd_external_binary_architecture.
3052 2001-03-11  Andreas Jaeger  <aj@suse.de>
3054         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
3055         (dump_relocations): Likewise.
3056         (get_machine_name): Likewise.
3058 2001-02-28  Nick Clifton  <nickc@redhat.com>
3060         * readelf.c: (struct unw_aux_info): Remove const modifier for
3061         'strtab' field.
3062         (process_unwind): Remove non-K&R compliant LHS type cast in call
3063         to GET_DATA_ALLOC macro.
3065 2001-02-28  Philip Blundell  <pb@futuretv.com>
3067         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
3068         ABI is in use; remove ambiguity between the "unknown" EABI and
3069         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
3070         renamed EF_xx constants.
3072 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
3074         * configure.in (BFD_VERSION): New.
3075         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3076         * configure: Regenerate.
3077         * Makefile.am: Run "make dep-am"
3078         * Makefile.in: Regenerate.
3080 2001-02-14  Nick Clifton  <nickc@redhat.com>
3082         * MAINTAINERS: Add "Obvious Fix" rule.
3084 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3086         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
3087         literal concatenation.
3089 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3091         * readelf.c (struct unw_aux_info): Remove const from the info member.
3092         (process_unwind): Don't type-cast the third argument to the
3093         GET_DATA_ALLOC macro.
3095 2001-02-11  Nick Clifton  <nickc@redhat.com>
3097         * readelf.c (dump_relocations): Free corrected allocated
3098         array.
3099         (process_unwind): Fix compile time warning.
3101 2001-02-10  Nick Clifton  <nickc@redhat.com>
3103         * binutils.texi: Document new --unwind option to readelf.
3105 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3107         * readelf.c: Add linux target for S/390.
3109 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
3111         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
3112         printf is a macro.
3114 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
3116         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3117         * aclocal.m4: Regenerate.
3118         * configure: Regenerate.
3120 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
3122         * bucomm.c (bfd_target_vector): Change extern array to pointer.
3123         * objdump.c (bfd_target_vector): Likewise.
3125 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
3127         * readelf.c (process_unwind): New function.
3128         (slurp_ia64_unwind_table): Ditto.
3129         (dump_ia64_unwind): Ditto.
3130         (find_symbol_for_address): Ditto.
3131         (slurp_rela_relocs): New function (split off from dump_relocations()).
3132         (slurp_rel_relocs): Ditto.
3133         (parse_args): Handle '-u' option.
3135         * unwind-ia64.c: New file.
3136         * unwind-ia64.h: New file.
3137         * Makefile.am: Include unwind-ia64.c in readelf build.
3138         * Makefile.in: Regenerate.
3139         * po/binutils.pot: Regenerate.
3141 2001-02-04  Philip Blundell  <philb@gnu.org>
3143         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3144         * configure: Regenerate.
3146 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
3148         * ieee.c (ieee_add_bb11): Don't check for backslashes
3149         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3151 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
3153         * ieee.c: Update copyright.
3154         (ieee_start_compilation_unit): Don't check for backslashes
3155         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3157         * stabs.c: Update copyright. Include "filenames.h".
3158         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3160 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
3162         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3163         sections are present before using them.  Remove code duplication.
3164         (process_symbol_table): Check if VERDEF or VERNEED sections are
3165         present before using them.
3167 2001-01-17  Nick Clifton  <nickc@redhat.com>
3169         * objcopy.c (copy_object): Fail if attempting to convert the
3170         endianness of the input object file.
3172         * binutils.texi: Explain that objcopy cannot convert endianness.
3174 2001-01-16  Nick Clifton  <nickc@redhat.com>
3176         * readelf.c (string_table_length): New variable.
3177         (SECTION_NAME): Catch out of range indices and missing section
3178         pointers.
3179         (process_section_headers): Delete useless local variable
3180         string_table_offset.  Set the value of string_table_length
3181         after loading the string table.
3182         (process_mips_specific): Use SECTION_NAME macro.
3183         (process_file): Set string_table_length to 0 when it is freed.
3185 2001-01-12  Nick Clifton  <nickc@redhat.com>
3187         * version.c (print_version): Update copyright date.
3189 2001-01-11  Peter Targett  <peter.targett@arccores.com>
3191         * readelf.c (dump_relocations): Include selection with EM_ARC.
3192         (get_machine_name) Update name to "ARC".
3194 2001-01-09  Nick Clifton  <nickc@redhat.com>
3196         * Makefile.am: Add rule to build objdump.o from objdump.c and
3197         using OBJDUMP_DEFS.
3198         * Makefile.in: Regenerate.
3200         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
3201         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3202         -DDISASSEMBLER_NEEDS_RELOCS.
3203         * configure: Regenerate.
3205         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3206         is defined read in the relocs even if dump_reloc_info is
3207         false.
3209 2001-01-07  Philip Blundell  <philb@gnu.org>
3211         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3212         `bug-binutils'.
3213         * README: Likewise.
3215 2000-12-19  Nick Clifton  <nickc@redhat.com>
3217         * dlltool.c: Add missing support for arm-epoc-pe.
3218         * configure.in: Add missing support for arm-epoc-pe.
3219         * configure: Regenerate.
3221 2000-12-15  Nick Clifton  <nickc@redhat.com>
3223         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3224         Mode parts of the x86 port.
3226 2000-12-04  Andreas Jaeger  <aj@suse.de>
3228         * readelf.c (guess_is_rela): Add EM_X86_64.
3229         (dump_relocations): Add EM_X86_64.
3230         (get_machine_name): Add EM_X86_64.
3231         Include "elf/x86-64.h".
3233 2000-12-12  Nick Clifton  <nickc@redhat.com>
3235         * readelf.c: Fix formatting.
3237 2000-12-11  Jan Hubicka  <jh@suse.cz>
3239         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3241 2000-12-07  Andrew Haley  <aph@redhat.com>
3243         * readelf.c (display_debug_frames): Only display columns that are
3244         referenced by the frame debug info.
3246 2000-12-05  Nick Clifton  <nickc@redhat.com>
3248         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3250 2000-12-04  Jason Merrill  <jason@redhat.com>
3252         * readelf.c (process_section_headers): Handle linkonce.wi sections.
3253         (display_debug_section): Likewise.
3254         (display_debug_info): Display CU header before bailing.
3256 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
3258         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3259         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
3260         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3262         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3263         and E_MIPS_ARCH_64.
3265         * readelf.c (get_machine_flags): Add case for
3266         E_MIPS_MACH_SB1.
3268 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
3270         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3272 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
3274         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
3275         Change sourceware.cygnus.com to sources.redhat.com.
3276         Fix typo for "amongst".
3278 2000-11-28  Nick Clifton  <nickc@redhat.com>
3280         * strip.1 (COPYING): Mention that the GNU Free Documentation
3281         License is present in the sources, but not the output, and
3282         also available from the GNU website.
3283         (GNU Free Documentation License): Comment out this section.
3284         * strings.1: Ditto.
3285         * size.1: Ditto.
3286         * ranlib.1: Ditto.
3287         * objdump.1: Ditto.
3288         * objcopy.1: Ditto.
3289         * nm.1: Ditto.
3290         * nlmconv.1: Ditto.
3291         * ar.1: Ditto.
3292         * addr2line.1: Ditto.
3294 2000-11-27  DJ Delorie  <dj@redhat.com>
3296         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3297         (parse_args): Support -wf option.
3298         (process_section_headers): Ditto.
3299         (debug_displays): Ditto.
3300         (display_debug_frames): New, dump *_frame sections.
3301         (frame_need_space): Support for above.
3302         (frame_display_row): Ditto.
3303         * binutils.texi: Document it.
3305 2000-11-24  Nick Clifton  <nickc@redhat.com>
3307         * NEWS: Announce support for v5t, v5te and XScale.
3309 2000-11-22  Nick Clifton  <nickc@redhat.com>
3311         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3312         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3313         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3314         (get_elf_section_flags: Add SHF_GROUP.
3315         (process_section_headers): Adjust output for 32-bit binaries
3316         to look nice on an 80 column terminal.
3318 2000-11-20  H.J. Lu  <hjl@gnu.org>
3320         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3321         ELFOSABI_AIX.
3323 2000-11-17  Richard Henderson  <rth@redhat.com>
3325         * readelf.c (display_debug_lines): Adjust last change to
3326         use sizeof (external->li_length).
3328 2000-11-17  Richard Henderson  <rth@redhat.com>
3330         * readelf.c (display_debug_lines): Fix section length check
3331         and end_of_sequence computation.
3333 2000-11-06  Nick Clifton  <nickc@redhat.com>
3335         * binutils.texi: Add GNU Free Documentation License.
3336         * objcopy.1: Add GNU Free Documentation License.
3337         * objdump.1: Add GNU Free Documentation License.
3338         * addr2line.1: Add GNU Free Documentation License.
3339         * ar.1: Add GNU Free Documentation License.
3340         * nlmconv.1: Add GNU Free Documentation License.
3341         * nm.1: Add GNU Free Documentation License.
3342         * ranlib.1: Add GNU Free Documentation License.
3343         * size.1: Add GNU Free Documentation License.
3344         * strings.1: Add GNU Free Documentation License.
3345         * strip.1: Add GNU Free Documentation License.
3347 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
3349         * objcopy.c (--srec-len=nn): New parameter to set the
3350         maximum length of generated Srecords.
3351         (--srec-forceS3): New parameter that restricts the generation of
3352         Srecords to type S3 only.
3353         * binutils.texi: Document new command line switches.
3354         * objcopy.1: Docuemnt the new command line switches.
3355         * NEWS: Announce the existence of the new command line switches.
3357 2000-10-31  Nick Clifton  <nickc@redhat.com>
3359         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3360         code.  Add Eric Chrisopher as maintainer of MN10300 port.
3362 2000-10-12  Roger Sayle  <roger@metaphorics.com>
3364         * Make comma after string after icon/control optional.
3366 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
3368         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3370         * NEWS: Mention support for MIPS32.
3372 2000-09-08  Nick Clifton  <nickc@redhat.com>
3374         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3376 2000-09-07  H.J. Lu  <hjl@gnu.org>
3378         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3379         * configure: Rebuild.
3381 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3383         * configure: Rebuilt with new libtool.m4.
3385 2000-09-05  Nick Clifton  <nickc@redhat.com>
3387         * aclocal.m4: Regenerate.
3388         * config.in: Regenerate.
3389         * configure: Regenerate.
3391 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
3393         * strip.1: Fix stray '\' in -o formatting.
3395 2000-09-02  Nick Clifton  <nickc@redhat.com>
3397         * configure.in: Increase version number to 2.10.91.
3398         * configure: Regenerate.
3399         * aclocal.m4: Regenerate.
3400         * config.in: Regenerate.
3401         * po/binutils.pot: Regenerate.
3403 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
3405         * acinclude.m4: Include libtool and gettext macros from the
3406         top level.
3407         * aclocal.m4, configure: Rebuilt.
3409 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
3411         * resrc.c (close_input_stream): Delete extraneous logic
3413 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
3415         * NEWS: Mention support for CRIS.
3417 2000-08-21  Nick Clifton  <nickc@redhat.com>
3419         * addr2line.c: Changed email address for Ulrich Lauther.
3421 2000-08-17  Christopher C. Chimelis <chris@debian.org>
3423         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3425 2000-08-17  Nick Clifton  <nickc@redhat.com>
3427         * readelf.c (display_debug_pubnames): Only issue warning
3428         message once.  Terminate message with a new line.
3429         (display_debug_aranges): Only display version 2 debug info.
3431 2000-08-14  Todd Vierling <tv@wasabisystems.com>
3433         * objcopy.c (strip_main): Silently accept -d as an alias for -g
3434         for compatibility with old BSD systems.
3436 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
3438         * NEWS: Mention i860 support.
3440 2000-08-11  Carlo Wood <carlo@alinoe.com>
3442         * addr2line.c (main): Add const to char *.
3444 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
3446         * ar.c (main): Don't crash if called with no arguments
3447         or only '-X32_64' as an argument.
3449 2000-08-08  DJ Delorie  <dj@redhat.com>
3451         * resrc.c: use "gcc -xc" instead of -xc-header
3453 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
3455         * readelf.c (elf/i860.h): Include.
3456         (dump_relocations): Add recognition of i860 architecture.
3457         (guess_is_rela): Add recognition of i860 architecture.
3459 2000-08-03  Nick Clifton  <nickc@cygnus.com>
3461         * MAINTAINERS: Add information about CGEN maintainers.
3463 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
3465         * nm.c (main): Ignore '-X32_64' as an option.
3466         * ar.c (main): Likewise.
3467         * binutils.texi (nm): Document new option.
3468         (ar): Likewise.
3470 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3472         * rdcoff.c (external_coff_symbol_p): K&R-ise.
3474 2000-07-20  H.J. Lu  <hjl@gnu.org>
3476         * binutils.texi: Put back "@end table" deleted by
3477         accident.
3479 2000-07-05  Kenneth Block  <krblock@computer.org>
3481         * nm.c: Add optional style to demangle switch.
3482         * objdump.c: Add optional style to demangle switch.
3483         * addr2line.c: Add optional style to demangle switch.
3484         * binutils.texi: Document optional style to demangle
3485         switch.
3487 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
3489         * MAINTAINERS: Add self as CRIS port maintainer.
3490         * readelf.c: Include elf/cris.h.
3491         (guess_is_rela): Handle EM_CRIS.
3492         (dump_relocations): Ditto.
3493         (get_machine_name): Ditto.
3494         * Makefile.am: Rebuild dependencies.
3495         * Makefile.in: Regenerate.
3496         * po/binutils.pot: Regenerate.
3498 2000-07-19  H.J. Lu  <hjl@gnu.org>
3500         * readelf.c (get_dynamic_type): Change "AUXILARY" to
3501         "AUXILIARY".
3502         (process_dynamic_segment): Print out strings for DT_CONFIG,
3503         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3505 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
3507         * nm.c (usage): Change output of `nm --help' to include a
3508         description of the purpose of the program and a detailed
3509         description of the accepted options.
3511 2000-07-19  H.J. Lu  <hjl@gnu.org>
3513         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3514         to DF_1_NODEFLIB.
3516 2000-07-19  H.J. Lu  <hjl@gnu.org>
3518         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3520 2000-07-19  H.J. Lu  <hjl@gnu.org>
3522         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3523         DT_FEATURE.
3524         (process_dynamic_segment): Likewise.
3526         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3527         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3528         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3529         DF_1_NODUMP and DF_1_CONLFAT.
3531 2000-07-18  Nick Clifton  <nickc@cygnus.com>
3533         * binutils.texi (readelf): Fix spelling typo.
3535 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
3537         * objdump.c (usage): Make output of `objdump --help' more
3538         consistent with the rest of the GNU world.  Add a line describing
3539         the purpose of the program.
3541 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
3543         * stabs.c (parse_stab_range_type): Cast to proper type to fix
3544         warning.
3546 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
3548         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3549         to fix warnings.
3550         (process_symbol_table): Ditto.
3551         (procesS_extended_line_op): Ditto.
3552         (display_debug_lines): Ditto.
3553         (display_debug_pubnames): Ditto.
3554         (read_and_display_attr): Ditto.
3556 2000-07-09  Nick Clifton  <nickc@cygnus.com>
3558         * MAINTAINERS: Add several more port specific maintainers.
3560 2000-07-05  Nick Clifton  <nickc@cygnus.com>
3562         * MAINTAINERS: Add blanket write privs for Michael Meissner.
3564 2000-06-05  DJ Delorie  <dj@redhat.com>
3566         * MAINTAINERS: New.
3568 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
3570         * dllwrap.c: Changed mistaken dyn_string_append() calls
3571         to dyn_string_append_cstr().
3573 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
3575         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3576         struct debug_type stores size in bytes.
3578 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
3580         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
3581         (CLEANFILES): Add DEPA.
3582         * Makefile.in: Regenerate.
3584 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
3586         * ar.c: Revert incorrect 2000-06-25 patch.
3587         * bucomm.c: Likewise.
3589 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3591         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3592         (external_coff_symbol_p): New function.
3593         (parse_coff): Use it.
3595 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
3597         * ar.c (normalize): Advance past both characters in a DOS based
3598         <letter>: filepath prefix.
3599         (main): Likewise.
3600         * bucomm.c (make_tempname): Likewise.
3602 2000-06-24  Nick Clifton  <nickc@cygnus.com>
3604         * objdump.c (usage): Fix description of --stabs switch.
3606 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
3608         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3609         find one.
3610         * Makefile.in: Regenerate.
3612 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
3614         * ar.c (normalize): Correct pointer comparison when checking for
3615         backslashes.
3616         (main): Likewise.
3617         * bucomm.c (make_tempname): Likewise.
3619         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3620         and search for backslashes in the original pathname.
3621         (ieee_add_bb11): Likewise.
3623 2000-06-18  Nick Clifton  <nickc@redhat.com>
3625         * ar.c (print_contents): Improve verbose message.
3627 2000-06-15  H.J. Lu  <hjl@gnu.org>
3629         * dyn-string.c: Removed. Not needed with dyn-string.c in
3630         libiberty.
3631         * dyn-string.h: Likewise.
3633         * Makefile.am: Remove references to dyn-string.c and
3634         dyn-string.h. Rebuild dependency.
3635         * Makefile.in: Rebuild.
3637 2000-06-15  H.J. Lu  <hjl@gnu.org>
3639         * binutils.texi: Put a warning on copying relocatable object
3640         files between two different formats.
3642 2000-06-13  DJ Delorie  <dj@cygnus.com>
3644         * rcparse.y (control): ICON controls take an id as the first
3645         parameter, not an optional string.  Also, call new convenience
3646         function that takes res_id's.
3647         * resrc.c (define_control): missing text means zero-length string,
3648         not zero ID.
3649         (define_icon_control): New.
3650         * windres.h: declare define_icon_control.
3652 2000-06-13  H.J. Lu  <hjl@gnu.org>
3654         * configure: Regenerate.
3656 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3658         * configure.in (VERSION): Update to show this is the CVS mainline.
3660 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3662         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3663         analogous to <SPACE>.
3665 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3667         * objdump.c (display_target_list): Use bfd_close_all_done, not
3668         bfd_close to fix crash caused by 2000-05-24 change.
3670 2000-05-25  DJ Delorie  <dj@cygnus.com>
3672         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3674 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3676         * Makefile.am: Update dependencies with "make dep-am"
3677         * Makefile.in: Regenerate.
3679 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3681         * ar.c: Include filenames.h.
3682         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3683         and drive letters in file names.
3684         (main): Support backslashes and drive letters in argv[0].  Drop
3685         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3686         FILENAME_CMP instead of strcmp to compare file names.
3687         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3688         DJGPP v2.
3689         (do_quick_append) [__GO32__]: Ditto.
3690         (get_pos_bfd, delete_members, move_members, replace_members):
3691         Compare file names with FILENAME_CMP.
3693         * bucomm.c: Include filenames.h.
3694         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3695         forward/backward slashes and drive letters in file names.
3697         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3698         mixed forward/backward slashes and drive letters in file names.
3700         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3701         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3702         mode.
3704         * objcopy.c: Include filenames.h.
3705         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3706         before comparing to "strip".
3707         Use FILENAME_CMP to compare file names.
3709         * arsup.c: Include filenames.h.
3710         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3711         FILENAME_CMP to compare file names.
3712         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3713         the temporary file name.
3715         * configure.in: Check for setmode.
3716         * configure: Regenerate.
3718 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3720         * objdump.c (display_target_list): Close the bfd.
3721         (display_info_table): Likewise.
3723 2000-05-14  H.J. Lu  (hjl@gnu.org)
3725         * objcopy.c (filter_symbols): Don't strip global symbols in
3726         relocatable object files.
3728 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3730         * size.c (usage): Associate short options with corresponding long
3731         option to give a clue as to their function.
3733 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3735         * size.c (main): Accept and ignore `-f' option.
3737 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3739         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3740         bindtextdomain): Replace defines with those from intl/libgettext.h
3741         to quieten gcc warnings.
3743 2000-05-12  H.J. Lu  <hjl@gnu.org>
3745         * nlmconv.c (temp_filename): Removed.
3747         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3748         choose_temp_base ().
3749         * objdump.c (display_target_list): Likewise.
3750         (display_info_table): Likewise.
3752 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3754         * objcopy.c (setup_section): Add const and gettext calls for err.
3756 2000-05-02  H.J. Lu  <hjl@gnu.org>
3758         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3759         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3760         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3761         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3762         and ELFOSABI_OPENBSD.
3764 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3766         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3767         * srconv.c: Likewise.
3768         * sysdump.c: Likewise.
3770 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3772         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3773         (get_machine_name): machine name for EM_AVR added.
3775 2000-04-21  Richard Henderson  <rth@cygnus.com>
3776             David Mosberger  <davidm@hpl.hp.com>
3778         * Makefile.am (readelf.o): Add elf/ia64.h.
3779         * Makefile.in: Rebuild.
3780         * readelf.c: Include elf/ia64.h.
3781         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3783 2000-04-17  Timothy Wall  <twall@cygnus.com>
3785         * objdump.c (disassemble_data): Set octets per byte *after*
3786         resolving arch/mach for binary files.
3788 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3790         * arlex.l: Add directives to increase lex buffer size.
3792         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3793         already included by bucomm.h.
3795 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3797         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3798         `strftime' since strftime is not available on all systems.
3799         (process_mips_specific): Ditto.
3801 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3803         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3804         --enable-build-warnings option.
3805         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3806         * Makefile.in, configure: Re-generate.
3808 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3810         * addr2line.c: Update copyright.
3811         * objcopy.1: Likewise, and title.
3812         * strings.1: Likewise.
3814         * version.c (print_version): Add 2000.
3816         * rddbg.c (read_section_stabs_debugging_info): Don't use
3817         bfd_size_type for strx to avoid printf problems if BFD64.
3819         * bucomm.c: (report): Remove `static'.
3820         Move inclusion of stdarg.h/vararg.h from here.
3821         * bucomm.h: To here.
3822         (CONST): Change all occurences to const.
3823         (report): Declare it.
3824         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3825         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3826         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3828         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3829         Correct a typo in an error message.
3830         (do_quick_append): Use non_fatal instead of fprintf.
3831         (move_members): Use fatal instead of fprintf, exit.
3832         * coffdump.c (main): Same here.
3834         * dlltool.c (display): Delete.
3835         (warn): Delete.
3836         (inform): Use `report' instead of `display'.
3837         (rvaafter): Remove trailing \n from fatal error msg.
3838         (rvabefore): Ditto.
3839         (asm_prefix): Ditto.
3840         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3841         (def_name): Likewise.
3842         (run): Likewise.
3843         (scan_all_symbols): Likewise.
3844         (gen_lib_file): Likewise.
3845         (def_library): Likewise.  Remove extra program_name too.
3846         (run): Remove \n from inform strings.
3847         (scan_drectve_symbols): Likewise.
3848         (add_excludes): Likewise.
3849         (scan_open_obj_file): Likewise.
3850         (gen_exp_file): Likewise.
3851         (gen_lib_file): Likewise.
3852         (process_duplicates): Likewise.
3854         * Makefile.am (dllwrap_SOURCES): Add version.c.
3855         * dllwrap.c (program_version): Delete.
3856         (print_version): Delete.
3857         (display): Always print trailing \n.
3858         (warn): New.
3859         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3860         (run): Here too.
3861         (main): And here.
3862         (usage): gettext'ify.
3863         (long_options): Add missing initialisers.
3865         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3866         (select_output_format): Likewise.
3867         (powerpc_mangle_relocs): Likewise.
3868         (link_inputs): Likewise.
3870         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3871         (set_output_format): Likewise.
3872         (main): Use non_fatal instead of fprintf.
3873         (display_rel_file): Likewise.
3875         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3876         (slurp_dynamic_symtab): Same here.
3877         (disassemble_data): And here.
3878         (read_section_stabs): And here.
3879         (read_section_stabs): And here.
3880         (dump_bfd): And here.
3881         (main): And here.
3882         (objdump_sprintf): Use fatal instead of fprintf, exit.
3883         (disassemble_data): Same here.
3885         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3886         (parse_coff_struct_type): Same here.
3887         (parse_coff_enum_type): And here.
3888         (parse_coff): And here.
3889         * rddbg.c (read_debugging_info): And here.
3890         * size.c (main): And here.
3891         * windres.c (format_from_name): And here.
3892         * wrstabs.c (stab_write_symbol): Here too.
3893         (write_stabs_in_sections_debugging_info): And here.
3894         (stab_int_type): And here.
3895         (stab_struct_field): And here.
3896         (stab_typdef): And here.
3898         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3899         * srconv.c (main): Same here.
3900         * strings.c (main): And here.
3901         (integer_arg): And here.
3902         * sysdump.c (main): And here.
3904 2000-04-06  Timothy Wall  <twall@cygnus.com>
3906         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3908 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3910         * readelf.c (decode_location_expression): Loop through multiple
3911         operations.
3912         (read_and_display_attr): Pass in length.
3914         * readelf.c (read_and_display_attr): Add CU offset to references.
3915         (display_debug_info): Pass it in.
3917 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3919         * readelf.c (decode_ARM_machine_flags): New function.
3920         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3921         targets.
3923         (get_machine_name): Catch EM_AVR
3925 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3927         * binutils.texi: Remove optional `=' from long options that have
3928         an `=' in the argument.
3929         * objcopy.1: Here too.  Remove extra space on discard-all.
3931         * binutils.texi (objcopy): Mention --redefine-sym.
3932         * objcopy.1: Here too.
3933         * NEWS: And here.
3935         * objcopy.c (parse_flags): Split off flag names from error message
3936         gettext as they are not translated.
3937         (copy_main): Similarly split off option name for --add-section,
3938         --set-section-flags, --change-section-vma, --change-section-lma
3939         error messages.
3940         Some white space changes.
3942         from Matthew Benjamin <matt@linuxbox.nu>
3943         * objcopy.c (struct redefine_node): New.
3944         (redefine_sym_list): New.
3945         (redefine_list_append): New.
3946         (lookup_sym_redefinition): New.
3947         (OPTION_REDEFINE_SYM): New.
3948         (copy_options): Add --redefine-sym option.
3949         (copy_usage): Mention it.
3950         (filter_symbols): Rename symbols on redefine_sym_list.
3951         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3952         (copy_main): Handle OPTION_REDEFINE_SYM.
3954 2000-04-04  H.J. Lu  <hjl@gnu.org>
3956         * readelf.c (process_symbol_table): Correctly read in symbol
3957         versioning information.
3959 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3961         * po/binutils.pot: Regenerate.
3963         * addr2line.c (usage): Restore translated part of bug string.
3964         * ar.c (usage): Likewise.
3965         * nlmconv.c (show_usage): Likewise.
3966         * nm.c (usage): Likewise.
3967         * objcopy.c (copy_usage): Likewise.
3968         (strip_usage): Likewise.
3969         * objdump.c (usage): Likewise.
3970         * readelf.c (usage): Likewise.
3971         * size.c (usage): Likewise.
3972         * strings.c (usage): Likewise.
3973         * windres.c (usage): Likewise.
3975         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3976         (DEP): Quote when passing vars to sub-make.  Add warning
3977         message to end.
3978         (DEP1): Rewrite for "gcc -MM".
3979         (CLEANFILES): Add DEP2.
3980         Update dependencies.
3981         * Makefile.in: Regenerate.
3983 2000-04-04  H.J. Lu  <hjl@gnu.org>
3985         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3986         (arparse.h): Depend on arparse.c
3987         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3989 2000-04-03  H.J. Lu  (hjl@gnu.org)
3991         * size.c (usage): Use REPORT_BUGS_TO.
3993 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3995         * bucomm.h: #include "bin-bugs.h"
3996         * addr2line.c (usage): Use REPORT_BUGS_TO.
3997         * ar.c (usage): Likewise.
3998         * nlmconv.c (show_usage): Likewise.
3999         * nm.c (usage): Likewise.
4000         (OPTION_TARGET): Define.
4001         (long_options): Use OPTION_TARGET rather than 200.
4002         (main): Likewise.
4004         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
4005         (strip_usage): Likewise.
4006         * objdump.c (usage): Likewise.
4007         * readelf.c (usage): Likewise.
4008         * strings.c (usage): Likewise.
4009         * windres.c (usage): Likewise.
4011 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4013         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
4015 2000-03-27  Nick Clifton  <nickc@cygnus.com>
4017         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
4018         string offsets in corrupt stabs entries.
4020 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
4022         * readelf.c: Include elf/avr.h
4023         (dump_relocations): Add EM_AVR case.
4025 2000-03-09  Tim Waugh  <twaugh@redhat.com>
4027         * strings.1: Correct '-bytes' to '--bytes'.
4029 2000-03-08  H.J. Lu  <hjl@gnu.org>
4031         * Makefile.am (install-exec-local): Depend on
4032         install-binPROGRAMS for parallel make.
4033         * Makefile.in: Regenerated.
4035 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
4037         From Brad Lucier <lucier@math.purdue.edu>:
4038         * readelf.c (process_dynamic_segment): Add cast to make sure
4039         argument to %* is int.
4041 2000-02-25  H.J. Lu  <hjl@gnu.org>
4043         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
4045 2000-02-24  Nick Clifton  <nickc@cygnus.com>
4047         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
4048         * configure: Regenerate.
4050         * dlltool.c: Add support for sh-pe and mips-pe targets.
4051         * rescoff.c: Add support for sh-pe and mips-pe targets.
4053 2000-02-23  H.J. Lu  <hjl@gnu.org>
4055         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
4057 2000-02-22  Nick Clifton  <nickc@cygnus.com>
4059         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
4061 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
4063         From Brad Lucier <lucier@math.purdue.edu>:
4064         * readelf.c (process_version_sections): Add casts to make sure
4065         argument to %* is an int.
4066         (process_mips_specific): Add casts to make printf arguments match
4067         format.
4069 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
4071         * objdump.c (dump_section_header): Change `opb' to unsigned.
4072         (find_symbol_for_address): Same here.
4073         (disassemble_data): And here.  Change `addr_offset',
4074         `stop_offset', `nextstop_offset' to unsigned long.
4075         (dump_data): Change opb to unsigned.
4077 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
4079         * resrc.c: Remove unmatched #if for cygwin.
4081 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4083         * binutils.texi: Document the change of flavor name from atpcs-special
4084         to special-atpcs to prevent name conflict in gdb.
4086 2000-02-08  Timothy Wall  <twall@redhat.com>
4088         * objdump.c (show_line): Fix bug preventing printing of the very
4089         first line (line zero) of a file when interlisting source and
4090         assembly.  Added option to print entire context from start of file
4091         when the first line from that file is encountered.
4093 2000-02-03  Timothy Wall <twall@redhat.com>
4095         * objdump.c (dump_section_header, find_symbol_for_address,
4096         show_line, disassemble_bytes, disassemble_data, dump_data):
4097         distinguish between octets and bytes.
4099 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
4101         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
4102         check to unresolved symbols.
4103         (print_symbol_info_sysv):  Ditto.
4104         (print_symbol_info_posix):  Ditto.
4106         * binutils.texi: Document new 'V' symclass flag for nm.
4108 2000-01-27  Nick Clifton  <nickc@redhat.com>
4110         * binutils.texi (objdump): Document new ARM specific
4111         disassembler options.
4113         * objdump.c (usage): Call disassembler_usage().
4115 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
4117         * readelf.c (get_dynamic_flags): Return buff.
4118         (process_dynamic_segment): Don't pass error strings to printf
4119         as format arg.
4120         (read_and_display_attr): Use lx and ld to print longs.
4121         (process_corefile_note_segment): Cast bfd_vma to unsigned long
4122         before printing.
4123         Update copyright.
4125 2000-01-17  Nick Clifton  <nickc@cygnus.com>
4127         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4129 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
4131         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4132         false.
4133         (debug_tag_type): Here too.
4134         * ieee.c (ieee_builtin_type): And here.
4135         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4137 2000-01-13  Nick Clifton  <nickc@cygnus.com>
4139         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4140         System/370".
4142 2000-01-11  Nick Clifton  <nickc@cygnus.com>
4144         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4146 2000-01-10  Nick Clifton  <nickc@cygnus.com>
4148         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4150 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
4152         * windres.c (long_options): Add --use-temp-file and
4153         --no-use-temp-file options.
4154         (usage): Document.
4155         (main): Handle.
4157         * windres.h: Update read_rc_file prototype.
4159         * resrc.c (cpp_temp_file): New static variable.
4160         (istream_type): New static variable.
4161         (close_pipe): Delete function.
4162         (run_cmd): New static function.
4163         (open_input_stream): New static function.
4164         (close_input_stream): New static function.
4165         (look_for_default): Handle DOS directory separator. Use
4166         open_input_stream instead of popen.
4167         (read_rc_file): Likewise.
4169         * binutils.texi: Document --use-temp-file, --no-use-temp-file
4170         options.
4172 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
4174         * dlltool.c (create_compat_implib): New variable.
4175         (gen_exp_file): Use.
4176         (make_one_lib_file): Use.
4177         (long_options): Add --compat-implib option.
4178         (usage): Handle.
4179         (main): Handle.
4181         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4182         (main): Use. Don't look for "32" in cygwin and mingw target names.
4184 2000-01-03  Nick Clifton  <nickc@cygnus.com>
4186         * binutils.texi: Document new, ARM specific disassembler
4187         command line switch "-M force-thumb".
4189 For older changes see ChangeLog-9899
4191 Local Variables:
4192 mode: change-log
4193 left-margin: 8
4194 fill-column: 74
4195 version-control: never
4196 End: