New (simplified) Chinese translation
[binutils.git] / binutils / ChangeLog
blobf23370998087fe71d403e1dd51a50a4db79d3976
1 2003-05-12  Nick Clifton  <nickc@redhat.com>
3         * configure.in (ALL_LINGUAS): Add zh_CN.
4         * configure: Regenerate.
5         * po/zh_CN.po: New file: Chinese (simplified) translation.
7 2003-05-11  Jason Eckhardt  <jle@rice.edu>
9         * MAINTAINERS: Update my mail address.
11 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
13         * readelf.c (dump_relocations): Enlarge the type field in wide
14         mode by one character.
16 2003-05-03  Richard Henderson  <rth@redhat.com>
18         * readelf.c (struct Frame_Chunk): Add cfa_exp.
19         (frame_display_row): Just print "exp" for cfa or register
20         defined by a location expression.
21         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
22         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
24 2003-04-30  H.J. Lu <hjl@gnu.org>
26         * objdump.c (only): Change it to char **.
27         (only_size): New.
28         (only_used): New.
29         (disassemble_data): Check only as an array.
30         (dump_data): Likewise.
31         (dump_relocs): Likewise.
32         (main): Treat only as an array.
34 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
36         * doc/binutils.texi: Fix the documentation for the -fo option.
38 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
40         * readelf.c (get_machine_name) <EM_SH>: Amend return value
41         to refer to SuperH.
43         * readelf.c (decode_location_expression): Don't add a trailing ';'.
45 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
46             Nick Clifton  <nickc@redhat.com>
48         * windres.c (long_options): Move close to main, where it is used.
49         Add 'input' and 'output' long options.
50         (main): Accept "-fo" as an alias for "-o".  This is for rc
51         comptibility.
52         * doc/binutils.texi: Mention that -fo is accepted as an alias for
53         -o, but discourage its use.
55 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
57         * windres.c (format_from_name): Make the exit on error
58         behaviour optional.
59         (main): Rename the -I option to -J. Introduce -I as a synonym
60         for --include-dir.  For backwards compatibility also support the
61         old -I behaviour, but issue a deprecation warning.
62         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
63         of the -I option.
65 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
67         * readelf.c: Replace references to Mitsubishi M32R with
68         references to Renesas M32R.
70 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
72         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
74 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
76         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
77         for debugging information types not supported by objdump.
79 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
81         * configure.in: Recognize canonical form of i[3-6]86-pe*.
82         * configure: Regenerate.
84 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
86         * readelf.c (display_debug_info): Apply RELA relocations on the
87         entire section.
88         (byte_put_little_endian, byte_put_big_endian): New functions.
89         (byte_put): New variable.
90         (get_file_header): Initialize it.
92 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
94         * windres.c: Add -l for compatibility with wrc, and rc.
95         Use the short option as a key for long options that have
96         a synonymous short option.
97         * doc/binutils.texi: Added -l to the list of options.
99 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
101         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
102         (main): Just pass the -U option down to the preprocessor.
103         * doc/binutils.texi: Added -U to the list of options.
105 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
107         * windres.c (usage): Report -r option.
108         (main): Ignore the -r option.
109         * doc/binutils.texi: Add -r to the list of options.
111 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
113         * MAINTAINERS: Add myself as Xtensa maintainer.
115 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
117         * readelf.c: Include "elf/xtensa.h".
118         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
119         targets that use RELA relocations.
120         (dump_relocations): Call elf_xtensa_reloc_type for
121         EM_XTENSA and EM_XTENSA_OLD.
122         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
124 2003-04-01  Nick Clifton  <nickc@redhat.com>
126         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
127         thumb-pe*, mcore-pe and mcore-*elf.
128         * configure: Regenerate.
130 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
132         * objdump.c (dump_data): Don't truncate the address to long; make
133         the width large enough, and uniform for all entries in a section.
135 2003-03-31  H.J. Lu <hjl@gnu.org>
137         * readelf.c: Include "libiberty.h".
138         (dynamic_relocations): New.
139         (process_relocs): Properly handle dynamic relocation.
140         (process_dynamic_segment): Fill relocation elements in
141         dynamic_info.
143 2003-03-31  Kevin Buettner <kevinb@redhat.com>
145         * readelf.c (read_and_display_attr, read_and_display_attr_value):
146         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
147         all callers.
148         (display_debug_lines, display_debug_pubnames, display_debug_info)
149         (display_debug_aranges, display_debug_frames, read_and_display_attr)
150         (read_and_display_attr_value): Add 64-bit DWARF support.
152 2003-03-31  Ian Lance Taylor <ian@airs.com>
154         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
155         (optresid): Handle a resource id that can be a string or a number.
156         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
157         struct res_id.
158         (define_icon_control): Pass a struct res_id to define_control.
159         * windres.h (define_control): Change prototype.
161 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
163         * objcopy (OPTION_FORMATS_INFO): Define.
164         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
165         (copy_options): Likewise.
166         (strip_usage): Add "--info" to usage.
167         (copy_usage): Likewise.
168         (strip_main): Declare formats_info. Iniatilize it to FALSE.
169         Handle "info".
170         (copy_main). Likewise.
171         * doc/binutils.texi. Document the "--info" option for
172         objcopy/strip.
173         * NEWS: Mention the new command line switch.
175         * objdump.c (endian_string): Move to bucomm.c.
176         (display_info): Likewise.
177         (display_target_list): Likewise.
178         (display_info_table): Likewise.
179         (display_target_tables): Likewise.
180         (main): Assign the return value of display_info to exit_status.
181         * bucomm.c: Include bfdver.h and libbfd.h
182         (display_target_list): Call bfd_nonfatal instead of nonfatal and
183         return 0 on a non-fatal error, 1 on success.
184         (display_info_table): Likewise. 
185         * bucomm.h (display_info): Provide a prototype.
186         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
187         libbfd.h.
188         * Makefile.in: Regenerate.
190 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
192         * dlltool.c (gen_def_file): Put demangled name comments on
193         own line preceding export name.
195 2003-03-17  Nick Clifton  <nickc@redhat.com>
197         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
198         printf for emitting new lines.
200 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
202         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
203         the symbol's value when --size-sort is used, unless -S is used.
204         doc/binutils.texi (--size-sort): For non-bsd formats both the
205         value and size of the symbols are displayed.
206         
207 2003-03-13  Nick Clifton  <nickc@redhat.com>
209         * po/da.po: Update.
211 2003-03-12  Nick Clifton  <nickc@redhat.com>
213         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
215 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
217         * MAINTAINERS: Update my mail address.
219 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
221         * stabs.c (BYTES_IN_WORD): Remove definition.
222         * wrstabs.c (BYTES_IN_WORD): Likewise.
224 2003-03-04  Nick Clifton  <nickc@redhat.com>
226         * nm.c (main): Print a warning message if --size-sort and
227         --undefined-only are used together.
229 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
231         * nm.c (print_symbol): Remove check for undefined_only.
232         
233 2003-03-03  Nick Clifton  <nickc@redhat.com>
235         * po/da.po: Installed latest translation.
237 2003-02-24  Nick Clifton  <nickc@redhat.com>
239         * README: Update binutils references to 2.13.
240         Add paragraph about using --disable-nls.
242 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
244         * doc/binutils.texi (nm --size-sort): Update.
246 2003-02-21  James E Wilson  <wilson@tuliptree.org>
248         * MAINTAINERS: Update email address.
250 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
252         * readelf.c (get_ia64_dynamic_type): New function.
253         (dynamic_segment_ia64_val): New function.
254         (get_dynamic_type): If machine type is EM_IA_64 call
255         get_ia64_dynamic_val.
256         (get_ia64_section_type_name): Handle sections with types in the
257         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
258         (get_dynamic_flags): If machine type is EM_IA_64 call
259         dynamic_segment_ia64_val.
261 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
263         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
264         section title capitalization more consistent.  Update descriptions
265         of various options to be consistent with the code.  Fix errors and
266         incomplete list in the description of c++filt format options.  Remove
267         information about the linker.  Change to be more polite about poor
268         bug reports.  Replace FDL appendix with include of fdl.texi.
269         * doc/fdl.texi: New file.
271 2003-02-21  Roger Sayle  <roger@eyesopen.com>
273         * objcopy.c (filter_symbols): Fix compilation problems with
274         HP-UX's C compiler.
276 2003-02-19  Christopher Faylor  <cgf@redhat.com>
278         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
279         previous change.
281 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
283         * rclex.l (handle_quotes): Handle strings spanning more than one line.
285 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
287         * nm.c (usage): Add `java' and `gnat' demangle styles and make
288         quotes consistent.
289         * objdump.c (usage): Ditto.  Also fix some typos.
291         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
293         * debug.c (debug_record_variable): Handle global register variables.
295         * stabs.c (parse_stab): For N_SLINE only include
296         function_start_offset if the symbol is within a function;
297         otherwise, the value is absolute.
299 2003-02-10  Nick Clifton  <nickc@redhat.com>
301         * readelf.c (decode_ARM_machine_flags): Handle the
302         EF_ARM_MAVERICK_FLOAT flag.
304 2003-02-04  Andreas Schwab  <schwab@suse.de>
306         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
307         long and use %ld in printf format.
309 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
311         * readelf.c (dump_relocations): Reorder the r_info field for
312         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
314 2003-01-21  Daniel Berlin  <dan@dberlin.org>
316         * readelf.c (display_debug_loc): Skip address base changes.
318 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
320         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
321         and ELFOSABI_NSK.
323 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
325         * readelf.c: Include elf/ppc64.h.
326         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
327         * Makefile.am: Run "make dep-am".
328         * Makefile.in: Regenerate.
330 2003-01-02  Ben Elliston  <bje@redhat.com>
332         * readelf.c (guess_is_rela): Handle EM_IQ2000.
333         (get_machine_name): Likewise.
334         (dump_relocations): Likewise.
335         * NEWS: Mention IQ2000 support.
337 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
339         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
341 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
343         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
344         changes in MIPS -M options.
346 2002-12-30    Dmitry Diky <diwil@mail.ru>
348         * Makefile.am: Add msp430 target.
349         * Makefile.in: Regenerate.
350         * readelf.c: Add support for msp430 target.
352 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
354         * doc/binutils.texi (objdump): Document MIPS -M options.
356 2002-12-23  Andreas Schwab  <schwab@suse.de>
358         * readelf.c (main): Reset dump request after each file.
360 2002-12-23  Nick Clifton  <nickc@redhat.com>
362         * nlmconv.c (main): Pass TRUE as third argument to
363         bfd_arch_get_compatible.
365 2002-12-23  Nick Clifton  <nickc@redhat.com>
367         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
368         macro.  Handle 'S' encoding, accepting 8-bit characters.
369         (main): Parse 'S' encoding.
370         (get_char): Accept 'S' encoding.
371         (print_strings): Use STRING_ISGRAPHIC.
372         (usage): Document support of 'S' encoding.
373         * doc/binutils.texi: Document support of 'S' encoding/
374         * NEWS: Mention new feature.
376 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
378         * README <building ar>: Don't use libibery's needed_list or
379         required_list, instead link libiberty/*.o.
381 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
383         * doc/binutils.texi: Fix typos.
385 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
387         * doc/binutils.texi: Add missing parenthesis.
389 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
391         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
392         symbols by adding the given prefix to the begining of the symbol
393         name. This is useful to provide name space seperation regardless
394         of how the object file was created. Added --prefix-sections=
395         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
396         sections (or all sections with the alloc flag set) by adding the given
397         prefix to the begining of the symbol name.
398         * NEWS: Mention this new feature.
399         * doc/binutils.texi: Document this new feature.
401 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
403         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
404         dyn_string_append with dyn_string_append_cstr.
406         * emul_aix.c (ar_emul_aix_create): Remove unused function.
408 2002-12-10  James Cownie <jcownie@etnus.com>
410         * readelf.h (get_TAG_name, get_AT_name,
411         read_and_display_attr_value): Add support for UPC extensions to
412         DWARF2 spec.
413         * NEWS: Mention this new support.
415 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
417         * NEWS: Mention that bfd no longer declares a "boolean" type.
419 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
421         * readelf.c (process_program_headers): When setting loadaddr, don't
422         assume segment size is 4k.  Use p_align instead.
423         (loadaddr): Change from int to long.
424         (dynamic_addr, dynamic_info, version_info): Likewise.
425         (process_dynamic_segment <syminsz>): Likewise.
426         (process_dynamic_segment): Adjust print format string.
427         (rela_addr, rela_size): Delete.
428         (process_relocs): Formatting.
430 2002-12-05  Jim Wilson  <wilson@redhat.com>
432         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
433         * configure: Regenerate.
435 2002-12-04  Ian Lance Taylor  <ian@airs.com>
437         * MAINTAINERS: Change e-mail address back to airs.com.
439 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
441         * MAINTAINERS: Add self.
443 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
445         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
446         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
447         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
448         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
449         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
450         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
451         with TRUE/FALSE.  Formatting.
453 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
455         * readelf.c Replace occurrences of Elf32_Internal_* and
456         Elf64_Internal_* with Elf_Internal_*.
457         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
458         Zero r_addend fields.
459         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
460         Elf_Internal_Rela.
462 2002-11-23  Nick Clifton  <nickc@redhat.com>
464         * size.c (usage): Fix typo describing switch for hex format.
466 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
468         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
469         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
470         testcase
472 2002-11-14  Nick Clifton  <nickc@redhat.com>
474         * readelf.c (process_program_headers): Add comment about return
475         value.  Ensure that 0 is returned if the headers are not loaded.
476         (process_file): If process_section_headers failed to load the
477         headers disable any tests that rely upon them.  Similarly for
478         process_program_headers.
480 2002-11-12  Nick Clifton  <nickc@redhat.com>
482         * po/da.po: Updated Danish translation.
484 2002-11-12  Klee Dienes  <kdienes@apple.com>
486         * rddbg.c (read_section_stabs_debugging_info): Also recognize
487         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
489 2002-11-11  Christopher Faylor  <cgf@redhat.com>
491         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
492         cgf maintainership.
494 2002-11-11  Christopher Faylor  <cgf@redhat.com>
496         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
498 2002-11-07  Nick Clifton  <nickc@redhat.com>
500         * configure.in (ALL_LINGUAS): Add 'da'.
501         * configure: Regenerate.
502         * po/da.po: New Danish translation.
504         * readelf.c (get_symbol_index_type): Revert part of previous
505         patch: Display unknown symbol types in decimal, not hex.
507 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
509         * dlltool.c (add_excludes): Don't prefix excluded fastcall
510         symbols with underscore.
511         (xlate): Ignore add_underscore for decorated fastcall symbols.
513 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
515         * deflex.l: Accept '@' as first character of an ID.
516         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
517         ASM_PREFIX for fastcall symbols.
518         (scan_drectve_symbols): Handle fastcall symbols when generating
519         undecorated aliases for symbols in drectve section.
520         (scan_filtered_symbols): Likewise, with export-all.
521         (xlate): Likewise, with --kill-at.
522         (make_imp_label): New function to handle fastcall symbols
523         correctly.
524         (make_one_lib_file): Use make_imp_label instead of make_label
525         for imp symbols.
527 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
529         * MAINTAINERS: Add self as TIC4X maintainer.
531 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
533         * readelf.c (get_symbol_index_type): Add hex number to
534         PROCESSOR-specific, OS-specific, reserved and unknown symbol
535         types.
537 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
539         * readelf.c (byte_get_little_endian): Comment typo fix.
540         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
541         as the format string.
542         (dump_relocations): Correct section sym names.
543         (process_section_headers): Clear symtab_shndx_hdr.
544         (read_and_display_attr_value): Don't pass indirect string to printf
545         as the format string.
546         (display_debug_frames): Indicate when zero terminator found.  Decode
547         DW_EH_PE_pcrel addresses.
549 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
551         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
552         order to ensure proper disassembly of the valid 0-value opcode.
553         * configure: Regenerate.
554         * aclocal.m4: Regenerate.
555         * config.in: Regenerate.
556         * configure.in: Regenerate.
557         * doc/Makefile.in: Regenerate.
558         * po/binutils.pot: Regenerate.
560 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
562         * MAINTAINERS: Add self as SH maintainer.
564 2002-10-23  Ben Elliston  <bje@redhat.com>
566         * doc/binutils.texi (objdump): Document -z and move the entry for
567         --disassemble-zeroes to the end of the options section (for `z').
569 2002-10-21  Nick Clifton  <nickc@redhat.com>
571         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
573 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
575         * objdump.c (dump_data): Correct addr_offset for opb != 1.
577 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
579         * bucomm.c (list_supported_targets): Use bfd_target_list.
581         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
582         other object errors in preference to bfd_core errors.
584 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
586         * Makefile.am: Run "make dep-am".
587         * objdump.c: #include "bfdver.h".
588         * version.c: Likewise.
589         * Makefile.in: Regenerate.
590         * config.in: Regenerate.
591         * configure: Regenerate.
592         * po/POTFILES.in: Regenerate.
594 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
596         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
597         sections.  Allow relocations against the absolute symbol.  Don't
598         use the value in compunit.cu_abbrev_offset if we found a RELA
599         relocation.
601 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
603         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
604         ordinary ones are available.
606 2002-09-30  H.J. Lu <hjl@gnu.org>
608         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
609         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
611 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
613         * Makefile.am (CFILES): Add cxxfilt.c.
614         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
615         (cxxfilt_LDADD): Delete.
616         Remove all references to underscore.c.
617         Regen dependencies.
618         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
619         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
620         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
621         adjustments to fit into binutils framework.
622         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
624 2002-09-12  Roland McGrath  <roland@redhat.com>
626         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
627         Handle DW_OP_GNU_push_tls_address.
629 2002-09-11  Nick Clifton  <nickc@redhat.com>
631         * po/tr.po: Updated Turkish translation.
633 2002-09-10  Nick Clifton  <nickc@redhat.com>
635         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
636         testsuite changes.  Add paragraphs about testsuite and config
637         patches.
639 2002-08-29  Nick Clifton  <nickc@redhat.com>
641         * readelf.c (get_machine_flags): Remove redundant reference to
642         E_V850EA_ARCH.
644 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
646         * objdump.c (dump_bfd): Restore lines accidentally deleted in
647         last commit.
649 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
651         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
652         (dump_bfd_header): Likewise.
654 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
656         * nm.c: Revert last change.
658 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
660         * nm.c (display_rel_file): Don't report "no symbols" as an error.
661         * objdump.c (slurp_symtab): Likewise.
662         (slurp_dynamic_symtab): Likewise.
663         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
665 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
667         * MAINTAINERS: Change my mailing address.
669 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
671         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
673 2002-08-22  Nick Clifton  <nickc@redhat.com>
675         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
676         HPPA.
678 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
680         * readelf.c (parse_args): Change debug_dump_opt to static.
682 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
684         * stabs.c (parse_stab_argtype): Pass length of physname to
685         stab_demangle_argtypes.
686         (stab_demangle_argtypes): Add new parameter - length of physname.
687         Pass length of physname on to stab_demangle_prefix.
688         (stab_demangle_prefix): Add new parameter - length of physname.
689         Use length of physname (if supplied) to compute end of function
690         name.
692 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
694         * readelf.c: Include elf/i370.h.
695         (dump_relocations): Handle EM_S370.
696         (dynamic_segment_parisc_val): Print \n.
697         (process_dynamic_segment <DT_BIND_NOW>): Here too.
699 2002-08-14  Nick Clifton  <nickc@redhat.com>
701         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
702         * objdump.c (usage): Likewise.
703         * doc/binutils.texi: Likewise.
705 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
707         * rcparse.y (acc_entry): Don't warn about ALT use with
708         non-VIRTKEY.
710 2002-08-13  H.J. Lu <hjl@gnu.org>
712         * objcopy.c (copy_object): Don't warn about the unsupported
713         architecture unless the input target is defaulted or the
714         output architecture is different from the input.
716 2002-08-09  Nick Clifton  <nickc@redhat.com>
718         * po/sv.po: Updated Swedish translation.
720 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
722         * prdbg.c (pr_fix_visibility): Remove assert.
724 2002-07-31  Nick Clifton  <nickc@redhat.com>
726         * addr2line.c (process_file): Rename parameter 'filename' to
727         'file_name' in order to avoid shadowing global symbol of the
728         same name.
729         (main): Likewise.
731 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
733         * readelf.c (OPTION_DEBUG_DUMP): Define.
734         (options): Use it.
735         (usage): Update help.
736         (parse_args): Handle --debug-dump separately from -w.
737         * doc/binutils.texi (readelf): Update documentation.
739 2002-07-25  Nick Clifton  <nickc@redhat.com>
741         * po/es.po: Updated Spanish translation.
742         * po/fr.po: Updated French translation.
744 2002-07-24  Nick Clifton  <nickc@redhat.com>
746         * po/es.po: Updated Spanish translation.
748 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
750         * Makefile.am: Run "make dep-am".
751         * Makefile.in: Regenerate.
753 2002-07-23  Nick Clifton  <nickc@redhat.com>
755         * po/fr.po: Updated French translation.
757 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
759         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
761 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
763         * budemang.c: Include config.h and string.h/strings.h.
765 2002-07-18 Denis Chertykov  <denisc@overta.ru>
766            Frank Ch. Eigler  <fche@redhat.com>
768         * readelf.c: Include "elf/ip2k.h".
769         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
770         (dump_relocations): Likewise.
771         (get_machine_name): Likewise.
772         * NEWS: Mention IP2K support.
774 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
776         * NEWS: Add 'Changes in 2.13'.
778 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
780         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
781         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
782         (get_section_type_name): Handle SHT_GNU_LIBLIST.
783         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
784         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
785         (process_gnu_liblist): New.
786         (process_file): Call it.
788 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
790         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
791         * Makefile.in: Regenerate.
793 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
795         * budemang.c: New file, "demangle" function.
796         * budemang.h: New file.
797         * addr2line.c (translate_addresses): Use "demangle".
798         * nm.c (print_symname): Likewise.
799         * objdump.c (objdump_print_symname): Likewise.
800         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
801         here since that obfuscates.
802         * rdcoff.c: Don't #include demangle.h.
803         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
804         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
805         (HFILES): Add budemang.h.  Sort.
806         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
807         Run "make dep-am".
808         * Makefile.in: Regenerate.
810 2002-07-01  Matt Thomas  <matt@3am-software.com>
812         * readelf.c: Include "elf/vax.h".
813         (guess_is_rela): Move EM_VAX from unknown to RELA case.
814         (dump_relocations): Handle VAX relocations.
815         (get_machine_flags): Handle VAX machine flags.
817 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
819         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
821 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
823         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
825 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
827         * nm.c (print_symname): When demangling, strip leading dots from
828         symbol names to avoid confusing the demangler.
830 2002-06-25  H.J. Lu <hjl@gnu.org>
832         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
833         * Makefile.in: Regenerated.
835 2002-06-21  Igor Schein  <igor@txc.com>
837         * configure.in: Quote bu_cv_have_fopen64.
838         * configure: Regenerate.
840 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
842         * configure.in: Check for strcoll.
843         * configure: Regenerate.
844         * config.in: Regenerate.
845         * nm.c (main): Set locale for LC_COLLATE category.
846         (non_numeric_forward): Use strcoll if available.
848 2002-06-20  Dave Brolley  <brolley@redhat.com>
850         * MAINTAINERS: Add self as fr30 and frv maintainer.
852 2002-06-18  H.J. Lu  (hjl@gnu.org)
854         * nm.c: Include "elf/common.h".
855         (extended_symbol_info): Add elfinfo, a pointer to
856         elf_symbol_type.
857         (SYM_SIZE): Use elfinfo if it is not NULL.
858         (get_symbol_type): New function.
859         (display_archive): Set print_width for each archive member.
860         (display_file): Likewise.
861         (display_rel_file): Don't set print_width here.
862         (print_object_filename_sysv): Handle print_width.
863         (print_archive_member_sysv): Likewise.
864         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
865         (print_symbol): Set the elfinfo field in extended_symbol_info
866         for ELF.
867         (print_object_filename_sysv): Fix the output format.
868         (print_symbol_info_sysv): Print type and section for ELF.
870 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
872         * nm.c (print_size_symbols): Remove assignment, which makes
873         the symbol's size equal to its value when --size-sort is
874         used.
876 2002-06-18  Dave Brolley  <brolley@redhat.com>
878         From Catherine Moore:
879         * readelf.c (elf/frv.h): #include it.
880         (guess_is_rela): Support EM_CYGNUS_FRV.
881         (dump_relocations): Ditto.
882         (get_machine_name): Ditto.
883         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
885 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
887         * readelf.c (get_file_header): Only read the first section header if
888         e_shoff is non-zero.
890 2002-06-15  H.J. Lu  (hjl@gnu.org)
892         * nm.c (print_size): New variable. Initialize to 0.
893         (long_options): Add 'S'/"print-size".
894         (main): Handle 'S'.
895         (print_symbol_info_bsd): Print size only if print_size is not
896         0.
898         * doc/binutils.texi: Document -S/--print-size.
900 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
902         * nm.c (struct extended_symbol_info): New strcuture: Add the size
903         of the symbols to the information provided by the symbol_info
904         structure.
905         (print_symbols): Pass the symbol size to print_symbol.
906         (print_size_symbols): Pass the symbol size to print_symbol.
907         (print_symbol): Extra argument: The size of the symbol.  Store
908         this in the extended_symbol_info structure.
909         (print_symbol_info): Change type of info parameter to
910         extended_symbol_info.  Display the size, if known.
911         (print_symbol_info_posix): Likewise.
912         (print_symbol_info_sysv): Likewise.
914 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
916         * Makefile.am: Run "make dep-am".
917         * Makefile.in: Regenerate.
918         * doc/Makefile.in: Regnerate.
920         * bucomm.c: Replace CONST with const.
921         * nm.c: Likewise.
922         * objdump.c: Likewise.
924 2002-06-07  H.J. Lu <hjl@gnu.org>
926         * readelf.c (DW_CFA_GNU_args_size): Don't define.
927         (DW_CFA_GNU_negative_offset_extended): Likewise.
928         (DW_CFA_GNU_window_save): Likewise.
929         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
930         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
932 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
934         * nm.c: When computing size of symbols for an ELF target use the
935         internal size field.
937 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
939         * testsuite/binutils-all/objcopy.exp: clear xfail for
940         "hppa*64*-*-hpux*".
941         * testsuite/binutils-all/hppa/objdump.exp: Return if
942         "*64*-*-*".
944 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
946         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
948 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
950         * objdump.c: Fix formatting.
952 2002-05-29  Ben Elliston  <bje@redhat.com>
954         * MAINTAINERS: Add self as M68k maintainer.
956 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
958         * readelf.c: Modified/Added DLX elf support.
960 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
962         * arsup.c: Fix formatting.
963         * debug.c (debug_record_label): Add missing colon to error
964         message.
965         * ieee.c (parse_ieee_ty): Fix spelling typo.
966         * readelf.c (process_program_headers): Remove English assumption
967         about making a plural word.
968         (process_section_headers): Likewise.
969         (process_relocs): Allow quotes to be translated.
970         (process_unwind): Likewise,
971         (process_mips_specific): Improve error message.
972         (get_note_type): Fix spelling typo.
974         * configure.in (ALL_LINGUAS): Add sv
975         * po/sv.po: New file.
977 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
979         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
980         (unw_print_grmask): Likewise.
981         (unw_print_frmask): Likewise.
983 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
985         * arsup.c: Remove ARGSUSED.
986         * debug.c: Likewise.
987         * ieee.c: Likewise.
988         * nlmconv.c: Likewise.
989         * prdbg.c: Likewise.
990         * stabs.c: Likewise.
991         * wrstabs.c: Likewise.
993 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
995         * arlex.l: Use #include "" instead of <> for local header files.
996         * coffdump.c: Likewise.
997         * coffgrok.c: Likewise.
998         * nlmconv.c: Likewise.
999         * nlmheader.y: Likewise.
1000         * srconv.c: Likewise.
1001         * strings.c: Likewise.
1002         * sysdump.c: Likewise.
1003         * unwind-ia64.h: Likewise.
1004         * windres.h: Likewise.
1005         * winduni.h: Likewise.
1007 2002-05-24  Tom Rix  <trix@redhat.com>
1009         * MAINTAINERS: Add self as the d10v maintainer.
1011 2002-05-24   TAMURA Kent <kent@netbsd.org>
1013         * configure.in: Builds dlltool for i386-netbsdpe.
1014         * configure: Regenerate.
1016 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1018         * size.c: Fix formatting.
1019         * srconv.c: Likewise.
1020         * stabs.c: Likewise.
1021         * sysdump.c: Likewise.
1022         * unwind-ia64.c: Likewise.
1023         * wrstabs.c: Likewise.
1025 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1027         * readelf.c (get_segment_type): Add PT_TLS.
1028         (get_elf_section_flags): Add SHF_TLS.
1029         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1030         (process_dynamic_segment): Use puts instead of printf.
1031         (get_symbol_type): Support STT_TLS.
1032         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1033         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1034         Add SEC_THREAD_LOCAL.
1036 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1038         * rdcoff.c: Fix formatting.
1039         * rddbg.c: Likewise.
1040         * readelf.c: Likewise.
1041         * rename.c: Likewise.
1042         * resbin.c: Likewise.
1043         * resrc.c: Likewise.
1044         * resres.c: Likewise.
1046 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1048         * filemode.c: Fix formatting.
1049         * ieee.c: Likewise.
1050         * is-ranlib.c: Likewise.
1051         * is-strip.c: Likewise.
1052         * maybe-ranlib.c: Likewise.
1053         * maybe-strip.c: Likewise.
1054         * nlmconv.c: Likewise.
1055         * nm.c: Likewise.
1056         * not-ranlib.c: Likewise.
1057         * not-strip.c: Likewise.
1058         * objcopy.c: Likewise.
1059         * objdump.c: Likewise.
1061 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1063         * objdump.c (dump_headers): Fix output formatting for ELF32
1064         architectures in a BFD64 enabled toolchain.
1066 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1068         * debug.c: Fix formatting.
1069         * debug.h: Likewise.
1070         * dlltool.c: Likewise.
1071         * dllwrap.c: Likewise.
1072         * emul_aix.c: Likewise.
1073         * emul_vanilla.c: Likewise.
1075 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1077         * addr2line.c: Fix formatting.
1078         * ar.c: Likewise.
1079         * arsup.c: Likewise.
1080         * arsup.h: Likewise.
1081         * binemul.c: Likewise.
1082         * binemul.h: Likewise.
1083         * bucomm.c: Likewise.
1084         * coffdump.c: Likewise.
1085         * coffgrok.c: Likewise.
1086         * coffgrok.h: Likewise.
1088 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1090         * MAINTAINERS: Add myself as the second AVR port maintainer.
1092 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1094         * MAINTAINERS: Update my email address.
1096 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1098         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1100 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1102         * configure.in: Replace `*pe' with `pe' throughout.
1103         * configure: Regenerate.
1105 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1107         * Makefile.am: Honour DESTDIR.
1108         * Makefile.in: Regenerate.
1110 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1112         * dlltool.c (process_def_file): Add missing prototype.
1113         (new_directive, assemble_file, main): Likewise.
1114         (process_def_file, new_directive): Make static.
1115         (inform): Rewrite using VA_FIXEDARG.
1116         * dllwrap.c (mybasename): Add missing prototype.
1117         (strhash, main): Likewise.
1118         (inform): Rewrite using VA_FIXEDARG.
1119         (warn): Likewise.
1120         (cleanup_and_exit): Use old style function definition.
1121         (strhash): Likewise.
1122         * windres.c (define_resource): Use one memset to clear all of
1123         struct res_resource.
1125         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1126         call to rules that need no lookahead.  Check for no lookahead.
1128 2002-05-06  Borut Razem  <borut.razem@siol.net>
1130         * rclex.l (get_string): Correct "strings" list handling.
1131         * resrc.c (read_rc_file): Discard strings.
1133 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1135         * ar.c (replace_members): Remove unused var.  Formatting fix.
1136         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1138         * MAINTAINERS: Sort port maintainers by CPU.
1140 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1142         * size.c (display_archive): Add last_arfile and code to close archives.
1144 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1146         * nm.c (print_symbol): Check returned filename from
1147         bfd_find_nearest_line is non-NULL.
1149 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1151         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1153 2002-04-24  Christian Groessler <chris@groessler.org>
1155         * MAINTAINERS: Changed my email address.
1157 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1159         * arparse.y: Fix syntax warning.
1161 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1163         * readelf.c (fetch_location_list): Remove unused function.
1165         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1166         and display a warning message, then exit the loop.
1168         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1170 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1172         * resrc.c (write_rc_dialog): If charset is non-default value
1173         display all of the DIALOGEX parameters.
1175 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1177         * rcparse.y: Allow two to five parameter in FONT statement of
1178         DIALOGEX resources.
1179         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1180         resource data.
1181         (res_to_bin_dialog): Likewise.
1182         * windres.h: Added misssing charset variable to dialog_ex
1183         structure.
1185 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1187         * rcparse.y: Set MEMFLAG_PURE by default.
1189 2002-04-09  Bernd Herd <info@herdsoft.com>
1191         * rcparse.y: CLASS definitions in DIALOG resources
1192         are quoted.
1193         Fix typo in BEDIT warning.
1194         Don't add default dialog style when explicit style specified.
1195         Add WS_CAPTION dialog style if CAPTION is specified.
1197         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1198         (handle_quotes) "\a" escape (used for right justified key
1199         definitions in menus) is encodes as binary 8.
1201         * resrc.c (write_rc_dialog): Print style even if it is 0.
1202         (write_rc_directory): Fix overlooked sublang shift bug.
1203         (bin_to_res_dialog): Don't print empty dialog caption.
1205         * resbin.c (bin_to_res_dialog): Use signature to identify
1206         DIALOGEX.
1208         * windres.c (main): Set default LANGUAGE to english/us.
1210 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1212         * resrc.c: print CLASS names in quotes
1214 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1216         * MAINTAINERS: Update my email address.
1218 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1220         * dep-in.sed: Cope with absolute paths.
1221         * Makefile.am (dep.sed): Subst TOPDIR.
1222         Run "make dep-am".
1223         * Makefile.in: Regenerate.
1225 2002-03-27  Peter Targett  <peter.targett@arc.com>
1227         * MAINTAINERS: Update my email address.
1229 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1231         * Makefile.am: Run "make dep-am".
1232         * Makefile.in: Regenerate.
1233         * doc/Makefile.in: Regenerate.
1234         * po/POTFILES.in: Regenerate.
1235         * aclocal.m4: Regenerate.
1236         * config.in: Regenerate.
1237         * configure: Regenerate.
1239 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1241         * readelf.c: Add support for displaying dwarf2 location lists.
1242         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1243         (parse_args): Use 'O' as shorthand for displaying location list
1244         section.
1245         (process_section_headers): Handle debug_loc as well.
1246         (load_debug_loc): New.
1247         (free_debug_loc): New.
1248         (fetch_location_list): New.
1249         (display_debug_loc): New.
1250         (display_debug_info): Call load_debug_loc and free_debug_loc.
1251         (debug_displays): We can display .debug_loc now, too.
1252         (usage): Update usage string.
1253         (read_and_display_attr_value): Note location lists, but don't
1254         display them inline.
1256 2002-03-18  Tom Rix  <trix@redhat.com>
1258         * Makefile.am: Add binutils emulation support.
1259         * configure.in: Same.
1260         * configure.tgt: New file.  Same.
1261         * ar.c (main): Use ar_emul_parse_arg.
1262         (usage): Use ar_emul_usage.
1263         (replace_members): Use ar_emul_replace, ar_emul_append.
1264         * binemul.c: New file.  Define the binutils emulation
1265         layer. Define default methods.
1266         * binemul.h: New file.  Binutils emulation layer header file.
1267         * emul_aix.c: New file.  AIX binutils emulation.
1268         * emul_vanilla.c: New file. Default binutils emulation.
1269         * Makefile.in: Regenerate.
1270         * configure: Same.
1272 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1274         * po/fr.po: Updated version.
1276 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1278         * po/fr.po: Updated version.
1280 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1282         * README: Update some version numbers.
1284 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1286         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1287         (Architecture Selection): Likewise.
1289 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1291         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1292         generating .exp file.
1294 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1296         * readelf.c (dump_relocations): Fix typo.
1298 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1300         * NEWS: Mark 2.12 branch.
1302 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1304         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1305         types for 64-bit MIPS.  Narrow some fields for 80-char
1306         output.
1307         (dump_relocations): Change spelling from 'unrecognised'
1308         to 'unrecognized'.
1309         (decode_ARM_machine_flags): Likewise.
1310         (parse_args): Likewise.
1311         (read_and_display_attr_value): Likewise.
1312         (display_debug_section): Likewise.
1314 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1316         * NEWS: Mention support for MMIX.
1318 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1320         * readelf.c (get_machine_flags): Recognize EF_M68000.
1322 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1324         * MAINTAINERS: Added self as MN10300 co-maintainer.
1326 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1328         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1329         DT_PPC64_OPDSZ.
1331 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1333         * MAINTAINERS: List myself as branch maintainer.
1335 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1337         * configure: Regenerate.
1338         * objcopy.c: Update copyright date.
1339         * doc/Makefile.in: Regenerate.
1341 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1343         * nlmconv.c: Back out localtime PARAMS change.
1345 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1347         * objcopy.c (MKDIR): Define.
1348         (copy_archive): Make name_list.name const.  Use MKDIR.
1349         Handle duplicate files in archives by making more temp dirs.
1351 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1353         * coffdump.c: Include "getopt.h" after "bucomm.h"
1354         so that macros are defined correctly.
1355         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1356         prototype.  Prototype main.
1357         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1359 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1361         * MAINTAINERS: Added self as SH co-maintainer.
1363 2002-02-05  Nick Clifton <nickc@redhat.com>
1365         * po/tr.po: Updated translation.
1367 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1369         * Makefile.am: Run "make dep-am"
1370         * Makefile.in: Regenerate.
1372 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1374         * nm.c (print_value): Mark abfd unused.
1376 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1378         * unwind-ia64.c (unw_decoder): Change second argument
1379         to unsigned int, to match function prototypes.
1381 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1383         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1384         __GNU_LIBRARY__ will be defined.
1385         * size.c: Likewise.
1387 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
1389         * configure: Regenerated.
1391 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
1393         * doc/Makefile.am (install): Depend on install-info.
1394         * doc/Makefile.in: Regenerate.
1396 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
1398         * objcopy.c (strip_usage): Document -d as an alias
1399         --strip-debug.
1401         * size.c (usage): Document [-t | --totals] options.
1402         (long_options): Add --totals option.
1403         (main): If the [-t | --totals] option is specified and
1404         the output format is Berkeley-style, print the total
1405         text, data, and bss sizes of all objects listed.
1406         (print_berkeley_format): If the [-t | --totals] option
1407         is specified, track the total text, data, and bss
1408         sizes.
1409         * doc/binutils.texi (size): Document [-t | --totals] options.
1410         (strip): Document -d as an alias for --strip-debug.
1411         * NEWS: Mention new feature of size.
1413 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
1415         * po/fr.po: Updated version.
1416         * po/es.po: Updated version.
1418 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1420         * addr2line.c (usage): Update text to provide verbose
1421         description of the command line options.
1422         * ar.c (usage): Update text to provide verbose
1423         description of the command line options.
1424         (main): Accept -h and -H when running as ranlib.
1425         * coffdump.c (show_usage): Update text to provide verbose
1426         description of the command line options.
1427         * dlltool.c (main): Accept -H as an alias for --help.
1428         * nlmconv.c (show_usage): Update text to provide verbose
1429         description of the command line options.
1430         * nm.c (usage): Replace OPTIONS with option(s).
1431         (main): Accept -H as an alias for --help.
1432         * objcopy.c (strip_main): Accept -H as an alias for --help.
1433         * objdump.c (main): Accept -v as an alias for --verbose.
1434         * readelf.c (usage): Adjust format to match style used in
1435         other binutils.
1436         * size.c (usage): Update text to provide verbose description
1437         of the command line options.
1438         (main): Accept -v, -h and -H as command line options.
1439         * srconv.c (show_usage): Update text to provide verbose
1440         description of the command line options.
1441         * strings.c (main): Accept -H and -v as command line options.
1442         (usage): Update text to provide verbose description of the
1443         command line options.
1444         * sysdump.c (show_usage): Update text to provide verbose
1445         description of the command line options.
1446         * windres.c (usage): Adjust format to match style used in
1447         other binutils.
1449         * coffdump.c: Fix formatting.
1450         * nlmconv.c: Fix formatting.
1451         * srconv.c: Fix formatting.
1452         * sysdump.c: Fix formatting.
1454 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
1456         * Makefile.am: Run "make dep-am".
1457         * Makefile.in: Regenerate.
1459 2002-01-18  Andreas Jaeger  <aj@suse.de>
1461         * version.c (print_version): Update year.
1463 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
1465         * readelf.c (get_machine_name): Handle EM_PPC64.
1466         (guess_is_rela): Here too.
1468 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1470         * po/binutils.pot: Regenerate.
1471         * po/fr.po: Regenerate.
1472         * po/tr.po: Regenerate.
1474 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1476         * po/tr.po: Import new version.
1478 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
1480         * readelf.c (get_ppc64_dynamic_type): New.
1481         (get_dynamic_type): Call it.
1483 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
1485         * objcopy.c (copy_usage): Use "options" instead of "switches".
1486         (strip_usage): Use "options" instead of "switches".
1487         * doc/binutils.texi (dlltool):  Refer to "options" instead of
1488         "switches".
1490 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
1492         * MAINTAINERS: Add self as co-maintainer for the ARM code.
1494 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1496         * po/es.po: Import from translation project.
1497         * configure.in (ALL_LINGUAS): Add es.
1498         * configure: Regenerate.
1500 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1502         * readelf.c (get_netbsd_elfcore_note_type): Use
1503         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1505 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1507         * readelf.c: Update copyright years.
1508         (get_note_type): Return a const char *.
1509         (get_netbsd_elfcore_note_type): New function.
1510         (process_note): Use get_netbsd_elfcore_note_type to get
1511         the note type string for NetBSD ELF core files.
1513 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
1515         * readelf.c (get_ia64_segment_type): Add support for macros.
1516         (get_segment_type): Add support for IA64 specific macros.
1518 2001-12-20  Julian v. Bock  <julian@wongr.net>
1520         * readelf.c (print_symbol): New function: Print a formatted symbol
1521         name.  If --wide is specified do not truncate it.
1522         (dump_relocations): Use print_symbol() to print symbol names.
1523         (process_symbol_table): Likewise.
1524         (process_syminfo): Likewise.
1525         (process_mips_specific): Likewise.
1526         (usage): Document new feature of --wide switch.
1527         * doc/binutils.texi (objdump): Document additional behaviour of
1528         --wide.
1530 2001-12-18  Michael Snyder  <msnyder@redhat.com>
1532         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1533         (copy_object): Don't set the start address or flags of a core file.
1534         (copy_section): Don't relocate a core file.  Don't copy contents
1535         if the input section has the contents flag set, but the output
1536         section does not (which happens with the fake 'note' pseudo-
1537         sections that BFD creates for corefiles).
1539 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1541         * readelf.c (get_machine_flags): Recognize header flags for ABI and
1542         ASE extensions. More robust code for ISA checking. Ignore empty fields
1543         in header flags for GNU extensions.
1545 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
1547         * objcopy.c (copy_archive): Set output bfd format outside the loop.
1549 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1551         * po/ja.po: Import from translation project.
1552         * configure.in (ALL_LINGUAS): Add ja.
1553         * configure: Regenerate.
1555 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1557         * addr2line.c (main): Protoype.
1558         * ar.c (main): Protoype.
1559         * nm.c (main): Protoype.
1560         * objcopy.c (main): Protoype.
1561         * objdump.c (main): Protoype.
1562         * size.c (main): Protoype.
1563         * strings.c (main): Protoype.
1565 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
1567         * readelf.c (symtab_shndx_hdr): New global.
1568         (SECTION_HEADER_INDEX): Define.
1569         (SECTION_HEADER_NUM): Define.
1570         (SECTION_HEADER): Define.
1571         (GET_ELF_SYMBOLS): Pass two params rather than three.
1572         (get_32bit_elf_symbols): Take file and section args.  Read and
1573         use SHT_SYMTAB_SHNDX.
1574         (get_64bit_elf_symbols): Likewise.
1575         (dump_relocations): Use SECTION_HEADER to index "section_headers".
1576         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
1577         Remember symtab_shdx_hdr.
1578         (process_program_headers): Scan from index 1 for segment map.
1579         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1580         "section_headers".
1581         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
1582         (process_unwind): Likewise.
1583         (process_version_sections): Likewise.
1584         (process_symbol_table): Likewise.
1585         (display_debug_info): Likewise.
1586         (process_dynamic_segment): Fake up a symtab section for changed
1587         GET_ELF_SYMBOLS.
1588         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1589         (process_program_headers): Kill signed/unsigned warning.
1590         (load_debug_str): Likewise.
1591         (display_debug_info): Likewise.
1593 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
1595         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1597 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
1599         * readelf.c (process_file_header): Print extended e_shnum and
1600         e_shdtrndx values.  Set elf_header values for same.
1601         (get_32bit_section_headers): Add "num" arg to read "num" headers.
1602         (get_64bit_section_headers): Likewise.
1603         (process_section_headers): Update calls.
1604         (get_file_header): Call get_32bit_section_headers or 64bit variant.
1606 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
1608         * objcopy.c (setup_section): Copy entsize.
1610 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
1612         * readelf.c (guess_is_rela): Add support for stormy16.
1613         (dump_relocations): Likewise.
1614         (get_machine_name): Likewise.
1616 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1618         * dllwrap.c (main) Replace multiple strings describing a
1619         single error with a single, newline escaped sentence to permit
1620         better translation into foreign languages.
1622         * readelf.c (get_elf_class): Remove internalionalisation of ELF
1623         class names.
1625 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1627         * strings.c (get_char): Initialize value.
1629 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1631         * arlex.l: Silence compile warnings.
1632         * arsup.h: Likewise. Fix formatting.
1634 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1636         * strings.c: Include config.h before bfd.h.
1637         (file_off): New type.
1638         (file_open): Define.
1639         (print_strings): Use file_off instead of file_ptr.  Print addresses
1640         which don't fit into long correctly.
1641         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
1642         available.
1643         (strings_file): Use file_off instead of file_ptr.  Use file_open.
1644         * configure.in: Check for getc_unlocked.
1645         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1646         be defined for it.
1647         * configure: Rebuilt.
1648         * config.h.in: Rebuilt.
1650 2001-11-29  H.J. Lu <hjl@gnu.org>
1652         * bucomm.c (make_tempname): Revert the changes made on
1653         2001-11-14 and 2001-11-12. They won't work with directories.
1655 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1657         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1658         CFLAGS_FOR_TARGET to runtest in environment.
1659         * Makefile.in: Rebuild.
1660         * doc/Makefile.in: Rebuild.
1662 2001-11-28  Mike Stump  <mrs@wrs.com>
1664         * objcopy.c (setup_section): Preserve SEC_RELOC when
1665         --set-section-flags is used.
1667 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
1669         * readelf.c (do_debug_str): New variable.
1670         (display_debug_str): New function: Display the contents of a
1671         .debug_str section.
1672         (load_debug_str): New function: Load in the contents of a
1673         .debug_str section.
1674         (free_debug_str): New function: Free the memory used by
1675         load_debug_str().
1676         (fetch_indirect_string): Retrieve a string from the .debug_str
1677         section.
1678         (usage): Add -ws.
1679         (parse_args): Accept -ws.
1680         (process_section_headers): Allow the display of the .debug_str
1681         section.
1682         (read_and_display_attr_value): Use fetch_indirect_string.  Show
1683         offset into .debug_str section.
1684         (display_debug_info): Use load_debug_str and free_debug_str.
1685         (debug_displays): Add .debug_str.
1686         * doc/binutils.texi: Document -ws.
1688 2001-11-19  Andreas Jaeger  <aj@suse.de>
1690         * testsuite/binutils-all/objdump.exp: Add x86-64.
1692 2001-11-15  Andreas Schwab  <schwab@suse.de>
1694         * readelf.c: Fix warnings without terminating newline.
1696 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
1698         * doc/binutils.texi (objdump): Document ppc -M options.
1700 2001-11-14  Andreas Jaeger  <aj@suse.de>
1702         * doc/binutils.texi (objdump): Fix description to use x86-64.
1704 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
1706         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1707         not all systems provide mkstemp.
1709 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1711         * doc/binutils.texi (objdump): Document x86 -M options.
1713 2001-11-13  Keith Walker <keith.walker@arm.com>
1715         * readelf.c (read_and_display_attr_value): New function to
1716         handle DW_FORM_indirect.
1717         (read_and_display_attr): Use it.
1719 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1721         * readelf.c (display_debug_lines): Deal with unknown standard
1722         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1723         DW_LNS_set_isa.
1725 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1727         * MAINTAINERS: Add self as tic54x maintainer.  This target
1728         includes the IBM C54XDSP clone.
1730 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1732         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1734 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1736         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1737         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1738         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1739         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1740         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1741         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1742         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1744         * readelf.c (get_elf_class): Fix ISO portability glitch.
1745         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1747 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1749         * readelf.c (debug_str, debug_str_size): New.
1750         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1751         Call free_abbrevs.
1752         (read_and_display_addr): Handle DW_FORM_strp.
1753         (display_debug_info): Read .debug_str section if present,
1754         so that DW_FORM_strp can be handled.
1755         Fix test for non-existant .debug_abbrev section.
1757 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1759         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1761         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1763 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1765         * MAINTAINERS: Add self as s390/s390x maintainer.
1767 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1769         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1771 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1773         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1774         * configure: Regernate.
1775         * po/fr.po: New file.
1776         * po/tr.po: New file.
1778 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1780         * MAINTAINERS: Add self as MMIX port maintainer.
1781         * readelf.c: Include elf/mmix.h.
1782         (guess_is_rela): MMIX is RELA.
1783         (dump_relocations): Handle MMIX relocations.
1784         * Makefile.am: Regenerate dependencies.
1785         * Makefile.in: Regenerate.
1787 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1789         * readelf.c (parse_args): Handle multiple options to the -w
1790         switch.
1792 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1794         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1795         LOPROC, LOOS and LOUSER.
1797 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1799         * MAINTAINERS: Update my email address.
1801 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1803         * doc/Makefile.in: Regenerate.
1804         * configure: Regenerate.
1806 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1808         * readelf.c (display_debug_line, display_debug_pubnames,
1809         display_debug_info, display_debug_frames): Detect and warn
1810         about 64-bit format entries.
1811         (display_debug_aranges): Reword 64-bit warning.
1812         (debug_displays): Add .debug_pubtypes as a known, but not yet
1813         supported, debug section.
1815 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1817         * coffdump.c (PROGRAM_VERSION): Delete.
1818         (main <'V'>): Call print_version.
1819         * srconv.c: Likewise.
1820         * sysdump.c: Likewise.
1821         * version.c (program_version): Remove.
1822         (print_version): Use BFD_VERSION_STRING.  Just print the current
1823         year in copyright message.
1824         * addr2line.c (program_version): Remove unused declaration.
1825         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1826         place of BFD_VERSION.
1827         * Makefile.am (Makefile): Depend on bfd/configure.in.
1828         (cplus-dem.o): Depend on Makefile.
1829         Run "make dep-am".
1830         * Makefile.in: Regenerate.
1832 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1834         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1835         format .debug_arange sections.
1836         (main): Add missing prototype.
1838 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1840         * Makefile.am: Update dependencies with "make dep-am".
1841         * Makefile.in: Regenerate.
1843 2001-09-28  Richard Henderson  <rth@redhat.com>
1845         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1847 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1849         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1850         VA_CLOSE.
1851         (non_fatal): Likewise.
1852         * objdump.c (objdump_sprintf): Likewise.
1853         * readelf.c (error): Likewise.
1854         (warn): Likewise.
1856 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1858         * readelf.c (do_wide): New.
1859         (options): Add --wide.
1860         (usage, parse_args): Likewise.
1861         (process_program_headers): Put each segment on a single line if
1862         --wide is given.
1863         (process_section_headers): Put each section on a single line if
1864         --wide is given.
1865         * doc/binutils.texi: Document it.
1866         * NEWS: Likewise.
1868 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1870         * readelf.c (print_vma): Print 8 digits of low hex value.
1872 2001-09-24  Andreas Jaeger  <aj@suse.de>
1874         * nlmconv.c: Fix warnings about unused attributes and function
1875         prototypes.
1877         * strings.c: Add prototype for get_char.
1879 2000-09-19  H.J. Lu  <hjl@gnu.org>
1881         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1882         $(srcdir)/cxxfilt.man.
1883         * doc/Makefile.in: Rebuild.
1885 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1887         * objcopy.c (copy_main): Correct rename-section string parsing.
1888         Consolidate new_name parsing, and error messages.
1890 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1892         * addr2line.c: Don't include <ctype.h>.
1893         (main): For gettext, also set the LC_CTYPE locate facet.
1894         * ar.c (main): Likewise.
1895         * coffdump.c (main): Likewise.
1896         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1897         (main): For gettext, also set the LC_CTYPE locate facet.
1898         Use ISALNUM instead of isalpha/isdigit.
1899         * dllwrap.c: Don't include <ctype.h>.
1900         (main): For gettext, also set the LC_CTYPE locate facet.
1901         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1902         (main): For gettext, also set the LC_CTYPE locate facet.
1903         Use TOUPPER instead of islower/toupper.
1904         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1905         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1906         Use TOUPPER instead of islower/toupper.
1907         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1908         * objcopy.c (main): Likewise.
1909         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1910         (disassemble_bytes): Use ISPRINT instead of isprint.
1911         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1912         (dump_data): Use ISPRINT instead of isprint.
1913         (main): For gettext, also set the LC_CTYPE locate facet.
1914         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1915         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1916         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1917         Use TOUPPER instead of islower/toupper.
1918         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1919         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1920         (write_rc_accelerators): Use ISPRINT instead of isprint.
1921         (write_rc_rcdata): Likewise.
1922         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1923         * srconv.c (main): Likewise.
1924         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1925         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1926         isdigit/isupper/islower.
1927         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1928         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1929         stab_demangle_prefix, stab_demangle_qualified,
1930         stab_demangle_template, stab_demangle_type,
1931         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1932         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1933         (isgraphic): Use ISPRINT instead of isascii/isprint.
1934         (main): Remove HAVE_LC_MESSAGES dependency.
1935         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1936         (pbarray): Use ISPRINT instead of isprint.
1937         (main): For gettext, also set the LC_CTYPE locate facet.
1938         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1939         (format_from_filename): Use ISPRINT instead of isprint.
1940         (main): For gettext, also set the LC_CTYPE locate facet.
1941         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1942         (unicode_print): Use ISPRINT instead of isprint.
1943         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1944         (stab_variable): Use ISDIGIT instead of isdigit.
1946 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1948         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1949         Replace bfd_read call with call to bfd_bread.
1950         (extract_file): Likewise.
1952         * objdump.c (dump_section_header): Cast section->filepos to
1953         unsigned long to suit printf format string.
1954         * readelf.c (process_section_headers): Similarly for sh_offset.
1955         (process_unwind): Likewise.
1957 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1959         * strings.c (encoding, encoding_bytes): New variables.
1960         (long_options): Add --encoding.
1961         (main): Accept -e and --encoding.
1962         (get_char): New function.  Read a, possibly wide, character from
1963         the input stream.
1964         (print_strings): Use get_char().
1965         (usage): Document new command line option.
1966         * doc/binutils.texi: Document new command line option.
1967         * NEWS: Announce new command line option.
1969 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1971         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1972         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1973         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1974         Removed EM_CYGNUS_ARC.
1976 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1978         * readelf.c: Include elf/h8 for H8 series definitions.
1979         (guess_is_rela): H8 series if RELA.
1980         (dump_relocations): Handle H8 series relocations.
1982 2001-08-31  Eric Christopher  <echristo@redhat.com>
1984         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1986 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1988         * MAINTAINERS: Include ARC Maintainer.
1990 2001-08-29  Ben Elliston  <bje@redhat.com>
1992         * stabs.c (stab_demangle_template): Initialise s4.
1994 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1996         * readelf.c (dump_relocations): Recognise EM_PPC64.
1998 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2000         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2002 2001-08-25  H.J. Lu  <hjl@gnu.org>
2004         * nm.c (print_width): New.
2005         (display_rel_file): Set `print_width' according to
2006         bfd_sprintf_vma.
2007         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2009 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2011         * objcopy.c (use_alt_mach_code): New variable.
2012         (OPTION_ALT_MACH_CODE): Define.
2013         (copy_options): Added --alt-machine-code.
2014         (copy_main): Handle it.
2015         (copy_object): Switch to alternate machine code if requested.
2016         * doc/binutils.texi: Document new option.
2017         * NEWS: Likewise.
2019 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2021         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2023 2001-08-21  H.J. Lu  <hjl@gnu.org>
2025         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2026         (display_debug_info): Cast for 64bit hosts.
2027         (display_debug_frames): Likewise.
2028         (process_mips_specific): Likewise.
2030 2001-08-21  Andreas Jaeger  <aj@suse.de>
2032         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2034         * sysdump.c: Add missing prototypes.
2035         * srconv.c: Likewise.
2036         * unwind-ia64.c: Likewise.
2037         * coffdump.c: Likewise.
2039         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2041         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2042         of declaring xcalloc.
2044 2001-08-10  H.J. Lu  <hjl@gnu.org>
2046         * nm.c (print_value): Add one arg, bfd *.
2047         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2048         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2049         (print_symbol_info_sysv): Likewise.
2050         (print_symbol_info_posix): Likewise.
2052         * objdump.c (dump_section_header): Replace printf_vma with
2053         bfd_printf_vma.
2054         (print_section_stabs): Likewise.
2055         (dump_bfd_header): Likewise.
2056         (objdump_print_value): Replace sprintf_vma with
2057         bfd_sprintf_vma.
2058         (disassemble_bytes): Likewise.
2059         (dump_reloc_set): Likewise.
2061 2001-08-10  Andreas Jaeger  <aj@suse.de>
2063         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2064         to build warnings.
2065         * configure: Regenerate.
2067 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2069         * readelf.c: Add missing prototypes.
2070         * objdump.c: Likewise.  Format existing prototypes.
2072 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2074         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2075         of any RELA relocation for the abbrev_offset memory location that
2076         refers to the .debug_abbrev section symbol.
2078 2001-08-07  H.J. Lu  <hjl@gnu.org>
2080         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2081         (main): Return process_file ().
2083 2001-08-05  Philip Blundell  <philb@gnu.org>
2085         * doc/binutils.texi: Use "Thumb" not "THUMB".
2087 2001-08-03  John Healy  <jhealy@redhat.com>
2089         Patch suggested by Frank Eigler <fche@redhat.com>.
2090         * objdump.c (disassemble_data): Fill in section member of the
2091         disasm_info structure.
2093 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2095         * configure.in: Added --with-windres option.
2096         * configure: Regenerated.
2098 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2100         * doc/binutils.texi: Use @command{name} for commands;
2101         use @option{-opt} for options; use @table @env for list of options;
2102         remove spaces arround [ | ] in synopsis.
2104         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2105         center title.
2107 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2109         * objcopy.c: Fix formatting.
2110         (section_rename): New structure.
2111         (OPTION_RENAME_SECTION): New switch.
2112         (copy_usage): Document new switch.
2113         (add_section_rename): New function: Add a node to the section
2114         rename list.
2115         (find_section_rename): New function: Find the new name and
2116         flags for a section.
2117         (setup_section): Call find_section_name to determine the name
2118         of the output section.
2119         (copy_main): Handle OPTION_RENAME_SECTION.
2120         * binutils.texi: Document new switch.
2121         * NEWS: Mention new switch.
2123 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2125         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2126         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2127         bug-binutils@gcc.org.
2129 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2131         * bucomm.c (list_supported_architectures): New function.
2132         * bucomm.h (list_supported_architectures): Declare.
2133         * objdump.c (usage): Call the above.
2135 2001-07-25  Dave Brolley  <brolley@redhat.com>
2137         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2138         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2140 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2142         * README: Update for 2.11.  Change bug reporting email address.
2143         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2145 2001-07-16  DJ Delorie  <dj@redhat.com>
2147         * resres.c (write_res_header): Align header size.
2148         (res_align_file): Calculate alignment correctly.
2150         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2151         correct 10).
2152         * resrc.c (write_rc_resource): Likewise.
2153         * windres.h (SUBLANG_SHIFT): Define - as 10.
2155 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2157         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2159 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2161         * MAINTAINERS: Add notes about branch checkins.
2163 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2165         * readelf.c (display_debug_macinfo): New function, display
2166         .debug_macinfo section.
2167         (do_debug_macinfo): New variable.
2168         (parse_args): Handle "-w[mM]" to mean display macro info.
2169         (process_section_headers): Handle debug_macinfo.
2170         (debug_displays): Replace unsupported function with macinfo
2171         function for .debug_macinfo display.
2172         * doc/binutils.texi: Document new command line switch.
2173         * NEWS: Document new feature of readelf.
2175 2001-07-05  H.J. Lu  <hjl@gnu.org>
2177         * objcopy.c (filter_symbols): Don't turn undefined symbols
2178         into local.
2180 2001-07-03  H.J. Lu <hjl@gnu.org>
2182         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2183         $@.pod.
2184         (ar.1): Likewise.
2185         (dlltool.1): Likewise.
2186         (nlmconv.1): Likewise.
2187         (nm.1): Likewise.
2188         (objcopy.1): Likewise.
2189         (objdump.1): Likewise.
2190         (ranlib.1): Likewise.
2191         (readelf.1): Likewise.
2192         (size.1): Likewise.
2193         (strings.1): Likewise.
2194         (strip.1): Likewise.
2195         (windres.1): Likewise.
2196         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2197         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2198         $(DEMANGLER_NAME).
2199         (as.1): Removed.
2200         * doc/Makefile.in: Regenerated.
2202 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2204         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2206 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2208         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2210 2001-06-29  James Cownie <jcownie@etnus.com>
2212         * readelf.c: Support DWARF 2.1 attributes.
2214 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2216         * readelf.c (GET_DATA_ALLOC): Remove.
2217         (GET_DATA): Remove.
2218         (get_data): New function combining above macros, with an extra
2219         test for zero size.
2220         (slurp_rela_relocs): Use get_data, and catch error return.
2221         (slurp_rel_relocs): Likewise.
2222         (get_32bit_program_headers): Likewise.
2223         (get_64bit_program_headers): Likewise.
2224         (get_32bit_section_headers): Likewise.
2225         (get_64bit_section_headers): Likewise.
2226         (get_32bit_elf_symbols): Likewise.
2227         (get_64bit_elf_symbols): Likewise.
2228         (process_section_headers): Likewise.
2229         (process_relocs): Likewise.
2230         (slurp_ia64_unwind_table): Likewise.
2231         (process_unwind): Likewise.
2232         (get_32bit_dynamic_segment): Likewise.
2233         (get_64bit_dynamic_segment): Likewise.
2234         (process_dynamic_segment): Likewise.
2235         (process_version_sections): Likewise.
2236         (process_symbol_table): Likewise.
2237         (dump_section): Likewise.
2238         (display_debug_info): Likewise.
2239         (display_debug_section): Likewise.
2240         (process_section_contents): Likewise.
2241         (process_corefile_note_segment): Likewise.
2242         (process_mips_specific): Likewise.  Also free econf32, econf64.
2244 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2246         * readelf.c (dump_relocations): Print "bad symbol index" if
2247         symtab == NULL with non-zero symtab_index.
2248         (process_relocs): Don't bomb if reloc section has no symsec.
2250 2001-06-24  H.J. Lu  <hjl@gnu.org>
2252         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2253         by accident.
2254         (copy_main): Apply the the change made to strip_main on
2255         2001-05-30 by accident.
2257 2001-06-23  Andreas Jaeger  <aj@suse.de>
2259         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2260         parameter 'code'.
2261         (unw_decode_x2): Likewise.
2262         (unw_decode_x3): Likewise.
2263         (unw_decode_x4): Likewise.
2265 2001-06-23  Ben Elliston  <bje@redhat.com>
2267         * MAINTAINERS: Add myself as M88k maintainer.
2269 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2271         * objcopy.c (strip_main): Support -o or --output-file command lien
2272         switch.
2274 2001-06-19  H.J. Lu <hjl@gnu.org>
2276         * doc/Makefile.in: Regenerated.
2278 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2280         * readelf.c: Restore formatting.
2282 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2284         * Makefile.am: Move documentation into doc subdirectory.
2285         * Makefile.in: Regenerated.
2286         * binutils.texi: Move into doc subdirectory.
2287         * addr2line.1: Removed.
2288         * ar.1: Likewise.
2289         * dlltool.1: Likewise.
2290         * nlmconv.1: Likewise.
2291         * nm.1: Likewise.
2292         * objcopy.1: Likewise.
2293         * objdump.1: Likewise.
2294         * ranlib.1: Likewise.
2295         * readelf.1: Likewise.
2296         * size.1: Likewise.
2297         * strings.1: Likewise.
2298         * strip.1: Likewise.
2299         * windres.1: Likewise.
2300         * cxxfilt.man: Likewise.
2301         * doc: New Directory.
2302         * doc/Makefile.am: New file.
2303         * doc/Makefile.in: Generate.
2305 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2307         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2309 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2311         * MAINTAINERS: Update my email address.
2313 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2315         * objcopy.c: Add new switches: --keep-global-symbol,
2316         --keep-symbols, --localize-symbols, --keep-global-symbols and
2317         --weaken-symbols.
2318         * binutils.texi: Document new switches.
2319         * objcopy.1: Regenerate.
2320         * NEWS: Announce new feature.
2322 2001-05-28  Andreas Jaeger  <aj@suse.de>
2324         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2325         variables, fix format strings.
2327 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2329         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2330         when computing the address of the line to show.
2332 2001-05-16  Richard Henderson  <rth@redhat.com>
2334         * readelf.c (do_debug_frames_interp): New.
2335         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2336         (byte_get_big_endian): Likewise.
2337         (parse_args) ['F']: Set do_debug_frames_interp.
2338         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2339         (frame_display_row): Don't trunc pc_begin to int.
2340         (size_of_encoded_value): New.
2341         (display_debug_frames): Handle 64-bit targets.  Print raw data
2342         unless do_debug_frames_interp.
2343         (debug_displays): Remove duplicate .debug_frame.
2345 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2347         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2348         The former constant was never in active use and is used otherwise
2349         by the ABI.
2351 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2353         * readelf.c (process_unwind): Print all unwind sections, not just
2354         one.
2356 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2358         * readelf.c (process_unwind): Remove const specifier.
2360 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2362         * strings.c (isgraphic): Do not use isascii() unless it is needed
2363         for isprint() to work.
2364         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2366 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2368         * NEWS: Announce support for OpenRISC.
2370 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2372         * dlltool.c (do_default_excludes): Initialise to true.
2374 2001-04-10  Alan Modra  <amodra@one.net.au>
2376         * MAINTAINERS: Update my email address
2377         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2379 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2381         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2383 2001-03-30  H.J. Lu  <hjl@gnu.org>
2385         * readelf.c (process_unwind): Just return if do_unwind is 0.
2387 2001-03-28  Roger Sayle  <roger@metaphorics.com>
2389         * dlltool.c (make_one_lib_file): Fix section flags for
2390         .text, .data and .bss in stub ds*.o files to match those
2391         generated by gas.
2393 2001-03-29  H.J. Lu  <hjl@gnu.org>
2395         * readelf.c (process_unwind): Only do unwind sections for
2396         IA64.
2398 2001-03-28  H.J. Lu  <hjl@gnu.org>
2400         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2401         * Makefile.in: Regenerate.
2403 2001-03-26  Andreas Jaeger  <aj@suse.de>
2405         * binutils.texi (nm): Fix texi syntax.
2407 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2409         * binutils.texi: Put @c man begin and @c man end indications
2410         to generate man pages using texi2pod and pod2man. Put @c man title
2411         to identify each man. Add SEEALSO entries.
2412         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2413         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2414         sort the list.
2415         (*.1): Build the man pages from binutils.texi.
2416         * Makefile.in: Regenerate.
2418 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
2420         * defparse.y (opt_equal_name): allow "." in name.
2421         * dlltool.c (def_exports): Added ability to generate forwarded exports.
2422         (gen_exp_file): Likewise.
2424 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
2426         * NEWS: Document addition of -B switch to objcopy.
2427         * binutils.texi:  Document addition of -B switch to objcopy.
2428         * objcopy.c: (copy_options): Add --binary-architecture.
2429         (copy_usage): Document -B/--binary-architecture.
2430         (copy_main): Support -B/--binary-architecture.  Set
2431         bfd_external_binary_architecture.
2433 2001-03-11  Andreas Jaeger  <aj@suse.de>
2435         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2436         (dump_relocations): Likewise.
2437         (get_machine_name): Likewise.
2439 2001-02-28  Nick Clifton  <nickc@redhat.com>
2441         * readelf.c: (struct unw_aux_info): Remove const modifier for
2442         'strtab' field.
2443         (process_unwind): Remove non-K&R compliant LHS type cast in call
2444         to GET_DATA_ALLOC macro.
2446 2001-02-28  Philip Blundell  <pb@futuretv.com>
2448         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2449         ABI is in use; remove ambiguity between the "unknown" EABI and
2450         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
2451         renamed EF_xx constants.
2453 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2455         * configure.in (BFD_VERSION): New.
2456         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2457         * configure: Regenerate.
2458         * Makefile.am: Run "make dep-am"
2459         * Makefile.in: Regenerate.
2461 2001-02-14  Nick Clifton  <nickc@redhat.com>
2463         * MAINTAINERS: Add "Obvious Fix" rule.
2465 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2467         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2468         literal concatenation.
2470 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2472         * readelf.c (struct unw_aux_info): Remove const from the info member.
2473         (process_unwind): Don't type-cast the third argument to the
2474         GET_DATA_ALLOC macro.
2476 2001-02-11  Nick Clifton  <nickc@redhat.com>
2478         * readelf.c (dump_relocations): Free corrected allocated
2479         array.
2480         (process_unwind): Fix compile time warning.
2482 2001-02-10  Nick Clifton  <nickc@redhat.com>
2484         * binutils.texi: Document new --unwind option to readelf.
2486 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2488         * readelf.c: Add linux target for S/390.
2490 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
2492         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2493         printf is a macro.
2495 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
2497         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2498         * aclocal.m4: Regenerate.
2499         * configure: Regenerate.
2501 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
2503         * bucomm.c (bfd_target_vector): Change extern array to pointer.
2504         * objdump.c (bfd_target_vector): Likewise.
2506 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
2508         * readelf.c (process_unwind): New function.
2509         (slurp_ia64_unwind_table): Ditto.
2510         (dump_ia64_unwind): Ditto.
2511         (find_symbol_for_address): Ditto.
2512         (slurp_rela_relocs): New function (split off from dump_relocations()).
2513         (slurp_rel_relocs): Ditto.
2514         (parse_args): Handle '-u' option.
2516         * unwind-ia64.c: New file.
2517         * unwind-ia64.h: New file.
2518         * Makefile.am: Include unwind-ia64.c in readelf build.
2519         * Makefile.in: Regenerate.
2520         * po/binutils.pot: Regenerate.
2522 2001-02-04  Philip Blundell  <philb@gnu.org>
2524         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2525         * configure: Regenerate.
2527 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
2529         * ieee.c (ieee_add_bb11): Don't check for backslashes
2530         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2532 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
2534         * ieee.c: Update copyright.
2535         (ieee_start_compilation_unit): Don't check for backslashes
2536         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2538         * stabs.c: Update copyright. Include "filenames.h".
2539         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2541 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2543         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2544         sections are present before using them.  Remove code duplication.
2545         (process_symbol_table): Check if VERDEF or VERNEED sections are
2546         present before using them.
2548 2001-01-17  Nick Clifton  <nickc@redhat.com>
2550         * objcopy.c (copy_object): Fail if attempting to convert the
2551         endianness of the input object file.
2553         * binutils.texi: Explain that objcopy cannot convert endianness.
2555 2001-01-16  Nick Clifton  <nickc@redhat.com>
2557         * readelf.c (string_table_length): New variable.
2558         (SECTION_NAME): Catch out of range indices and missing section
2559         pointers.
2560         (process_section_headers): Delete useless local variable
2561         string_table_offset.  Set the value of string_table_length
2562         after loading the string table.
2563         (process_mips_specific): Use SECTION_NAME macro.
2564         (process_file): Set string_table_length to 0 when it is freed.
2566 2001-01-12  Nick Clifton  <nickc@redhat.com>
2568         * version.c (print_version): Update copyright date.
2570 2001-01-11  Peter Targett  <peter.targett@arccores.com>
2572         * readelf.c (dump_relocations): Include selection with EM_ARC.
2573         (get_machine_name) Update name to "ARC".
2575 2001-01-09  Nick Clifton  <nickc@redhat.com>
2577         * Makefile.am: Add rule to build objdump.o from objdump.c and
2578         using OBJDUMP_DEFS.
2579         * Makefile.in: Regenerate.
2581         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
2582         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2583         -DDISASSEMBLER_NEEDS_RELOCS.
2584         * configure: Regenerate.
2586         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2587         is defined read in the relocs even if dump_reloc_info is
2588         false.
2590 2001-01-07  Philip Blundell  <philb@gnu.org>
2592         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2593         `bug-binutils'.
2594         * README: Likewise.
2596 2000-12-19  Nick Clifton  <nickc@redhat.com>
2598         * dlltool.c: Add missing support for arm-epoc-pe.
2599         * configure.in: Add missing support for arm-epoc-pe.
2600         * configure: Regenerate.
2602 2000-12-15  Nick Clifton  <nickc@redhat.com>
2604         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2605         Mode parts of the x86 port.
2607 2000-12-04  Andreas Jaeger  <aj@suse.de>
2609         * readelf.c (guess_is_rela): Add EM_X86_64.
2610         (dump_relocations): Add EM_X86_64.
2611         (get_machine_name): Add EM_X86_64.
2612         Include "elf/x86-64.h".
2614 2000-12-12  Nick Clifton  <nickc@redhat.com>
2616         * readelf.c: Fix formatting.
2618 2000-12-11  Jan Hubicka  <jh@suse.cz>
2620         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2622 2000-12-07  Andrew Haley  <aph@redhat.com>
2624         * readelf.c (display_debug_frames): Only display columns that are
2625         referenced by the frame debug info.
2627 2000-12-05  Nick Clifton  <nickc@redhat.com>
2629         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2631 2000-12-04  Jason Merrill  <jason@redhat.com>
2633         * readelf.c (process_section_headers): Handle linkonce.wi sections.
2634         (display_debug_section): Likewise.
2635         (display_debug_info): Display CU header before bailing.
2637 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
2639         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2640         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
2641         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2643         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2644         and E_MIPS_ARCH_64.
2646         * readelf.c (get_machine_flags): Add case for
2647         E_MIPS_MACH_SB1.
2649 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
2651         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2653 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
2655         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
2656         Change sourceware.cygnus.com to sources.redhat.com.
2657         Fix typo for "amongst".
2659 2000-11-28  Nick Clifton  <nickc@redhat.com>
2661         * strip.1 (COPYING): Mention that the GNU Free Documentation
2662         License is present in the sources, but not the output, and
2663         also available from the GNU website.
2664         (GNU Free Documentation License): Comment out this section.
2665         * strings.1: Ditto.
2666         * size.1: Ditto.
2667         * ranlib.1: Ditto.
2668         * objdump.1: Ditto.
2669         * objcopy.1: Ditto.
2670         * nm.1: Ditto.
2671         * nlmconv.1: Ditto.
2672         * ar.1: Ditto.
2673         * addr2line.1: Ditto.
2675 2000-11-27  DJ Delorie  <dj@redhat.com>
2677         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2678         (parse_args): Support -wf option.
2679         (process_section_headers): Ditto.
2680         (debug_displays): Ditto.
2681         (display_debug_frames): New, dump *_frame sections.
2682         (frame_need_space): Support for above.
2683         (frame_display_row): Ditto.
2684         * binutils.texi: Document it.
2686 2000-11-24  Nick Clifton  <nickc@redhat.com>
2688         * NEWS: Announce support for v5t, v5te and XScale.
2690 2000-11-22  Nick Clifton  <nickc@redhat.com>
2692         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2693         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2694         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2695         (get_elf_section_flags: Add SHF_GROUP.
2696         (process_section_headers): Adjust output for 32-bit binaries
2697         to look nice on an 80 column terminal.
2699 2000-11-20  H.J. Lu  <hjl@gnu.org>
2701         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2702         ELFOSABI_AIX.
2704 2000-11-17  Richard Henderson  <rth@redhat.com>
2706         * readelf.c (display_debug_lines): Adjust last change to
2707         use sizeof (external->li_length).
2709 2000-11-17  Richard Henderson  <rth@redhat.com>
2711         * readelf.c (display_debug_lines): Fix section length check
2712         and end_of_sequence computation.
2714 2000-11-06  Nick Clifton  <nickc@redhat.com>
2716         * binutils.texi: Add GNU Free Documentation License.
2717         * objcopy.1: Add GNU Free Documentation License.
2718         * objdump.1: Add GNU Free Documentation License.
2719         * addr2line.1: Add GNU Free Documentation License.
2720         * ar.1: Add GNU Free Documentation License.
2721         * nlmconv.1: Add GNU Free Documentation License.
2722         * nm.1: Add GNU Free Documentation License.
2723         * ranlib.1: Add GNU Free Documentation License.
2724         * size.1: Add GNU Free Documentation License.
2725         * strings.1: Add GNU Free Documentation License.
2726         * strip.1: Add GNU Free Documentation License.
2728 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2730         * objcopy.c (--srec-len=nn): New parameter to set the
2731         maximum length of generated Srecords.
2732         (--srec-forceS3): New parameter that restricts the generation of
2733         Srecords to type S3 only.
2734         * binutils.texi: Document new command line switches.
2735         * objcopy.1: Docuemnt the new command line switches.
2736         * NEWS: Announce the existence of the new command line switches.
2738 2000-10-31  Nick Clifton  <nickc@redhat.com>
2740         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2741         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2743 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2745         * Make comma after string after icon/control optional.
2747 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2749         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2751         * NEWS: Mention support for MIPS32.
2753 2000-09-08  Nick Clifton  <nickc@redhat.com>
2755         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2757 2000-09-07  H.J. Lu  <hjl@gnu.org>
2759         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2760         * configure: Rebuild.
2762 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2764         * configure: Rebuilt with new libtool.m4.
2766 2000-09-05  Nick Clifton  <nickc@redhat.com>
2768         * aclocal.m4: Regenerate.
2769         * config.in: Regenerate.
2770         * configure: Regenerate.
2772 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2774         * strip.1: Fix stray '\' in -o formatting.
2776 2000-09-02  Nick Clifton  <nickc@redhat.com>
2778         * configure.in: Increase version number to 2.10.91.
2779         * configure: Regenerate.
2780         * aclocal.m4: Regenerate.
2781         * config.in: Regenerate.
2782         * po/binutils.pot: Regenerate.
2784 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2786         * acinclude.m4: Include libtool and gettext macros from the
2787         top level.
2788         * aclocal.m4, configure: Rebuilt.
2790 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2792         * resrc.c (close_input_stream): Delete extraneous logic
2794 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2796         * NEWS: Mention support for CRIS.
2798 2000-08-21  Nick Clifton  <nickc@redhat.com>
2800         * addr2line.c: Changed email address for Ulrich Lauther.
2802 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2804         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2806 2000-08-17  Nick Clifton  <nickc@redhat.com>
2808         * readelf.c (display_debug_pubnames): Only issue warning
2809         message once.  Terminate message with a new line.
2810         (display_debug_aranges): Only display version 2 debug info.
2812 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2814         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2815         for compatability with old BSD systems.
2817 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2819         * NEWS: Mention i860 support.
2821 2000-08-11  Carlo Wood <carlo@alinoe.com>
2823         * addr2line.c (main): Add const to char *.
2825 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2827         * ar.c (main): Don't crash if called with no arguments
2828         or only '-X32_64' as an argument.
2830 2000-08-08  DJ Delorie  <dj@redhat.com>
2832         * resrc.c: use "gcc -xc" instead of -xc-header
2834 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2836         * readelf.c (elf/i860.h): Include.
2837         (dump_relocations): Add recognition of i860 architecture.
2838         (guess_is_rela): Add recognition of i860 architecture.
2840 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2842         * MAINTAINERS: Add information about CGEN maintainers.
2844 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2846         * nm.c (main): Ignore '-X32_64' as an option.
2847         * ar.c (main): Likewise.
2848         * binutils.texi (nm): Document new option.
2849         (ar): Likewise.
2851 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2853         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2855 2000-07-20  H.J. Lu  <hjl@gnu.org>
2857         * binutils.texi: Put back "@end table" deleted by
2858         accident.
2860 2000-07-05  Kenneth Block  <krblock@computer.org>
2862         * nm.c: Add optional style to demangle switch.
2863         * objdump.c: Add optional style to demangle switch.
2864         * addr2line.c: Add optional style to demangle switch.
2865         * binutils.texi: Document optional style to demangle
2866         switch.
2868 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2870         * MAINTAINERS: Add self as CRIS port maintainer.
2871         * readelf.c: Include elf/cris.h.
2872         (guess_is_rela): Handle EM_CRIS.
2873         (dump_relocations): Ditto.
2874         (get_machine_name): Ditto.
2875         * Makefile.am: Rebuild dependencies.
2876         * Makefile.in: Regenerate.
2877         * po/binutils.pot: Regenerate.
2879 2000-07-19  H.J. Lu  <hjl@gnu.org>
2881         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2882         "AUXILIARY".
2883         (process_dynamic_segment): Print out strings for DT_CONFIG,
2884         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2886 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2888         * nm.c (usage): Change output of `nm --help' to include a
2889         description of the purpose of the program and a detailed
2890         description of the accepted options.
2892 2000-07-19  H.J. Lu  <hjl@gnu.org>
2894         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2895         to DF_1_NODEFLIB.
2897 2000-07-19  H.J. Lu  <hjl@gnu.org>
2899         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2901 2000-07-19  H.J. Lu  <hjl@gnu.org>
2903         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2904         DT_FEATURE.
2905         (process_dynamic_segment): Likewise.
2907         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2908         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2909         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2910         DF_1_NODUMP and DF_1_CONLFAT.
2912 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2914         * binutils.texi (readelf): Fix spelling typo.
2916 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2918         * objdump.c (usage): Make output of `objdump --help' more
2919         consistent with the rest of the GNU world.  Add a line describing
2920         the purpose of the program.
2922 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2924         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2925         warning.
2927 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2929         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2930         to fix warnings.
2931         (process_symbol_table): Ditto.
2932         (procesS_extended_line_op): Ditto.
2933         (display_debug_lines): Ditto.
2934         (display_debug_pubnames): Ditto.
2935         (read_and_display_attr): Ditto.
2937 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2939         * MAINTAINERS: Add several more port specific maintainers.
2941 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2943         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2945 2000-06-05  DJ Delorie  <dj@redhat.com>
2947         * MAINTAINERS: New.
2949 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2951         * dllwrap.c: Changed mistaken dyn_string_append() calls
2952         to dyn_string_append_cstr().
2954 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2956         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2957         struct debug_type stores size in bytes.
2959 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2961         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2962         (CLEANFILES): Add DEPA.
2963         * Makefile.in: Regenerate.
2965 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2967         * ar.c: Revert incorrect 2000-06-25 patch.
2968         * bucomm.c: Likewise.
2970 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2972         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2973         (external_coff_symbol_p): New function.
2974         (parse_coff): Use it.
2976 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2978         * ar.c (normalize): Advance past both characters in a DOS based
2979         <letter>: filepath prefix.
2980         (main): Likewise.
2981         * bucomm.c (make_tempname): Likewise.
2983 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2985         * objdump.c (usage): Fix description of --stabs switch.
2987 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2989         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2990         find one.
2991         * Makefile.in: Regenerate.
2993 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2995         * ar.c (normalize): Correct pointer comparison when checking for
2996         backslashes.
2997         (main): Likewise.
2998         * bucomm.c (make_tempname): Likewise.
3000         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
3001         and search for backslashes in the original pathname.
3002         (ieee_add_bb11): Likewise.
3004 2000-06-18  Nick Clifton  <nickc@redhat.com>
3006         * ar.c (print_contents): Improve verbose message.
3008 2000-06-15  H.J. Lu  <hjl@gnu.org>
3010         * dyn-string.c: Removed. Not needed with dyn-string.c in
3011         libiberty.
3012         * dyn-string.h: Likewise.
3014         * Makefile.am: Remove references to dyn-string.c and
3015         dyn-string.h. Rebuild dependency.
3016         * Makefile.in: Rebuild.
3018 2000-06-15  H.J. Lu  <hjl@gnu.org>
3020         * binutils.texi: Put a warning on copying relocatable object
3021         files between two different formats.
3023 2000-06-13  DJ Delorie  <dj@cygnus.com>
3025         * rcparse.y (control): ICON controls take an id as the first
3026         parameter, not an optional string.  Also, call new convenience
3027         function that takes res_id's.
3028         * resrc.c (define_control): missing text means zero-length string,
3029         not zero ID.
3030         (define_icon_control): New.
3031         * windres.h: declare define_icon_control.
3033 2000-06-13  H.J. Lu  <hjl@gnu.org>
3035         * configure: Regenerate.
3037 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3039         * configure.in (VERSION): Update to show this is the CVS mainline.
3041 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3043         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3044         analogous to <SPACE>.
3046 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3048         * objdump.c (display_target_list): Use bfd_close_all_done, not
3049         bfd_close to fix crash caused by 2000-05-24 change.
3051 2000-05-25  DJ Delorie  <dj@cygnus.com>
3053         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3055 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3057         * Makefile.am: Update dependencies with "make dep-am"
3058         * Makefile.in: Regenerate.
3060 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3062         * ar.c: Include filenames.h.
3063         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3064         and drive letters in file names.
3065         (main): Support backslashes and drive letters in argv[0].  Drop
3066         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3067         FILENAME_CMP instead of strcmp to compare file names.
3068         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3069         DJGPP v2.
3070         (do_quick_append) [__GO32__]: Ditto.
3071         (get_pos_bfd, delete_members, move_members, replace_members):
3072         Compare file names with FILENAME_CMP.
3074         * bucomm.c: Include filenames.h.
3075         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3076         forward/backward slashes and drive letters in file names.
3078         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3079         mixed forward/backward slashes and drive letters in file names.
3081         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3082         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3083         mode.
3085         * objcopy.c: Include filenames.h.
3086         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3087         before comparing to "strip".
3088         Use FILENAME_CMP to compare file names.
3090         * arsup.c: Include filenames.h.
3091         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3092         FILENAME_CMP to compare file names.
3093         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3094         the temporary file name.
3096         * configure.in: Check for setmode.
3097         * configure: Regenerate.
3099 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3101         * objdump.c (display_target_list): Close the bfd.
3102         (display_info_table): Likewise.
3104 2000-05-14  H.J. Lu  (hjl@gnu.org)
3106         * objcopy.c (filter_symbols): Don't strip global symbols in
3107         relocatable object files.
3109 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3111         * size.c (usage): Associate short options with corresponding long
3112         option to give a clue as to their function.
3114 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3116         * size.c (main): Accept and ignore `-f' option.
3118 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3120         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3121         bindtextdomain): Replace defines with those from intl/libgettext.h
3122         to quieten gcc warnings.
3124 2000-05-12  H.J. Lu  <hjl@gnu.org>
3126         * nlmconv.c (temp_filename): Removed.
3128         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3129         choose_temp_base ().
3130         * objdump.c (display_target_list): Likewise.
3131         (display_info_table): Likewise.
3133 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3135         * objcopy.c (setup_section): Add const and gettext calls for err.
3137 2000-05-02  H.J. Lu  <hjl@gnu.org>
3139         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3140         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3141         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3142         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3143         and ELFOSABI_OPENBSD.
3145 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3147         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3148         * srconv.c: Likewise.
3149         * sysdump.c: Likewise.
3151 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3153         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3154         (get_machine_name): machine name for EM_AVR added.
3156 2000-04-21  Richard Henderson  <rth@cygnus.com>
3157             David Mosberger  <davidm@hpl.hp.com>
3159         * Makefile.am (readelf.o): Add elf/ia64.h.
3160         * Makefile.in: Rebuild.
3161         * readelf.c: Include elf/ia64.h.
3162         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3164 2000-04-17  Timothy Wall  <twall@cygnus.com>
3166         * objdump.c (disassemble_data): Set octets per byte *after*
3167         resolving arch/mach for binary files.
3169 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3171         * arlex.l: Add directives to increase lex buffer size.
3173         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3174         already included by bucomm.h.
3176 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3178         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3179         `strftime' since strftime is not available on all systems.
3180         (process_mips_specific): Ditto.
3182 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3184         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3185         --enable-build-warnings option.
3186         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3187         * Makefile.in, configure: Re-generate.
3189 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3191         * addr2line.c: Update copyright.
3192         * objcopy.1: Likewise, and title.
3193         * strings.1: Likewise.
3195         * version.c (print_version): Add 2000.
3197         * rddbg.c (read_section_stabs_debugging_info): Don't use
3198         bfd_size_type for strx to avoid printf problems if BFD64.
3200         * bucomm.c: (report): Remove `static'.
3201         Move inclusion of stdarg.h/vararg.h from here.
3202         * bucomm.h: To here.
3203         (CONST): Change all occurences to const.
3204         (report): Declare it.
3205         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3206         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3207         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3209         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3210         Correct a typo in an error message.
3211         (do_quick_append): Use non_fatal instead of fprintf.
3212         (move_members): Use fatal instead of fprintf, exit.
3213         * coffdump.c (main): Same here.
3215         * dlltool.c (display): Delete.
3216         (warn): Delete.
3217         (inform): Use `report' instead of `display'.
3218         (rvaafter): Remove trailing \n from fatal error msg.
3219         (rvabefore): Ditto.
3220         (asm_prefix): Ditto.
3221         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3222         (def_name): Likewise.
3223         (run): Likewise.
3224         (scan_all_symbols): Likewise.
3225         (gen_lib_file): Likewise.
3226         (def_library): Likewise.  Remove extra program_name too.
3227         (run): Remove \n from inform strings.
3228         (scan_drectve_symbols): Likewise.
3229         (add_excludes): Likewise.
3230         (scan_open_obj_file): Likewise.
3231         (gen_exp_file): Likewise.
3232         (gen_lib_file): Likewise.
3233         (process_duplicates): Likewise.
3235         * Makefile.am (dllwrap_SOURCES): Add version.c.
3236         * dllwrap.c (program_version): Delete.
3237         (print_version): Delete.
3238         (display): Always print trailing \n.
3239         (warn): New.
3240         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3241         (run): Here too.
3242         (main): And here.
3243         (usage): gettext'ify.
3244         (long_options): Add missing initialisers.
3246         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3247         (select_output_format): Likewise.
3248         (powerpc_mangle_relocs): Likewise.
3249         (link_inputs): Likewise.
3251         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3252         (set_output_format): Likewise.
3253         (main): Use non_fatal instead of fprintf.
3254         (display_rel_file): Likewise.
3256         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3257         (slurp_dynamic_symtab): Same here.
3258         (disassemble_data): And here.
3259         (read_section_stabs): And here.
3260         (read_section_stabs): And here.
3261         (dump_bfd): And here.
3262         (main): And here.
3263         (objdump_sprintf): Use fatal instead of fprintf, exit.
3264         (disassemble_data): Same here.
3266         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3267         (parse_coff_struct_type): Same here.
3268         (parse_coff_enum_type): And here.
3269         (parse_coff): And here.
3270         * rddbg.c (read_debugging_info): And here.
3271         * size.c (main): And here.
3272         * windres.c (format_from_name): And here.
3273         * wrstabs.c (stab_write_symbol): Here too.
3274         (write_stabs_in_sections_debugging_info): And here.
3275         (stab_int_type): And here.
3276         (stab_struct_field): And here.
3277         (stab_typdef): And here.
3279         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3280         * srconv.c (main): Same here.
3281         * strings.c (main): And here.
3282         (integer_arg): And here.
3283         * sysdump.c (main): And here.
3285 2000-04-06  Timothy Wall  <twall@cygnus.com>
3287         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3289 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3291         * readelf.c (decode_location_expression): Loop through multiple
3292         operations.
3293         (read_and_display_attr): Pass in length.
3295         * readelf.c (read_and_display_attr): Add CU offset to references.
3296         (display_debug_info): Pass it in.
3298 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3300         * readelf.c (decode_ARM_machine_flags): New function.
3301         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3302         targets.
3304         (get_machine_name): Catch EM_AVR
3306 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3308         * binutils.texi: Remove optional `=' from long options that have
3309         an `=' in the argument.
3310         * objcopy.1: Here too.  Remove extra space on discard-all.
3312         * binutils.texi (objcopy): Mention --redefine-sym.
3313         * objcopy.1: Here too.
3314         * NEWS: And here.
3316         * objcopy.c (parse_flags): Split off flag names from error message
3317         gettext as they are not translated.
3318         (copy_main): Similarly split off option name for --add-section,
3319         --set-section-flags, --change-section-vma, --change-section-lma
3320         error messages.
3321         Some white space changes.
3323         from Matthew Benjamin <matt@linuxbox.nu>
3324         * objcopy.c (struct redefine_node): New.
3325         (redefine_sym_list): New.
3326         (redefine_list_append): New.
3327         (lookup_sym_redefinition): New.
3328         (OPTION_REDEFINE_SYM): New.
3329         (copy_options): Add --redefine-sym option.
3330         (copy_usage): Mention it.
3331         (filter_symbols): Rename symbols on redefine_sym_list.
3332         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3333         (copy_main): Handle OPTION_REDEFINE_SYM.
3335 2000-04-04  H.J. Lu  <hjl@gnu.org>
3337         * readelf.c (process_symbol_table): Correctly read in symbol
3338         versioning information.
3340 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3342         * po/binutils.pot: Regenerate.
3344         * addr2line.c (usage): Restore translated part of bug string.
3345         * ar.c (usage): Likewise.
3346         * nlmconv.c (show_usage): Likewise.
3347         * nm.c (usage): Likewise.
3348         * objcopy.c (copy_usage): Likewise.
3349         (strip_usage): Likewise.
3350         * objdump.c (usage): Likewise.
3351         * readelf.c (usage): Likewise.
3352         * size.c (usage): Likewise.
3353         * strings.c (usage): Likewise.
3354         * windres.c (usage): Likewise.
3356         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3357         (DEP): Quote when passing vars to sub-make.  Add warning
3358         message to end.
3359         (DEP1): Rewrite for "gcc -MM".
3360         (CLEANFILES): Add DEP2.
3361         Update dependencies.
3362         * Makefile.in: Regenerate.
3364 2000-04-04  H.J. Lu  <hjl@gnu.org>
3366         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3367         (arparse.h): Depend on arparse.c
3368         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3370 2000-04-03  H.J. Lu  (hjl@gnu.org)
3372         * size.c (usage): Use REPORT_BUGS_TO.
3374 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3376         * bucomm.h: #include "bin-bugs.h"
3377         * addr2line.c (usage): Use REPORT_BUGS_TO.
3378         * ar.c (usage): Likewise.
3379         * nlmconv.c (show_usage): Likewise.
3380         * nm.c (usage): Likewise.
3381         (OPTION_TARGET): Define.
3382         (long_options): Use OPTION_TARGET rather than 200.
3383         (main): Likewise.
3385         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3386         (strip_usage): Likewise.
3387         * objdump.c (usage): Likewise.
3388         * readelf.c (usage): Likewise.
3389         * strings.c (usage): Likewise.
3390         * windres.c (usage): Likewise.
3392 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3394         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3396 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3398         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3399         string offsets in corrupt stabs entries.
3401 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3403         * readelf.c: Include elf/avr.h
3404         (dump_relocations): Add EM_AVR case.
3406 2000-03-09  Tim Waugh  <twaugh@redhat.com>
3408         * strings.1: Correct '-bytes' to '--bytes'.
3410 2000-03-08  H.J. Lu  <hjl@gnu.org>
3412         * Makefile.am (install-exec-local): Depend on
3413         install-binPROGRAMS for parallel make.
3414         * Makefile.in: Regenerated.
3416 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
3418         From Brad Lucier <lucier@math.purdue.edu>:
3419         * readelf.c (process_dynamic_segment): Add cast to make sure
3420         argument to %* is int.
3422 2000-02-25  H.J. Lu  <hjl@gnu.org>
3424         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3426 2000-02-24  Nick Clifton  <nickc@cygnus.com>
3428         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3429         * configure: Regenerate.
3431         * dlltool.c: Add support for sh-pe and mips-pe targets.
3432         * rescoff.c: Add support for sh-pe and mips-pe targets.
3434 2000-02-23  H.J. Lu  <hjl@gnu.org>
3436         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3438 2000-02-22  Nick Clifton  <nickc@cygnus.com>
3440         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3442 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
3444         From Brad Lucier <lucier@math.purdue.edu>:
3445         * readelf.c (process_version_sections): Add casts to make sure
3446         argument to %* is an int.
3447         (process_mips_specific): Add casts to make printf arguments match
3448         format.
3450 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
3452         * objdump.c (dump_section_header): Change `opb' to unsigned.
3453         (find_symbol_for_address): Same here.
3454         (disassemble_data): And here.  Change `addr_offset',
3455         `stop_offset', `nextstop_offset' to unsigned long.
3456         (dump_data): Change opb to unsigned.
3458 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
3460         * resrc.c: Remove unmatched #if for cygwin.
3462 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3464         * binutils.texi: Document the change of flavor name from atpcs-special
3465         to special-atpcs to prevent name conflict in gdb.
3467 2000-02-08  Timothy Wall  <twall@redhat.com>
3469         * objdump.c (show_line): Fix bug preventing printing of the very
3470         first line (line zero) of a file when interlisting source and
3471         assembly.  Added option to print entire context from start of file
3472         when the first line from that file is encountered.
3474 2000-02-03  Timothy Wall <twall@redhat.com>
3476         * objdump.c (dump_section_header, find_symbol_for_address,
3477         show_line, disassemble_bytes, disassemble_data, dump_data):
3478         distinguish between octets and bytes.
3480 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
3482         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3483         check to unresolved symbols.
3484         (print_symbol_info_sysv):  Ditto.
3485         (print_symbol_info_posix):  Ditto.
3487         * binutils.texi: Document new 'V' symclass flag for nm.
3489 2000-01-27  Nick Clifton  <nickc@redhat.com>
3491         * binutils.texi (objdump): Document new ARM specific
3492         disassembler options.
3494         * objdump.c (usage): Call disassembler_usage().
3496 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
3498         * readelf.c (get_dynamic_flags): Return buff.
3499         (process_dynamic_segment): Don't pass error strings to printf
3500         as format arg.
3501         (read_and_display_attr): Use lx and ld to print longs.
3502         (process_corefile_note_segment): Cast bfd_vma to unsigned long
3503         before printing.
3504         Update copyright.
3506 2000-01-17  Nick Clifton  <nickc@cygnus.com>
3508         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3510 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
3512         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3513         false.
3514         (debug_tag_type): Here too.
3515         * ieee.c (ieee_builtin_type): And here.
3516         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3518 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3520         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3521         System/370".
3523 2000-01-11  Nick Clifton  <nickc@cygnus.com>
3525         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3527 2000-01-10  Nick Clifton  <nickc@cygnus.com>
3529         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3531 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
3533         * windres.c (long_options): Add --use-temp-file and
3534         --no-use-temp-file options.
3535         (usage): Document.
3536         (main): Handle.
3538         * windres.h: Update read_rc_file prototype.
3540         * resrc.c (cpp_temp_file): New static variable.
3541         (istream_type): New static variable.
3542         (close_pipe): Delete function.
3543         (run_cmd): New static function.
3544         (open_input_stream): New static function.
3545         (close_input_stream): New static function.
3546         (look_for_default): Handle DOS directory separator. Use
3547         open_input_stream instead of popen.
3548         (read_rc_file): Likewise.
3550         * binutils.texi: Document --use-temp-file, --no-use-temp-file
3551         options.
3553 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3555         * dlltool.c (create_compat_implib): New variable.
3556         (gen_exp_file): Use.
3557         (make_one_lib_file): Use.
3558         (long_options): Add --compat-implib option.
3559         (usage): Handle.
3560         (main): Handle.
3562         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3563         (main): Use. Don't look for "32" in cygwin and mingw target names.
3565 2000-01-03  Nick Clifton  <nickc@cygnus.com>
3567         * binutils.texi: Document new, ARM specific disassembler
3568         command line switch "-M force-thumb".
3570 For older changes see ChangeLog-9899
3572 Local Variables:
3573 mode: change-log
3574 left-margin: 8
3575 fill-column: 74
3576 version-control: never
3577 End: