Add support for m32r-linux target, including a RELA ABI and PIC.
[binutils.git] / binutils / ChangeLog
blob84ab4766082597b3399af05eb2b7a5e86b71211c
1 2003-12-19  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
3         * readelf.c (guess_is_rela): Changed m32r's default type to RELA.
5 2003-12-11  Nick Clifton  <nickc@redhat.com>
7         * objcopy.c (strip_usage): Add --only-keep-debug.
8         (copy_usage): Likewise.
10 2003-12-04  Nick Clifton  <nickc@redhat.com>
12         * objcopy.c (copy_object): Do not copy the object if the
13         output file's format cannot be set to that of the input file.
14         If the input file's format is unknown, fail.
16 2003-11-28  Ian Lance Taylor  <ian@wasabisystems.com>
18         * cxxfilt.c (usage): Mention new -p/--no-params options.
20 2003-11-28  Alan Modra  <amodra@bigpond.net.au>
22         * Makefile.am (install-exec-local): Remove common term from string
23         comparison.
24         * Makefile.in: Regenerate.
25         * doc/Makefile.am: Don't use $<.
26         * doc/Makefile.in: Regenerate.
28 2003-11-27  Nick Clifton  <nickc@redhat.com>
30         * rename.c (smart_rename): Make sure that we have write
31         permission on the destination file before renaming.
33 2003-11-26  Daniel Jacobowitz <drow@mvista.com>
34             Nick Clifton  <nickc@redhat.com>
36         * readelf.c: Add a comment describing the difference between
37         readelf and objdump.
38         * doc/binutils.texi (readelf): Likewise.
40 2003-11-25  Danny Smith  <dannysmith@users.sourceforge.net>
42         * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
43         option.
44         * dlltool.c (usage): Likewise.
46 2003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
48         * cxxfilt.c (long_options): Add --no-params.
49         (main): Handle -p/--no-params.
50         * doc/binutils.texi (c++filt): Document -p/--no-params.
52 2003-11-19  Alan Modra  <amodra@bigpond.net.au>
54         * objdump.c: Wrap long lines, init vars separately from decl.
55         (disassemble_section): Reset require_sec after call to
56         find_symbol_for_address.
58 2003-11-14  Nick Clifton  <nickc@redhat.com>
60         * objdump.c (find_symbol_for_address): Change parameters so
61         that the entire disassemble_info structure is passed, not just
62         a few fields.  Use the symbol_is_valid field to check the
63         validity of located symbols and continue searching if they are
64         not valid.
65         (objdump_print_addr): Alter parameters passed to
66         find_symbol_for_address.
67         (objdump_symbol_at_address): Likewise.
68         (disassemble_section): Likewise.  Also use symbol_is_valid
69         function to check the validity of located symbols.
71 2003-11-13  Tobias Burnus  <tobias.burnus@physik.fu-berlin.de>
73         * ar.c (open_inarch): Emit a warning when an archive is created
74         (only shown with -v) in order to confrom to POSIX specification.
76 2003-11-11  Wang Li  <charles@linux.net.cn>
78         * objcopy.c (wildcard): New variable.  True if wildcard pattern
79         matching is allowed in symbol names.
80         (strip_options): Add -w option to enable wildcard pattern
81         matching.
82         (copy_options): Likewise.
83         (copy_usage): Mention new switch.
84         (strip_usage): Likewise.
85         (is_specified_symbol): If performing wildcard matches use fnmatch
86         to compare symbol names with entries on the symbol list.
87         (strip_main): Accept -w switch.
88         (copy_main): Likewise.
89         * Makefile.am: Add dependency on fnmatch.h for objcopy.c
90         * Makefile.in: Regenerate.
91         * doc/binutils.texi: Document new switch.
92         * NEWS: Mention new switch.
94 2003-11-11  Alan Modra  <amodra@bigpond.net.au>
96         * objdump.c: Revert rev 1.81 commit.
98 2003-11-10  Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
100         * ar.c (print_contents): Remove "member" from verbose output in
101         order to conform to POSIX specification.
103 2003-11-10  Alan Modra  <amodra@bigpond.net.au>
105         * README: Expand bug reporting information.
107 2003-11-07  Jonathan R. Grant  <jg-binutils@jguk.org>
109         * bucomm,c (get_file_size): New function.  Returns the size of a
110           file.
111         * bucomm.h: Add prototype for get_file_size.
112         * addr2line.c (process_file): Use new function.
113         * ar.c (main, ranlib_only, ranlib_touch): Likewise.
114         * nm.c (display_file): Likewise.
115         * objcopy.c (add_specific_symbols, copy_file, strip_main,
116           copy_main): Likewise.
117         * objdump.c (display_file): Likewise.
118         * size.c (display_file): Likewise.
119         * strings.c (strings_file): Likewise.
120         * readelf.c (process_file): Use similar code to get_file_size.
122 2003-11-06  Bruno Rohee  <bruno@rohee.com>
124         * ieee.c: Fix "the the" typo.
125         * stabs.c: Likewise.
127 2003-10-30  Marshall T. Vandegrift  <llasram@wuli.nu>
129         * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
130         sections - they have no file space assigned to their contents.
132 2003-10-28  Segher Boessenkool  <segher@kernel.crashing.org>
134         * readelf.c (dump_section): Don't display DEL characters.
136 2003-10-27  Kazu Hirata  <kazu@cs.umass.edu>
138         * ChangeLog: Fix typos.
139         * ChangeLog-9197: Likewise.
140         * ChangeLog-9899: Likewise.
141         * NEWS: Likewise.
142         * ar.c: Fix comment typos.
143         * arsup.c: Likewise.
144         * coffgrok.c: Likewise.
145         * debug.c: Likewise.
146         * debug.h: Likewise.
147         * dlltool.c: Likewise.
148         * ieee.c: Likewise.
149         * nm.c: Likewise.
150         * objdump.c: Likewise.
151         * prdbg.c: Likewise.
152         * readelf.c: Likewise.
153         * resrc.c: Likewise.
154         * sysinfo.y: Likewise.
155         * windres.c: Likewise.
157 2003-10-27  Nick Clifton  <nickc@redhat.com>
159         * objcopy.c (copy_section): Do not complain when a target does not
160         support relocations.
161         (mark_symbols_used_in_relocations): Likewise.
163 2003-10-14  Anil Paranjpe  <anilp1@KPITCummins.com>
165         * objcopy.c (copy_main): Reads machine flags from arch_info
166         structure.
168 2003-10-20  Andrew Cagney  <cagney@redhat.com>
170         * coffgrok.h (coff_section): Replace 'struct sec" with "struct
171         bfd_section".
173 2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
175         * objdump.c (read_section_stabs): Just read one section, return
176         pointer to it. Add size parameter.
177         (print_section_stabs): Add string offset parameter. Adjust.
178         (struct stab_section_names): Add string offset member.
179         (find_stabs_sections): Correct check for split section suffix,
180         adjust read_section_stabs and print_section_stabs calls.
181         (dump_stabs_section): Clear string_offset, free string table.
183 2003-10-01  Martin Fuchs  <martin-fuchs@gmx.net>
185         * resrc.c (define_icon): Fix storage of color attributes 'planes' and
186         'bit count' in icon groups.
188 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
190         * NEWS: Add an indication of the cutoff for 2.14.
192 2003-09-30  Chris Demetriou  <cgd@broadcom.com>
194         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
196 2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>
198         * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
199         (get_symbol_index_type): Likewise.
201 2003-09-25  H.J. Lu  <hongjiu.lu@intel.com>
203         * readelf.c (process_version_sections): Indent version names.
205 2003-09-15  Anthony Green  <green@redhat.com>
207         * dlltool.c (prefix_encode): Fix ISO C90 conversion.
208         (dlltmp): Ditto.
209         (dtab): Ditto.
211 2003-09-14  Andreas Jaeger  <aj@suse.de>
213         * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
214         unneeded (void *) casts.
215         * ar.c: Likewise.
216         * arlex.l: Likewise.
217         * arparse.y: Likewise.
218         * arsup.c: Likewise.
219         * binemul.c: Likewise.
220         * binemul.h: Likewise.
221         * bucomm.c: Likewise.
222         * bucomm.h: Likewise.
223         * budbg.h: Likewise.
224         * budemang.c: Likewise.
225         * budemang.h: Likewise.
226         * coffdump.c: Likewise.
227         * coffgrok.c: Likewise.
228         * cxxfilt.c: Likewise.
229         * debug.c: Likewise.
230         * debug.h: Likewise.
231         * deflex.l: Likewise.
232         * dlltool.c: Likewise.
233         * dlltool.h: Likewise.
234         * dllwrap.c: Likewise.
235         * emul_aix.c: Likewise.
236         * filemode.c: Likewise.
237         * ieee.c: Likewise.
238         * nlmconv.c: Likewise.
239         * nlmconv.h: Likewise.
240         * nlmheader.y: Likewise.
241         * nm.c: Likewise.
242         * prdbg.c: Likewise.
243         * rclex.l: Likewise.
244         * rcparse.y: Likewise.
245         * rdcoff.c: Likewise.
246         * rddbg.c: Likewise.
247         * rename.c: Likewise.
248         * resbin.c: Likewise.
249         * rescoff.c: Likewise.
250         * resrc.c: Likewise.
251         * size.c: Likewise.
252         * srconv.c: Likewise.
253         * stabs.c: Likewise.
254         * strings.c: Likewise.
255         * sysdump.c: Likewise.
256         * sysinfo.y: Likewise.
257         * syslex.l: Likewise.
258         * unwind-ia64.c: Likewise.
259         * unwind-ia64.h: Likewise.
260         * version.c: Likewise.
261         * windres.c: Likewise.
262         * windres.h: Likewise.
263         * winduni.c: Likewise.
264         * wrstabs.c: Likewise.
266 2003-09-10  James E Wilson  <wilson@specifixinc.com>
268         * MAINTAINERS: Update my e-mail address.
270 2003-09-09  Ian Lance Taylor  <ian@wasabisystems.com>
272         * MAINTAINERS: Update my e-mail address.
274 2003-09-04  Nick Clifton  <nickc@redhat.com>
276         * MAINTAINERS: Make it clear what should be done with patches to
277         the top level configure files (other than config.guess and
278         config.sub).  Add binutils@sources.redhat.com as an address to
279         which patches can be sent.
281 2003-09-04  Nick Clifton  <nickc@redhat.com>
283         * readelf.c (get_machine_flags): Recognise V850E1 machine type.
285 2003-09-03  Andrew Cagney  <cagney@redhat.com>
287         * objdump.c: Refer to init_disassemble_info in comments.
288         (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
289         init_disassemble_info.
291 2003-09-03  Nick Clifton  <nickc@redhat.com>
293         * objdump.c (struct objdump_disasm_info): Add new fields
294         'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
295         (process_section_p): New function:  Returns TRUE if a section
296         can be dumped.
297         (disassemble_section): New function: Contains the body of
298         disassemble_data(), but just for one section.
299         (disassemble_data): Use bfd_map_over_sections to walk section
300         chain.
301         (find_stabs_section): New function: Find a stabs containing
302         section and then dump it.
303         (dump_stabs_section): New function: Use bfd_map_over_sections
304         to find the section to dump.
305         (dump_stabs): Use dump_stabs_section.
306         (dump_section): New function: Display the contents of a
307         section.
308         (dump_data): Use bfd_map_over_sections to display section
309         contents.
310         (dump_relocs_in_section): Display the relocs in a given section.
311         (dump_relocs): Use bfd_map_over_sections to display relocs.
312         (adjust_addresses): New function: Adjust the vma and lma of
313         sections.
314         (dump_bfd): Use bfd_map_over_sections.
315         * doc/binutils.texi: Document the "objdump -s" (no longer)
316         dumps empty sections.
318 2003-08-24  Jonathan R. Grant  <jg-binutils@jguk.org>
320         * objdump.c: Improve comments/documentation.
321         dump_data: Eliminate duplicate function calls to bfd_section_size.
323 2003-09-02  Alan Modra  <amodra@bigpond.net.au>
325         * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
327 2003-08-21  Nick Clifton  <nickc@redhat.com>
329         * po/tr.po: Updated Turkish translation.
331 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
333         * dep-in.sed: Remove libintl.h.
334         * Makefile.am (POTFILES.in): Unset LC_COLLATE.
335         Run "make dep-am".
336         * Makefile.in: Regenerate.
338 2003-08-11  Ian Lance Taylor  <ian@airs.com>
340         * readelf.c (process_archive): Fix error handling.  Remove memory
341         leak.
343         * readelf.c: Add ability to read archives.
344         (archive_file_offset): New variable.
345         (archive_file_size): New variable.
346         (get_data): Include archive_file_offset in file offset
347         calculation when fseeking.
348         (process_program_headers): Likewise.
349         (process_symbol_table): Likewise.
350         (process_dynamic_segment): Handle computation of end of file
351         position when the file is in an archive.
352         (process_object): New function.  Contains the body of
353         process_file().
354         (process_archive): New function.  Call process_object on each
355         member of an archive.
356         (process_file): Detect archives and handle appropriately.
357         * Makefile.am: Add dependency on aout/ar.h for readelf.c
358         * Makefile.in: Regenerate.
359         * NEWS: Document readelf's new ability.
360         * doc/binutils: Alter text to say that readelf supports archives
361         and 64-bit ELF files.
363 2003-08-08  Nick Clifton  <nickc@redhat.com>
365         * po/fr.po: Updated French translation.
367 2003-08-05  Alan Modra  <amodra@bigpond.net.au>
369         * objcopy.c: Remove unnecessary prototypes and casts.
370         * objdump.c: Remove unnecessary casts.
371         * readelf.c: Convert to C90.  Remove unnecessary prototypes and casts.
372         (get_osabi_name): Move so we don't need a forward declaration.
374 2003-08-04  Bradley Harrington  <bharring@us.ibm.com>
375             Alan Modra  <amodra@bigpond.net.au>
377         * objdump.c (include_paths, include_path_count): New vars.
378         (usage): Describe --include.
379         (long_options): Add "include".
380         (add_include_path): New function.
381         (struct print_file_list): Make filename const.  Add modname.
382         (try_print_file_open, update_source_path): New functions.
383         (show_line): Use them.
384         (main): Handle 'I' option.  Don't check for NULL xrealloc arg.
386 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
388         * objdump.c: Remove unnecessary prototypes.
389         (disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
390         code, and print relocs when dump_dynamic_reloc_info.
391         (disassemble_data): Read and handle dynamic relocs.  Correct reloc
392         skip code.  Formatting.
393         (dump_bfd): Don't dump dynamic relocs when disassembling.
395 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
397         * MAINTAINERS: Remove self as M88k maintainer.  Future M88k
398         maintenance defaults to the blanket write privilege maintainers.
400 2003-07-29  Michael Meissner  <gnu@the-meissners.org>
402         * MAINTAINERS: Updated my email address.
404 2003-07-29  Nick Clifton  <nickc@redhat.com>
406         * objdump.c: Update to ISO C.
408 2003-07-24  Nick Clifton  <nickc@redhat.com>
410         * objdump.c (disassemble_data): Do not ignore sections without the
411         LOAD flag when disassemble_all is true.  Only print a message
412         about disassembling a section if it contains some data.
414         * po/fr.po: Updated French translation.
416 2003-07-23  Nick Clifton  <nickc@redhat.com>
418         * objcopy.c: Switch to ISO C.  Remove debugging code accidentally
419         left in.  Some formatting tidy ups.
421 2003-07-22  Salvador Eduardo Tropea <set@computer.org>
423         * objdump.c: New command line option --debugging-tags.
424         * doc/binutils.texi: Document new command line option.
425         * prdbg.c: Code to print the debug info as tags compatible
426         with ctags.
427         * budbg.h: Adjust prototype.
428         * NEWS: Mention new switch
430 2003-07-18  Nick Clifton  <nickc@redhat.com>
432         * objdump.c (main) :Accept multiple -M switch.
433         * doc/binutils.texi: Document that multiple -M switches are
434         accepted and that a single -M switch can contain comma
435         separated options.
437 2003-07-17  Nick Clifton  <nickc@redhat.com>
439         * objdump.c (main): Issue a warning message if multiple -M
440         switches are used.
442         * doc/binutils.texi (objdump): Update documentation about -M
443         option.
445 2003-07-17  Nick Clifton  <nickc@redhat.com>
447         * po/es.po: New Spanish translation.
449 2003-07-11  Alan Modra  <amodra@bigpond.net.au>
451         * po/binutils.pot: Regenerate.
453 2003-07-05  Christopher Faylor  <cgf@redhat.com>
455         * dlltool.c (prefix_encode): Use a fixed length for alpha.
457 2003-07-04  Christopher Faylor  <cgf@redhat.com>
459         * dlltool.c (prefix_encode): New function.  Encode temp file prefix
460         from pid.
461         (dlltmp): Pass address of pointer being alloced or suffer neverending
462         mallocs.
463         (make_one_lib_file): Allocate enough space for new longer stub names.
464         (gen_lib_file): Ditto.
465         (main): Generate the temp file prefix from the pid if prefix was not
466         specified on the command line.
468 2003-07-04  Nick Clifton  <nickc@redhat.com>
470         * readelf.c (get_data): Print (unsigned) hex values for size and
471         offset in error messages.
472         (process_section_headers): If the string table could not be
473         allocated, do not continue.
475 2003-07-01  Jakub Jelinek  <jakub@redhat.com>
477         * readelf.c (dynamic_segment_ia64_val): Print address and newline
478         for sections by default.  Comment fix.
480 2003-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
482         * rcparse.y (res_text_field): New res_id variable.
483         (res_null_text): New static const struct res_id object,
484         with empty unicode name field.
485         (control): Pop parsing of optresidc up one level. Set
486         res_text_field to $2 except for controls which do not accept
487         a text field.  Set res_text_field to res_null_text for the
488         special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
489         (control_params): Adjust to use res_text_field rather
490         than optresidc.
491         (COMBOBOX): Add comment about discrepency between documented
492         vs. observed default style.
493         * resrc.c (define_control): Make first param const.
494         * windres.h (define_control): Adjust prototype.
496 2003-06-27  Nick Clifton  <nickc@redhat.com>
498         * objcopy.c (copy_object): Replace call to
499         bfd_create_gnu_debuglink_section with separate calls to
500         bfd_add_gnu_debuglink_section and
501         bfd_fill_in_gnu_debuglink_section, separated by a walk over the
502         symbol tables.
504 2003-06-26  Roland McGrath  <roland@redhat.com>
506         * readelf.c (loadaddr): Variable removed.
507         (dynamic_info, version_info): Fix type long -> bfd_vma.
508         (program_headers): New variable.
509         (get_program_headers): New function, broken out of
510         process_program_headers.
511         (process_program_headers): Call it.  Don't set `loadaddr'.
512         (slurp_ia64_unwind_table): Use get_program_headers.
513         (process_corefile_note_segments):  Likewise.
514         (offset_from_vma): New function.
515         (process_relocs, process_dynamic_segment): Call that instead of
516         subtracting `loadaddr'.
517         (process_version_sections, process_symbol_table): Likewise.
518         (process_mips_specific): Likewise.
520 2003-06-26  Nick Clifton  <nickc@redhat.com>
522         * objcopy (enum strip_action): Add STRIP_NONDEBUG.
523         (OPTION_ONLY_KEEP_DEBUG): New.
524         (strip_options): Add --only-keep-debug.
525         (copy_options): Likewise.
526         (is_strip_section): Invert return value if STRIP_NONDEBUG is
527         active.
528         (copy_object): Do not copy private data when STRIP_NONDEBUG is
529         active.
530         (setup_section): Likewise.
531         (strip_main): Handle --only-keep-debug.
532         (copy_main): Likewise.
533         * NEWS: Mention new switch
534         * doc/binutils.texi: Document new switch.
536 2003-06-25  Alan Modra  <amodra@bigpond.net.au>
538         * NEWS: Correct spelling of "relocatable".
539         * objdump.c: Likewise.
540         * sysroff.info: Likewise.
542 2003-06-19  Nick Clifton  <nickc@redhat.com>
544         * readelf.c (print_vma): When printing DEC_5 values, if the
545         number is bigger than 99999 switch to using hexadecimal
546         notation.
548 2003-06-11  Nick Clifton  <nickc@redhat.com>
550         * objcopy.c (gnu_debuglink_filename): New variable.
551         (OPTION_ADD_GNU_DEBUGLINK): New switch
552         (copy_options): Describe --add-gnu-debuglink switch.
553         Mention that --strip-debug removes sections as well.
554         (is_strip_section): Process the sections removed and kept
555         lists before checking for debugging sections.
556         (add_redefine_syms_file): Make function static.
557         (copy_object): Use is_strip_section.
558         Check to see if a .gnu_debuglink section should be added.  If
559         so, call bfd_add_gnu_debuglink.
560         (setup_section): Use is_strip_section.
561         (copy_section): Use is_strip_section.
562         (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
563         * NEWS: Mention new objcopy switch.
564         * doc/binutils.texi: Document new switch.
566 2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
568         * po/Make-in (DESTDIR): New.
569         (install-data-yes): Support $(DESTDIR).
570         (uninstall): Likewise.
572 2003-06-11  Alan Modra  <amodra@bigpond.net.au>
574         * Makefile.in: Regenerate.
576 2003-05-23  Jakub Jelinek  <jakub@redhat.com>
578         * readelf.c (get_segment_type): Handle PT_GNU_STACK.
580 2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
582         * NEWS: Document the new BSD/POSIX single-character mapping for
583         .comment/.note sections.
585 2003-06-02  Chris Demetriou  <cgd@broadcom.com>
586             Jason Thorpe  <thorpej@wasabisystems.com>
588         * objcopy.c (redefine_list_append): Add an argument that
589         indicates the context from which this function is being
590         called.  Change all callers.
591         (copy_options): Add a new option, --redefine-syms.
592         (copy_usage): Document new option.
593         (copy_main): Handle the --redefine-syms option.
594         * doc/binutils.text (objcopy): Document new option.
596 2003-05-31  Richard Henderson  <rth@redhat.com>
598         * readelf.c (byte_get_signed): New.
599         (get_encoded_value): New.
600         (display_debug_frames): Use it.  Always pre-process opcodes.
602 2003-05-20  Michal Ludvig  <mludvig@suse.cz>
604         * readelf.c (display_debug_frames): Print both registers
605         for DW_CFA_register.
607 2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
609         * configure.in: Accept i[3-7]86 variants. Escape '[]' for
610         i[3-7]86-*-interix.
611         * configure.in: Regenerate.
613 2003-05-13  Michael Eager <eager@mvista.com>
615         * objcopy.c: Treat identical src/dst file names as if only one
616         entered.  One Windows creating an output file of the same name as
617         the input file will delete the input file before it is read.
619 2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
621         * debug.c (debug_get_real_type): Extend test for circular debug
622         references.
624 2003-05-12  Nick Clifton  <nickc@redhat.com>
626         * configure.in (ALL_LINGUAS): Add zh_CN.
627         * configure: Regenerate.
628         * po/zh_CN.po: New file: Chinese (simplified) translation.
630 2003-05-11  Jason Eckhardt  <jle@rice.edu>
632         * MAINTAINERS: Update my mail address.
634 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
636         * readelf.c (dump_relocations): Enlarge the type field in wide
637         mode by one character.
639 2003-05-03  Richard Henderson  <rth@redhat.com>
641         * readelf.c (struct Frame_Chunk): Add cfa_exp.
642         (frame_display_row): Just print "exp" for cfa or register
643         defined by a location expression.
644         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
645         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
647 2003-04-30  H.J. Lu <hjl@gnu.org>
649         * objdump.c (only): Change it to char **.
650         (only_size): New.
651         (only_used): New.
652         (disassemble_data): Check only as an array.
653         (dump_data): Likewise.
654         (dump_relocs): Likewise.
655         (main): Treat only as an array.
657 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
659         * doc/binutils.texi: Fix the documentation for the -fo option.
661 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
663         * readelf.c (get_machine_name) <EM_SH>: Amend return value
664         to refer to SuperH.
666         * readelf.c (decode_location_expression): Don't add a trailing ';'.
668 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
669             Nick Clifton  <nickc@redhat.com>
671         * windres.c (long_options): Move close to main, where it is used.
672         Add 'input' and 'output' long options.
673         (main): Accept "-fo" as an alias for "-o".  This is for rc
674         comptibility.
675         * doc/binutils.texi: Mention that -fo is accepted as an alias for
676         -o, but discourage its use.
678 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
680         * windres.c (format_from_name): Make the exit on error
681         behaviour optional.
682         (main): Rename the -I option to -J. Introduce -I as a synonym
683         for --include-dir.  For backwards compatibility also support the
684         old -I behaviour, but issue a deprecation warning.
685         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
686         of the -I option.
688 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
690         * readelf.c: Replace references to Mitsubishi M32R with
691         references to Renesas M32R.
693 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
695         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
697 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
699         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
700         for debugging information types not supported by objdump.
702 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
704         * configure.in: Recognize canonical form of i[3-6]86-pe*.
705         * configure: Regenerate.
707 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
709         * readelf.c (display_debug_info): Apply RELA relocations on the
710         entire section.
711         (byte_put_little_endian, byte_put_big_endian): New functions.
712         (byte_put): New variable.
713         (get_file_header): Initialize it.
715 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
717         * windres.c: Add -l for compatibility with wrc, and rc.
718         Use the short option as a key for long options that have
719         a synonymous short option.
720         * doc/binutils.texi: Added -l to the list of options.
722 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
724         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
725         (main): Just pass the -U option down to the preprocessor.
726         * doc/binutils.texi: Added -U to the list of options.
728 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
730         * windres.c (usage): Report -r option.
731         (main): Ignore the -r option.
732         * doc/binutils.texi: Add -r to the list of options.
734 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
736         * MAINTAINERS: Add myself as Xtensa maintainer.
738 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
740         * readelf.c: Include "elf/xtensa.h".
741         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
742         targets that use RELA relocations.
743         (dump_relocations): Call elf_xtensa_reloc_type for
744         EM_XTENSA and EM_XTENSA_OLD.
745         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
747 2003-04-01  Nick Clifton  <nickc@redhat.com>
749         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
750         thumb-pe*, mcore-pe and mcore-*elf.
751         * configure: Regenerate.
753 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
755         * objdump.c (dump_data): Don't truncate the address to long; make
756         the width large enough, and uniform for all entries in a section.
758 2003-03-31  H.J. Lu <hjl@gnu.org>
760         * readelf.c: Include "libiberty.h".
761         (dynamic_relocations): New.
762         (process_relocs): Properly handle dynamic relocation.
763         (process_dynamic_segment): Fill relocation elements in
764         dynamic_info.
766 2003-03-31  Kevin Buettner <kevinb@redhat.com>
768         * readelf.c (read_and_display_attr, read_and_display_attr_value):
769         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
770         all callers.
771         (display_debug_lines, display_debug_pubnames, display_debug_info)
772         (display_debug_aranges, display_debug_frames, read_and_display_attr)
773         (read_and_display_attr_value): Add 64-bit DWARF support.
775 2003-03-31  Ian Lance Taylor <ian@airs.com>
777         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
778         (optresid): Handle a resource id that can be a string or a number.
779         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
780         struct res_id.
781         (define_icon_control): Pass a struct res_id to define_control.
782         * windres.h (define_control): Change prototype.
784 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
786         * objcopy (OPTION_FORMATS_INFO): Define.
787         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
788         (copy_options): Likewise.
789         (strip_usage): Add "--info" to usage.
790         (copy_usage): Likewise.
791         (strip_main): Declare formats_info. Iniatilize it to FALSE.
792         Handle "info".
793         (copy_main). Likewise.
794         * doc/binutils.texi. Document the "--info" option for
795         objcopy/strip.
796         * NEWS: Mention the new command line switch.
798         * objdump.c (endian_string): Move to bucomm.c.
799         (display_info): Likewise.
800         (display_target_list): Likewise.
801         (display_info_table): Likewise.
802         (display_target_tables): Likewise.
803         (main): Assign the return value of display_info to exit_status.
804         * bucomm.c: Include bfdver.h and libbfd.h
805         (display_target_list): Call bfd_nonfatal instead of nonfatal and
806         return 0 on a non-fatal error, 1 on success.
807         (display_info_table): Likewise.
808         * bucomm.h (display_info): Provide a prototype.
809         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
810         libbfd.h.
811         * Makefile.in: Regenerate.
813 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
815         * dlltool.c (gen_def_file): Put demangled name comments on
816         own line preceding export name.
818 2003-03-17  Nick Clifton  <nickc@redhat.com>
820         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
821         printf for emitting new lines.
823 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
825         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
826         the symbol's value when --size-sort is used, unless -S is used.
827         doc/binutils.texi (--size-sort): For non-bsd formats both the
828         value and size of the symbols are displayed.
830 2003-03-13  Nick Clifton  <nickc@redhat.com>
832         * po/da.po: Update.
834 2003-03-12  Nick Clifton  <nickc@redhat.com>
836         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
838 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
840         * MAINTAINERS: Update my mail address.
842 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
844         * stabs.c (BYTES_IN_WORD): Remove definition.
845         * wrstabs.c (BYTES_IN_WORD): Likewise.
847 2003-03-04  Nick Clifton  <nickc@redhat.com>
849         * nm.c (main): Print a warning message if --size-sort and
850         --undefined-only are used together.
852 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
854         * nm.c (print_symbol): Remove check for undefined_only.
856 2003-03-03  Nick Clifton  <nickc@redhat.com>
858         * po/da.po: Installed latest translation.
860 2003-02-24  Nick Clifton  <nickc@redhat.com>
862         * README: Update binutils references to 2.13.
863         Add paragraph about using --disable-nls.
865 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
867         * doc/binutils.texi (nm --size-sort): Update.
869 2003-02-21  James E Wilson  <wilson@tuliptree.org>
871         * MAINTAINERS: Update email address.
873 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
875         * readelf.c (get_ia64_dynamic_type): New function.
876         (dynamic_segment_ia64_val): New function.
877         (get_dynamic_type): If machine type is EM_IA_64 call
878         get_ia64_dynamic_val.
879         (get_ia64_section_type_name): Handle sections with types in the
880         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
881         (get_dynamic_flags): If machine type is EM_IA_64 call
882         dynamic_segment_ia64_val.
884 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
886         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
887         section title capitalization more consistent.  Update descriptions
888         of various options to be consistent with the code.  Fix errors and
889         incomplete list in the description of c++filt format options.  Remove
890         information about the linker.  Change to be more polite about poor
891         bug reports.  Replace FDL appendix with include of fdl.texi.
892         * doc/fdl.texi: New file.
894 2003-02-21  Roger Sayle  <roger@eyesopen.com>
896         * objcopy.c (filter_symbols): Fix compilation problems with
897         HP-UX's C compiler.
899 2003-02-19  Christopher Faylor  <cgf@redhat.com>
901         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
902         previous change.
904 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
906         * rclex.l (handle_quotes): Handle strings spanning more than one line.
908 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
910         * nm.c (usage): Add `java' and `gnat' demangle styles and make
911         quotes consistent.
912         * objdump.c (usage): Ditto.  Also fix some typos.
914         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
916         * debug.c (debug_record_variable): Handle global register variables.
918         * stabs.c (parse_stab): For N_SLINE only include
919         function_start_offset if the symbol is within a function;
920         otherwise, the value is absolute.
922 2003-02-10  Nick Clifton  <nickc@redhat.com>
924         * readelf.c (decode_ARM_machine_flags): Handle the
925         EF_ARM_MAVERICK_FLOAT flag.
927 2003-02-04  Andreas Schwab  <schwab@suse.de>
929         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
930         long and use %ld in printf format.
932 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
934         * readelf.c (dump_relocations): Reorder the r_info field for
935         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
937 2003-01-21  Daniel Berlin  <dan@dberlin.org>
939         * readelf.c (display_debug_loc): Skip address base changes.
941 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
943         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
944         and ELFOSABI_NSK.
946 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
948         * readelf.c: Include elf/ppc64.h.
949         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
950         * Makefile.am: Run "make dep-am".
951         * Makefile.in: Regenerate.
953 2003-01-02  Ben Elliston  <bje@redhat.com>
955         * readelf.c (guess_is_rela): Handle EM_IQ2000.
956         (get_machine_name): Likewise.
957         (dump_relocations): Likewise.
958         * NEWS: Mention IQ2000 support.
960 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
962         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
964 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
966         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
967         changes in MIPS -M options.
969 2002-12-30    Dmitry Diky <diwil@mail.ru>
971         * Makefile.am: Add msp430 target.
972         * Makefile.in: Regenerate.
973         * readelf.c: Add support for msp430 target.
975 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
977         * doc/binutils.texi (objdump): Document MIPS -M options.
979 2002-12-23  Andreas Schwab  <schwab@suse.de>
981         * readelf.c (main): Reset dump request after each file.
983 2002-12-23  Nick Clifton  <nickc@redhat.com>
985         * nlmconv.c (main): Pass TRUE as third argument to
986         bfd_arch_get_compatible.
988 2002-12-23  Nick Clifton  <nickc@redhat.com>
990         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
991         macro.  Handle 'S' encoding, accepting 8-bit characters.
992         (main): Parse 'S' encoding.
993         (get_char): Accept 'S' encoding.
994         (print_strings): Use STRING_ISGRAPHIC.
995         (usage): Document support of 'S' encoding.
996         * doc/binutils.texi: Document support of 'S' encoding/
997         * NEWS: Mention new feature.
999 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
1001         * README <building ar>: Don't use libibery's needed_list or
1002         required_list, instead link libiberty/*.o.
1004 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
1006         * doc/binutils.texi: Fix typos.
1008 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1010         * doc/binutils.texi: Add missing parenthesis.
1012 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
1014         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
1015         symbols by adding the given prefix to the begining of the symbol
1016         name. This is useful to provide name space separation regardless
1017         of how the object file was created. Added --prefix-sections=
1018         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
1019         sections (or all sections with the alloc flag set) by adding the given
1020         prefix to the begining of the symbol name.
1021         * NEWS: Mention this new feature.
1022         * doc/binutils.texi: Document this new feature.
1024 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
1026         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
1027         dyn_string_append with dyn_string_append_cstr.
1029         * emul_aix.c (ar_emul_aix_create): Remove unused function.
1031 2002-12-10  James Cownie <jcownie@etnus.com>
1033         * readelf.h (get_TAG_name, get_AT_name,
1034         read_and_display_attr_value): Add support for UPC extensions to
1035         DWARF2 spec.
1036         * NEWS: Mention this new support.
1038 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
1040         * NEWS: Mention that bfd no longer declares a "boolean" type.
1042 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
1044         * readelf.c (process_program_headers): When setting loadaddr, don't
1045         assume segment size is 4k.  Use p_align instead.
1046         (loadaddr): Change from int to long.
1047         (dynamic_addr, dynamic_info, version_info): Likewise.
1048         (process_dynamic_segment <syminsz>): Likewise.
1049         (process_dynamic_segment): Adjust print format string.
1050         (rela_addr, rela_size): Delete.
1051         (process_relocs): Formatting.
1053 2002-12-05  Jim Wilson  <wilson@redhat.com>
1055         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
1056         * configure: Regenerate.
1058 2002-12-04  Ian Lance Taylor  <ian@airs.com>
1060         * MAINTAINERS: Change e-mail address back to airs.com.
1062 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
1064         * MAINTAINERS: Add self.
1066 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
1068         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
1069         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
1070         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
1071         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
1072         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
1073         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
1074         with TRUE/FALSE.  Formatting.
1076 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
1078         * readelf.c Replace occurrences of Elf32_Internal_* and
1079         Elf64_Internal_* with Elf_Internal_*.
1080         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1081         Zero r_addend fields.
1082         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1083         Elf_Internal_Rela.
1085 2002-11-23  Nick Clifton  <nickc@redhat.com>
1087         * size.c (usage): Fix typo describing switch for hex format.
1089 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
1091         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1092         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1093         testcase
1095 2002-11-14  Nick Clifton  <nickc@redhat.com>
1097         * readelf.c (process_program_headers): Add comment about return
1098         value.  Ensure that 0 is returned if the headers are not loaded.
1099         (process_file): If process_section_headers failed to load the
1100         headers disable any tests that rely upon them.  Similarly for
1101         process_program_headers.
1103 2002-11-12  Nick Clifton  <nickc@redhat.com>
1105         * po/da.po: Updated Danish translation.
1107 2002-11-12  Klee Dienes  <kdienes@apple.com>
1109         * rddbg.c (read_section_stabs_debugging_info): Also recognize
1110         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1112 2002-11-11  Christopher Faylor  <cgf@redhat.com>
1114         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
1115         cgf maintainership.
1117 2002-11-11  Christopher Faylor  <cgf@redhat.com>
1119         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1121 2002-11-07  Nick Clifton  <nickc@redhat.com>
1123         * configure.in (ALL_LINGUAS): Add 'da'.
1124         * configure: Regenerate.
1125         * po/da.po: New Danish translation.
1127         * readelf.c (get_symbol_index_type): Revert part of previous
1128         patch: Display unknown symbol types in decimal, not hex.
1130 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
1132         * dlltool.c (add_excludes): Don't prefix excluded fastcall
1133         symbols with underscore.
1134         (xlate): Ignore add_underscore for decorated fastcall symbols.
1136 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
1138         * deflex.l: Accept '@' as first character of an ID.
1139         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1140         ASM_PREFIX for fastcall symbols.
1141         (scan_drectve_symbols): Handle fastcall symbols when generating
1142         undecorated aliases for symbols in drectve section.
1143         (scan_filtered_symbols): Likewise, with export-all.
1144         (xlate): Likewise, with --kill-at.
1145         (make_imp_label): New function to handle fastcall symbols
1146         correctly.
1147         (make_one_lib_file): Use make_imp_label instead of make_label
1148         for imp symbols.
1150 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
1152         * MAINTAINERS: Add self as TIC4X maintainer.
1154 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
1156         * readelf.c (get_symbol_index_type): Add hex number to
1157         PROCESSOR-specific, OS-specific, reserved and unknown symbol
1158         types.
1160 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
1162         * readelf.c (byte_get_little_endian): Comment typo fix.
1163         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
1164         as the format string.
1165         (dump_relocations): Correct section sym names.
1166         (process_section_headers): Clear symtab_shndx_hdr.
1167         (read_and_display_attr_value): Don't pass indirect string to printf
1168         as the format string.
1169         (display_debug_frames): Indicate when zero terminator found.  Decode
1170         DW_EH_PE_pcrel addresses.
1172 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
1174         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1175         order to ensure proper disassembly of the valid 0-value opcode.
1176         * configure: Regenerate.
1177         * aclocal.m4: Regenerate.
1178         * config.in: Regenerate.
1179         * configure.in: Regenerate.
1180         * doc/Makefile.in: Regenerate.
1181         * po/binutils.pot: Regenerate.
1183 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1185         * MAINTAINERS: Add self as SH maintainer.
1187 2002-10-23  Ben Elliston  <bje@redhat.com>
1189         * doc/binutils.texi (objdump): Document -z and move the entry for
1190         --disassemble-zeroes to the end of the options section (for `z').
1192 2002-10-21  Nick Clifton  <nickc@redhat.com>
1194         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1196 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
1198         * objdump.c (dump_data): Correct addr_offset for opb != 1.
1200 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
1202         * bucomm.c (list_supported_targets): Use bfd_target_list.
1204         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1205         other object errors in preference to bfd_core errors.
1207 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
1209         * Makefile.am: Run "make dep-am".
1210         * objdump.c: #include "bfdver.h".
1211         * version.c: Likewise.
1212         * Makefile.in: Regenerate.
1213         * config.in: Regenerate.
1214         * configure: Regenerate.
1215         * po/POTFILES.in: Regenerate.
1217 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
1219         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1220         sections.  Allow relocations against the absolute symbol.  Don't
1221         use the value in compunit.cu_abbrev_offset if we found a RELA
1222         relocation.
1224 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
1226         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1227         ordinary ones are available.
1229 2002-09-30  H.J. Lu <hjl@gnu.org>
1231         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1232         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1234 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
1236         * Makefile.am (CFILES): Add cxxfilt.c.
1237         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1238         (cxxfilt_LDADD): Delete.
1239         Remove all references to underscore.c.
1240         Regen dependencies.
1241         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1242         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1243         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1244         adjustments to fit into binutils framework.
1245         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1247 2002-09-12  Roland McGrath  <roland@redhat.com>
1249         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1250         Handle DW_OP_GNU_push_tls_address.
1252 2002-09-11  Nick Clifton  <nickc@redhat.com>
1254         * po/tr.po: Updated Turkish translation.
1256 2002-09-10  Nick Clifton  <nickc@redhat.com>
1258         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1259         testsuite changes.  Add paragraphs about testsuite and config
1260         patches.
1262 2002-08-29  Nick Clifton  <nickc@redhat.com>
1264         * readelf.c (get_machine_flags): Remove redundant reference to
1265         E_V850EA_ARCH.
1267 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
1269         * objdump.c (dump_bfd): Restore lines accidentally deleted in
1270         last commit.
1272 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1274         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1275         (dump_bfd_header): Likewise.
1277 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
1279         * nm.c: Revert last change.
1281 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
1283         * nm.c (display_rel_file): Don't report "no symbols" as an error.
1284         * objdump.c (slurp_symtab): Likewise.
1285         (slurp_dynamic_symtab): Likewise.
1286         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
1288 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
1290         * MAINTAINERS: Change my mailing address.
1292 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1294         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1296 2002-08-22  Nick Clifton  <nickc@redhat.com>
1298         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1299         HPPA.
1301 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1303         * readelf.c (parse_args): Change debug_dump_opt to static.
1305 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
1307         * stabs.c (parse_stab_argtype): Pass length of physname to
1308         stab_demangle_argtypes.
1309         (stab_demangle_argtypes): Add new parameter - length of physname.
1310         Pass length of physname on to stab_demangle_prefix.
1311         (stab_demangle_prefix): Add new parameter - length of physname.
1312         Use length of physname (if supplied) to compute end of function
1313         name.
1315 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
1317         * readelf.c: Include elf/i370.h.
1318         (dump_relocations): Handle EM_S370.
1319         (dynamic_segment_parisc_val): Print \n.
1320         (process_dynamic_segment <DT_BIND_NOW>): Here too.
1322 2002-08-14  Nick Clifton  <nickc@redhat.com>
1324         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1325         * objdump.c (usage): Likewise.
1326         * doc/binutils.texi: Likewise.
1328 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
1330         * rcparse.y (acc_entry): Don't warn about ALT use with
1331         non-VIRTKEY.
1333 2002-08-13  H.J. Lu <hjl@gnu.org>
1335         * objcopy.c (copy_object): Don't warn about the unsupported
1336         architecture unless the input target is defaulted or the
1337         output architecture is different from the input.
1339 2002-08-09  Nick Clifton  <nickc@redhat.com>
1341         * po/sv.po: Updated Swedish translation.
1343 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
1345         * prdbg.c (pr_fix_visibility): Remove assert.
1347 2002-07-31  Nick Clifton  <nickc@redhat.com>
1349         * addr2line.c (process_file): Rename parameter 'filename' to
1350         'file_name' in order to avoid shadowing global symbol of the
1351         same name.
1352         (main): Likewise.
1354 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
1356         * readelf.c (OPTION_DEBUG_DUMP): Define.
1357         (options): Use it.
1358         (usage): Update help.
1359         (parse_args): Handle --debug-dump separately from -w.
1360         * doc/binutils.texi (readelf): Update documentation.
1362 2002-07-25  Nick Clifton  <nickc@redhat.com>
1364         * po/es.po: Updated Spanish translation.
1365         * po/fr.po: Updated French translation.
1367 2002-07-24  Nick Clifton  <nickc@redhat.com>
1369         * po/es.po: Updated Spanish translation.
1371 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
1373         * Makefile.am: Run "make dep-am".
1374         * Makefile.in: Regenerate.
1376 2002-07-23  Nick Clifton  <nickc@redhat.com>
1378         * po/fr.po: Updated French translation.
1380 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
1382         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1384 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
1386         * budemang.c: Include config.h and string.h/strings.h.
1388 2002-07-18 Denis Chertykov  <denisc@overta.ru>
1389            Frank Ch. Eigler  <fche@redhat.com>
1391         * readelf.c: Include "elf/ip2k.h".
1392         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1393         (dump_relocations): Likewise.
1394         (get_machine_name): Likewise.
1395         * NEWS: Mention IP2K support.
1397 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
1399         * NEWS: Add 'Changes in 2.13'.
1401 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
1403         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1404         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1405         (get_section_type_name): Handle SHT_GNU_LIBLIST.
1406         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1407         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1408         (process_gnu_liblist): New.
1409         (process_file): Call it.
1411 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
1413         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1414         * Makefile.in: Regenerate.
1416 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
1418         * budemang.c: New file, "demangle" function.
1419         * budemang.h: New file.
1420         * addr2line.c (translate_addresses): Use "demangle".
1421         * nm.c (print_symname): Likewise.
1422         * objdump.c (objdump_print_symname): Likewise.
1423         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
1424         here since that obfuscates.
1425         * rdcoff.c: Don't #include demangle.h.
1426         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1427         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
1428         (HFILES): Add budemang.h.  Sort.
1429         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1430         Run "make dep-am".
1431         * Makefile.in: Regenerate.
1433 2002-07-01  Matt Thomas  <matt@3am-software.com>
1435         * readelf.c: Include "elf/vax.h".
1436         (guess_is_rela): Move EM_VAX from unknown to RELA case.
1437         (dump_relocations): Handle VAX relocations.
1438         (get_machine_flags): Handle VAX machine flags.
1440 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
1442         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1444 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
1446         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1448 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
1450         * nm.c (print_symname): When demangling, strip leading dots from
1451         symbol names to avoid confusing the demangler.
1453 2002-06-25  H.J. Lu <hjl@gnu.org>
1455         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1456         * Makefile.in: Regenerated.
1458 2002-06-21  Igor Schein  <igor@txc.com>
1460         * configure.in: Quote bu_cv_have_fopen64.
1461         * configure: Regenerate.
1463 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
1465         * configure.in: Check for strcoll.
1466         * configure: Regenerate.
1467         * config.in: Regenerate.
1468         * nm.c (main): Set locale for LC_COLLATE category.
1469         (non_numeric_forward): Use strcoll if available.
1471 2002-06-20  Dave Brolley  <brolley@redhat.com>
1473         * MAINTAINERS: Add self as fr30 and frv maintainer.
1475 2002-06-18  H.J. Lu  (hjl@gnu.org)
1477         * nm.c: Include "elf/common.h".
1478         (extended_symbol_info): Add elfinfo, a pointer to
1479         elf_symbol_type.
1480         (SYM_SIZE): Use elfinfo if it is not NULL.
1481         (get_symbol_type): New function.
1482         (display_archive): Set print_width for each archive member.
1483         (display_file): Likewise.
1484         (display_rel_file): Don't set print_width here.
1485         (print_object_filename_sysv): Handle print_width.
1486         (print_archive_member_sysv): Likewise.
1487         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1488         (print_symbol): Set the elfinfo field in extended_symbol_info
1489         for ELF.
1490         (print_object_filename_sysv): Fix the output format.
1491         (print_symbol_info_sysv): Print type and section for ELF.
1493 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
1495         * nm.c (print_size_symbols): Remove assignment, which makes
1496         the symbol's size equal to its value when --size-sort is
1497         used.
1499 2002-06-18  Dave Brolley  <brolley@redhat.com>
1501         From Catherine Moore:
1502         * readelf.c (elf/frv.h): #include it.
1503         (guess_is_rela): Support EM_CYGNUS_FRV.
1504         (dump_relocations): Ditto.
1505         (get_machine_name): Ditto.
1506         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1508 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
1510         * readelf.c (get_file_header): Only read the first section header if
1511         e_shoff is non-zero.
1513 2002-06-15  H.J. Lu  (hjl@gnu.org)
1515         * nm.c (print_size): New variable. Initialize to 0.
1516         (long_options): Add 'S'/"print-size".
1517         (main): Handle 'S'.
1518         (print_symbol_info_bsd): Print size only if print_size is not
1519         0.
1521         * doc/binutils.texi: Document -S/--print-size.
1523 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
1525         * nm.c (struct extended_symbol_info): New structure: Add the size
1526         of the symbols to the information provided by the symbol_info
1527         structure.
1528         (print_symbols): Pass the symbol size to print_symbol.
1529         (print_size_symbols): Pass the symbol size to print_symbol.
1530         (print_symbol): Extra argument: The size of the symbol.  Store
1531         this in the extended_symbol_info structure.
1532         (print_symbol_info): Change type of info parameter to
1533         extended_symbol_info.  Display the size, if known.
1534         (print_symbol_info_posix): Likewise.
1535         (print_symbol_info_sysv): Likewise.
1537 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
1539         * Makefile.am: Run "make dep-am".
1540         * Makefile.in: Regenerate.
1541         * doc/Makefile.in: Regnerate.
1543         * bucomm.c: Replace CONST with const.
1544         * nm.c: Likewise.
1545         * objdump.c: Likewise.
1547 2002-06-07  H.J. Lu <hjl@gnu.org>
1549         * readelf.c (DW_CFA_GNU_args_size): Don't define.
1550         (DW_CFA_GNU_negative_offset_extended): Likewise.
1551         (DW_CFA_GNU_window_save): Likewise.
1552         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1553         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1555 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
1557         * nm.c: When computing size of symbols for an ELF target use the
1558         internal size field.
1560 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1562         * testsuite/binutils-all/objcopy.exp: clear xfail for
1563         "hppa*64*-*-hpux*".
1564         * testsuite/binutils-all/hppa/objdump.exp: Return if
1565         "*64*-*-*".
1567 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
1569         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1571 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
1573         * objdump.c: Fix formatting.
1575 2002-05-29  Ben Elliston  <bje@redhat.com>
1577         * MAINTAINERS: Add self as M68k maintainer.
1579 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
1581         * readelf.c: Modified/Added DLX elf support.
1583 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
1585         * arsup.c: Fix formatting.
1586         * debug.c (debug_record_label): Add missing colon to error
1587         message.
1588         * ieee.c (parse_ieee_ty): Fix spelling typo.
1589         * readelf.c (process_program_headers): Remove English assumption
1590         about making a plural word.
1591         (process_section_headers): Likewise.
1592         (process_relocs): Allow quotes to be translated.
1593         (process_unwind): Likewise,
1594         (process_mips_specific): Improve error message.
1595         (get_note_type): Fix spelling typo.
1597         * configure.in (ALL_LINGUAS): Add sv
1598         * po/sv.po: New file.
1600 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
1602         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1603         (unw_print_grmask): Likewise.
1604         (unw_print_frmask): Likewise.
1606 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
1608         * arsup.c: Remove ARGSUSED.
1609         * debug.c: Likewise.
1610         * ieee.c: Likewise.
1611         * nlmconv.c: Likewise.
1612         * prdbg.c: Likewise.
1613         * stabs.c: Likewise.
1614         * wrstabs.c: Likewise.
1616 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
1618         * arlex.l: Use #include "" instead of <> for local header files.
1619         * coffdump.c: Likewise.
1620         * coffgrok.c: Likewise.
1621         * nlmconv.c: Likewise.
1622         * nlmheader.y: Likewise.
1623         * srconv.c: Likewise.
1624         * strings.c: Likewise.
1625         * sysdump.c: Likewise.
1626         * unwind-ia64.h: Likewise.
1627         * windres.h: Likewise.
1628         * winduni.h: Likewise.
1630 2002-05-24  Tom Rix  <trix@redhat.com>
1632         * MAINTAINERS: Add self as the d10v maintainer.
1634 2002-05-24   TAMURA Kent <kent@netbsd.org>
1636         * configure.in: Builds dlltool for i386-netbsdpe.
1637         * configure: Regenerate.
1639 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1641         * size.c: Fix formatting.
1642         * srconv.c: Likewise.
1643         * stabs.c: Likewise.
1644         * sysdump.c: Likewise.
1645         * unwind-ia64.c: Likewise.
1646         * wrstabs.c: Likewise.
1648 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1650         * readelf.c (get_segment_type): Add PT_TLS.
1651         (get_elf_section_flags): Add SHF_TLS.
1652         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1653         (process_dynamic_segment): Use puts instead of printf.
1654         (get_symbol_type): Support STT_TLS.
1655         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1656         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1657         Add SEC_THREAD_LOCAL.
1659 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1661         * rdcoff.c: Fix formatting.
1662         * rddbg.c: Likewise.
1663         * readelf.c: Likewise.
1664         * rename.c: Likewise.
1665         * resbin.c: Likewise.
1666         * resrc.c: Likewise.
1667         * resres.c: Likewise.
1669 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1671         * filemode.c: Fix formatting.
1672         * ieee.c: Likewise.
1673         * is-ranlib.c: Likewise.
1674         * is-strip.c: Likewise.
1675         * maybe-ranlib.c: Likewise.
1676         * maybe-strip.c: Likewise.
1677         * nlmconv.c: Likewise.
1678         * nm.c: Likewise.
1679         * not-ranlib.c: Likewise.
1680         * not-strip.c: Likewise.
1681         * objcopy.c: Likewise.
1682         * objdump.c: Likewise.
1684 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1686         * objdump.c (dump_headers): Fix output formatting for ELF32
1687         architectures in a BFD64 enabled toolchain.
1689 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1691         * debug.c: Fix formatting.
1692         * debug.h: Likewise.
1693         * dlltool.c: Likewise.
1694         * dllwrap.c: Likewise.
1695         * emul_aix.c: Likewise.
1696         * emul_vanilla.c: Likewise.
1698 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1700         * addr2line.c: Fix formatting.
1701         * ar.c: Likewise.
1702         * arsup.c: Likewise.
1703         * arsup.h: Likewise.
1704         * binemul.c: Likewise.
1705         * binemul.h: Likewise.
1706         * bucomm.c: Likewise.
1707         * coffdump.c: Likewise.
1708         * coffgrok.c: Likewise.
1709         * coffgrok.h: Likewise.
1711 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1713         * MAINTAINERS: Add myself as the second AVR port maintainer.
1715 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1717         * MAINTAINERS: Update my email address.
1719 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1721         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1723 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1725         * configure.in: Replace `*pe' with `pe' throughout.
1726         * configure: Regenerate.
1728 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1730         * Makefile.am: Honour DESTDIR.
1731         * Makefile.in: Regenerate.
1733 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1735         * dlltool.c (process_def_file): Add missing prototype.
1736         (new_directive, assemble_file, main): Likewise.
1737         (process_def_file, new_directive): Make static.
1738         (inform): Rewrite using VA_FIXEDARG.
1739         * dllwrap.c (mybasename): Add missing prototype.
1740         (strhash, main): Likewise.
1741         (inform): Rewrite using VA_FIXEDARG.
1742         (warn): Likewise.
1743         (cleanup_and_exit): Use old style function definition.
1744         (strhash): Likewise.
1745         * windres.c (define_resource): Use one memset to clear all of
1746         struct res_resource.
1748         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1749         call to rules that need no lookahead.  Check for no lookahead.
1751 2002-05-06  Borut Razem  <borut.razem@siol.net>
1753         * rclex.l (get_string): Correct "strings" list handling.
1754         * resrc.c (read_rc_file): Discard strings.
1756 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1758         * ar.c (replace_members): Remove unused var.  Formatting fix.
1759         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1761         * MAINTAINERS: Sort port maintainers by CPU.
1763 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1765         * size.c (display_archive): Add last_arfile and code to close archives.
1767 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1769         * nm.c (print_symbol): Check returned filename from
1770         bfd_find_nearest_line is non-NULL.
1772 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1774         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1776 2002-04-24  Christian Groessler <chris@groessler.org>
1778         * MAINTAINERS: Changed my email address.
1780 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1782         * arparse.y: Fix syntax warning.
1784 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1786         * readelf.c (fetch_location_list): Remove unused function.
1788         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1789         and display a warning message, then exit the loop.
1791         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1793 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1795         * resrc.c (write_rc_dialog): If charset is non-default value
1796         display all of the DIALOGEX parameters.
1798 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1800         * rcparse.y: Allow two to five parameter in FONT statement of
1801         DIALOGEX resources.
1802         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1803         resource data.
1804         (res_to_bin_dialog): Likewise.
1805         * windres.h: Added misssing charset variable to dialog_ex
1806         structure.
1808 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1810         * rcparse.y: Set MEMFLAG_PURE by default.
1812 2002-04-09  Bernd Herd <info@herdsoft.com>
1814         * rcparse.y: CLASS definitions in DIALOG resources
1815         are quoted.
1816         Fix typo in BEDIT warning.
1817         Don't add default dialog style when explicit style specified.
1818         Add WS_CAPTION dialog style if CAPTION is specified.
1820         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1821         (handle_quotes) "\a" escape (used for right justified key
1822         definitions in menus) is encodes as binary 8.
1824         * resrc.c (write_rc_dialog): Print style even if it is 0.
1825         (write_rc_directory): Fix overlooked sublang shift bug.
1826         (bin_to_res_dialog): Don't print empty dialog caption.
1828         * resbin.c (bin_to_res_dialog): Use signature to identify
1829         DIALOGEX.
1831         * windres.c (main): Set default LANGUAGE to english/us.
1833 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1835         * resrc.c: print CLASS names in quotes
1837 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1839         * MAINTAINERS: Update my email address.
1841 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1843         * dep-in.sed: Cope with absolute paths.
1844         * Makefile.am (dep.sed): Subst TOPDIR.
1845         Run "make dep-am".
1846         * Makefile.in: Regenerate.
1848 2002-03-27  Peter Targett  <peter.targett@arc.com>
1850         * MAINTAINERS: Update my email address.
1852 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1854         * Makefile.am: Run "make dep-am".
1855         * Makefile.in: Regenerate.
1856         * doc/Makefile.in: Regenerate.
1857         * po/POTFILES.in: Regenerate.
1858         * aclocal.m4: Regenerate.
1859         * config.in: Regenerate.
1860         * configure: Regenerate.
1862 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1864         * readelf.c: Add support for displaying dwarf2 location lists.
1865         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1866         (parse_args): Use 'O' as shorthand for displaying location list
1867         section.
1868         (process_section_headers): Handle debug_loc as well.
1869         (load_debug_loc): New.
1870         (free_debug_loc): New.
1871         (fetch_location_list): New.
1872         (display_debug_loc): New.
1873         (display_debug_info): Call load_debug_loc and free_debug_loc.
1874         (debug_displays): We can display .debug_loc now, too.
1875         (usage): Update usage string.
1876         (read_and_display_attr_value): Note location lists, but don't
1877         display them inline.
1879 2002-03-18  Tom Rix  <trix@redhat.com>
1881         * Makefile.am: Add binutils emulation support.
1882         * configure.in: Same.
1883         * configure.tgt: New file.  Same.
1884         * ar.c (main): Use ar_emul_parse_arg.
1885         (usage): Use ar_emul_usage.
1886         (replace_members): Use ar_emul_replace, ar_emul_append.
1887         * binemul.c: New file.  Define the binutils emulation
1888         layer. Define default methods.
1889         * binemul.h: New file.  Binutils emulation layer header file.
1890         * emul_aix.c: New file.  AIX binutils emulation.
1891         * emul_vanilla.c: New file. Default binutils emulation.
1892         * Makefile.in: Regenerate.
1893         * configure: Same.
1895 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1897         * po/fr.po: Updated version.
1899 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1901         * po/fr.po: Updated version.
1903 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1905         * README: Update some version numbers.
1907 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1909         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1910         (Architecture Selection): Likewise.
1912 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1914         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1915         generating .exp file.
1917 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1919         * readelf.c (dump_relocations): Fix typo.
1921 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1923         * NEWS: Mark 2.12 branch.
1925 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1927         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1928         types for 64-bit MIPS.  Narrow some fields for 80-char
1929         output.
1930         (dump_relocations): Change spelling from 'unrecognised'
1931         to 'unrecognized'.
1932         (decode_ARM_machine_flags): Likewise.
1933         (parse_args): Likewise.
1934         (read_and_display_attr_value): Likewise.
1935         (display_debug_section): Likewise.
1937 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1939         * NEWS: Mention support for MMIX.
1941 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1943         * readelf.c (get_machine_flags): Recognize EF_M68000.
1945 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1947         * MAINTAINERS: Added self as MN10300 co-maintainer.
1949 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1951         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1952         DT_PPC64_OPDSZ.
1954 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1956         * MAINTAINERS: List myself as branch maintainer.
1958 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1960         * configure: Regenerate.
1961         * objcopy.c: Update copyright date.
1962         * doc/Makefile.in: Regenerate.
1964 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1966         * nlmconv.c: Back out localtime PARAMS change.
1968 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1970         * objcopy.c (MKDIR): Define.
1971         (copy_archive): Make name_list.name const.  Use MKDIR.
1972         Handle duplicate files in archives by making more temp dirs.
1974 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1976         * coffdump.c: Include "getopt.h" after "bucomm.h"
1977         so that macros are defined correctly.
1978         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1979         prototype.  Prototype main.
1980         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1982 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1984         * MAINTAINERS: Added self as SH co-maintainer.
1986 2002-02-05  Nick Clifton <nickc@redhat.com>
1988         * po/tr.po: Updated translation.
1990 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1992         * Makefile.am: Run "make dep-am"
1993         * Makefile.in: Regenerate.
1995 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1997         * nm.c (print_value): Mark abfd unused.
1999 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
2001         * unwind-ia64.c (unw_decoder): Change second argument
2002         to unsigned int, to match function prototypes.
2004 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
2006         * objdump.c: Include "getopt.h" after "bucomm.h" so that
2007         __GNU_LIBRARY__ will be defined.
2008         * size.c: Likewise.
2010 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
2012         * configure: Regenerated.
2014 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
2016         * doc/Makefile.am (install): Depend on install-info.
2017         * doc/Makefile.in: Regenerate.
2019 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
2021         * objcopy.c (strip_usage): Document -d as an alias
2022         --strip-debug.
2024         * size.c (usage): Document [-t | --totals] options.
2025         (long_options): Add --totals option.
2026         (main): If the [-t | --totals] option is specified and
2027         the output format is Berkeley-style, print the total
2028         text, data, and bss sizes of all objects listed.
2029         (print_berkeley_format): If the [-t | --totals] option
2030         is specified, track the total text, data, and bss
2031         sizes.
2032         * doc/binutils.texi (size): Document [-t | --totals] options.
2033         (strip): Document -d as an alias for --strip-debug.
2034         * NEWS: Mention new feature of size.
2036 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
2038         * po/fr.po: Updated version.
2039         * po/es.po: Updated version.
2041 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
2043         * addr2line.c (usage): Update text to provide verbose
2044         description of the command line options.
2045         * ar.c (usage): Update text to provide verbose
2046         description of the command line options.
2047         (main): Accept -h and -H when running as ranlib.
2048         * coffdump.c (show_usage): Update text to provide verbose
2049         description of the command line options.
2050         * dlltool.c (main): Accept -H as an alias for --help.
2051         * nlmconv.c (show_usage): Update text to provide verbose
2052         description of the command line options.
2053         * nm.c (usage): Replace OPTIONS with option(s).
2054         (main): Accept -H as an alias for --help.
2055         * objcopy.c (strip_main): Accept -H as an alias for --help.
2056         * objdump.c (main): Accept -v as an alias for --verbose.
2057         * readelf.c (usage): Adjust format to match style used in
2058         other binutils.
2059         * size.c (usage): Update text to provide verbose description
2060         of the command line options.
2061         (main): Accept -v, -h and -H as command line options.
2062         * srconv.c (show_usage): Update text to provide verbose
2063         description of the command line options.
2064         * strings.c (main): Accept -H and -v as command line options.
2065         (usage): Update text to provide verbose description of the
2066         command line options.
2067         * sysdump.c (show_usage): Update text to provide verbose
2068         description of the command line options.
2069         * windres.c (usage): Adjust format to match style used in
2070         other binutils.
2072         * coffdump.c: Fix formatting.
2073         * nlmconv.c: Fix formatting.
2074         * srconv.c: Fix formatting.
2075         * sysdump.c: Fix formatting.
2077 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
2079         * Makefile.am: Run "make dep-am".
2080         * Makefile.in: Regenerate.
2082 2002-01-18  Andreas Jaeger  <aj@suse.de>
2084         * version.c (print_version): Update year.
2086 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
2088         * readelf.c (get_machine_name): Handle EM_PPC64.
2089         (guess_is_rela): Here too.
2091 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2093         * po/binutils.pot: Regenerate.
2094         * po/fr.po: Regenerate.
2095         * po/tr.po: Regenerate.
2097 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
2099         * po/tr.po: Import new version.
2101 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
2103         * readelf.c (get_ppc64_dynamic_type): New.
2104         (get_dynamic_type): Call it.
2106 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
2108         * objcopy.c (copy_usage): Use "options" instead of "switches".
2109         (strip_usage): Use "options" instead of "switches".
2110         * doc/binutils.texi (dlltool):  Refer to "options" instead of
2111         "switches".
2113 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
2115         * MAINTAINERS: Add self as co-maintainer for the ARM code.
2117 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2119         * po/es.po: Import from translation project.
2120         * configure.in (ALL_LINGUAS): Add es.
2121         * configure: Regenerate.
2123 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
2125         * readelf.c (get_netbsd_elfcore_note_type): Use
2126         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2128 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
2130         * readelf.c: Update copyright years.
2131         (get_note_type): Return a const char *.
2132         (get_netbsd_elfcore_note_type): New function.
2133         (process_note): Use get_netbsd_elfcore_note_type to get
2134         the note type string for NetBSD ELF core files.
2136 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
2138         * readelf.c (get_ia64_segment_type): Add support for macros.
2139         (get_segment_type): Add support for IA64 specific macros.
2141 2001-12-20  Julian v. Bock  <julian@wongr.net>
2143         * readelf.c (print_symbol): New function: Print a formatted symbol
2144         name.  If --wide is specified do not truncate it.
2145         (dump_relocations): Use print_symbol() to print symbol names.
2146         (process_symbol_table): Likewise.
2147         (process_syminfo): Likewise.
2148         (process_mips_specific): Likewise.
2149         (usage): Document new feature of --wide switch.
2150         * doc/binutils.texi (objdump): Document additional behaviour of
2151         --wide.
2153 2001-12-18  Michael Snyder  <msnyder@redhat.com>
2155         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
2156         (copy_object): Don't set the start address or flags of a core file.
2157         (copy_section): Don't relocate a core file.  Don't copy contents
2158         if the input section has the contents flag set, but the output
2159         section does not (which happens with the fake 'note' pseudo-
2160         sections that BFD creates for corefiles).
2162 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2164         * readelf.c (get_machine_flags): Recognize header flags for ABI and
2165         ASE extensions. More robust code for ISA checking. Ignore empty fields
2166         in header flags for GNU extensions.
2168 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
2170         * objcopy.c (copy_archive): Set output bfd format outside the loop.
2172 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
2174         * po/ja.po: Import from translation project.
2175         * configure.in (ALL_LINGUAS): Add ja.
2176         * configure: Regenerate.
2178 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2180         * addr2line.c (main): Protoype.
2181         * ar.c (main): Protoype.
2182         * nm.c (main): Protoype.
2183         * objcopy.c (main): Protoype.
2184         * objdump.c (main): Protoype.
2185         * size.c (main): Protoype.
2186         * strings.c (main): Protoype.
2188 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
2190         * readelf.c (symtab_shndx_hdr): New global.
2191         (SECTION_HEADER_INDEX): Define.
2192         (SECTION_HEADER_NUM): Define.
2193         (SECTION_HEADER): Define.
2194         (GET_ELF_SYMBOLS): Pass two params rather than three.
2195         (get_32bit_elf_symbols): Take file and section args.  Read and
2196         use SHT_SYMTAB_SHNDX.
2197         (get_64bit_elf_symbols): Likewise.
2198         (dump_relocations): Use SECTION_HEADER to index "section_headers".
2199         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
2200         Remember symtab_shdx_hdr.
2201         (process_program_headers): Scan from index 1 for segment map.
2202         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
2203         "section_headers".
2204         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
2205         (process_unwind): Likewise.
2206         (process_version_sections): Likewise.
2207         (process_symbol_table): Likewise.
2208         (display_debug_info): Likewise.
2209         (process_dynamic_segment): Fake up a symtab section for changed
2210         GET_ELF_SYMBOLS.
2211         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
2212         (process_program_headers): Kill signed/unsigned warning.
2213         (load_debug_str): Likewise.
2214         (display_debug_info): Likewise.
2216 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
2218         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2220 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
2222         * readelf.c (process_file_header): Print extended e_shnum and
2223         e_shdtrndx values.  Set elf_header values for same.
2224         (get_32bit_section_headers): Add "num" arg to read "num" headers.
2225         (get_64bit_section_headers): Likewise.
2226         (process_section_headers): Update calls.
2227         (get_file_header): Call get_32bit_section_headers or 64bit variant.
2229 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
2231         * objcopy.c (setup_section): Copy entsize.
2233 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
2235         * readelf.c (guess_is_rela): Add support for stormy16.
2236         (dump_relocations): Likewise.
2237         (get_machine_name): Likewise.
2239 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
2241         * dllwrap.c (main) Replace multiple strings describing a
2242         single error with a single, newline escaped sentence to permit
2243         better translation into foreign languages.
2245         * readelf.c (get_elf_class): Remove internalionalisation of ELF
2246         class names.
2248 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2250         * strings.c (get_char): Initialize value.
2252 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2254         * arlex.l: Silence compile warnings.
2255         * arsup.h: Likewise. Fix formatting.
2257 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
2259         * strings.c: Include config.h before bfd.h.
2260         (file_off): New type.
2261         (file_open): Define.
2262         (print_strings): Use file_off instead of file_ptr.  Print addresses
2263         which don't fit into long correctly.
2264         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
2265         available.
2266         (strings_file): Use file_off instead of file_ptr.  Use file_open.
2267         * configure.in: Check for getc_unlocked.
2268         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
2269         be defined for it.
2270         * configure: Rebuilt.
2271         * config.h.in: Rebuilt.
2273 2001-11-29  H.J. Lu <hjl@gnu.org>
2275         * bucomm.c (make_tempname): Revert the changes made on
2276         2001-11-14 and 2001-11-12. They won't work with directories.
2278 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2280         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
2281         CFLAGS_FOR_TARGET to runtest in environment.
2282         * Makefile.in: Rebuild.
2283         * doc/Makefile.in: Rebuild.
2285 2001-11-28  Mike Stump  <mrs@wrs.com>
2287         * objcopy.c (setup_section): Preserve SEC_RELOC when
2288         --set-section-flags is used.
2290 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
2292         * readelf.c (do_debug_str): New variable.
2293         (display_debug_str): New function: Display the contents of a
2294         .debug_str section.
2295         (load_debug_str): New function: Load in the contents of a
2296         .debug_str section.
2297         (free_debug_str): New function: Free the memory used by
2298         load_debug_str().
2299         (fetch_indirect_string): Retrieve a string from the .debug_str
2300         section.
2301         (usage): Add -ws.
2302         (parse_args): Accept -ws.
2303         (process_section_headers): Allow the display of the .debug_str
2304         section.
2305         (read_and_display_attr_value): Use fetch_indirect_string.  Show
2306         offset into .debug_str section.
2307         (display_debug_info): Use load_debug_str and free_debug_str.
2308         (debug_displays): Add .debug_str.
2309         * doc/binutils.texi: Document -ws.
2311 2001-11-19  Andreas Jaeger  <aj@suse.de>
2313         * testsuite/binutils-all/objdump.exp: Add x86-64.
2315 2001-11-15  Andreas Schwab  <schwab@suse.de>
2317         * readelf.c: Fix warnings without terminating newline.
2319 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
2321         * doc/binutils.texi (objdump): Document ppc -M options.
2323 2001-11-14  Andreas Jaeger  <aj@suse.de>
2325         * doc/binutils.texi (objdump): Fix description to use x86-64.
2327 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
2329         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
2330         not all systems provide mkstemp.
2332 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
2334         * doc/binutils.texi (objdump): Document x86 -M options.
2336 2001-11-13  Keith Walker <keith.walker@arm.com>
2338         * readelf.c (read_and_display_attr_value): New function to
2339         handle DW_FORM_indirect.
2340         (read_and_display_attr): Use it.
2342 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
2344         * readelf.c (display_debug_lines): Deal with unknown standard
2345         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
2346         DW_LNS_set_isa.
2348 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
2350         * MAINTAINERS: Add self as tic54x maintainer.  This target
2351         includes the IBM C54XDSP clone.
2353 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
2355         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2357 2001-11-09  Jeffrey A Law  (law@cygnus.com)
2359         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
2360         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
2361         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
2362         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
2363         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
2364         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
2365         (unw_decode_b2, unw_decode_b3_b4): Likewise.
2367         * readelf.c (get_elf_class): Fix ISO portability glitch.
2368         (get_data_encoding, get_osabi_name, request_dump): Likewise.
2370 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
2372         * readelf.c (debug_str, debug_str_size): New.
2373         (display_debug_abbrev): If no abbrevs were read, skip the CU.
2374         Call free_abbrevs.
2375         (read_and_display_addr): Handle DW_FORM_strp.
2376         (display_debug_info): Read .debug_str section if present,
2377         so that DW_FORM_strp can be handled.
2378         Fix test for non-existant .debug_abbrev section.
2380 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
2382         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
2384         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2386 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2388         * MAINTAINERS: Add self as s390/s390x maintainer.
2390 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
2392         * MAINTAINERS: Add self as PPC XCOFF maintainer.
2394 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
2396         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
2397         * configure: Regernate.
2398         * po/fr.po: New file.
2399         * po/tr.po: New file.
2401 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
2403         * MAINTAINERS: Add self as MMIX port maintainer.
2404         * readelf.c: Include elf/mmix.h.
2405         (guess_is_rela): MMIX is RELA.
2406         (dump_relocations): Handle MMIX relocations.
2407         * Makefile.am: Regenerate dependencies.
2408         * Makefile.in: Regenerate.
2410 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
2412         * readelf.c (parse_args): Handle multiple options to the -w
2413         switch.
2415 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
2417         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
2418         LOPROC, LOOS and LOUSER.
2420 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
2422         * MAINTAINERS: Update my email address.
2424 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
2426         * doc/Makefile.in: Regenerate.
2427         * configure: Regenerate.
2429 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
2431         * readelf.c (display_debug_line, display_debug_pubnames,
2432         display_debug_info, display_debug_frames): Detect and warn
2433         about 64-bit format entries.
2434         (display_debug_aranges): Reword 64-bit warning.
2435         (debug_displays): Add .debug_pubtypes as a known, but not yet
2436         supported, debug section.
2438 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
2440         * coffdump.c (PROGRAM_VERSION): Delete.
2441         (main <'V'>): Call print_version.
2442         * srconv.c: Likewise.
2443         * sysdump.c: Likewise.
2444         * version.c (program_version): Remove.
2445         (print_version): Use BFD_VERSION_STRING.  Just print the current
2446         year in copyright message.
2447         * addr2line.c (program_version): Remove unused declaration.
2448         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
2449         place of BFD_VERSION.
2450         * Makefile.am (Makefile): Depend on bfd/configure.in.
2451         (cplus-dem.o): Depend on Makefile.
2452         Run "make dep-am".
2453         * Makefile.in: Regenerate.
2455 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
2457         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
2458         format .debug_arange sections.
2459         (main): Add missing prototype.
2461 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
2463         * Makefile.am: Update dependencies with "make dep-am".
2464         * Makefile.in: Regenerate.
2466 2001-09-28  Richard Henderson  <rth@redhat.com>
2468         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2470 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
2472         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
2473         VA_CLOSE.
2474         (non_fatal): Likewise.
2475         * objdump.c (objdump_sprintf): Likewise.
2476         * readelf.c (error): Likewise.
2477         (warn): Likewise.
2479 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
2481         * readelf.c (do_wide): New.
2482         (options): Add --wide.
2483         (usage, parse_args): Likewise.
2484         (process_program_headers): Put each segment on a single line if
2485         --wide is given.
2486         (process_section_headers): Put each section on a single line if
2487         --wide is given.
2488         * doc/binutils.texi: Document it.
2489         * NEWS: Likewise.
2491 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
2493         * readelf.c (print_vma): Print 8 digits of low hex value.
2495 2001-09-24  Andreas Jaeger  <aj@suse.de>
2497         * nlmconv.c: Fix warnings about unused attributes and function
2498         prototypes.
2500         * strings.c: Add prototype for get_char.
2502 2000-09-19  H.J. Lu  <hjl@gnu.org>
2504         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
2505         $(srcdir)/cxxfilt.man.
2506         * doc/Makefile.in: Rebuild.
2508 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
2510         * objcopy.c (copy_main): Correct rename-section string parsing.
2511         Consolidate new_name parsing, and error messages.
2513 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
2515         * addr2line.c: Don't include <ctype.h>.
2516         (main): For gettext, also set the LC_CTYPE locate facet.
2517         * ar.c (main): Likewise.
2518         * coffdump.c (main): Likewise.
2519         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
2520         (main): For gettext, also set the LC_CTYPE locate facet.
2521         Use ISALNUM instead of isalpha/isdigit.
2522         * dllwrap.c: Don't include <ctype.h>.
2523         (main): For gettext, also set the LC_CTYPE locate facet.
2524         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
2525         (main): For gettext, also set the LC_CTYPE locate facet.
2526         Use TOUPPER instead of islower/toupper.
2527         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
2528         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
2529         Use TOUPPER instead of islower/toupper.
2530         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
2531         * objcopy.c (main): Likewise.
2532         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2533         (disassemble_bytes): Use ISPRINT instead of isprint.
2534         (dump_section_stabs): Use ISDIGIT instead of isdigit.
2535         (dump_data): Use ISPRINT instead of isprint.
2536         (main): For gettext, also set the LC_CTYPE locate facet.
2537         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
2538         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
2539         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
2540         Use TOUPPER instead of islower/toupper.
2541         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
2542         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
2543         (write_rc_accelerators): Use ISPRINT instead of isprint.
2544         (write_rc_rcdata): Likewise.
2545         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
2546         * srconv.c (main): Likewise.
2547         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2548         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
2549         isdigit/isupper/islower.
2550         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
2551         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
2552         stab_demangle_prefix, stab_demangle_qualified,
2553         stab_demangle_template, stab_demangle_type,
2554         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
2555         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
2556         (isgraphic): Use ISPRINT instead of isascii/isprint.
2557         (main): Remove HAVE_LC_MESSAGES dependency.
2558         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
2559         (pbarray): Use ISPRINT instead of isprint.
2560         (main): For gettext, also set the LC_CTYPE locate facet.
2561         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
2562         (format_from_filename): Use ISPRINT instead of isprint.
2563         (main): For gettext, also set the LC_CTYPE locate facet.
2564         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
2565         (unicode_print): Use ISPRINT instead of isprint.
2566         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2567         (stab_variable): Use ISDIGIT instead of isdigit.
2569 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
2571         * ar.c (print_contents): Cast args of bfd_seek to the right types.
2572         Replace bfd_read call with call to bfd_bread.
2573         (extract_file): Likewise.
2575         * objdump.c (dump_section_header): Cast section->filepos to
2576         unsigned long to suit printf format string.
2577         * readelf.c (process_section_headers): Similarly for sh_offset.
2578         (process_unwind): Likewise.
2580 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2582         * strings.c (encoding, encoding_bytes): New variables.
2583         (long_options): Add --encoding.
2584         (main): Accept -e and --encoding.
2585         (get_char): New function.  Read a, possibly wide, character from
2586         the input stream.
2587         (print_strings): Use get_char().
2588         (usage): Document new command line option.
2589         * doc/binutils.texi: Document new command line option.
2590         * NEWS: Announce new command line option.
2592 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
2594         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
2595         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
2596         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
2597         Removed EM_CYGNUS_ARC.
2599 2001-09-04  Jeffrey A Law  (law@cygnus.com)
2601         * readelf.c: Include elf/h8 for H8 series definitions.
2602         (guess_is_rela): H8 series if RELA.
2603         (dump_relocations): Handle H8 series relocations.
2605 2001-08-31  Eric Christopher  <echristo@redhat.com>
2607         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2609 2001-08-29  Peter Targett  <peter.targett@arccores.com>
2611         * MAINTAINERS: Include ARC Maintainer.
2613 2001-08-29  Ben Elliston  <bje@redhat.com>
2615         * stabs.c (stab_demangle_template): Initialise s4.
2617 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
2619         * readelf.c (dump_relocations): Recognise EM_PPC64.
2621 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2623         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2625 2001-08-25  H.J. Lu  <hjl@gnu.org>
2627         * nm.c (print_width): New.
2628         (display_rel_file): Set `print_width' according to
2629         bfd_sprintf_vma.
2630         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2632 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2634         * objcopy.c (use_alt_mach_code): New variable.
2635         (OPTION_ALT_MACH_CODE): Define.
2636         (copy_options): Added --alt-machine-code.
2637         (copy_main): Handle it.
2638         (copy_object): Switch to alternate machine code if requested.
2639         * doc/binutils.texi: Document new option.
2640         * NEWS: Likewise.
2642 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2644         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2646 2001-08-21  H.J. Lu  <hjl@gnu.org>
2648         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2649         (display_debug_info): Cast for 64bit hosts.
2650         (display_debug_frames): Likewise.
2651         (process_mips_specific): Likewise.
2653 2001-08-21  Andreas Jaeger  <aj@suse.de>
2655         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2657         * sysdump.c: Add missing prototypes.
2658         * srconv.c: Likewise.
2659         * unwind-ia64.c: Likewise.
2660         * coffdump.c: Likewise.
2662         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2664         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2665         of declaring xcalloc.
2667 2001-08-10  H.J. Lu  <hjl@gnu.org>
2669         * nm.c (print_value): Add one arg, bfd *.
2670         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2671         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2672         (print_symbol_info_sysv): Likewise.
2673         (print_symbol_info_posix): Likewise.
2675         * objdump.c (dump_section_header): Replace printf_vma with
2676         bfd_printf_vma.
2677         (print_section_stabs): Likewise.
2678         (dump_bfd_header): Likewise.
2679         (objdump_print_value): Replace sprintf_vma with
2680         bfd_sprintf_vma.
2681         (disassemble_bytes): Likewise.
2682         (dump_reloc_set): Likewise.
2684 2001-08-10  Andreas Jaeger  <aj@suse.de>
2686         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2687         to build warnings.
2688         * configure: Regenerate.
2690 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2692         * readelf.c: Add missing prototypes.
2693         * objdump.c: Likewise.  Format existing prototypes.
2695 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2697         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2698         of any RELA relocation for the abbrev_offset memory location that
2699         refers to the .debug_abbrev section symbol.
2701 2001-08-07  H.J. Lu  <hjl@gnu.org>
2703         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2704         (main): Return process_file ().
2706 2001-08-05  Philip Blundell  <philb@gnu.org>
2708         * doc/binutils.texi: Use "Thumb" not "THUMB".
2710 2001-08-03  John Healy  <jhealy@redhat.com>
2712         Patch suggested by Frank Eigler <fche@redhat.com>.
2713         * objdump.c (disassemble_data): Fill in section member of the
2714         disasm_info structure.
2716 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2718         * configure.in: Added --with-windres option.
2719         * configure: Regenerated.
2721 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2723         * doc/binutils.texi: Use @command{name} for commands;
2724         use @option{-opt} for options; use @table @env for list of options;
2725         remove spaces arround [ | ] in synopsis.
2727         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2728         center title.
2730 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2732         * objcopy.c: Fix formatting.
2733         (section_rename): New structure.
2734         (OPTION_RENAME_SECTION): New switch.
2735         (copy_usage): Document new switch.
2736         (add_section_rename): New function: Add a node to the section
2737         rename list.
2738         (find_section_rename): New function: Find the new name and
2739         flags for a section.
2740         (setup_section): Call find_section_name to determine the name
2741         of the output section.
2742         (copy_main): Handle OPTION_RENAME_SECTION.
2743         * binutils.texi: Document new switch.
2744         * NEWS: Mention new switch.
2746 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2748         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2749         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2750         bug-binutils@gcc.org.
2752 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2754         * bucomm.c (list_supported_architectures): New function.
2755         * bucomm.h (list_supported_architectures): Declare.
2756         * objdump.c (usage): Call the above.
2758 2001-07-25  Dave Brolley  <brolley@redhat.com>
2760         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2761         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2763 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2765         * README: Update for 2.11.  Change bug reporting email address.
2766         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2768 2001-07-16  DJ Delorie  <dj@redhat.com>
2770         * resres.c (write_res_header): Align header size.
2771         (res_align_file): Calculate alignment correctly.
2773         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2774         correct 10).
2775         * resrc.c (write_rc_resource): Likewise.
2776         * windres.h (SUBLANG_SHIFT): Define - as 10.
2778 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2780         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2782 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2784         * MAINTAINERS: Add notes about branch checkins.
2786 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2788         * readelf.c (display_debug_macinfo): New function, display
2789         .debug_macinfo section.
2790         (do_debug_macinfo): New variable.
2791         (parse_args): Handle "-w[mM]" to mean display macro info.
2792         (process_section_headers): Handle debug_macinfo.
2793         (debug_displays): Replace unsupported function with macinfo
2794         function for .debug_macinfo display.
2795         * doc/binutils.texi: Document new command line switch.
2796         * NEWS: Document new feature of readelf.
2798 2001-07-05  H.J. Lu  <hjl@gnu.org>
2800         * objcopy.c (filter_symbols): Don't turn undefined symbols
2801         into local.
2803 2001-07-03  H.J. Lu <hjl@gnu.org>
2805         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2806         $@.pod.
2807         (ar.1): Likewise.
2808         (dlltool.1): Likewise.
2809         (nlmconv.1): Likewise.
2810         (nm.1): Likewise.
2811         (objcopy.1): Likewise.
2812         (objdump.1): Likewise.
2813         (ranlib.1): Likewise.
2814         (readelf.1): Likewise.
2815         (size.1): Likewise.
2816         (strings.1): Likewise.
2817         (strip.1): Likewise.
2818         (windres.1): Likewise.
2819         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2820         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2821         $(DEMANGLER_NAME).
2822         (as.1): Removed.
2823         * doc/Makefile.in: Regenerated.
2825 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2827         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2829 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2831         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2833 2001-06-29  James Cownie <jcownie@etnus.com>
2835         * readelf.c: Support DWARF 2.1 attributes.
2837 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2839         * readelf.c (GET_DATA_ALLOC): Remove.
2840         (GET_DATA): Remove.
2841         (get_data): New function combining above macros, with an extra
2842         test for zero size.
2843         (slurp_rela_relocs): Use get_data, and catch error return.
2844         (slurp_rel_relocs): Likewise.
2845         (get_32bit_program_headers): Likewise.
2846         (get_64bit_program_headers): Likewise.
2847         (get_32bit_section_headers): Likewise.
2848         (get_64bit_section_headers): Likewise.
2849         (get_32bit_elf_symbols): Likewise.
2850         (get_64bit_elf_symbols): Likewise.
2851         (process_section_headers): Likewise.
2852         (process_relocs): Likewise.
2853         (slurp_ia64_unwind_table): Likewise.
2854         (process_unwind): Likewise.
2855         (get_32bit_dynamic_segment): Likewise.
2856         (get_64bit_dynamic_segment): Likewise.
2857         (process_dynamic_segment): Likewise.
2858         (process_version_sections): Likewise.
2859         (process_symbol_table): Likewise.
2860         (dump_section): Likewise.
2861         (display_debug_info): Likewise.
2862         (display_debug_section): Likewise.
2863         (process_section_contents): Likewise.
2864         (process_corefile_note_segment): Likewise.
2865         (process_mips_specific): Likewise.  Also free econf32, econf64.
2867 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2869         * readelf.c (dump_relocations): Print "bad symbol index" if
2870         symtab == NULL with non-zero symtab_index.
2871         (process_relocs): Don't bomb if reloc section has no symsec.
2873 2001-06-24  H.J. Lu  <hjl@gnu.org>
2875         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2876         by accident.
2877         (copy_main): Apply the the change made to strip_main on
2878         2001-05-30 by accident.
2880 2001-06-23  Andreas Jaeger  <aj@suse.de>
2882         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2883         parameter 'code'.
2884         (unw_decode_x2): Likewise.
2885         (unw_decode_x3): Likewise.
2886         (unw_decode_x4): Likewise.
2888 2001-06-23  Ben Elliston  <bje@redhat.com>
2890         * MAINTAINERS: Add myself as M88k maintainer.
2892 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2894         * objcopy.c (strip_main): Support -o or --output-file command lien
2895         switch.
2897 2001-06-19  H.J. Lu <hjl@gnu.org>
2899         * doc/Makefile.in: Regenerated.
2901 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2903         * readelf.c: Restore formatting.
2905 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2907         * Makefile.am: Move documentation into doc subdirectory.
2908         * Makefile.in: Regenerated.
2909         * binutils.texi: Move into doc subdirectory.
2910         * addr2line.1: Removed.
2911         * ar.1: Likewise.
2912         * dlltool.1: Likewise.
2913         * nlmconv.1: Likewise.
2914         * nm.1: Likewise.
2915         * objcopy.1: Likewise.
2916         * objdump.1: Likewise.
2917         * ranlib.1: Likewise.
2918         * readelf.1: Likewise.
2919         * size.1: Likewise.
2920         * strings.1: Likewise.
2921         * strip.1: Likewise.
2922         * windres.1: Likewise.
2923         * cxxfilt.man: Likewise.
2924         * doc: New Directory.
2925         * doc/Makefile.am: New file.
2926         * doc/Makefile.in: Generate.
2928 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2930         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2932 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2934         * MAINTAINERS: Update my email address.
2936 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2938         * objcopy.c: Add new switches: --keep-global-symbol,
2939         --keep-symbols, --localize-symbols, --keep-global-symbols and
2940         --weaken-symbols.
2941         * binutils.texi: Document new switches.
2942         * objcopy.1: Regenerate.
2943         * NEWS: Announce new feature.
2945 2001-05-28  Andreas Jaeger  <aj@suse.de>
2947         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2948         variables, fix format strings.
2950 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2952         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2953         when computing the address of the line to show.
2955 2001-05-16  Richard Henderson  <rth@redhat.com>
2957         * readelf.c (do_debug_frames_interp): New.
2958         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2959         (byte_get_big_endian): Likewise.
2960         (parse_args) ['F']: Set do_debug_frames_interp.
2961         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2962         (frame_display_row): Don't trunc pc_begin to int.
2963         (size_of_encoded_value): New.
2964         (display_debug_frames): Handle 64-bit targets.  Print raw data
2965         unless do_debug_frames_interp.
2966         (debug_displays): Remove duplicate .debug_frame.
2968 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2970         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2971         The former constant was never in active use and is used otherwise
2972         by the ABI.
2974 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2976         * readelf.c (process_unwind): Print all unwind sections, not just
2977         one.
2979 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2981         * readelf.c (process_unwind): Remove const specifier.
2983 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2985         * strings.c (isgraphic): Do not use isascii() unless it is needed
2986         for isprint() to work.
2987         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2989 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2991         * NEWS: Announce support for OpenRISC.
2993 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2995         * dlltool.c (do_default_excludes): Initialise to true.
2997 2001-04-10  Alan Modra  <amodra@one.net.au>
2999         * MAINTAINERS: Update my email address
3000         * nm.c (print_symbol_info_bsd): Use a simple printf string.
3002 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
3004         * readelf.c (display_debug_lines): Fix typo for "Prologue".
3006 2001-03-30  H.J. Lu  <hjl@gnu.org>
3008         * readelf.c (process_unwind): Just return if do_unwind is 0.
3010 2001-03-28  Roger Sayle  <roger@metaphorics.com>
3012         * dlltool.c (make_one_lib_file): Fix section flags for
3013         .text, .data and .bss in stub ds*.o files to match those
3014         generated by gas.
3016 2001-03-29  H.J. Lu  <hjl@gnu.org>
3018         * readelf.c (process_unwind): Only do unwind sections for
3019         IA64.
3021 2001-03-28  H.J. Lu  <hjl@gnu.org>
3023         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
3024         * Makefile.in: Regenerate.
3026 2001-03-26  Andreas Jaeger  <aj@suse.de>
3028         * binutils.texi (nm): Fix texi syntax.
3030 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3032         * binutils.texi: Put @c man begin and @c man end indications
3033         to generate man pages using texi2pod and pod2man. Put @c man title
3034         to identify each man. Add SEEALSO entries.
3035         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
3036         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
3037         sort the list.
3038         (*.1): Build the man pages from binutils.texi.
3039         * Makefile.in: Regenerate.
3041 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
3043         * defparse.y (opt_equal_name): allow "." in name.
3044         * dlltool.c (def_exports): Added ability to generate forwarded exports.
3045         (gen_exp_file): Likewise.
3047 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
3049         * NEWS: Document addition of -B switch to objcopy.
3050         * binutils.texi:  Document addition of -B switch to objcopy.
3051         * objcopy.c: (copy_options): Add --binary-architecture.
3052         (copy_usage): Document -B/--binary-architecture.
3053         (copy_main): Support -B/--binary-architecture.  Set
3054         bfd_external_binary_architecture.
3056 2001-03-11  Andreas Jaeger  <aj@suse.de>
3058         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
3059         (dump_relocations): Likewise.
3060         (get_machine_name): Likewise.
3062 2001-02-28  Nick Clifton  <nickc@redhat.com>
3064         * readelf.c: (struct unw_aux_info): Remove const modifier for
3065         'strtab' field.
3066         (process_unwind): Remove non-K&R compliant LHS type cast in call
3067         to GET_DATA_ALLOC macro.
3069 2001-02-28  Philip Blundell  <pb@futuretv.com>
3071         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
3072         ABI is in use; remove ambiguity between the "unknown" EABI and
3073         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
3074         renamed EF_xx constants.
3076 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
3078         * configure.in (BFD_VERSION): New.
3079         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3080         * configure: Regenerate.
3081         * Makefile.am: Run "make dep-am"
3082         * Makefile.in: Regenerate.
3084 2001-02-14  Nick Clifton  <nickc@redhat.com>
3086         * MAINTAINERS: Add "Obvious Fix" rule.
3088 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3090         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
3091         literal concatenation.
3093 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3095         * readelf.c (struct unw_aux_info): Remove const from the info member.
3096         (process_unwind): Don't type-cast the third argument to the
3097         GET_DATA_ALLOC macro.
3099 2001-02-11  Nick Clifton  <nickc@redhat.com>
3101         * readelf.c (dump_relocations): Free corrected allocated
3102         array.
3103         (process_unwind): Fix compile time warning.
3105 2001-02-10  Nick Clifton  <nickc@redhat.com>
3107         * binutils.texi: Document new --unwind option to readelf.
3109 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3111         * readelf.c: Add linux target for S/390.
3113 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
3115         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
3116         printf is a macro.
3118 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
3120         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
3121         * aclocal.m4: Regenerate.
3122         * configure: Regenerate.
3124 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
3126         * bucomm.c (bfd_target_vector): Change extern array to pointer.
3127         * objdump.c (bfd_target_vector): Likewise.
3129 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
3131         * readelf.c (process_unwind): New function.
3132         (slurp_ia64_unwind_table): Ditto.
3133         (dump_ia64_unwind): Ditto.
3134         (find_symbol_for_address): Ditto.
3135         (slurp_rela_relocs): New function (split off from dump_relocations()).
3136         (slurp_rel_relocs): Ditto.
3137         (parse_args): Handle '-u' option.
3139         * unwind-ia64.c: New file.
3140         * unwind-ia64.h: New file.
3141         * Makefile.am: Include unwind-ia64.c in readelf build.
3142         * Makefile.in: Regenerate.
3143         * po/binutils.pot: Regenerate.
3145 2001-02-04  Philip Blundell  <philb@gnu.org>
3147         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
3148         * configure: Regenerate.
3150 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
3152         * ieee.c (ieee_add_bb11): Don't check for backslashes
3153         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3155 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
3157         * ieee.c: Update copyright.
3158         (ieee_start_compilation_unit): Don't check for backslashes
3159         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
3161         * stabs.c: Update copyright. Include "filenames.h".
3162         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
3164 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
3166         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
3167         sections are present before using them.  Remove code duplication.
3168         (process_symbol_table): Check if VERDEF or VERNEED sections are
3169         present before using them.
3171 2001-01-17  Nick Clifton  <nickc@redhat.com>
3173         * objcopy.c (copy_object): Fail if attempting to convert the
3174         endianness of the input object file.
3176         * binutils.texi: Explain that objcopy cannot convert endianness.
3178 2001-01-16  Nick Clifton  <nickc@redhat.com>
3180         * readelf.c (string_table_length): New variable.
3181         (SECTION_NAME): Catch out of range indices and missing section
3182         pointers.
3183         (process_section_headers): Delete useless local variable
3184         string_table_offset.  Set the value of string_table_length
3185         after loading the string table.
3186         (process_mips_specific): Use SECTION_NAME macro.
3187         (process_file): Set string_table_length to 0 when it is freed.
3189 2001-01-12  Nick Clifton  <nickc@redhat.com>
3191         * version.c (print_version): Update copyright date.
3193 2001-01-11  Peter Targett  <peter.targett@arccores.com>
3195         * readelf.c (dump_relocations): Include selection with EM_ARC.
3196         (get_machine_name) Update name to "ARC".
3198 2001-01-09  Nick Clifton  <nickc@redhat.com>
3200         * Makefile.am: Add rule to build objdump.o from objdump.c and
3201         using OBJDUMP_DEFS.
3202         * Makefile.in: Regenerate.
3204         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
3205         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
3206         -DDISASSEMBLER_NEEDS_RELOCS.
3207         * configure: Regenerate.
3209         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
3210         is defined read in the relocs even if dump_reloc_info is
3211         false.
3213 2001-01-07  Philip Blundell  <philb@gnu.org>
3215         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
3216         `bug-binutils'.
3217         * README: Likewise.
3219 2000-12-19  Nick Clifton  <nickc@redhat.com>
3221         * dlltool.c: Add missing support for arm-epoc-pe.
3222         * configure.in: Add missing support for arm-epoc-pe.
3223         * configure: Regenerate.
3225 2000-12-15  Nick Clifton  <nickc@redhat.com>
3227         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
3228         Mode parts of the x86 port.
3230 2000-12-04  Andreas Jaeger  <aj@suse.de>
3232         * readelf.c (guess_is_rela): Add EM_X86_64.
3233         (dump_relocations): Add EM_X86_64.
3234         (get_machine_name): Add EM_X86_64.
3235         Include "elf/x86-64.h".
3237 2000-12-12  Nick Clifton  <nickc@redhat.com>
3239         * readelf.c: Fix formatting.
3241 2000-12-11  Jan Hubicka  <jh@suse.cz>
3243         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
3245 2000-12-07  Andrew Haley  <aph@redhat.com>
3247         * readelf.c (display_debug_frames): Only display columns that are
3248         referenced by the frame debug info.
3250 2000-12-05  Nick Clifton  <nickc@redhat.com>
3252         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
3254 2000-12-04  Jason Merrill  <jason@redhat.com>
3256         * readelf.c (process_section_headers): Handle linkonce.wi sections.
3257         (display_debug_section): Likewise.
3258         (display_debug_info): Display CU header before bailing.
3260 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
3262         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
3263         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
3264         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
3266         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
3267         and E_MIPS_ARCH_64.
3269         * readelf.c (get_machine_flags): Add case for
3270         E_MIPS_MACH_SB1.
3272 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
3274         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
3276 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
3278         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
3279         Change sourceware.cygnus.com to sources.redhat.com.
3280         Fix typo for "amongst".
3282 2000-11-28  Nick Clifton  <nickc@redhat.com>
3284         * strip.1 (COPYING): Mention that the GNU Free Documentation
3285         License is present in the sources, but not the output, and
3286         also available from the GNU website.
3287         (GNU Free Documentation License): Comment out this section.
3288         * strings.1: Ditto.
3289         * size.1: Ditto.
3290         * ranlib.1: Ditto.
3291         * objdump.1: Ditto.
3292         * objcopy.1: Ditto.
3293         * nm.1: Ditto.
3294         * nlmconv.1: Ditto.
3295         * ar.1: Ditto.
3296         * addr2line.1: Ditto.
3298 2000-11-27  DJ Delorie  <dj@redhat.com>
3300         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
3301         (parse_args): Support -wf option.
3302         (process_section_headers): Ditto.
3303         (debug_displays): Ditto.
3304         (display_debug_frames): New, dump *_frame sections.
3305         (frame_need_space): Support for above.
3306         (frame_display_row): Ditto.
3307         * binutils.texi: Document it.
3309 2000-11-24  Nick Clifton  <nickc@redhat.com>
3311         * NEWS: Announce support for v5t, v5te and XScale.
3313 2000-11-22  Nick Clifton  <nickc@redhat.com>
3315         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
3316         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
3317         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
3318         (get_elf_section_flags: Add SHF_GROUP.
3319         (process_section_headers): Adjust output for 32-bit binaries
3320         to look nice on an 80 column terminal.
3322 2000-11-20  H.J. Lu  <hjl@gnu.org>
3324         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
3325         ELFOSABI_AIX.
3327 2000-11-17  Richard Henderson  <rth@redhat.com>
3329         * readelf.c (display_debug_lines): Adjust last change to
3330         use sizeof (external->li_length).
3332 2000-11-17  Richard Henderson  <rth@redhat.com>
3334         * readelf.c (display_debug_lines): Fix section length check
3335         and end_of_sequence computation.
3337 2000-11-06  Nick Clifton  <nickc@redhat.com>
3339         * binutils.texi: Add GNU Free Documentation License.
3340         * objcopy.1: Add GNU Free Documentation License.
3341         * objdump.1: Add GNU Free Documentation License.
3342         * addr2line.1: Add GNU Free Documentation License.
3343         * ar.1: Add GNU Free Documentation License.
3344         * nlmconv.1: Add GNU Free Documentation License.
3345         * nm.1: Add GNU Free Documentation License.
3346         * ranlib.1: Add GNU Free Documentation License.
3347         * size.1: Add GNU Free Documentation License.
3348         * strings.1: Add GNU Free Documentation License.
3349         * strip.1: Add GNU Free Documentation License.
3351 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
3353         * objcopy.c (--srec-len=nn): New parameter to set the
3354         maximum length of generated Srecords.
3355         (--srec-forceS3): New parameter that restricts the generation of
3356         Srecords to type S3 only.
3357         * binutils.texi: Document new command line switches.
3358         * objcopy.1: Docuemnt the new command line switches.
3359         * NEWS: Announce the existence of the new command line switches.
3361 2000-10-31  Nick Clifton  <nickc@redhat.com>
3363         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
3364         code.  Add Eric Chrisopher as maintainer of MN10300 port.
3366 2000-10-12  Roger Sayle  <roger@metaphorics.com>
3368         * Make comma after string after icon/control optional.
3370 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
3372         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
3374         * NEWS: Mention support for MIPS32.
3376 2000-09-08  Nick Clifton  <nickc@redhat.com>
3378         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
3380 2000-09-07  H.J. Lu  <hjl@gnu.org>
3382         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3383         * configure: Rebuild.
3385 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3387         * configure: Rebuilt with new libtool.m4.
3389 2000-09-05  Nick Clifton  <nickc@redhat.com>
3391         * aclocal.m4: Regenerate.
3392         * config.in: Regenerate.
3393         * configure: Regenerate.
3395 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
3397         * strip.1: Fix stray '\' in -o formatting.
3399 2000-09-02  Nick Clifton  <nickc@redhat.com>
3401         * configure.in: Increase version number to 2.10.91.
3402         * configure: Regenerate.
3403         * aclocal.m4: Regenerate.
3404         * config.in: Regenerate.
3405         * po/binutils.pot: Regenerate.
3407 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
3409         * acinclude.m4: Include libtool and gettext macros from the
3410         top level.
3411         * aclocal.m4, configure: Rebuilt.
3413 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
3415         * resrc.c (close_input_stream): Delete extraneous logic
3417 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
3419         * NEWS: Mention support for CRIS.
3421 2000-08-21  Nick Clifton  <nickc@redhat.com>
3423         * addr2line.c: Changed email address for Ulrich Lauther.
3425 2000-08-17  Christopher C. Chimelis <chris@debian.org>
3427         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
3429 2000-08-17  Nick Clifton  <nickc@redhat.com>
3431         * readelf.c (display_debug_pubnames): Only issue warning
3432         message once.  Terminate message with a new line.
3433         (display_debug_aranges): Only display version 2 debug info.
3435 2000-08-14  Todd Vierling <tv@wasabisystems.com>
3437         * objcopy.c (strip_main): Silently accept -d as an alias for -g
3438         for compatibility with old BSD systems.
3440 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
3442         * NEWS: Mention i860 support.
3444 2000-08-11  Carlo Wood <carlo@alinoe.com>
3446         * addr2line.c (main): Add const to char *.
3448 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
3450         * ar.c (main): Don't crash if called with no arguments
3451         or only '-X32_64' as an argument.
3453 2000-08-08  DJ Delorie  <dj@redhat.com>
3455         * resrc.c: use "gcc -xc" instead of -xc-header
3457 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
3459         * readelf.c (elf/i860.h): Include.
3460         (dump_relocations): Add recognition of i860 architecture.
3461         (guess_is_rela): Add recognition of i860 architecture.
3463 2000-08-03  Nick Clifton  <nickc@cygnus.com>
3465         * MAINTAINERS: Add information about CGEN maintainers.
3467 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
3469         * nm.c (main): Ignore '-X32_64' as an option.
3470         * ar.c (main): Likewise.
3471         * binutils.texi (nm): Document new option.
3472         (ar): Likewise.
3474 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3476         * rdcoff.c (external_coff_symbol_p): K&R-ise.
3478 2000-07-20  H.J. Lu  <hjl@gnu.org>
3480         * binutils.texi: Put back "@end table" deleted by
3481         accident.
3483 2000-07-05  Kenneth Block  <krblock@computer.org>
3485         * nm.c: Add optional style to demangle switch.
3486         * objdump.c: Add optional style to demangle switch.
3487         * addr2line.c: Add optional style to demangle switch.
3488         * binutils.texi: Document optional style to demangle
3489         switch.
3491 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
3493         * MAINTAINERS: Add self as CRIS port maintainer.
3494         * readelf.c: Include elf/cris.h.
3495         (guess_is_rela): Handle EM_CRIS.
3496         (dump_relocations): Ditto.
3497         (get_machine_name): Ditto.
3498         * Makefile.am: Rebuild dependencies.
3499         * Makefile.in: Regenerate.
3500         * po/binutils.pot: Regenerate.
3502 2000-07-19  H.J. Lu  <hjl@gnu.org>
3504         * readelf.c (get_dynamic_type): Change "AUXILARY" to
3505         "AUXILIARY".
3506         (process_dynamic_segment): Print out strings for DT_CONFIG,
3507         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
3509 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
3511         * nm.c (usage): Change output of `nm --help' to include a
3512         description of the purpose of the program and a detailed
3513         description of the accepted options.
3515 2000-07-19  H.J. Lu  <hjl@gnu.org>
3517         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
3518         to DF_1_NODEFLIB.
3520 2000-07-19  H.J. Lu  <hjl@gnu.org>
3522         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
3524 2000-07-19  H.J. Lu  <hjl@gnu.org>
3526         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
3527         DT_FEATURE.
3528         (process_dynamic_segment): Likewise.
3530         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
3531         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
3532         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
3533         DF_1_NODUMP and DF_1_CONLFAT.
3535 2000-07-18  Nick Clifton  <nickc@cygnus.com>
3537         * binutils.texi (readelf): Fix spelling typo.
3539 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
3541         * objdump.c (usage): Make output of `objdump --help' more
3542         consistent with the rest of the GNU world.  Add a line describing
3543         the purpose of the program.
3545 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
3547         * stabs.c (parse_stab_range_type): Cast to proper type to fix
3548         warning.
3550 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
3552         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
3553         to fix warnings.
3554         (process_symbol_table): Ditto.
3555         (procesS_extended_line_op): Ditto.
3556         (display_debug_lines): Ditto.
3557         (display_debug_pubnames): Ditto.
3558         (read_and_display_attr): Ditto.
3560 2000-07-09  Nick Clifton  <nickc@cygnus.com>
3562         * MAINTAINERS: Add several more port specific maintainers.
3564 2000-07-05  Nick Clifton  <nickc@cygnus.com>
3566         * MAINTAINERS: Add blanket write privs for Michael Meissner.
3568 2000-06-05  DJ Delorie  <dj@redhat.com>
3570         * MAINTAINERS: New.
3572 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
3574         * dllwrap.c: Changed mistaken dyn_string_append() calls
3575         to dyn_string_append_cstr().
3577 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
3579         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
3580         struct debug_type stores size in bytes.
3582 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
3584         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
3585         (CLEANFILES): Add DEPA.
3586         * Makefile.in: Regenerate.
3588 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
3590         * ar.c: Revert incorrect 2000-06-25 patch.
3591         * bucomm.c: Likewise.
3593 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
3595         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
3596         (external_coff_symbol_p): New function.
3597         (parse_coff): Use it.
3599 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
3601         * ar.c (normalize): Advance past both characters in a DOS based
3602         <letter>: filepath prefix.
3603         (main): Likewise.
3604         * bucomm.c (make_tempname): Likewise.
3606 2000-06-24  Nick Clifton  <nickc@cygnus.com>
3608         * objdump.c (usage): Fix description of --stabs switch.
3610 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
3612         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3613         find one.
3614         * Makefile.in: Regenerate.
3616 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
3618         * ar.c (normalize): Correct pointer comparison when checking for
3619         backslashes.
3620         (main): Likewise.
3621         * bucomm.c (make_tempname): Likewise.
3623         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3624         and search for backslashes in the original pathname.
3625         (ieee_add_bb11): Likewise.
3627 2000-06-18  Nick Clifton  <nickc@redhat.com>
3629         * ar.c (print_contents): Improve verbose message.
3631 2000-06-15  H.J. Lu  <hjl@gnu.org>
3633         * dyn-string.c: Removed. Not needed with dyn-string.c in
3634         libiberty.
3635         * dyn-string.h: Likewise.
3637         * Makefile.am: Remove references to dyn-string.c and
3638         dyn-string.h. Rebuild dependency.
3639         * Makefile.in: Rebuild.
3641 2000-06-15  H.J. Lu  <hjl@gnu.org>
3643         * binutils.texi: Put a warning on copying relocatable object
3644         files between two different formats.
3646 2000-06-13  DJ Delorie  <dj@cygnus.com>
3648         * rcparse.y (control): ICON controls take an id as the first
3649         parameter, not an optional string.  Also, call new convenience
3650         function that takes res_id's.
3651         * resrc.c (define_control): missing text means zero-length string,
3652         not zero ID.
3653         (define_icon_control): New.
3654         * windres.h: declare define_icon_control.
3656 2000-06-13  H.J. Lu  <hjl@gnu.org>
3658         * configure: Regenerate.
3660 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3662         * configure.in (VERSION): Update to show this is the CVS mainline.
3664 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3666         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3667         analogous to <SPACE>.
3669 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3671         * objdump.c (display_target_list): Use bfd_close_all_done, not
3672         bfd_close to fix crash caused by 2000-05-24 change.
3674 2000-05-25  DJ Delorie  <dj@cygnus.com>
3676         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3678 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3680         * Makefile.am: Update dependencies with "make dep-am"
3681         * Makefile.in: Regenerate.
3683 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3685         * ar.c: Include filenames.h.
3686         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3687         and drive letters in file names.
3688         (main): Support backslashes and drive letters in argv[0].  Drop
3689         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3690         FILENAME_CMP instead of strcmp to compare file names.
3691         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3692         DJGPP v2.
3693         (do_quick_append) [__GO32__]: Ditto.
3694         (get_pos_bfd, delete_members, move_members, replace_members):
3695         Compare file names with FILENAME_CMP.
3697         * bucomm.c: Include filenames.h.
3698         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3699         forward/backward slashes and drive letters in file names.
3701         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3702         mixed forward/backward slashes and drive letters in file names.
3704         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3705         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3706         mode.
3708         * objcopy.c: Include filenames.h.
3709         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3710         before comparing to "strip".
3711         Use FILENAME_CMP to compare file names.
3713         * arsup.c: Include filenames.h.
3714         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3715         FILENAME_CMP to compare file names.
3716         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3717         the temporary file name.
3719         * configure.in: Check for setmode.
3720         * configure: Regenerate.
3722 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3724         * objdump.c (display_target_list): Close the bfd.
3725         (display_info_table): Likewise.
3727 2000-05-14  H.J. Lu  (hjl@gnu.org)
3729         * objcopy.c (filter_symbols): Don't strip global symbols in
3730         relocatable object files.
3732 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3734         * size.c (usage): Associate short options with corresponding long
3735         option to give a clue as to their function.
3737 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3739         * size.c (main): Accept and ignore `-f' option.
3741 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3743         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3744         bindtextdomain): Replace defines with those from intl/libgettext.h
3745         to quieten gcc warnings.
3747 2000-05-12  H.J. Lu  <hjl@gnu.org>
3749         * nlmconv.c (temp_filename): Removed.
3751         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3752         choose_temp_base ().
3753         * objdump.c (display_target_list): Likewise.
3754         (display_info_table): Likewise.
3756 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3758         * objcopy.c (setup_section): Add const and gettext calls for err.
3760 2000-05-02  H.J. Lu  <hjl@gnu.org>
3762         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3763         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3764         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3765         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3766         and ELFOSABI_OPENBSD.
3768 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3770         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3771         * srconv.c: Likewise.
3772         * sysdump.c: Likewise.
3774 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3776         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3777         (get_machine_name): machine name for EM_AVR added.
3779 2000-04-21  Richard Henderson  <rth@cygnus.com>
3780             David Mosberger  <davidm@hpl.hp.com>
3782         * Makefile.am (readelf.o): Add elf/ia64.h.
3783         * Makefile.in: Rebuild.
3784         * readelf.c: Include elf/ia64.h.
3785         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3787 2000-04-17  Timothy Wall  <twall@cygnus.com>
3789         * objdump.c (disassemble_data): Set octets per byte *after*
3790         resolving arch/mach for binary files.
3792 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3794         * arlex.l: Add directives to increase lex buffer size.
3796         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3797         already included by bucomm.h.
3799 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3801         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3802         `strftime' since strftime is not available on all systems.
3803         (process_mips_specific): Ditto.
3805 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3807         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3808         --enable-build-warnings option.
3809         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3810         * Makefile.in, configure: Re-generate.
3812 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3814         * addr2line.c: Update copyright.
3815         * objcopy.1: Likewise, and title.
3816         * strings.1: Likewise.
3818         * version.c (print_version): Add 2000.
3820         * rddbg.c (read_section_stabs_debugging_info): Don't use
3821         bfd_size_type for strx to avoid printf problems if BFD64.
3823         * bucomm.c: (report): Remove `static'.
3824         Move inclusion of stdarg.h/vararg.h from here.
3825         * bucomm.h: To here.
3826         (CONST): Change all occurences to const.
3827         (report): Declare it.
3828         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3829         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3830         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3832         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3833         Correct a typo in an error message.
3834         (do_quick_append): Use non_fatal instead of fprintf.
3835         (move_members): Use fatal instead of fprintf, exit.
3836         * coffdump.c (main): Same here.
3838         * dlltool.c (display): Delete.
3839         (warn): Delete.
3840         (inform): Use `report' instead of `display'.
3841         (rvaafter): Remove trailing \n from fatal error msg.
3842         (rvabefore): Ditto.
3843         (asm_prefix): Ditto.
3844         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3845         (def_name): Likewise.
3846         (run): Likewise.
3847         (scan_all_symbols): Likewise.
3848         (gen_lib_file): Likewise.
3849         (def_library): Likewise.  Remove extra program_name too.
3850         (run): Remove \n from inform strings.
3851         (scan_drectve_symbols): Likewise.
3852         (add_excludes): Likewise.
3853         (scan_open_obj_file): Likewise.
3854         (gen_exp_file): Likewise.
3855         (gen_lib_file): Likewise.
3856         (process_duplicates): Likewise.
3858         * Makefile.am (dllwrap_SOURCES): Add version.c.
3859         * dllwrap.c (program_version): Delete.
3860         (print_version): Delete.
3861         (display): Always print trailing \n.
3862         (warn): New.
3863         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3864         (run): Here too.
3865         (main): And here.
3866         (usage): gettext'ify.
3867         (long_options): Add missing initialisers.
3869         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3870         (select_output_format): Likewise.
3871         (powerpc_mangle_relocs): Likewise.
3872         (link_inputs): Likewise.
3874         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3875         (set_output_format): Likewise.
3876         (main): Use non_fatal instead of fprintf.
3877         (display_rel_file): Likewise.
3879         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3880         (slurp_dynamic_symtab): Same here.
3881         (disassemble_data): And here.
3882         (read_section_stabs): And here.
3883         (read_section_stabs): And here.
3884         (dump_bfd): And here.
3885         (main): And here.
3886         (objdump_sprintf): Use fatal instead of fprintf, exit.
3887         (disassemble_data): Same here.
3889         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3890         (parse_coff_struct_type): Same here.
3891         (parse_coff_enum_type): And here.
3892         (parse_coff): And here.
3893         * rddbg.c (read_debugging_info): And here.
3894         * size.c (main): And here.
3895         * windres.c (format_from_name): And here.
3896         * wrstabs.c (stab_write_symbol): Here too.
3897         (write_stabs_in_sections_debugging_info): And here.
3898         (stab_int_type): And here.
3899         (stab_struct_field): And here.
3900         (stab_typdef): And here.
3902         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3903         * srconv.c (main): Same here.
3904         * strings.c (main): And here.
3905         (integer_arg): And here.
3906         * sysdump.c (main): And here.
3908 2000-04-06  Timothy Wall  <twall@cygnus.com>
3910         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3912 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3914         * readelf.c (decode_location_expression): Loop through multiple
3915         operations.
3916         (read_and_display_attr): Pass in length.
3918         * readelf.c (read_and_display_attr): Add CU offset to references.
3919         (display_debug_info): Pass it in.
3921 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3923         * readelf.c (decode_ARM_machine_flags): New function.
3924         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3925         targets.
3927         (get_machine_name): Catch EM_AVR
3929 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3931         * binutils.texi: Remove optional `=' from long options that have
3932         an `=' in the argument.
3933         * objcopy.1: Here too.  Remove extra space on discard-all.
3935         * binutils.texi (objcopy): Mention --redefine-sym.
3936         * objcopy.1: Here too.
3937         * NEWS: And here.
3939         * objcopy.c (parse_flags): Split off flag names from error message
3940         gettext as they are not translated.
3941         (copy_main): Similarly split off option name for --add-section,
3942         --set-section-flags, --change-section-vma, --change-section-lma
3943         error messages.
3944         Some white space changes.
3946         from Matthew Benjamin <matt@linuxbox.nu>
3947         * objcopy.c (struct redefine_node): New.
3948         (redefine_sym_list): New.
3949         (redefine_list_append): New.
3950         (lookup_sym_redefinition): New.
3951         (OPTION_REDEFINE_SYM): New.
3952         (copy_options): Add --redefine-sym option.
3953         (copy_usage): Mention it.
3954         (filter_symbols): Rename symbols on redefine_sym_list.
3955         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3956         (copy_main): Handle OPTION_REDEFINE_SYM.
3958 2000-04-04  H.J. Lu  <hjl@gnu.org>
3960         * readelf.c (process_symbol_table): Correctly read in symbol
3961         versioning information.
3963 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3965         * po/binutils.pot: Regenerate.
3967         * addr2line.c (usage): Restore translated part of bug string.
3968         * ar.c (usage): Likewise.
3969         * nlmconv.c (show_usage): Likewise.
3970         * nm.c (usage): Likewise.
3971         * objcopy.c (copy_usage): Likewise.
3972         (strip_usage): Likewise.
3973         * objdump.c (usage): Likewise.
3974         * readelf.c (usage): Likewise.
3975         * size.c (usage): Likewise.
3976         * strings.c (usage): Likewise.
3977         * windres.c (usage): Likewise.
3979         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3980         (DEP): Quote when passing vars to sub-make.  Add warning
3981         message to end.
3982         (DEP1): Rewrite for "gcc -MM".
3983         (CLEANFILES): Add DEP2.
3984         Update dependencies.
3985         * Makefile.in: Regenerate.
3987 2000-04-04  H.J. Lu  <hjl@gnu.org>
3989         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3990         (arparse.h): Depend on arparse.c
3991         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3993 2000-04-03  H.J. Lu  (hjl@gnu.org)
3995         * size.c (usage): Use REPORT_BUGS_TO.
3997 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3999         * bucomm.h: #include "bin-bugs.h"
4000         * addr2line.c (usage): Use REPORT_BUGS_TO.
4001         * ar.c (usage): Likewise.
4002         * nlmconv.c (show_usage): Likewise.
4003         * nm.c (usage): Likewise.
4004         (OPTION_TARGET): Define.
4005         (long_options): Use OPTION_TARGET rather than 200.
4006         (main): Likewise.
4008         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
4009         (strip_usage): Likewise.
4010         * objdump.c (usage): Likewise.
4011         * readelf.c (usage): Likewise.
4012         * strings.c (usage): Likewise.
4013         * windres.c (usage): Likewise.
4015 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4017         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
4019 2000-03-27  Nick Clifton  <nickc@cygnus.com>
4021         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
4022         string offsets in corrupt stabs entries.
4024 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
4026         * readelf.c: Include elf/avr.h
4027         (dump_relocations): Add EM_AVR case.
4029 2000-03-09  Tim Waugh  <twaugh@redhat.com>
4031         * strings.1: Correct '-bytes' to '--bytes'.
4033 2000-03-08  H.J. Lu  <hjl@gnu.org>
4035         * Makefile.am (install-exec-local): Depend on
4036         install-binPROGRAMS for parallel make.
4037         * Makefile.in: Regenerated.
4039 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
4041         From Brad Lucier <lucier@math.purdue.edu>:
4042         * readelf.c (process_dynamic_segment): Add cast to make sure
4043         argument to %* is int.
4045 2000-02-25  H.J. Lu  <hjl@gnu.org>
4047         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
4049 2000-02-24  Nick Clifton  <nickc@cygnus.com>
4051         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
4052         * configure: Regenerate.
4054         * dlltool.c: Add support for sh-pe and mips-pe targets.
4055         * rescoff.c: Add support for sh-pe and mips-pe targets.
4057 2000-02-23  H.J. Lu  <hjl@gnu.org>
4059         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
4061 2000-02-22  Nick Clifton  <nickc@cygnus.com>
4063         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
4065 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
4067         From Brad Lucier <lucier@math.purdue.edu>:
4068         * readelf.c (process_version_sections): Add casts to make sure
4069         argument to %* is an int.
4070         (process_mips_specific): Add casts to make printf arguments match
4071         format.
4073 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
4075         * objdump.c (dump_section_header): Change `opb' to unsigned.
4076         (find_symbol_for_address): Same here.
4077         (disassemble_data): And here.  Change `addr_offset',
4078         `stop_offset', `nextstop_offset' to unsigned long.
4079         (dump_data): Change opb to unsigned.
4081 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
4083         * resrc.c: Remove unmatched #if for cygwin.
4085 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4087         * binutils.texi: Document the change of flavor name from atpcs-special
4088         to special-atpcs to prevent name conflict in gdb.
4090 2000-02-08  Timothy Wall  <twall@redhat.com>
4092         * objdump.c (show_line): Fix bug preventing printing of the very
4093         first line (line zero) of a file when interlisting source and
4094         assembly.  Added option to print entire context from start of file
4095         when the first line from that file is encountered.
4097 2000-02-03  Timothy Wall <twall@redhat.com>
4099         * objdump.c (dump_section_header, find_symbol_for_address,
4100         show_line, disassemble_bytes, disassemble_data, dump_data):
4101         distinguish between octets and bytes.
4103 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
4105         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
4106         check to unresolved symbols.
4107         (print_symbol_info_sysv):  Ditto.
4108         (print_symbol_info_posix):  Ditto.
4110         * binutils.texi: Document new 'V' symclass flag for nm.
4112 2000-01-27  Nick Clifton  <nickc@redhat.com>
4114         * binutils.texi (objdump): Document new ARM specific
4115         disassembler options.
4117         * objdump.c (usage): Call disassembler_usage().
4119 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
4121         * readelf.c (get_dynamic_flags): Return buff.
4122         (process_dynamic_segment): Don't pass error strings to printf
4123         as format arg.
4124         (read_and_display_attr): Use lx and ld to print longs.
4125         (process_corefile_note_segment): Cast bfd_vma to unsigned long
4126         before printing.
4127         Update copyright.
4129 2000-01-17  Nick Clifton  <nickc@cygnus.com>
4131         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
4133 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
4135         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
4136         false.
4137         (debug_tag_type): Here too.
4138         * ieee.c (ieee_builtin_type): And here.
4139         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
4141 2000-01-13  Nick Clifton  <nickc@cygnus.com>
4143         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
4144         System/370".
4146 2000-01-11  Nick Clifton  <nickc@cygnus.com>
4148         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
4150 2000-01-10  Nick Clifton  <nickc@cygnus.com>
4152         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
4154 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
4156         * windres.c (long_options): Add --use-temp-file and
4157         --no-use-temp-file options.
4158         (usage): Document.
4159         (main): Handle.
4161         * windres.h: Update read_rc_file prototype.
4163         * resrc.c (cpp_temp_file): New static variable.
4164         (istream_type): New static variable.
4165         (close_pipe): Delete function.
4166         (run_cmd): New static function.
4167         (open_input_stream): New static function.
4168         (close_input_stream): New static function.
4169         (look_for_default): Handle DOS directory separator. Use
4170         open_input_stream instead of popen.
4171         (read_rc_file): Likewise.
4173         * binutils.texi: Document --use-temp-file, --no-use-temp-file
4174         options.
4176 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
4178         * dlltool.c (create_compat_implib): New variable.
4179         (gen_exp_file): Use.
4180         (make_one_lib_file): Use.
4181         (long_options): Add --compat-implib option.
4182         (usage): Handle.
4183         (main): Handle.
4185         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
4186         (main): Use. Don't look for "32" in cygwin and mingw target names.
4188 2000-01-03  Nick Clifton  <nickc@cygnus.com>
4190         * binutils.texi: Document new, ARM specific disassembler
4191         command line switch "-M force-thumb".
4193 For older changes see ChangeLog-9899
4195 Local Variables:
4196 mode: change-log
4197 left-margin: 8
4198 fill-column: 74
4199 version-control: never
4200 End: