Allow resource IDs to be strings or numbers.
[binutils.git] / binutils / ChangeLog
blobdd9843f99b2631bee81d023790130ab3414d2a22
1 2003-03-31  Ian Lance Taylor <ian@airs.com>
3         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
4         (optresid): Handle a resource id that can be a string or a number.
5         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
6         struct res_id.
7         (define_icon_control): Pass a struct res_id to define_control.
8         * windres.h (define_control): Change prototype.
10 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
12         * objcopy (OPTION_FORMATS_INFO): Define.
13         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
14         (copy_options): Likewise.
15         (strip_usage): Add "--info" to usage.
16         (copy_usage): Likewise.
17         (strip_main): Declare formats_info. Iniatilize it to FALSE.
18         Handle "info".
19         (copy_main). Likewise.
20         * doc/binutils.texi. Document the "--info" option for
21         objcopy/strip.
22         * NEWS: Mention the new command line switch.
24         * objdump.c (endian_string): Move to bucomm.c.
25         (display_info): Likewise.
26         (display_target_list): Likewise.
27         (display_info_table): Likewise.
28         (display_target_tables): Likewise.
29         (main): Assign the return value of display_info to exit_status.
30         * bucomm.c: Include bfdver.h and libbfd.h
31         (display_target_list): Call bfd_nonfatal instead of nonfatal and
32         return 0 on a non-fatal error, 1 on success.
33         (display_info_table): Likewise. 
34         * bucomm.h (display_info): Provide a prototype.
35         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
36         libbfd.h.
37         * Makefile.in: Regenerate.
39 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
41         * dlltool.c (gen_def_file): Put demangled name comments on
42         own line preceding export name.
44 2003-03-17  Nick Clifton  <nickc@redhat.com>
46         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
47         printf for emitting new lines.
49 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
51         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
52         the symbol's value when --size-sort is used, unless -S is used.
53         doc/binutils.texi (--size-sort): For non-bsd formats both the
54         value and size of the symbols are displayed.
55         
56 2003-03-13  Nick Clifton  <nickc@redhat.com>
58         * po/da.po: Update.
60 2003-03-12  Nick Clifton  <nickc@redhat.com>
62         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
64 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
66         * MAINTAINERS: Update my mail address.
68 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
70         * stabs.c (BYTES_IN_WORD): Remove definition.
71         * wrstabs.c (BYTES_IN_WORD): Likewise.
73 2003-03-04  Nick Clifton  <nickc@redhat.com>
75         * nm.c (main): Print a warning message if --size-sort and
76         --undefined-only are used together.
78 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
80         * nm.c (print_symbol): Remove check for undefined_only.
81         
82 2003-03-03  Nick Clifton  <nickc@redhat.com>
84         * po/da.po: Installed latest translation.
86 2003-02-24  Nick Clifton  <nickc@redhat.com>
88         * README: Update binutils references to 2.13.
89         Add paragraph about using --disable-nls.
91 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
93         * doc/binutils.texi (nm --size-sort): Update.
95 2003-02-21  James E Wilson  <wilson@tuliptree.org>
97         * MAINTAINERS: Update email address.
99 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
101         * readelf.c (get_ia64_dynamic_type): New function.
102         (dynamic_segment_ia64_val): New function.
103         (get_dynamic_type): If machine type is EM_IA_64 call
104         get_ia64_dynamic_val.
105         (get_ia64_section_type_name): Handle sections with types in the
106         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
107         (get_dynamic_flags): If machine type is EM_IA_64 call
108         dynamic_segment_ia64_val.
110 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
112         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
113         section title capitalization more consistent.  Update descriptions
114         of various options to be consistent with the code.  Fix errors and
115         incomplete list in the description of c++filt format options.  Remove
116         information about the linker.  Change to be more polite about poor
117         bug reports.  Replace FDL appendix with include of fdl.texi.
118         * doc/fdl.texi: New file.
120 2003-02-21  Roger Sayle  <roger@eyesopen.com>
122         * objcopy.c (filter_symbols): Fix compilation problems with
123         HP-UX's C compiler.
125 2003-02-19  Christopher Faylor  <cgf@redhat.com>
127         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
128         previous change.
130 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
132         * rclex.l (handle_quotes): Handle strings spanning more than one line.
134 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
136         * nm.c (usage): Add `java' and `gnat' demangle styles and make
137         quotes consistent.
138         * objdump.c (usage): Ditto.  Also fix some typos.
140         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
142         * debug.c (debug_record_variable): Handle global register variables.
144         * stabs.c (parse_stab): For N_SLINE only include
145         function_start_offset if the symbol is within a function;
146         otherwise, the value is absolute.
148 2003-02-10  Nick Clifton  <nickc@redhat.com>
150         * readelf.c (decode_ARM_machine_flags): Handle the
151         EF_ARM_MAVERICK_FLOAT flag.
153 2003-02-04  Andreas Schwab  <schwab@suse.de>
155         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
156         long and use %ld in printf format.
158 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
160         * readelf.c (dump_relocations): Reorder the r_info field for
161         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
163 2003-01-21  Daniel Berlin  <dan@dberlin.org>
165         * readelf.c (display_debug_loc): Skip address base changes.
167 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
169         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
170         and ELFOSABI_NSK.
172 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
174         * readelf.c: Include elf/ppc64.h.
175         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
176         * Makefile.am: Run "make dep-am".
177         * Makefile.in: Regenerate.
179 2003-01-02  Ben Elliston  <bje@redhat.com>
181         * readelf.c (guess_is_rela): Handle EM_IQ2000.
182         (get_machine_name): Likewise.
183         (dump_relocations): Likewise.
184         * NEWS: Mention IQ2000 support.
186 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
188         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
190 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
192         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
193         changes in MIPS -M options.
195 2002-12-30    Dmitry Diky <diwil@mail.ru>
197         * Makefile.am: Add msp430 target.
198         * Makefile.in: Regenerate.
199         * readelf.c: Add support for msp430 target.
201 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
203         * doc/binutils.texi (objdump): Document MIPS -M options.
205 2002-12-23  Andreas Schwab  <schwab@suse.de>
207         * readelf.c (main): Reset dump request after each file.
209 2002-12-23  Nick Clifton  <nickc@redhat.com>
211         * nlmconv.c (main): Pass TRUE as third argument to
212         bfd_arch_get_compatible.
214 2002-12-23  Nick Clifton  <nickc@redhat.com>
216         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
217         macro.  Handle 'S' encoding, accepting 8-bit characters.
218         (main): Parse 'S' encoding.
219         (get_char): Accept 'S' encoding.
220         (print_strings): Use STRING_ISGRAPHIC.
221         (usage): Document support of 'S' encoding.
222         * doc/binutils.texi: Document support of 'S' encoding/
223         * NEWS: Mention new feature.
225 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
227         * README <building ar>: Don't use libibery's needed_list or
228         required_list, instead link libiberty/*.o.
230 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
232         * doc/binutils.texi: Fix typos.
234 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
236         * doc/binutils.texi: Add missing parenthesis.
238 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
240         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
241         symbols by adding the given prefix to the begining of the symbol
242         name. This is useful to provide name space seperation regardless
243         of how the object file was created. Added --prefix-sections=
244         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
245         sections (or all sections with the alloc flag set) by adding the given
246         prefix to the begining of the symbol name.
247         * NEWS: Mention this new feature.
248         * doc/binutils.texi: Document this new feature.
250 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
252         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
253         dyn_string_append with dyn_string_append_cstr.
255         * emul_aix.c (ar_emul_aix_create): Remove unused function.
257 2002-12-10  James Cownie <jcownie@etnus.com>
259         * readelf.h (get_TAG_name, get_AT_name,
260         read_and_display_attr_value): Add support for UPC extensions to
261         DWARF2 spec.
262         * NEWS: Mention this new support.
264 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
266         * NEWS: Mention that bfd no longer declares a "boolean" type.
268 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
270         * readelf.c (process_program_headers): When setting loadaddr, don't
271         assume segment size is 4k.  Use p_align instead.
272         (loadaddr): Change from int to long.
273         (dynamic_addr, dynamic_info, version_info): Likewise.
274         (process_dynamic_segment <syminsz>): Likewise.
275         (process_dynamic_segment): Adjust print format string.
276         (rela_addr, rela_size): Delete.
277         (process_relocs): Formatting.
279 2002-12-05  Jim Wilson  <wilson@redhat.com>
281         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
282         * configure: Regenerate.
284 2002-12-04  Ian Lance Taylor  <ian@airs.com>
286         * MAINTAINERS: Change e-mail address back to airs.com.
288 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
290         * MAINTAINERS: Add self.
292 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
294         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
295         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
296         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
297         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
298         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
299         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
300         with TRUE/FALSE.  Formatting.
302 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
304         * readelf.c Replace occurrences of Elf32_Internal_* and
305         Elf64_Internal_* with Elf_Internal_*.
306         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
307         Zero r_addend fields.
308         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
309         Elf_Internal_Rela.
311 2002-11-23  Nick Clifton  <nickc@redhat.com>
313         * size.c (usage): Fix typo describing switch for hex format.
315 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
317         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
318         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
319         testcase
321 2002-11-14  Nick Clifton  <nickc@redhat.com>
323         * readelf.c (process_program_headers): Add comment about return
324         value.  Ensure that 0 is returned if the headers are not loaded.
325         (process_file): If process_section_headers failed to load the
326         headers disable any tests that rely upon them.  Similarly for
327         process_program_headers.
329 2002-11-12  Nick Clifton  <nickc@redhat.com>
331         * po/da.po: Updated Danish translation.
333 2002-11-12  Klee Dienes  <kdienes@apple.com>
335         * rddbg.c (read_section_stabs_debugging_info): Also recognize
336         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
338 2002-11-11  Christopher Faylor  <cgf@redhat.com>
340         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
341         cgf maintainership.
343 2002-11-11  Christopher Faylor  <cgf@redhat.com>
345         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
347 2002-11-07  Nick Clifton  <nickc@redhat.com>
349         * configure.in (ALL_LINGUAS): Add 'da'.
350         * configure: Regenerate.
351         * po/da.po: New Danish translation.
353         * readelf.c (get_symbol_index_type): Revert part of previous
354         patch: Display unknown symbol types in decimal, not hex.
356 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
358         * dlltool.c (add_excludes): Don't prefix excluded fastcall
359         symbols with underscore.
360         (xlate): Ignore add_underscore for decorated fastcall symbols.
362 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
364         * deflex.l: Accept '@' as first character of an ID.
365         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
366         ASM_PREFIX for fastcall symbols.
367         (scan_drectve_symbols): Handle fastcall symbols when generating
368         undecorated aliases for symbols in drectve section.
369         (scan_filtered_symbols): Likewise, with export-all.
370         (xlate): Likewise, with --kill-at.
371         (make_imp_label): New function to handle fastcall symbols
372         correctly.
373         (make_one_lib_file): Use make_imp_label instead of make_label
374         for imp symbols.
376 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
378         * MAINTAINERS: Add self as TIC4X maintainer.
380 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
382         * readelf.c (get_symbol_index_type): Add hex number to
383         PROCESSOR-specific, OS-specific, reserved and unknown symbol
384         types.
386 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
388         * readelf.c (byte_get_little_endian): Comment typo fix.
389         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
390         as the format string.
391         (dump_relocations): Correct section sym names.
392         (process_section_headers): Clear symtab_shndx_hdr.
393         (read_and_display_attr_value): Don't pass indirect string to printf
394         as the format string.
395         (display_debug_frames): Indicate when zero terminator found.  Decode
396         DW_EH_PE_pcrel addresses.
398 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
400         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
401         order to ensure proper disassembly of the valid 0-value opcode.
402         * configure: Regenerate.
403         * aclocal.m4: Regenerate.
404         * config.in: Regenerate.
405         * configure.in: Regenerate.
406         * doc/Makefile.in: Regenerate.
407         * po/binutils.pot: Regenerate.
409 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
411         * MAINTAINERS: Add self as SH maintainer.
413 2002-10-23  Ben Elliston  <bje@redhat.com>
415         * doc/binutils.texi (objdump): Document -z and move the entry for
416         --disassemble-zeroes to the end of the options section (for `z').
418 2002-10-21  Nick Clifton  <nickc@redhat.com>
420         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
422 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
424         * objdump.c (dump_data): Correct addr_offset for opb != 1.
426 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
428         * bucomm.c (list_supported_targets): Use bfd_target_list.
430         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
431         other object errors in preference to bfd_core errors.
433 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
435         * Makefile.am: Run "make dep-am".
436         * objdump.c: #include "bfdver.h".
437         * version.c: Likewise.
438         * Makefile.in: Regenerate.
439         * config.in: Regenerate.
440         * configure: Regenerate.
441         * po/POTFILES.in: Regenerate.
443 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
445         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
446         sections.  Allow relocations against the absolute symbol.  Don't
447         use the value in compunit.cu_abbrev_offset if we found a RELA
448         relocation.
450 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
452         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
453         ordinary ones are available.
455 2002-09-30  H.J. Lu <hjl@gnu.org>
457         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
458         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
460 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
462         * Makefile.am (CFILES): Add cxxfilt.c.
463         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
464         (cxxfilt_LDADD): Delete.
465         Remove all references to underscore.c.
466         Regen dependencies.
467         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
468         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
469         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
470         adjustments to fit into binutils framework.
471         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
473 2002-09-12  Roland McGrath  <roland@redhat.com>
475         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
476         Handle DW_OP_GNU_push_tls_address.
478 2002-09-11  Nick Clifton  <nickc@redhat.com>
480         * po/tr.po: Updated Turkish translation.
482 2002-09-10  Nick Clifton  <nickc@redhat.com>
484         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
485         testsuite changes.  Add paragraphs about testsuite and config
486         patches.
488 2002-08-29  Nick Clifton  <nickc@redhat.com>
490         * readelf.c (get_machine_flags): Remove redundant reference to
491         E_V850EA_ARCH.
493 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
495         * objdump.c (dump_bfd): Restore lines accidentally deleted in
496         last commit.
498 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
500         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
501         (dump_bfd_header): Likewise.
503 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
505         * nm.c: Revert last change.
507 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
509         * nm.c (display_rel_file): Don't report "no symbols" as an error.
510         * objdump.c (slurp_symtab): Likewise.
511         (slurp_dynamic_symtab): Likewise.
512         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
514 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
516         * MAINTAINERS: Change my mailing address.
518 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
520         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
522 2002-08-22  Nick Clifton  <nickc@redhat.com>
524         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
525         HPPA.
527 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
529         * readelf.c (parse_args): Change debug_dump_opt to static.
531 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
533         * stabs.c (parse_stab_argtype): Pass length of physname to
534         stab_demangle_argtypes.
535         (stab_demangle_argtypes): Add new parameter - length of physname.
536         Pass length of physname on to stab_demangle_prefix.
537         (stab_demangle_prefix): Add new parameter - length of physname.
538         Use length of physname (if supplied) to compute end of function
539         name.
541 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
543         * readelf.c: Include elf/i370.h.
544         (dump_relocations): Handle EM_S370.
545         (dynamic_segment_parisc_val): Print \n.
546         (process_dynamic_segment <DT_BIND_NOW>): Here too.
548 2002-08-14  Nick Clifton  <nickc@redhat.com>
550         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
551         * objdump.c (usage): Likewise.
552         * doc/binutils.texi: Likewise.
554 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
556         * rcparse.y (acc_entry): Don't warn about ALT use with
557         non-VIRTKEY.
559 2002-08-13  H.J. Lu <hjl@gnu.org>
561         * objcopy.c (copy_object): Don't warn about the unsupported
562         architecture unless the input target is defaulted or the
563         output architecture is different from the input.
565 2002-08-09  Nick Clifton  <nickc@redhat.com>
567         * po/sv.po: Updated Swedish translation.
569 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
571         * prdbg.c (pr_fix_visibility): Remove assert.
573 2002-07-31  Nick Clifton  <nickc@redhat.com>
575         * addr2line.c (process_file): Rename parameter 'filename' to
576         'file_name' in order to avoid shadowing global symbol of the
577         same name.
578         (main): Likewise.
580 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
582         * readelf.c (OPTION_DEBUG_DUMP): Define.
583         (options): Use it.
584         (usage): Update help.
585         (parse_args): Handle --debug-dump separately from -w.
586         * doc/binutils.texi (readelf): Update documentation.
588 2002-07-25  Nick Clifton  <nickc@redhat.com>
590         * po/es.po: Updated Spanish translation.
591         * po/fr.po: Updated French translation.
593 2002-07-24  Nick Clifton  <nickc@redhat.com>
595         * po/es.po: Updated Spanish translation.
597 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
599         * Makefile.am: Run "make dep-am".
600         * Makefile.in: Regenerate.
602 2002-07-23  Nick Clifton  <nickc@redhat.com>
604         * po/fr.po: Updated French translation.
606 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
608         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
610 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
612         * budemang.c: Include config.h and string.h/strings.h.
614 2002-07-18 Denis Chertykov  <denisc@overta.ru>
615            Frank Ch. Eigler  <fche@redhat.com>
617         * readelf.c: Include "elf/ip2k.h".
618         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
619         (dump_relocations): Likewise.
620         (get_machine_name): Likewise.
621         * NEWS: Mention IP2K support.
623 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
625         * NEWS: Add 'Changes in 2.13'.
627 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
629         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
630         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
631         (get_section_type_name): Handle SHT_GNU_LIBLIST.
632         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
633         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
634         (process_gnu_liblist): New.
635         (process_file): Call it.
637 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
639         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
640         * Makefile.in: Regenerate.
642 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
644         * budemang.c: New file, "demangle" function.
645         * budemang.h: New file.
646         * addr2line.c (translate_addresses): Use "demangle".
647         * nm.c (print_symname): Likewise.
648         * objdump.c (objdump_print_symname): Likewise.
649         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
650         here since that obfuscates.
651         * rdcoff.c: Don't #include demangle.h.
652         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
653         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
654         (HFILES): Add budemang.h.  Sort.
655         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
656         Run "make dep-am".
657         * Makefile.in: Regenerate.
659 2002-07-01  Matt Thomas  <matt@3am-software.com>
661         * readelf.c: Include "elf/vax.h".
662         (guess_is_rela): Move EM_VAX from unknown to RELA case.
663         (dump_relocations): Handle VAX relocations.
664         (get_machine_flags): Handle VAX machine flags.
666 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
668         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
670 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
672         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
674 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
676         * nm.c (print_symname): When demangling, strip leading dots from
677         symbol names to avoid confusing the demangler.
679 2002-06-25  H.J. Lu <hjl@gnu.org>
681         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
682         * Makefile.in: Regenerated.
684 2002-06-21  Igor Schein  <igor@txc.com>
686         * configure.in: Quote bu_cv_have_fopen64.
687         * configure: Regenerate.
689 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
691         * configure.in: Check for strcoll.
692         * configure: Regenerate.
693         * config.in: Regenerate.
694         * nm.c (main): Set locale for LC_COLLATE category.
695         (non_numeric_forward): Use strcoll if available.
697 2002-06-20  Dave Brolley  <brolley@redhat.com>
699         * MAINTAINERS: Add self as fr30 and frv maintainer.
701 2002-06-18  H.J. Lu  (hjl@gnu.org)
703         * nm.c: Include "elf/common.h".
704         (extended_symbol_info): Add elfinfo, a pointer to
705         elf_symbol_type.
706         (SYM_SIZE): Use elfinfo if it is not NULL.
707         (get_symbol_type): New function.
708         (display_archive): Set print_width for each archive member.
709         (display_file): Likewise.
710         (display_rel_file): Don't set print_width here.
711         (print_object_filename_sysv): Handle print_width.
712         (print_archive_member_sysv): Likewise.
713         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
714         (print_symbol): Set the elfinfo field in extended_symbol_info
715         for ELF.
716         (print_object_filename_sysv): Fix the output format.
717         (print_symbol_info_sysv): Print type and section for ELF.
719 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
721         * nm.c (print_size_symbols): Remove assignment, which makes
722         the symbol's size equal to its value when --size-sort is
723         used.
725 2002-06-18  Dave Brolley  <brolley@redhat.com>
727         From Catherine Moore:
728         * readelf.c (elf/frv.h): #include it.
729         (guess_is_rela): Support EM_CYGNUS_FRV.
730         (dump_relocations): Ditto.
731         (get_machine_name): Ditto.
732         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
734 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
736         * readelf.c (get_file_header): Only read the first section header if
737         e_shoff is non-zero.
739 2002-06-15  H.J. Lu  (hjl@gnu.org)
741         * nm.c (print_size): New variable. Initialize to 0.
742         (long_options): Add 'S'/"print-size".
743         (main): Handle 'S'.
744         (print_symbol_info_bsd): Print size only if print_size is not
745         0.
747         * doc/binutils.texi: Document -S/--print-size.
749 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
751         * nm.c (struct extended_symbol_info): New strcuture: Add the size
752         of the symbols to the information provided by the symbol_info
753         structure.
754         (print_symbols): Pass the symbol size to print_symbol.
755         (print_size_symbols): Pass the symbol size to print_symbol.
756         (print_symbol): Extra argument: The size of the symbol.  Store
757         this in the extended_symbol_info structure.
758         (print_symbol_info): Change type of info parameter to
759         extended_symbol_info.  Display the size, if known.
760         (print_symbol_info_posix): Likewise.
761         (print_symbol_info_sysv): Likewise.
763 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
765         * Makefile.am: Run "make dep-am".
766         * Makefile.in: Regenerate.
767         * doc/Makefile.in: Regnerate.
769         * bucomm.c: Replace CONST with const.
770         * nm.c: Likewise.
771         * objdump.c: Likewise.
773 2002-06-07  H.J. Lu <hjl@gnu.org>
775         * readelf.c (DW_CFA_GNU_args_size): Don't define.
776         (DW_CFA_GNU_negative_offset_extended): Likewise.
777         (DW_CFA_GNU_window_save): Likewise.
778         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
779         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
781 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
783         * nm.c: When computing size of symbols for an ELF target use the
784         internal size field.
786 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
788         * testsuite/binutils-all/objcopy.exp: clear xfail for
789         "hppa*64*-*-hpux*".
790         * testsuite/binutils-all/hppa/objdump.exp: Return if
791         "*64*-*-*".
793 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
795         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
797 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
799         * objdump.c: Fix formatting.
801 2002-05-29  Ben Elliston  <bje@redhat.com>
803         * MAINTAINERS: Add self as M68k maintainer.
805 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
807         * readelf.c: Modified/Added DLX elf support.
809 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
811         * arsup.c: Fix formatting.
812         * debug.c (debug_record_label): Add missing colon to error
813         message.
814         * ieee.c (parse_ieee_ty): Fix spelling typo.
815         * readelf.c (process_program_headers): Remove English assumption
816         about making a plural word.
817         (process_section_headers): Likewise.
818         (process_relocs): Allow quotes to be translated.
819         (process_unwind): Likewise,
820         (process_mips_specific): Improve error message.
821         (get_note_type): Fix spelling typo.
823         * configure.in (ALL_LINGUAS): Add sv
824         * po/sv.po: New file.
826 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
828         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
829         (unw_print_grmask): Likewise.
830         (unw_print_frmask): Likewise.
832 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
834         * arsup.c: Remove ARGSUSED.
835         * debug.c: Likewise.
836         * ieee.c: Likewise.
837         * nlmconv.c: Likewise.
838         * prdbg.c: Likewise.
839         * stabs.c: Likewise.
840         * wrstabs.c: Likewise.
842 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
844         * arlex.l: Use #include "" instead of <> for local header files.
845         * coffdump.c: Likewise.
846         * coffgrok.c: Likewise.
847         * nlmconv.c: Likewise.
848         * nlmheader.y: Likewise.
849         * srconv.c: Likewise.
850         * strings.c: Likewise.
851         * sysdump.c: Likewise.
852         * unwind-ia64.h: Likewise.
853         * windres.h: Likewise.
854         * winduni.h: Likewise.
856 2002-05-24  Tom Rix  <trix@redhat.com>
858         * MAINTAINERS: Add self as the d10v maintainer.
860 2002-05-24   TAMURA Kent <kent@netbsd.org>
862         * configure.in: Builds dlltool for i386-netbsdpe.
863         * configure: Regenerate.
865 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
867         * size.c: Fix formatting.
868         * srconv.c: Likewise.
869         * stabs.c: Likewise.
870         * sysdump.c: Likewise.
871         * unwind-ia64.c: Likewise.
872         * wrstabs.c: Likewise.
874 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
876         * readelf.c (get_segment_type): Add PT_TLS.
877         (get_elf_section_flags): Add SHF_TLS.
878         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
879         (process_dynamic_segment): Use puts instead of printf.
880         (get_symbol_type): Support STT_TLS.
881         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
882         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
883         Add SEC_THREAD_LOCAL.
885 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
887         * rdcoff.c: Fix formatting.
888         * rddbg.c: Likewise.
889         * readelf.c: Likewise.
890         * rename.c: Likewise.
891         * resbin.c: Likewise.
892         * resrc.c: Likewise.
893         * resres.c: Likewise.
895 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
897         * filemode.c: Fix formatting.
898         * ieee.c: Likewise.
899         * is-ranlib.c: Likewise.
900         * is-strip.c: Likewise.
901         * maybe-ranlib.c: Likewise.
902         * maybe-strip.c: Likewise.
903         * nlmconv.c: Likewise.
904         * nm.c: Likewise.
905         * not-ranlib.c: Likewise.
906         * not-strip.c: Likewise.
907         * objcopy.c: Likewise.
908         * objdump.c: Likewise.
910 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
912         * objdump.c (dump_headers): Fix output formatting for ELF32
913         architectures in a BFD64 enabled toolchain.
915 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
917         * debug.c: Fix formatting.
918         * debug.h: Likewise.
919         * dlltool.c: Likewise.
920         * dllwrap.c: Likewise.
921         * emul_aix.c: Likewise.
922         * emul_vanilla.c: Likewise.
924 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
926         * addr2line.c: Fix formatting.
927         * ar.c: Likewise.
928         * arsup.c: Likewise.
929         * arsup.h: Likewise.
930         * binemul.c: Likewise.
931         * binemul.h: Likewise.
932         * bucomm.c: Likewise.
933         * coffdump.c: Likewise.
934         * coffgrok.c: Likewise.
935         * coffgrok.h: Likewise.
937 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
939         * MAINTAINERS: Add myself as the second AVR port maintainer.
941 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
943         * MAINTAINERS: Update my email address.
945 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
947         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
949 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
951         * configure.in: Replace `*pe' with `pe' throughout.
952         * configure: Regenerate.
954 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
956         * Makefile.am: Honour DESTDIR.
957         * Makefile.in: Regenerate.
959 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
961         * dlltool.c (process_def_file): Add missing prototype.
962         (new_directive, assemble_file, main): Likewise.
963         (process_def_file, new_directive): Make static.
964         (inform): Rewrite using VA_FIXEDARG.
965         * dllwrap.c (mybasename): Add missing prototype.
966         (strhash, main): Likewise.
967         (inform): Rewrite using VA_FIXEDARG.
968         (warn): Likewise.
969         (cleanup_and_exit): Use old style function definition.
970         (strhash): Likewise.
971         * windres.c (define_resource): Use one memset to clear all of
972         struct res_resource.
974         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
975         call to rules that need no lookahead.  Check for no lookahead.
977 2002-05-06  Borut Razem  <borut.razem@siol.net>
979         * rclex.l (get_string): Correct "strings" list handling.
980         * resrc.c (read_rc_file): Discard strings.
982 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
984         * ar.c (replace_members): Remove unused var.  Formatting fix.
985         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
987         * MAINTAINERS: Sort port maintainers by CPU.
989 2002-05-04  Bob Byrnes  <byrnes@curl.com>
991         * size.c (display_archive): Add last_arfile and code to close archives.
993 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
995         * nm.c (print_symbol): Check returned filename from
996         bfd_find_nearest_line is non-NULL.
998 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1000         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1002 2002-04-24  Christian Groessler <chris@groessler.org>
1004         * MAINTAINERS: Changed my email address.
1006 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1008         * arparse.y: Fix syntax warning.
1010 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1012         * readelf.c (fetch_location_list): Remove unused function.
1014         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1015         and display a warning message, then exit the loop.
1017         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1019 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1021         * resrc.c (write_rc_dialog): If charset is non-default value
1022         display all of the DIALOGEX parameters.
1024 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1026         * rcparse.y: Allow two to five parameter in FONT statement of
1027         DIALOGEX resources.
1028         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1029         resource data.
1030         (res_to_bin_dialog): Likewise.
1031         * windres.h: Added misssing charset variable to dialog_ex
1032         structure.
1034 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1036         * rcparse.y: Set MEMFLAG_PURE by default.
1038 2002-04-09  Bernd Herd <info@herdsoft.com>
1040         * rcparse.y: CLASS definitions in DIALOG resources
1041         are quoted.
1042         Fix typo in BEDIT warning.
1043         Don't add default dialog style when explicit style specified.
1044         Add WS_CAPTION dialog style if CAPTION is specified.
1046         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1047         (handle_quotes) "\a" escape (used for right justified key
1048         definitions in menus) is encodes as binary 8.
1050         * resrc.c (write_rc_dialog): Print style even if it is 0.
1051         (write_rc_directory): Fix overlooked sublang shift bug.
1052         (bin_to_res_dialog): Don't print empty dialog caption.
1054         * resbin.c (bin_to_res_dialog): Use signature to identify
1055         DIALOGEX.
1057         * windres.c (main): Set default LANGUAGE to english/us.
1059 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1061         * resrc.c: print CLASS names in quotes
1063 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1065         * MAINTAINERS: Update my email address.
1067 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1069         * dep-in.sed: Cope with absolute paths.
1070         * Makefile.am (dep.sed): Subst TOPDIR.
1071         Run "make dep-am".
1072         * Makefile.in: Regenerate.
1074 2002-03-27  Peter Targett  <peter.targett@arc.com>
1076         * MAINTAINERS: Update my email address.
1078 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1080         * Makefile.am: Run "make dep-am".
1081         * Makefile.in: Regenerate.
1082         * doc/Makefile.in: Regenerate.
1083         * po/POTFILES.in: Regenerate.
1084         * aclocal.m4: Regenerate.
1085         * config.in: Regenerate.
1086         * configure: Regenerate.
1088 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1090         * readelf.c: Add support for displaying dwarf2 location lists.
1091         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1092         (parse_args): Use 'O' as shorthand for displaying location list
1093         section.
1094         (process_section_headers): Handle debug_loc as well.
1095         (load_debug_loc): New.
1096         (free_debug_loc): New.
1097         (fetch_location_list): New.
1098         (display_debug_loc): New.
1099         (display_debug_info): Call load_debug_loc and free_debug_loc.
1100         (debug_displays): We can display .debug_loc now, too.
1101         (usage): Update usage string.
1102         (read_and_display_attr_value): Note location lists, but don't
1103         display them inline.
1105 2002-03-18  Tom Rix  <trix@redhat.com>
1107         * Makefile.am: Add binutils emulation support.
1108         * configure.in: Same.
1109         * configure.tgt: New file.  Same.
1110         * ar.c (main): Use ar_emul_parse_arg.
1111         (usage): Use ar_emul_usage.
1112         (replace_members): Use ar_emul_replace, ar_emul_append.
1113         * binemul.c: New file.  Define the binutils emulation
1114         layer. Define default methods.
1115         * binemul.h: New file.  Binutils emulation layer header file.
1116         * emul_aix.c: New file.  AIX binutils emulation.
1117         * emul_vanilla.c: New file. Default binutils emulation.
1118         * Makefile.in: Regenerate.
1119         * configure: Same.
1121 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1123         * po/fr.po: Updated version.
1125 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1127         * po/fr.po: Updated version.
1129 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1131         * README: Update some version numbers.
1133 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1135         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1136         (Architecture Selection): Likewise.
1138 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1140         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1141         generating .exp file.
1143 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1145         * readelf.c (dump_relocations): Fix typo.
1147 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1149         * NEWS: Mark 2.12 branch.
1151 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1153         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1154         types for 64-bit MIPS.  Narrow some fields for 80-char
1155         output.
1156         (dump_relocations): Change spelling from 'unrecognised'
1157         to 'unrecognized'.
1158         (decode_ARM_machine_flags): Likewise.
1159         (parse_args): Likewise.
1160         (read_and_display_attr_value): Likewise.
1161         (display_debug_section): Likewise.
1163 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1165         * NEWS: Mention support for MMIX.
1167 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1169         * readelf.c (get_machine_flags): Recognize EF_M68000.
1171 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1173         * MAINTAINERS: Added self as MN10300 co-maintainer.
1175 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1177         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1178         DT_PPC64_OPDSZ.
1180 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1182         * MAINTAINERS: List myself as branch maintainer.
1184 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1186         * configure: Regenerate.
1187         * objcopy.c: Update copyright date.
1188         * doc/Makefile.in: Regenerate.
1190 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1192         * nlmconv.c: Back out localtime PARAMS change.
1194 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1196         * objcopy.c (MKDIR): Define.
1197         (copy_archive): Make name_list.name const.  Use MKDIR.
1198         Handle duplicate files in archives by making more temp dirs.
1200 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1202         * coffdump.c: Include "getopt.h" after "bucomm.h"
1203         so that macros are defined correctly.
1204         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1205         prototype.  Prototype main.
1206         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1208 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1210         * MAINTAINERS: Added self as SH co-maintainer.
1212 2002-02-05  Nick Clifton <nickc@redhat.com>
1214         * po/tr.po: Updated translation.
1216 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1218         * Makefile.am: Run "make dep-am"
1219         * Makefile.in: Regenerate.
1221 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1223         * nm.c (print_value): Mark abfd unused.
1225 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1227         * unwind-ia64.c (unw_decoder): Change second argument
1228         to unsigned int, to match function prototypes.
1230 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1232         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1233         __GNU_LIBRARY__ will be defined.
1234         * size.c: Likewise.
1236 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
1238         * configure: Regenerated.
1240 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
1242         * doc/Makefile.am (install): Depend on install-info.
1243         * doc/Makefile.in: Regenerate.
1245 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
1247         * objcopy.c (strip_usage): Document -d as an alias
1248         --strip-debug.
1250         * size.c (usage): Document [-t | --totals] options.
1251         (long_options): Add --totals option.
1252         (main): If the [-t | --totals] option is specified and
1253         the output format is Berkeley-style, print the total
1254         text, data, and bss sizes of all objects listed.
1255         (print_berkeley_format): If the [-t | --totals] option
1256         is specified, track the total text, data, and bss
1257         sizes.
1258         * doc/binutils.texi (size): Document [-t | --totals] options.
1259         (strip): Document -d as an alias for --strip-debug.
1260         * NEWS: Mention new feature of size.
1262 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
1264         * po/fr.po: Updated version.
1265         * po/es.po: Updated version.
1267 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1269         * addr2line.c (usage): Update text to provide verbose
1270         description of the command line options.
1271         * ar.c (usage): Update text to provide verbose
1272         description of the command line options.
1273         (main): Accept -h and -H when running as ranlib.
1274         * coffdump.c (show_usage): Update text to provide verbose
1275         description of the command line options.
1276         * dlltool.c (main): Accept -H as an alias for --help.
1277         * nlmconv.c (show_usage): Update text to provide verbose
1278         description of the command line options.
1279         * nm.c (usage): Replace OPTIONS with option(s).
1280         (main): Accept -H as an alias for --help.
1281         * objcopy.c (strip_main): Accept -H as an alias for --help.
1282         * objdump.c (main): Accept -v as an alias for --verbose.
1283         * readelf.c (usage): Adjust format to match style used in
1284         other binutils.
1285         * size.c (usage): Update text to provide verbose description
1286         of the command line options.
1287         (main): Accept -v, -h and -H as command line options.
1288         * srconv.c (show_usage): Update text to provide verbose
1289         description of the command line options.
1290         * strings.c (main): Accept -H and -v as command line options.
1291         (usage): Update text to provide verbose description of the
1292         command line options.
1293         * sysdump.c (show_usage): Update text to provide verbose
1294         description of the command line options.
1295         * windres.c (usage): Adjust format to match style used in
1296         other binutils.
1298         * coffdump.c: Fix formatting.
1299         * nlmconv.c: Fix formatting.
1300         * srconv.c: Fix formatting.
1301         * sysdump.c: Fix formatting.
1303 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
1305         * Makefile.am: Run "make dep-am".
1306         * Makefile.in: Regenerate.
1308 2002-01-18  Andreas Jaeger  <aj@suse.de>
1310         * version.c (print_version): Update year.
1312 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
1314         * readelf.c (get_machine_name): Handle EM_PPC64.
1315         (guess_is_rela): Here too.
1317 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1319         * po/binutils.pot: Regenerate.
1320         * po/fr.po: Regenerate.
1321         * po/tr.po: Regenerate.
1323 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1325         * po/tr.po: Import new version.
1327 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
1329         * readelf.c (get_ppc64_dynamic_type): New.
1330         (get_dynamic_type): Call it.
1332 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
1334         * objcopy.c (copy_usage): Use "options" instead of "switches".
1335         (strip_usage): Use "options" instead of "switches".
1336         * doc/binutils.texi (dlltool):  Refer to "options" instead of
1337         "switches".
1339 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
1341         * MAINTAINERS: Add self as co-maintainer for the ARM code.
1343 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1345         * po/es.po: Import from translation project.
1346         * configure.in (ALL_LINGUAS): Add es.
1347         * configure: Regenerate.
1349 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1351         * readelf.c (get_netbsd_elfcore_note_type): Use
1352         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1354 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1356         * readelf.c: Update copyright years.
1357         (get_note_type): Return a const char *.
1358         (get_netbsd_elfcore_note_type): New function.
1359         (process_note): Use get_netbsd_elfcore_note_type to get
1360         the note type string for NetBSD ELF core files.
1362 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
1364         * readelf.c (get_ia64_segment_type): Add support for macros.
1365         (get_segment_type): Add support for IA64 specific macros.
1367 2001-12-20  Julian v. Bock  <julian@wongr.net>
1369         * readelf.c (print_symbol): New function: Print a formatted symbol
1370         name.  If --wide is specified do not truncate it.
1371         (dump_relocations): Use print_symbol() to print symbol names.
1372         (process_symbol_table): Likewise.
1373         (process_syminfo): Likewise.
1374         (process_mips_specific): Likewise.
1375         (usage): Document new feature of --wide switch.
1376         * doc/binutils.texi (objdump): Document additional behaviour of
1377         --wide.
1379 2001-12-18  Michael Snyder  <msnyder@redhat.com>
1381         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1382         (copy_object): Don't set the start address or flags of a core file.
1383         (copy_section): Don't relocate a core file.  Don't copy contents
1384         if the input section has the contents flag set, but the output
1385         section does not (which happens with the fake 'note' pseudo-
1386         sections that BFD creates for corefiles).
1388 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1390         * readelf.c (get_machine_flags): Recognize header flags for ABI and
1391         ASE extensions. More robust code for ISA checking. Ignore empty fields
1392         in header flags for GNU extensions.
1394 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
1396         * objcopy.c (copy_archive): Set output bfd format outside the loop.
1398 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1400         * po/ja.po: Import from translation project.
1401         * configure.in (ALL_LINGUAS): Add ja.
1402         * configure: Regenerate.
1404 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1406         * addr2line.c (main): Protoype.
1407         * ar.c (main): Protoype.
1408         * nm.c (main): Protoype.
1409         * objcopy.c (main): Protoype.
1410         * objdump.c (main): Protoype.
1411         * size.c (main): Protoype.
1412         * strings.c (main): Protoype.
1414 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
1416         * readelf.c (symtab_shndx_hdr): New global.
1417         (SECTION_HEADER_INDEX): Define.
1418         (SECTION_HEADER_NUM): Define.
1419         (SECTION_HEADER): Define.
1420         (GET_ELF_SYMBOLS): Pass two params rather than three.
1421         (get_32bit_elf_symbols): Take file and section args.  Read and
1422         use SHT_SYMTAB_SHNDX.
1423         (get_64bit_elf_symbols): Likewise.
1424         (dump_relocations): Use SECTION_HEADER to index "section_headers".
1425         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
1426         Remember symtab_shdx_hdr.
1427         (process_program_headers): Scan from index 1 for segment map.
1428         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1429         "section_headers".
1430         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
1431         (process_unwind): Likewise.
1432         (process_version_sections): Likewise.
1433         (process_symbol_table): Likewise.
1434         (display_debug_info): Likewise.
1435         (process_dynamic_segment): Fake up a symtab section for changed
1436         GET_ELF_SYMBOLS.
1437         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1438         (process_program_headers): Kill signed/unsigned warning.
1439         (load_debug_str): Likewise.
1440         (display_debug_info): Likewise.
1442 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
1444         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1446 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
1448         * readelf.c (process_file_header): Print extended e_shnum and
1449         e_shdtrndx values.  Set elf_header values for same.
1450         (get_32bit_section_headers): Add "num" arg to read "num" headers.
1451         (get_64bit_section_headers): Likewise.
1452         (process_section_headers): Update calls.
1453         (get_file_header): Call get_32bit_section_headers or 64bit variant.
1455 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
1457         * objcopy.c (setup_section): Copy entsize.
1459 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
1461         * readelf.c (guess_is_rela): Add support for stormy16.
1462         (dump_relocations): Likewise.
1463         (get_machine_name): Likewise.
1465 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1467         * dllwrap.c (main) Replace multiple strings describing a
1468         single error with a single, newline escaped sentence to permit
1469         better translation into foreign languages.
1471         * readelf.c (get_elf_class): Remove internalionalisation of ELF
1472         class names.
1474 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1476         * strings.c (get_char): Initialize value.
1478 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1480         * arlex.l: Silence compile warnings.
1481         * arsup.h: Likewise. Fix formatting.
1483 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1485         * strings.c: Include config.h before bfd.h.
1486         (file_off): New type.
1487         (file_open): Define.
1488         (print_strings): Use file_off instead of file_ptr.  Print addresses
1489         which don't fit into long correctly.
1490         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
1491         available.
1492         (strings_file): Use file_off instead of file_ptr.  Use file_open.
1493         * configure.in: Check for getc_unlocked.
1494         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1495         be defined for it.
1496         * configure: Rebuilt.
1497         * config.h.in: Rebuilt.
1499 2001-11-29  H.J. Lu <hjl@gnu.org>
1501         * bucomm.c (make_tempname): Revert the changes made on
1502         2001-11-14 and 2001-11-12. They won't work with directories.
1504 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1506         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1507         CFLAGS_FOR_TARGET to runtest in environment.
1508         * Makefile.in: Rebuild.
1509         * doc/Makefile.in: Rebuild.
1511 2001-11-28  Mike Stump  <mrs@wrs.com>
1513         * objcopy.c (setup_section): Preserve SEC_RELOC when
1514         --set-section-flags is used.
1516 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
1518         * readelf.c (do_debug_str): New variable.
1519         (display_debug_str): New function: Display the contents of a
1520         .debug_str section.
1521         (load_debug_str): New function: Load in the contents of a
1522         .debug_str section.
1523         (free_debug_str): New function: Free the memory used by
1524         load_debug_str().
1525         (fetch_indirect_string): Retrieve a string from the .debug_str
1526         section.
1527         (usage): Add -ws.
1528         (parse_args): Accept -ws.
1529         (process_section_headers): Allow the display of the .debug_str
1530         section.
1531         (read_and_display_attr_value): Use fetch_indirect_string.  Show
1532         offset into .debug_str section.
1533         (display_debug_info): Use load_debug_str and free_debug_str.
1534         (debug_displays): Add .debug_str.
1535         * doc/binutils.texi: Document -ws.
1537 2001-11-19  Andreas Jaeger  <aj@suse.de>
1539         * testsuite/binutils-all/objdump.exp: Add x86-64.
1541 2001-11-15  Andreas Schwab  <schwab@suse.de>
1543         * readelf.c: Fix warnings without terminating newline.
1545 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
1547         * doc/binutils.texi (objdump): Document ppc -M options.
1549 2001-11-14  Andreas Jaeger  <aj@suse.de>
1551         * doc/binutils.texi (objdump): Fix description to use x86-64.
1553 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
1555         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1556         not all systems provide mkstemp.
1558 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1560         * doc/binutils.texi (objdump): Document x86 -M options.
1562 2001-11-13  Keith Walker <keith.walker@arm.com>
1564         * readelf.c (read_and_display_attr_value): New function to
1565         handle DW_FORM_indirect.
1566         (read_and_display_attr): Use it.
1568 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1570         * readelf.c (display_debug_lines): Deal with unknown standard
1571         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1572         DW_LNS_set_isa.
1574 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1576         * MAINTAINERS: Add self as tic54x maintainer.  This target
1577         includes the IBM C54XDSP clone.
1579 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1581         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1583 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1585         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1586         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1587         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1588         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1589         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1590         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1591         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1593         * readelf.c (get_elf_class): Fix ISO portability glitch.
1594         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1596 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1598         * readelf.c (debug_str, debug_str_size): New.
1599         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1600         Call free_abbrevs.
1601         (read_and_display_addr): Handle DW_FORM_strp.
1602         (display_debug_info): Read .debug_str section if present,
1603         so that DW_FORM_strp can be handled.
1604         Fix test for non-existant .debug_abbrev section.
1606 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1608         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1610         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1612 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1614         * MAINTAINERS: Add self as s390/s390x maintainer.
1616 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1618         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1620 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1622         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1623         * configure: Regernate.
1624         * po/fr.po: New file.
1625         * po/tr.po: New file.
1627 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1629         * MAINTAINERS: Add self as MMIX port maintainer.
1630         * readelf.c: Include elf/mmix.h.
1631         (guess_is_rela): MMIX is RELA.
1632         (dump_relocations): Handle MMIX relocations.
1633         * Makefile.am: Regenerate dependencies.
1634         * Makefile.in: Regenerate.
1636 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1638         * readelf.c (parse_args): Handle multiple options to the -w
1639         switch.
1641 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1643         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1644         LOPROC, LOOS and LOUSER.
1646 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1648         * MAINTAINERS: Update my email address.
1650 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1652         * doc/Makefile.in: Regenerate.
1653         * configure: Regenerate.
1655 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1657         * readelf.c (display_debug_line, display_debug_pubnames,
1658         display_debug_info, display_debug_frames): Detect and warn
1659         about 64-bit format entries.
1660         (display_debug_aranges): Reword 64-bit warning.
1661         (debug_displays): Add .debug_pubtypes as a known, but not yet
1662         supported, debug section.
1664 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1666         * coffdump.c (PROGRAM_VERSION): Delete.
1667         (main <'V'>): Call print_version.
1668         * srconv.c: Likewise.
1669         * sysdump.c: Likewise.
1670         * version.c (program_version): Remove.
1671         (print_version): Use BFD_VERSION_STRING.  Just print the current
1672         year in copyright message.
1673         * addr2line.c (program_version): Remove unused declaration.
1674         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1675         place of BFD_VERSION.
1676         * Makefile.am (Makefile): Depend on bfd/configure.in.
1677         (cplus-dem.o): Depend on Makefile.
1678         Run "make dep-am".
1679         * Makefile.in: Regenerate.
1681 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1683         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1684         format .debug_arange sections.
1685         (main): Add missing prototype.
1687 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1689         * Makefile.am: Update dependencies with "make dep-am".
1690         * Makefile.in: Regenerate.
1692 2001-09-28  Richard Henderson  <rth@redhat.com>
1694         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1696 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1698         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1699         VA_CLOSE.
1700         (non_fatal): Likewise.
1701         * objdump.c (objdump_sprintf): Likewise.
1702         * readelf.c (error): Likewise.
1703         (warn): Likewise.
1705 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1707         * readelf.c (do_wide): New.
1708         (options): Add --wide.
1709         (usage, parse_args): Likewise.
1710         (process_program_headers): Put each segment on a single line if
1711         --wide is given.
1712         (process_section_headers): Put each section on a single line if
1713         --wide is given.
1714         * doc/binutils.texi: Document it.
1715         * NEWS: Likewise.
1717 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1719         * readelf.c (print_vma): Print 8 digits of low hex value.
1721 2001-09-24  Andreas Jaeger  <aj@suse.de>
1723         * nlmconv.c: Fix warnings about unused attributes and function
1724         prototypes.
1726         * strings.c: Add prototype for get_char.
1728 2000-09-19  H.J. Lu  <hjl@gnu.org>
1730         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1731         $(srcdir)/cxxfilt.man.
1732         * doc/Makefile.in: Rebuild.
1734 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1736         * objcopy.c (copy_main): Correct rename-section string parsing.
1737         Consolidate new_name parsing, and error messages.
1739 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1741         * addr2line.c: Don't include <ctype.h>.
1742         (main): For gettext, also set the LC_CTYPE locate facet.
1743         * ar.c (main): Likewise.
1744         * coffdump.c (main): Likewise.
1745         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1746         (main): For gettext, also set the LC_CTYPE locate facet.
1747         Use ISALNUM instead of isalpha/isdigit.
1748         * dllwrap.c: Don't include <ctype.h>.
1749         (main): For gettext, also set the LC_CTYPE locate facet.
1750         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1751         (main): For gettext, also set the LC_CTYPE locate facet.
1752         Use TOUPPER instead of islower/toupper.
1753         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1754         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1755         Use TOUPPER instead of islower/toupper.
1756         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1757         * objcopy.c (main): Likewise.
1758         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1759         (disassemble_bytes): Use ISPRINT instead of isprint.
1760         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1761         (dump_data): Use ISPRINT instead of isprint.
1762         (main): For gettext, also set the LC_CTYPE locate facet.
1763         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1764         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1765         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1766         Use TOUPPER instead of islower/toupper.
1767         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1768         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1769         (write_rc_accelerators): Use ISPRINT instead of isprint.
1770         (write_rc_rcdata): Likewise.
1771         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1772         * srconv.c (main): Likewise.
1773         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1774         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1775         isdigit/isupper/islower.
1776         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1777         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1778         stab_demangle_prefix, stab_demangle_qualified,
1779         stab_demangle_template, stab_demangle_type,
1780         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1781         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1782         (isgraphic): Use ISPRINT instead of isascii/isprint.
1783         (main): Remove HAVE_LC_MESSAGES dependency.
1784         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1785         (pbarray): Use ISPRINT instead of isprint.
1786         (main): For gettext, also set the LC_CTYPE locate facet.
1787         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1788         (format_from_filename): Use ISPRINT instead of isprint.
1789         (main): For gettext, also set the LC_CTYPE locate facet.
1790         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1791         (unicode_print): Use ISPRINT instead of isprint.
1792         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1793         (stab_variable): Use ISDIGIT instead of isdigit.
1795 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1797         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1798         Replace bfd_read call with call to bfd_bread.
1799         (extract_file): Likewise.
1801         * objdump.c (dump_section_header): Cast section->filepos to
1802         unsigned long to suit printf format string.
1803         * readelf.c (process_section_headers): Similarly for sh_offset.
1804         (process_unwind): Likewise.
1806 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1808         * strings.c (encoding, encoding_bytes): New variables.
1809         (long_options): Add --encoding.
1810         (main): Accept -e and --encoding.
1811         (get_char): New function.  Read a, possibly wide, character from
1812         the input stream.
1813         (print_strings): Use get_char().
1814         (usage): Document new command line option.
1815         * doc/binutils.texi: Document new command line option.
1816         * NEWS: Announce new command line option.
1818 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1820         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1821         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1822         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1823         Removed EM_CYGNUS_ARC.
1825 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1827         * readelf.c: Include elf/h8 for H8 series definitions.
1828         (guess_is_rela): H8 series if RELA.
1829         (dump_relocations): Handle H8 series relocations.
1831 2001-08-31  Eric Christopher  <echristo@redhat.com>
1833         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1835 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1837         * MAINTAINERS: Include ARC Maintainer.
1839 2001-08-29  Ben Elliston  <bje@redhat.com>
1841         * stabs.c (stab_demangle_template): Initialise s4.
1843 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1845         * readelf.c (dump_relocations): Recognise EM_PPC64.
1847 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1849         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1851 2001-08-25  H.J. Lu  <hjl@gnu.org>
1853         * nm.c (print_width): New.
1854         (display_rel_file): Set `print_width' according to
1855         bfd_sprintf_vma.
1856         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1858 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1860         * objcopy.c (use_alt_mach_code): New variable.
1861         (OPTION_ALT_MACH_CODE): Define.
1862         (copy_options): Added --alt-machine-code.
1863         (copy_main): Handle it.
1864         (copy_object): Switch to alternate machine code if requested.
1865         * doc/binutils.texi: Document new option.
1866         * NEWS: Likewise.
1868 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1870         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1872 2001-08-21  H.J. Lu  <hjl@gnu.org>
1874         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1875         (display_debug_info): Cast for 64bit hosts.
1876         (display_debug_frames): Likewise.
1877         (process_mips_specific): Likewise.
1879 2001-08-21  Andreas Jaeger  <aj@suse.de>
1881         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1883         * sysdump.c: Add missing prototypes.
1884         * srconv.c: Likewise.
1885         * unwind-ia64.c: Likewise.
1886         * coffdump.c: Likewise.
1888         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1890         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1891         of declaring xcalloc.
1893 2001-08-10  H.J. Lu  <hjl@gnu.org>
1895         * nm.c (print_value): Add one arg, bfd *.
1896         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1897         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1898         (print_symbol_info_sysv): Likewise.
1899         (print_symbol_info_posix): Likewise.
1901         * objdump.c (dump_section_header): Replace printf_vma with
1902         bfd_printf_vma.
1903         (print_section_stabs): Likewise.
1904         (dump_bfd_header): Likewise.
1905         (objdump_print_value): Replace sprintf_vma with
1906         bfd_sprintf_vma.
1907         (disassemble_bytes): Likewise.
1908         (dump_reloc_set): Likewise.
1910 2001-08-10  Andreas Jaeger  <aj@suse.de>
1912         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1913         to build warnings.
1914         * configure: Regenerate.
1916 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1918         * readelf.c: Add missing prototypes.
1919         * objdump.c: Likewise.  Format existing prototypes.
1921 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1923         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1924         of any RELA relocation for the abbrev_offset memory location that
1925         refers to the .debug_abbrev section symbol.
1927 2001-08-07  H.J. Lu  <hjl@gnu.org>
1929         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1930         (main): Return process_file ().
1932 2001-08-05  Philip Blundell  <philb@gnu.org>
1934         * doc/binutils.texi: Use "Thumb" not "THUMB".
1936 2001-08-03  John Healy  <jhealy@redhat.com>
1938         Patch suggested by Frank Eigler <fche@redhat.com>.
1939         * objdump.c (disassemble_data): Fill in section member of the
1940         disasm_info structure.
1942 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1944         * configure.in: Added --with-windres option.
1945         * configure: Regenerated.
1947 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1949         * doc/binutils.texi: Use @command{name} for commands;
1950         use @option{-opt} for options; use @table @env for list of options;
1951         remove spaces arround [ | ] in synopsis.
1953         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1954         center title.
1956 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1958         * objcopy.c: Fix formatting.
1959         (section_rename): New structure.
1960         (OPTION_RENAME_SECTION): New switch.
1961         (copy_usage): Document new switch.
1962         (add_section_rename): New function: Add a node to the section
1963         rename list.
1964         (find_section_rename): New function: Find the new name and
1965         flags for a section.
1966         (setup_section): Call find_section_name to determine the name
1967         of the output section.
1968         (copy_main): Handle OPTION_RENAME_SECTION.
1969         * binutils.texi: Document new switch.
1970         * NEWS: Mention new switch.
1972 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1974         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1975         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1976         bug-binutils@gcc.org.
1978 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1980         * bucomm.c (list_supported_architectures): New function.
1981         * bucomm.h (list_supported_architectures): Declare.
1982         * objdump.c (usage): Call the above.
1984 2001-07-25  Dave Brolley  <brolley@redhat.com>
1986         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1987         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1989 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1991         * README: Update for 2.11.  Change bug reporting email address.
1992         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1994 2001-07-16  DJ Delorie  <dj@redhat.com>
1996         * resres.c (write_res_header): Align header size.
1997         (res_align_file): Calculate alignment correctly.
1999         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2000         correct 10).
2001         * resrc.c (write_rc_resource): Likewise.
2002         * windres.h (SUBLANG_SHIFT): Define - as 10.
2004 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2006         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2008 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2010         * MAINTAINERS: Add notes about branch checkins.
2012 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2014         * readelf.c (display_debug_macinfo): New function, display
2015         .debug_macinfo section.
2016         (do_debug_macinfo): New variable.
2017         (parse_args): Handle "-w[mM]" to mean display macro info.
2018         (process_section_headers): Handle debug_macinfo.
2019         (debug_displays): Replace unsupported function with macinfo
2020         function for .debug_macinfo display.
2021         * doc/binutils.texi: Document new command line switch.
2022         * NEWS: Document new feature of readelf.
2024 2001-07-05  H.J. Lu  <hjl@gnu.org>
2026         * objcopy.c (filter_symbols): Don't turn undefined symbols
2027         into local.
2029 2001-07-03  H.J. Lu <hjl@gnu.org>
2031         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2032         $@.pod.
2033         (ar.1): Likewise.
2034         (dlltool.1): Likewise.
2035         (nlmconv.1): Likewise.
2036         (nm.1): Likewise.
2037         (objcopy.1): Likewise.
2038         (objdump.1): Likewise.
2039         (ranlib.1): Likewise.
2040         (readelf.1): Likewise.
2041         (size.1): Likewise.
2042         (strings.1): Likewise.
2043         (strip.1): Likewise.
2044         (windres.1): Likewise.
2045         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2046         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2047         $(DEMANGLER_NAME).
2048         (as.1): Removed.
2049         * doc/Makefile.in: Regenerated.
2051 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2053         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2055 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2057         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2059 2001-06-29  James Cownie <jcownie@etnus.com>
2061         * readelf.c: Support DWARF 2.1 attributes.
2063 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2065         * readelf.c (GET_DATA_ALLOC): Remove.
2066         (GET_DATA): Remove.
2067         (get_data): New function combining above macros, with an extra
2068         test for zero size.
2069         (slurp_rela_relocs): Use get_data, and catch error return.
2070         (slurp_rel_relocs): Likewise.
2071         (get_32bit_program_headers): Likewise.
2072         (get_64bit_program_headers): Likewise.
2073         (get_32bit_section_headers): Likewise.
2074         (get_64bit_section_headers): Likewise.
2075         (get_32bit_elf_symbols): Likewise.
2076         (get_64bit_elf_symbols): Likewise.
2077         (process_section_headers): Likewise.
2078         (process_relocs): Likewise.
2079         (slurp_ia64_unwind_table): Likewise.
2080         (process_unwind): Likewise.
2081         (get_32bit_dynamic_segment): Likewise.
2082         (get_64bit_dynamic_segment): Likewise.
2083         (process_dynamic_segment): Likewise.
2084         (process_version_sections): Likewise.
2085         (process_symbol_table): Likewise.
2086         (dump_section): Likewise.
2087         (display_debug_info): Likewise.
2088         (display_debug_section): Likewise.
2089         (process_section_contents): Likewise.
2090         (process_corefile_note_segment): Likewise.
2091         (process_mips_specific): Likewise.  Also free econf32, econf64.
2093 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2095         * readelf.c (dump_relocations): Print "bad symbol index" if
2096         symtab == NULL with non-zero symtab_index.
2097         (process_relocs): Don't bomb if reloc section has no symsec.
2099 2001-06-24  H.J. Lu  <hjl@gnu.org>
2101         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2102         by accident.
2103         (copy_main): Apply the the change made to strip_main on
2104         2001-05-30 by accident.
2106 2001-06-23  Andreas Jaeger  <aj@suse.de>
2108         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2109         parameter 'code'.
2110         (unw_decode_x2): Likewise.
2111         (unw_decode_x3): Likewise.
2112         (unw_decode_x4): Likewise.
2114 2001-06-23  Ben Elliston  <bje@redhat.com>
2116         * MAINTAINERS: Add myself as M88k maintainer.
2118 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2120         * objcopy.c (strip_main): Support -o or --output-file command lien
2121         switch.
2123 2001-06-19  H.J. Lu <hjl@gnu.org>
2125         * doc/Makefile.in: Regenerated.
2127 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2129         * readelf.c: Restore formatting.
2131 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2133         * Makefile.am: Move documentation into doc subdirectory.
2134         * Makefile.in: Regenerated.
2135         * binutils.texi: Move into doc subdirectory.
2136         * addr2line.1: Removed.
2137         * ar.1: Likewise.
2138         * dlltool.1: Likewise.
2139         * nlmconv.1: Likewise.
2140         * nm.1: Likewise.
2141         * objcopy.1: Likewise.
2142         * objdump.1: Likewise.
2143         * ranlib.1: Likewise.
2144         * readelf.1: Likewise.
2145         * size.1: Likewise.
2146         * strings.1: Likewise.
2147         * strip.1: Likewise.
2148         * windres.1: Likewise.
2149         * cxxfilt.man: Likewise.
2150         * doc: New Directory.
2151         * doc/Makefile.am: New file.
2152         * doc/Makefile.in: Generate.
2154 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2156         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2158 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2160         * MAINTAINERS: Update my email address.
2162 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2164         * objcopy.c: Add new switches: --keep-global-symbol,
2165         --keep-symbols, --localize-symbols, --keep-global-symbols and
2166         --weaken-symbols.
2167         * binutils.texi: Document new switches.
2168         * objcopy.1: Regenerate.
2169         * NEWS: Announce new feature.
2171 2001-05-28  Andreas Jaeger  <aj@suse.de>
2173         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2174         variables, fix format strings.
2176 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2178         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2179         when computing the address of the line to show.
2181 2001-05-16  Richard Henderson  <rth@redhat.com>
2183         * readelf.c (do_debug_frames_interp): New.
2184         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2185         (byte_get_big_endian): Likewise.
2186         (parse_args) ['F']: Set do_debug_frames_interp.
2187         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2188         (frame_display_row): Don't trunc pc_begin to int.
2189         (size_of_encoded_value): New.
2190         (display_debug_frames): Handle 64-bit targets.  Print raw data
2191         unless do_debug_frames_interp.
2192         (debug_displays): Remove duplicate .debug_frame.
2194 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2196         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2197         The former constant was never in active use and is used otherwise
2198         by the ABI.
2200 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2202         * readelf.c (process_unwind): Print all unwind sections, not just
2203         one.
2205 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2207         * readelf.c (process_unwind): Remove const specifier.
2209 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2211         * strings.c (isgraphic): Do not use isascii() unless it is needed
2212         for isprint() to work.
2213         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2215 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2217         * NEWS: Announce support for OpenRISC.
2219 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2221         * dlltool.c (do_default_excludes): Initialise to true.
2223 2001-04-10  Alan Modra  <amodra@one.net.au>
2225         * MAINTAINERS: Update my email address
2226         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2228 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2230         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2232 2001-03-30  H.J. Lu  <hjl@gnu.org>
2234         * readelf.c (process_unwind): Just return if do_unwind is 0.
2236 2001-03-28  Roger Sayle  <roger@metaphorics.com>
2238         * dlltool.c (make_one_lib_file): Fix section flags for
2239         .text, .data and .bss in stub ds*.o files to match those
2240         generated by gas.
2242 2001-03-29  H.J. Lu  <hjl@gnu.org>
2244         * readelf.c (process_unwind): Only do unwind sections for
2245         IA64.
2247 2001-03-28  H.J. Lu  <hjl@gnu.org>
2249         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2250         * Makefile.in: Regenerate.
2252 2001-03-26  Andreas Jaeger  <aj@suse.de>
2254         * binutils.texi (nm): Fix texi syntax.
2256 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2258         * binutils.texi: Put @c man begin and @c man end indications
2259         to generate man pages using texi2pod and pod2man. Put @c man title
2260         to identify each man. Add SEEALSO entries.
2261         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2262         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2263         sort the list.
2264         (*.1): Build the man pages from binutils.texi.
2265         * Makefile.in: Regenerate.
2267 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
2269         * defparse.y (opt_equal_name): allow "." in name.
2270         * dlltool.c (def_exports): Added ability to generate forwarded exports.
2271         (gen_exp_file): Likewise.
2273 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
2275         * NEWS: Document addition of -B switch to objcopy.
2276         * binutils.texi:  Document addition of -B switch to objcopy.
2277         * objcopy.c: (copy_options): Add --binary-architecture.
2278         (copy_usage): Document -B/--binary-architecture.
2279         (copy_main): Support -B/--binary-architecture.  Set
2280         bfd_external_binary_architecture.
2282 2001-03-11  Andreas Jaeger  <aj@suse.de>
2284         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2285         (dump_relocations): Likewise.
2286         (get_machine_name): Likewise.
2288 2001-02-28  Nick Clifton  <nickc@redhat.com>
2290         * readelf.c: (struct unw_aux_info): Remove const modifier for
2291         'strtab' field.
2292         (process_unwind): Remove non-K&R compliant LHS type cast in call
2293         to GET_DATA_ALLOC macro.
2295 2001-02-28  Philip Blundell  <pb@futuretv.com>
2297         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2298         ABI is in use; remove ambiguity between the "unknown" EABI and
2299         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
2300         renamed EF_xx constants.
2302 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2304         * configure.in (BFD_VERSION): New.
2305         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2306         * configure: Regenerate.
2307         * Makefile.am: Run "make dep-am"
2308         * Makefile.in: Regenerate.
2310 2001-02-14  Nick Clifton  <nickc@redhat.com>
2312         * MAINTAINERS: Add "Obvious Fix" rule.
2314 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2316         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2317         literal concatenation.
2319 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2321         * readelf.c (struct unw_aux_info): Remove const from the info member.
2322         (process_unwind): Don't type-cast the third argument to the
2323         GET_DATA_ALLOC macro.
2325 2001-02-11  Nick Clifton  <nickc@redhat.com>
2327         * readelf.c (dump_relocations): Free corrected allocated
2328         array.
2329         (process_unwind): Fix compile time warning.
2331 2001-02-10  Nick Clifton  <nickc@redhat.com>
2333         * binutils.texi: Document new --unwind option to readelf.
2335 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2337         * readelf.c: Add linux target for S/390.
2339 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
2341         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2342         printf is a macro.
2344 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
2346         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2347         * aclocal.m4: Regenerate.
2348         * configure: Regenerate.
2350 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
2352         * bucomm.c (bfd_target_vector): Change extern array to pointer.
2353         * objdump.c (bfd_target_vector): Likewise.
2355 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
2357         * readelf.c (process_unwind): New function.
2358         (slurp_ia64_unwind_table): Ditto.
2359         (dump_ia64_unwind): Ditto.
2360         (find_symbol_for_address): Ditto.
2361         (slurp_rela_relocs): New function (split off from dump_relocations()).
2362         (slurp_rel_relocs): Ditto.
2363         (parse_args): Handle '-u' option.
2365         * unwind-ia64.c: New file.
2366         * unwind-ia64.h: New file.
2367         * Makefile.am: Include unwind-ia64.c in readelf build.
2368         * Makefile.in: Regenerate.
2369         * po/binutils.pot: Regenerate.
2371 2001-02-04  Philip Blundell  <philb@gnu.org>
2373         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2374         * configure: Regenerate.
2376 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
2378         * ieee.c (ieee_add_bb11): Don't check for backslashes
2379         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2381 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
2383         * ieee.c: Update copyright.
2384         (ieee_start_compilation_unit): Don't check for backslashes
2385         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2387         * stabs.c: Update copyright. Include "filenames.h".
2388         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2390 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2392         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2393         sections are present before using them.  Remove code duplication.
2394         (process_symbol_table): Check if VERDEF or VERNEED sections are
2395         present before using them.
2397 2001-01-17  Nick Clifton  <nickc@redhat.com>
2399         * objcopy.c (copy_object): Fail if attempting to convert the
2400         endianness of the input object file.
2402         * binutils.texi: Explain that objcopy cannot convert endianness.
2404 2001-01-16  Nick Clifton  <nickc@redhat.com>
2406         * readelf.c (string_table_length): New variable.
2407         (SECTION_NAME): Catch out of range indices and missing section
2408         pointers.
2409         (process_section_headers): Delete useless local variable
2410         string_table_offset.  Set the value of string_table_length
2411         after loading the string table.
2412         (process_mips_specific): Use SECTION_NAME macro.
2413         (process_file): Set string_table_length to 0 when it is freed.
2415 2001-01-12  Nick Clifton  <nickc@redhat.com>
2417         * version.c (print_version): Update copyright date.
2419 2001-01-11  Peter Targett  <peter.targett@arccores.com>
2421         * readelf.c (dump_relocations): Include selection with EM_ARC.
2422         (get_machine_name) Update name to "ARC".
2424 2001-01-09  Nick Clifton  <nickc@redhat.com>
2426         * Makefile.am: Add rule to build objdump.o from objdump.c and
2427         using OBJDUMP_DEFS.
2428         * Makefile.in: Regenerate.
2430         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
2431         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2432         -DDISASSEMBLER_NEEDS_RELOCS.
2433         * configure: Regenerate.
2435         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2436         is defined read in the relocs even if dump_reloc_info is
2437         false.
2439 2001-01-07  Philip Blundell  <philb@gnu.org>
2441         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2442         `bug-binutils'.
2443         * README: Likewise.
2445 2000-12-19  Nick Clifton  <nickc@redhat.com>
2447         * dlltool.c: Add missing support for arm-epoc-pe.
2448         * configure.in: Add missing support for arm-epoc-pe.
2449         * configure: Regenerate.
2451 2000-12-15  Nick Clifton  <nickc@redhat.com>
2453         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2454         Mode parts of the x86 port.
2456 2000-12-04  Andreas Jaeger  <aj@suse.de>
2458         * readelf.c (guess_is_rela): Add EM_X86_64.
2459         (dump_relocations): Add EM_X86_64.
2460         (get_machine_name): Add EM_X86_64.
2461         Include "elf/x86-64.h".
2463 2000-12-12  Nick Clifton  <nickc@redhat.com>
2465         * readelf.c: Fix formatting.
2467 2000-12-11  Jan Hubicka  <jh@suse.cz>
2469         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2471 2000-12-07  Andrew Haley  <aph@redhat.com>
2473         * readelf.c (display_debug_frames): Only display columns that are
2474         referenced by the frame debug info.
2476 2000-12-05  Nick Clifton  <nickc@redhat.com>
2478         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2480 2000-12-04  Jason Merrill  <jason@redhat.com>
2482         * readelf.c (process_section_headers): Handle linkonce.wi sections.
2483         (display_debug_section): Likewise.
2484         (display_debug_info): Display CU header before bailing.
2486 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
2488         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2489         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
2490         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2492         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2493         and E_MIPS_ARCH_64.
2495         * readelf.c (get_machine_flags): Add case for
2496         E_MIPS_MACH_SB1.
2498 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
2500         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2502 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
2504         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
2505         Change sourceware.cygnus.com to sources.redhat.com.
2506         Fix typo for "amongst".
2508 2000-11-28  Nick Clifton  <nickc@redhat.com>
2510         * strip.1 (COPYING): Mention that the GNU Free Documentation
2511         License is present in the sources, but not the output, and
2512         also available from the GNU website.
2513         (GNU Free Documentation License): Comment out this section.
2514         * strings.1: Ditto.
2515         * size.1: Ditto.
2516         * ranlib.1: Ditto.
2517         * objdump.1: Ditto.
2518         * objcopy.1: Ditto.
2519         * nm.1: Ditto.
2520         * nlmconv.1: Ditto.
2521         * ar.1: Ditto.
2522         * addr2line.1: Ditto.
2524 2000-11-27  DJ Delorie  <dj@redhat.com>
2526         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2527         (parse_args): Support -wf option.
2528         (process_section_headers): Ditto.
2529         (debug_displays): Ditto.
2530         (display_debug_frames): New, dump *_frame sections.
2531         (frame_need_space): Support for above.
2532         (frame_display_row): Ditto.
2533         * binutils.texi: Document it.
2535 2000-11-24  Nick Clifton  <nickc@redhat.com>
2537         * NEWS: Announce support for v5t, v5te and XScale.
2539 2000-11-22  Nick Clifton  <nickc@redhat.com>
2541         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2542         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2543         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2544         (get_elf_section_flags: Add SHF_GROUP.
2545         (process_section_headers): Adjust output for 32-bit binaries
2546         to look nice on an 80 column terminal.
2548 2000-11-20  H.J. Lu  <hjl@gnu.org>
2550         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2551         ELFOSABI_AIX.
2553 2000-11-17  Richard Henderson  <rth@redhat.com>
2555         * readelf.c (display_debug_lines): Adjust last change to
2556         use sizeof (external->li_length).
2558 2000-11-17  Richard Henderson  <rth@redhat.com>
2560         * readelf.c (display_debug_lines): Fix section length check
2561         and end_of_sequence computation.
2563 2000-11-06  Nick Clifton  <nickc@redhat.com>
2565         * binutils.texi: Add GNU Free Documentation License.
2566         * objcopy.1: Add GNU Free Documentation License.
2567         * objdump.1: Add GNU Free Documentation License.
2568         * addr2line.1: Add GNU Free Documentation License.
2569         * ar.1: Add GNU Free Documentation License.
2570         * nlmconv.1: Add GNU Free Documentation License.
2571         * nm.1: Add GNU Free Documentation License.
2572         * ranlib.1: Add GNU Free Documentation License.
2573         * size.1: Add GNU Free Documentation License.
2574         * strings.1: Add GNU Free Documentation License.
2575         * strip.1: Add GNU Free Documentation License.
2577 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2579         * objcopy.c (--srec-len=nn): New parameter to set the
2580         maximum length of generated Srecords.
2581         (--srec-forceS3): New parameter that restricts the generation of
2582         Srecords to type S3 only.
2583         * binutils.texi: Document new command line switches.
2584         * objcopy.1: Docuemnt the new command line switches.
2585         * NEWS: Announce the existence of the new command line switches.
2587 2000-10-31  Nick Clifton  <nickc@redhat.com>
2589         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2590         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2592 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2594         * Make comma after string after icon/control optional.
2596 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2598         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2600         * NEWS: Mention support for MIPS32.
2602 2000-09-08  Nick Clifton  <nickc@redhat.com>
2604         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2606 2000-09-07  H.J. Lu  <hjl@gnu.org>
2608         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2609         * configure: Rebuild.
2611 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2613         * configure: Rebuilt with new libtool.m4.
2615 2000-09-05  Nick Clifton  <nickc@redhat.com>
2617         * aclocal.m4: Regenerate.
2618         * config.in: Regenerate.
2619         * configure: Regenerate.
2621 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2623         * strip.1: Fix stray '\' in -o formatting.
2625 2000-09-02  Nick Clifton  <nickc@redhat.com>
2627         * configure.in: Increase version number to 2.10.91.
2628         * configure: Regenerate.
2629         * aclocal.m4: Regenerate.
2630         * config.in: Regenerate.
2631         * po/binutils.pot: Regenerate.
2633 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2635         * acinclude.m4: Include libtool and gettext macros from the
2636         top level.
2637         * aclocal.m4, configure: Rebuilt.
2639 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2641         * resrc.c (close_input_stream): Delete extraneous logic
2643 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2645         * NEWS: Mention support for CRIS.
2647 2000-08-21  Nick Clifton  <nickc@redhat.com>
2649         * addr2line.c: Changed email address for Ulrich Lauther.
2651 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2653         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2655 2000-08-17  Nick Clifton  <nickc@redhat.com>
2657         * readelf.c (display_debug_pubnames): Only issue warning
2658         message once.  Terminate message with a new line.
2659         (display_debug_aranges): Only display version 2 debug info.
2661 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2663         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2664         for compatability with old BSD systems.
2666 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2668         * NEWS: Mention i860 support.
2670 2000-08-11  Carlo Wood <carlo@alinoe.com>
2672         * addr2line.c (main): Add const to char *.
2674 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2676         * ar.c (main): Don't crash if called with no arguments
2677         or only '-X32_64' as an argument.
2679 2000-08-08  DJ Delorie  <dj@redhat.com>
2681         * resrc.c: use "gcc -xc" instead of -xc-header
2683 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2685         * readelf.c (elf/i860.h): Include.
2686         (dump_relocations): Add recognition of i860 architecture.
2687         (guess_is_rela): Add recognition of i860 architecture.
2689 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2691         * MAINTAINERS: Add information about CGEN maintainers.
2693 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2695         * nm.c (main): Ignore '-X32_64' as an option.
2696         * ar.c (main): Likewise.
2697         * binutils.texi (nm): Document new option.
2698         (ar): Likewise.
2700 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2702         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2704 2000-07-20  H.J. Lu  <hjl@gnu.org>
2706         * binutils.texi: Put back "@end table" deleted by
2707         accident.
2709 2000-07-05  Kenneth Block  <krblock@computer.org>
2711         * nm.c: Add optional style to demangle switch.
2712         * objdump.c: Add optional style to demangle switch.
2713         * addr2line.c: Add optional style to demangle switch.
2714         * binutils.texi: Document optional style to demangle
2715         switch.
2717 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2719         * MAINTAINERS: Add self as CRIS port maintainer.
2720         * readelf.c: Include elf/cris.h.
2721         (guess_is_rela): Handle EM_CRIS.
2722         (dump_relocations): Ditto.
2723         (get_machine_name): Ditto.
2724         * Makefile.am: Rebuild dependencies.
2725         * Makefile.in: Regenerate.
2726         * po/binutils.pot: Regenerate.
2728 2000-07-19  H.J. Lu  <hjl@gnu.org>
2730         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2731         "AUXILIARY".
2732         (process_dynamic_segment): Print out strings for DT_CONFIG,
2733         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2735 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2737         * nm.c (usage): Change output of `nm --help' to include a
2738         description of the purpose of the program and a detailed
2739         description of the accepted options.
2741 2000-07-19  H.J. Lu  <hjl@gnu.org>
2743         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2744         to DF_1_NODEFLIB.
2746 2000-07-19  H.J. Lu  <hjl@gnu.org>
2748         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2750 2000-07-19  H.J. Lu  <hjl@gnu.org>
2752         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2753         DT_FEATURE.
2754         (process_dynamic_segment): Likewise.
2756         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2757         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2758         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2759         DF_1_NODUMP and DF_1_CONLFAT.
2761 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2763         * binutils.texi (readelf): Fix spelling typo.
2765 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2767         * objdump.c (usage): Make output of `objdump --help' more
2768         consistent with the rest of the GNU world.  Add a line describing
2769         the purpose of the program.
2771 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2773         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2774         warning.
2776 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2778         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2779         to fix warnings.
2780         (process_symbol_table): Ditto.
2781         (procesS_extended_line_op): Ditto.
2782         (display_debug_lines): Ditto.
2783         (display_debug_pubnames): Ditto.
2784         (read_and_display_attr): Ditto.
2786 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2788         * MAINTAINERS: Add several more port specific maintainers.
2790 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2792         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2794 2000-06-05  DJ Delorie  <dj@redhat.com>
2796         * MAINTAINERS: New.
2798 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2800         * dllwrap.c: Changed mistaken dyn_string_append() calls
2801         to dyn_string_append_cstr().
2803 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2805         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2806         struct debug_type stores size in bytes.
2808 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2810         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2811         (CLEANFILES): Add DEPA.
2812         * Makefile.in: Regenerate.
2814 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2816         * ar.c: Revert incorrect 2000-06-25 patch.
2817         * bucomm.c: Likewise.
2819 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2821         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2822         (external_coff_symbol_p): New function.
2823         (parse_coff): Use it.
2825 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2827         * ar.c (normalize): Advance past both characters in a DOS based
2828         <letter>: filepath prefix.
2829         (main): Likewise.
2830         * bucomm.c (make_tempname): Likewise.
2832 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2834         * objdump.c (usage): Fix description of --stabs switch.
2836 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2838         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2839         find one.
2840         * Makefile.in: Regenerate.
2842 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2844         * ar.c (normalize): Correct pointer comparison when checking for
2845         backslashes.
2846         (main): Likewise.
2847         * bucomm.c (make_tempname): Likewise.
2849         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2850         and search for backslashes in the original pathname.
2851         (ieee_add_bb11): Likewise.
2853 2000-06-18  Nick Clifton  <nickc@redhat.com>
2855         * ar.c (print_contents): Improve verbose message.
2857 2000-06-15  H.J. Lu  <hjl@gnu.org>
2859         * dyn-string.c: Removed. Not needed with dyn-string.c in
2860         libiberty.
2861         * dyn-string.h: Likewise.
2863         * Makefile.am: Remove references to dyn-string.c and
2864         dyn-string.h. Rebuild dependency.
2865         * Makefile.in: Rebuild.
2867 2000-06-15  H.J. Lu  <hjl@gnu.org>
2869         * binutils.texi: Put a warning on copying relocatable object
2870         files between two different formats.
2872 2000-06-13  DJ Delorie  <dj@cygnus.com>
2874         * rcparse.y (control): ICON controls take an id as the first
2875         parameter, not an optional string.  Also, call new convenience
2876         function that takes res_id's.
2877         * resrc.c (define_control): missing text means zero-length string,
2878         not zero ID.
2879         (define_icon_control): New.
2880         * windres.h: declare define_icon_control.
2882 2000-06-13  H.J. Lu  <hjl@gnu.org>
2884         * configure: Regenerate.
2886 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2888         * configure.in (VERSION): Update to show this is the CVS mainline.
2890 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2892         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2893         analogous to <SPACE>.
2895 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2897         * objdump.c (display_target_list): Use bfd_close_all_done, not
2898         bfd_close to fix crash caused by 2000-05-24 change.
2900 2000-05-25  DJ Delorie  <dj@cygnus.com>
2902         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2904 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2906         * Makefile.am: Update dependencies with "make dep-am"
2907         * Makefile.in: Regenerate.
2909 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2911         * ar.c: Include filenames.h.
2912         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2913         and drive letters in file names.
2914         (main): Support backslashes and drive letters in argv[0].  Drop
2915         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2916         FILENAME_CMP instead of strcmp to compare file names.
2917         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2918         DJGPP v2.
2919         (do_quick_append) [__GO32__]: Ditto.
2920         (get_pos_bfd, delete_members, move_members, replace_members):
2921         Compare file names with FILENAME_CMP.
2923         * bucomm.c: Include filenames.h.
2924         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2925         forward/backward slashes and drive letters in file names.
2927         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2928         mixed forward/backward slashes and drive letters in file names.
2930         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2931         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2932         mode.
2934         * objcopy.c: Include filenames.h.
2935         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2936         before comparing to "strip".
2937         Use FILENAME_CMP to compare file names.
2939         * arsup.c: Include filenames.h.
2940         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2941         FILENAME_CMP to compare file names.
2942         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2943         the temporary file name.
2945         * configure.in: Check for setmode.
2946         * configure: Regenerate.
2948 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2950         * objdump.c (display_target_list): Close the bfd.
2951         (display_info_table): Likewise.
2953 2000-05-14  H.J. Lu  (hjl@gnu.org)
2955         * objcopy.c (filter_symbols): Don't strip global symbols in
2956         relocatable object files.
2958 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2960         * size.c (usage): Associate short options with corresponding long
2961         option to give a clue as to their function.
2963 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2965         * size.c (main): Accept and ignore `-f' option.
2967 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2969         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2970         bindtextdomain): Replace defines with those from intl/libgettext.h
2971         to quieten gcc warnings.
2973 2000-05-12  H.J. Lu  <hjl@gnu.org>
2975         * nlmconv.c (temp_filename): Removed.
2977         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2978         choose_temp_base ().
2979         * objdump.c (display_target_list): Likewise.
2980         (display_info_table): Likewise.
2982 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2984         * objcopy.c (setup_section): Add const and gettext calls for err.
2986 2000-05-02  H.J. Lu  <hjl@gnu.org>
2988         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2989         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2990         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2991         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2992         and ELFOSABI_OPENBSD.
2994 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2996         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2997         * srconv.c: Likewise.
2998         * sysdump.c: Likewise.
3000 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3002         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3003         (get_machine_name): machine name for EM_AVR added.
3005 2000-04-21  Richard Henderson  <rth@cygnus.com>
3006             David Mosberger  <davidm@hpl.hp.com>
3008         * Makefile.am (readelf.o): Add elf/ia64.h.
3009         * Makefile.in: Rebuild.
3010         * readelf.c: Include elf/ia64.h.
3011         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3013 2000-04-17  Timothy Wall  <twall@cygnus.com>
3015         * objdump.c (disassemble_data): Set octets per byte *after*
3016         resolving arch/mach for binary files.
3018 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3020         * arlex.l: Add directives to increase lex buffer size.
3022         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3023         already included by bucomm.h.
3025 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3027         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3028         `strftime' since strftime is not available on all systems.
3029         (process_mips_specific): Ditto.
3031 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3033         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3034         --enable-build-warnings option.
3035         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3036         * Makefile.in, configure: Re-generate.
3038 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3040         * addr2line.c: Update copyright.
3041         * objcopy.1: Likewise, and title.
3042         * strings.1: Likewise.
3044         * version.c (print_version): Add 2000.
3046         * rddbg.c (read_section_stabs_debugging_info): Don't use
3047         bfd_size_type for strx to avoid printf problems if BFD64.
3049         * bucomm.c: (report): Remove `static'.
3050         Move inclusion of stdarg.h/vararg.h from here.
3051         * bucomm.h: To here.
3052         (CONST): Change all occurences to const.
3053         (report): Declare it.
3054         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3055         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3056         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3058         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3059         Correct a typo in an error message.
3060         (do_quick_append): Use non_fatal instead of fprintf.
3061         (move_members): Use fatal instead of fprintf, exit.
3062         * coffdump.c (main): Same here.
3064         * dlltool.c (display): Delete.
3065         (warn): Delete.
3066         (inform): Use `report' instead of `display'.
3067         (rvaafter): Remove trailing \n from fatal error msg.
3068         (rvabefore): Ditto.
3069         (asm_prefix): Ditto.
3070         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3071         (def_name): Likewise.
3072         (run): Likewise.
3073         (scan_all_symbols): Likewise.
3074         (gen_lib_file): Likewise.
3075         (def_library): Likewise.  Remove extra program_name too.
3076         (run): Remove \n from inform strings.
3077         (scan_drectve_symbols): Likewise.
3078         (add_excludes): Likewise.
3079         (scan_open_obj_file): Likewise.
3080         (gen_exp_file): Likewise.
3081         (gen_lib_file): Likewise.
3082         (process_duplicates): Likewise.
3084         * Makefile.am (dllwrap_SOURCES): Add version.c.
3085         * dllwrap.c (program_version): Delete.
3086         (print_version): Delete.
3087         (display): Always print trailing \n.
3088         (warn): New.
3089         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3090         (run): Here too.
3091         (main): And here.
3092         (usage): gettext'ify.
3093         (long_options): Add missing initialisers.
3095         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3096         (select_output_format): Likewise.
3097         (powerpc_mangle_relocs): Likewise.
3098         (link_inputs): Likewise.
3100         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3101         (set_output_format): Likewise.
3102         (main): Use non_fatal instead of fprintf.
3103         (display_rel_file): Likewise.
3105         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3106         (slurp_dynamic_symtab): Same here.
3107         (disassemble_data): And here.
3108         (read_section_stabs): And here.
3109         (read_section_stabs): And here.
3110         (dump_bfd): And here.
3111         (main): And here.
3112         (objdump_sprintf): Use fatal instead of fprintf, exit.
3113         (disassemble_data): Same here.
3115         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3116         (parse_coff_struct_type): Same here.
3117         (parse_coff_enum_type): And here.
3118         (parse_coff): And here.
3119         * rddbg.c (read_debugging_info): And here.
3120         * size.c (main): And here.
3121         * windres.c (format_from_name): And here.
3122         * wrstabs.c (stab_write_symbol): Here too.
3123         (write_stabs_in_sections_debugging_info): And here.
3124         (stab_int_type): And here.
3125         (stab_struct_field): And here.
3126         (stab_typdef): And here.
3128         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3129         * srconv.c (main): Same here.
3130         * strings.c (main): And here.
3131         (integer_arg): And here.
3132         * sysdump.c (main): And here.
3134 2000-04-06  Timothy Wall  <twall@cygnus.com>
3136         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3138 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3140         * readelf.c (decode_location_expression): Loop through multiple
3141         operations.
3142         (read_and_display_attr): Pass in length.
3144         * readelf.c (read_and_display_attr): Add CU offset to references.
3145         (display_debug_info): Pass it in.
3147 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3149         * readelf.c (decode_ARM_machine_flags): New function.
3150         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3151         targets.
3153         (get_machine_name): Catch EM_AVR
3155 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3157         * binutils.texi: Remove optional `=' from long options that have
3158         an `=' in the argument.
3159         * objcopy.1: Here too.  Remove extra space on discard-all.
3161         * binutils.texi (objcopy): Mention --redefine-sym.
3162         * objcopy.1: Here too.
3163         * NEWS: And here.
3165         * objcopy.c (parse_flags): Split off flag names from error message
3166         gettext as they are not translated.
3167         (copy_main): Similarly split off option name for --add-section,
3168         --set-section-flags, --change-section-vma, --change-section-lma
3169         error messages.
3170         Some white space changes.
3172         from Matthew Benjamin <matt@linuxbox.nu>
3173         * objcopy.c (struct redefine_node): New.
3174         (redefine_sym_list): New.
3175         (redefine_list_append): New.
3176         (lookup_sym_redefinition): New.
3177         (OPTION_REDEFINE_SYM): New.
3178         (copy_options): Add --redefine-sym option.
3179         (copy_usage): Mention it.
3180         (filter_symbols): Rename symbols on redefine_sym_list.
3181         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3182         (copy_main): Handle OPTION_REDEFINE_SYM.
3184 2000-04-04  H.J. Lu  <hjl@gnu.org>
3186         * readelf.c (process_symbol_table): Correctly read in symbol
3187         versioning information.
3189 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3191         * po/binutils.pot: Regenerate.
3193         * addr2line.c (usage): Restore translated part of bug string.
3194         * ar.c (usage): Likewise.
3195         * nlmconv.c (show_usage): Likewise.
3196         * nm.c (usage): Likewise.
3197         * objcopy.c (copy_usage): Likewise.
3198         (strip_usage): Likewise.
3199         * objdump.c (usage): Likewise.
3200         * readelf.c (usage): Likewise.
3201         * size.c (usage): Likewise.
3202         * strings.c (usage): Likewise.
3203         * windres.c (usage): Likewise.
3205         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3206         (DEP): Quote when passing vars to sub-make.  Add warning
3207         message to end.
3208         (DEP1): Rewrite for "gcc -MM".
3209         (CLEANFILES): Add DEP2.
3210         Update dependencies.
3211         * Makefile.in: Regenerate.
3213 2000-04-04  H.J. Lu  <hjl@gnu.org>
3215         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3216         (arparse.h): Depend on arparse.c
3217         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3219 2000-04-03  H.J. Lu  (hjl@gnu.org)
3221         * size.c (usage): Use REPORT_BUGS_TO.
3223 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3225         * bucomm.h: #include "bin-bugs.h"
3226         * addr2line.c (usage): Use REPORT_BUGS_TO.
3227         * ar.c (usage): Likewise.
3228         * nlmconv.c (show_usage): Likewise.
3229         * nm.c (usage): Likewise.
3230         (OPTION_TARGET): Define.
3231         (long_options): Use OPTION_TARGET rather than 200.
3232         (main): Likewise.
3234         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3235         (strip_usage): Likewise.
3236         * objdump.c (usage): Likewise.
3237         * readelf.c (usage): Likewise.
3238         * strings.c (usage): Likewise.
3239         * windres.c (usage): Likewise.
3241 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3243         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3245 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3247         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3248         string offsets in corrupt stabs entries.
3250 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3252         * readelf.c: Include elf/avr.h
3253         (dump_relocations): Add EM_AVR case.
3255 2000-03-09  Tim Waugh  <twaugh@redhat.com>
3257         * strings.1: Correct '-bytes' to '--bytes'.
3259 2000-03-08  H.J. Lu  <hjl@gnu.org>
3261         * Makefile.am (install-exec-local): Depend on
3262         install-binPROGRAMS for parallel make.
3263         * Makefile.in: Regenerated.
3265 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
3267         From Brad Lucier <lucier@math.purdue.edu>:
3268         * readelf.c (process_dynamic_segment): Add cast to make sure
3269         argument to %* is int.
3271 2000-02-25  H.J. Lu  <hjl@gnu.org>
3273         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3275 2000-02-24  Nick Clifton  <nickc@cygnus.com>
3277         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3278         * configure: Regenerate.
3280         * dlltool.c: Add support for sh-pe and mips-pe targets.
3281         * rescoff.c: Add support for sh-pe and mips-pe targets.
3283 2000-02-23  H.J. Lu  <hjl@gnu.org>
3285         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3287 2000-02-22  Nick Clifton  <nickc@cygnus.com>
3289         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3291 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
3293         From Brad Lucier <lucier@math.purdue.edu>:
3294         * readelf.c (process_version_sections): Add casts to make sure
3295         argument to %* is an int.
3296         (process_mips_specific): Add casts to make printf arguments match
3297         format.
3299 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
3301         * objdump.c (dump_section_header): Change `opb' to unsigned.
3302         (find_symbol_for_address): Same here.
3303         (disassemble_data): And here.  Change `addr_offset',
3304         `stop_offset', `nextstop_offset' to unsigned long.
3305         (dump_data): Change opb to unsigned.
3307 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
3309         * resrc.c: Remove unmatched #if for cygwin.
3311 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3313         * binutils.texi: Document the change of flavor name from atpcs-special
3314         to special-atpcs to prevent name conflict in gdb.
3316 2000-02-08  Timothy Wall  <twall@redhat.com>
3318         * objdump.c (show_line): Fix bug preventing printing of the very
3319         first line (line zero) of a file when interlisting source and
3320         assembly.  Added option to print entire context from start of file
3321         when the first line from that file is encountered.
3323 2000-02-03  Timothy Wall <twall@redhat.com>
3325         * objdump.c (dump_section_header, find_symbol_for_address,
3326         show_line, disassemble_bytes, disassemble_data, dump_data):
3327         distinguish between octets and bytes.
3329 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
3331         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3332         check to unresolved symbols.
3333         (print_symbol_info_sysv):  Ditto.
3334         (print_symbol_info_posix):  Ditto.
3336         * binutils.texi: Document new 'V' symclass flag for nm.
3338 2000-01-27  Nick Clifton  <nickc@redhat.com>
3340         * binutils.texi (objdump): Document new ARM specific
3341         disassembler options.
3343         * objdump.c (usage): Call disassembler_usage().
3345 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
3347         * readelf.c (get_dynamic_flags): Return buff.
3348         (process_dynamic_segment): Don't pass error strings to printf
3349         as format arg.
3350         (read_and_display_attr): Use lx and ld to print longs.
3351         (process_corefile_note_segment): Cast bfd_vma to unsigned long
3352         before printing.
3353         Update copyright.
3355 2000-01-17  Nick Clifton  <nickc@cygnus.com>
3357         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3359 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
3361         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3362         false.
3363         (debug_tag_type): Here too.
3364         * ieee.c (ieee_builtin_type): And here.
3365         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3367 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3369         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3370         System/370".
3372 2000-01-11  Nick Clifton  <nickc@cygnus.com>
3374         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3376 2000-01-10  Nick Clifton  <nickc@cygnus.com>
3378         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3380 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
3382         * windres.c (long_options): Add --use-temp-file and
3383         --no-use-temp-file options.
3384         (usage): Document.
3385         (main): Handle.
3387         * windres.h: Update read_rc_file prototype.
3389         * resrc.c (cpp_temp_file): New static variable.
3390         (istream_type): New static variable.
3391         (close_pipe): Delete function.
3392         (run_cmd): New static function.
3393         (open_input_stream): New static function.
3394         (close_input_stream): New static function.
3395         (look_for_default): Handle DOS directory separator. Use
3396         open_input_stream instead of popen.
3397         (read_rc_file): Likewise.
3399         * binutils.texi: Document --use-temp-file, --no-use-temp-file
3400         options.
3402 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3404         * dlltool.c (create_compat_implib): New variable.
3405         (gen_exp_file): Use.
3406         (make_one_lib_file): Use.
3407         (long_options): Add --compat-implib option.
3408         (usage): Handle.
3409         (main): Handle.
3411         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3412         (main): Use. Don't look for "32" in cygwin and mingw target names.
3414 2000-01-03  Nick Clifton  <nickc@cygnus.com>
3416         * binutils.texi: Document new, ARM specific disassembler
3417         command line switch "-M force-thumb".
3419 For older changes see ChangeLog-9899
3421 Local Variables:
3422 mode: change-log
3423 left-margin: 8
3424 fill-column: 74
3425 version-control: never
3426 End: