Default to generating a fatal error message if a loadable section is not
[binutils.git] / binutils / ChangeLog
blob80d0f0c0237c05ee938f6234572548b467271431
1 2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
3         * readelf.c (dump_relocations): Enlarge the type field in wide
4         mode by one character.
6 2003-05-03  Richard Henderson  <rth@redhat.com>
8         * readelf.c (struct Frame_Chunk): Add cfa_exp.
9         (frame_display_row): Just print "exp" for cfa or register
10         defined by a location expression.
11         (display_debug_frames): Handle DW_CFA_def_cfa_expression,
12         DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
14 2003-04-30  H.J. Lu <hjl@gnu.org>
16         * objdump.c (only): Change it to char **.
17         (only_size): New.
18         (only_used): New.
19         (disassemble_data): Check only as an array.
20         (dump_data): Likewise.
21         (dump_relocs): Likewise.
22         (main): Treat only as an array.
24 2003-04-24  Dimitrie O. Paun <dpaun@rogers.com>
26         * doc/binutils.texi: Fix the documentation for the -fo option.
28 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
30         * readelf.c (get_machine_name) <EM_SH>: Amend return value
31         to refer to SuperH.
33         * readelf.c (decode_location_expression): Don't add a trailing ';'.
35 2003-04-23  Dimitrie O. Paun <dpaun@rogers.com>
36             Nick Clifton  <nickc@redhat.com>
38         * windres.c (long_options): Move close to main, where it is used.
39         Add 'input' and 'output' long options.
40         (main): Accept "-fo" as an alias for "-o".  This is for rc
41         comptibility.
42         * doc/binutils.texi: Mention that -fo is accepted as an alias for
43         -o, but discourage its use.
45 2003-04-22  Dimitrie O. Paun  <dpaun@rogers.com>
47         * windres.c (format_from_name): Make the exit on error
48         behaviour optional.
49         (main): Rename the -I option to -J. Introduce -I as a synonym
50         for --include-dir.  For backwards compatibility also support the
51         old -I behaviour, but issue a deprecation warning.
52         * doc/binutils.texi: Rename -I to -J.  Document the new behaviour
53         of the -I option.
55 2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
57         * readelf.c: Replace references to Mitsubishi M32R with
58         references to Renesas M32R.
60 2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
62         * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
64 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
66         * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
67         for debugging information types not supported by objdump.
69 2003-04-09  Bernd Jendrissek <berndj@prism.co.za>
71         * configure.in: Recognize canonical form of i[3-6]86-pe*.
72         * configure: Regenerate.
74 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
76         * readelf.c (display_debug_info): Apply RELA relocations on the
77         entire section.
78         (byte_put_little_endian, byte_put_big_endian): New functions.
79         (byte_put): New variable.
80         (get_file_header): Initialize it.
82 2003-04-05  Dimitrie O. Paun <dpaun@rogers.com>
84         * windres.c: Add -l for compatibility with wrc, and rc.
85         Use the short option as a key for long options that have
86         a synonymous short option.
87         * doc/binutils.texi: Added -l to the list of options.
89 2003-04-03  Dimitrie O. Paun <dpaun@rogers.com>
91         * windres.c: Add -U for compatibility with wrc, rc, and cpp.
92         (main): Just pass the -U option down to the preprocessor.
93         * doc/binutils.texi: Added -U to the list of options.
95 2003-04-01  Dimitrie O. Paun <dpaun@rogers.com>
97         * windres.c (usage): Report -r option.
98         (main): Ignore the -r option.
99         * doc/binutils.texi: Add -r to the list of options.
101 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
103         * MAINTAINERS: Add myself as Xtensa maintainer.
105 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
107         * readelf.c: Include "elf/xtensa.h".
108         (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
109         targets that use RELA relocations.
110         (dump_relocations): Call elf_xtensa_reloc_type for
111         EM_XTENSA and EM_XTENSA_OLD.
112         (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
114 2003-04-01  Nick Clifton  <nickc@redhat.com>
116         * configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
117         thumb-pe*, mcore-pe and mcore-*elf.
118         * configure: Regenerate.
120 2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
122         * objdump.c (dump_data): Don't truncate the address to long; make
123         the width large enough, and uniform for all entries in a section.
125 2003-03-31  H.J. Lu <hjl@gnu.org>
127         * readelf.c: Include "libiberty.h".
128         (dynamic_relocations): New.
129         (process_relocs): Properly handle dynamic relocation.
130         (process_dynamic_segment): Fill relocation elements in
131         dynamic_info.
133 2003-03-31  Kevin Buettner <kevinb@redhat.com>
135         * readelf.c (read_and_display_attr, read_and_display_attr_value):
136         Add new arguments ``offset_size'' and ``dwarf_version''.  Adjust
137         all callers.
138         (display_debug_lines, display_debug_pubnames, display_debug_info)
139         (display_debug_aranges, display_debug_frames, read_and_display_attr)
140         (read_and_display_attr_value): Add 64-bit DWARF support.
142 2003-03-31  Ian Lance Taylor <ian@airs.com>
144         * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
145         (optresid): Handle a resource id that can be a string or a number.
146         * resrc.c (define_control): Replace 'text' parameter with 'iid' a
147         struct res_id.
148         (define_icon_control): Pass a struct res_id to define_control.
149         * windres.h (define_control): Change prototype.
151 2003-03-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
153         * objcopy (OPTION_FORMATS_INFO): Define.
154         (strip_options): Add "info"/OPTION_FORMATS_INFO option.
155         (copy_options): Likewise.
156         (strip_usage): Add "--info" to usage.
157         (copy_usage): Likewise.
158         (strip_main): Declare formats_info. Iniatilize it to FALSE.
159         Handle "info".
160         (copy_main). Likewise.
161         * doc/binutils.texi. Document the "--info" option for
162         objcopy/strip.
163         * NEWS: Mention the new command line switch.
165         * objdump.c (endian_string): Move to bucomm.c.
166         (display_info): Likewise.
167         (display_target_list): Likewise.
168         (display_info_table): Likewise.
169         (display_target_tables): Likewise.
170         (main): Assign the return value of display_info to exit_status.
171         * bucomm.c: Include bfdver.h and libbfd.h
172         (display_target_list): Call bfd_nonfatal instead of nonfatal and
173         return 0 on a non-fatal error, 1 on success.
174         (display_info_table): Likewise. 
175         * bucomm.h (display_info): Provide a prototype.
176         * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
177         libbfd.h.
178         * Makefile.in: Regenerate.
180 2003-03-22  Danny Smith  <dannysmith@users.sourceforge.net>
182         * dlltool.c (gen_def_file): Put demangled name comments on
183         own line preceding export name.
185 2003-03-17  Nick Clifton  <nickc@redhat.com>
187         * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
188         printf for emitting new lines.
190 2003-03-16  Elias Athanasopoulos  <elathan@phys.uoa.gr>
192         * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
193         the symbol's value when --size-sort is used, unless -S is used.
194         doc/binutils.texi (--size-sort): For non-bsd formats both the
195         value and size of the symbols are displayed.
196         
197 2003-03-13  Nick Clifton  <nickc@redhat.com>
199         * po/da.po: Update.
201 2003-03-12  Nick Clifton  <nickc@redhat.com>
203         * MAINTAINERS: Remove Peter Targett as ARC maintainer.
205 2003-03-10  Ben Elliston  <bje@wasabisystems.com>
207         * MAINTAINERS: Update my mail address.
209 2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
211         * stabs.c (BYTES_IN_WORD): Remove definition.
212         * wrstabs.c (BYTES_IN_WORD): Likewise.
214 2003-03-04  Nick Clifton  <nickc@redhat.com>
216         * nm.c (main): Print a warning message if --size-sort and
217         --undefined-only are used together.
219 2003-03-04  Elias Athanasopoulos  <elathan@phys.uoa.gr>
221         * nm.c (print_symbol): Remove check for undefined_only.
222         
223 2003-03-03  Nick Clifton  <nickc@redhat.com>
225         * po/da.po: Installed latest translation.
227 2003-02-24  Nick Clifton  <nickc@redhat.com>
229         * README: Update binutils references to 2.13.
230         Add paragraph about using --disable-nls.
232 2003-02-24  Elias Athanasopoulos  <elathan@phys.uoa.gr>
234         * doc/binutils.texi (nm --size-sort): Update.
236 2003-02-21  James E Wilson  <wilson@tuliptree.org>
238         * MAINTAINERS: Update email address.
240 2003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
242         * readelf.c (get_ia64_dynamic_type): New function.
243         (dynamic_segment_ia64_val): New function.
244         (get_dynamic_type): If machine type is EM_IA_64 call
245         get_ia64_dynamic_val.
246         (get_ia64_section_type_name): Handle sections with types in the
247         SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
248         (get_dynamic_flags): If machine type is EM_IA_64 call
249         dynamic_segment_ia64_val.
251 2003-02-21  Bob Wilson  <bob.wilson@acm.org>
253         * doc/binutils.texi: Fix typos and obvious texinfo mistakes.  Make
254         section title capitalization more consistent.  Update descriptions
255         of various options to be consistent with the code.  Fix errors and
256         incomplete list in the description of c++filt format options.  Remove
257         information about the linker.  Change to be more polite about poor
258         bug reports.  Replace FDL appendix with include of fdl.texi.
259         * doc/fdl.texi: New file.
261 2003-02-21  Roger Sayle  <roger@eyesopen.com>
263         * objcopy.c (filter_symbols): Fix compilation problems with
264         HP-UX's C compiler.
266 2003-02-19  Christopher Faylor  <cgf@redhat.com>
268         * rclex.l (handle_quotes): Fix minor formatting problems introduced in
269         previous change.
271 2003-02-19  Mark Blackburn  <marklist@fangorn.ca>
273         * rclex.l (handle_quotes): Handle strings spanning more than one line.
275 2003-02-12  Bob Wilson  <bob.wilson@acm.org>
277         * nm.c (usage): Add `java' and `gnat' demangle styles and make
278         quotes consistent.
279         * objdump.c (usage): Ditto.  Also fix some typos.
281         * readelf.c (parse_args): Include 'H' option in call to getopt_long.
283         * debug.c (debug_record_variable): Handle global register variables.
285         * stabs.c (parse_stab): For N_SLINE only include
286         function_start_offset if the symbol is within a function;
287         otherwise, the value is absolute.
289 2003-02-10  Nick Clifton  <nickc@redhat.com>
291         * readelf.c (decode_ARM_machine_flags): Handle the
292         EF_ARM_MAVERICK_FLOAT flag.
294 2003-02-04  Andreas Schwab  <schwab@suse.de>
296         * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
297         long and use %ld in printf format.
299 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
301         * readelf.c (dump_relocations): Reorder the r_info field for
302         little-endian mips elf64.  Move #ifdef BFD64 to cover the new code.
304 2003-01-21  Daniel Berlin  <dan@dberlin.org>
306         * readelf.c (display_debug_loc): Skip address base changes.
308 2003-01-17  Fabio Alemagna  <falemagn@aros.org>
310         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
311         and ELFOSABI_NSK.
313 2003-01-16  Alan Modra  <amodra@bigpond.net.au>
315         * readelf.c: Include elf/ppc64.h.
316         (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
317         * Makefile.am: Run "make dep-am".
318         * Makefile.in: Regenerate.
320 2003-01-02  Ben Elliston  <bje@redhat.com>
322         * readelf.c (guess_is_rela): Handle EM_IQ2000.
323         (get_machine_name): Likewise.
324         (dump_relocations): Likewise.
325         * NEWS: Mention IQ2000 support.
327 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
329         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
331 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
333         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
334         changes in MIPS -M options.
336 2002-12-30    Dmitry Diky <diwil@mail.ru>
338         * Makefile.am: Add msp430 target.
339         * Makefile.in: Regenerate.
340         * readelf.c: Add support for msp430 target.
342 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
344         * doc/binutils.texi (objdump): Document MIPS -M options.
346 2002-12-23  Andreas Schwab  <schwab@suse.de>
348         * readelf.c (main): Reset dump request after each file.
350 2002-12-23  Nick Clifton  <nickc@redhat.com>
352         * nlmconv.c (main): Pass TRUE as third argument to
353         bfd_arch_get_compatible.
355 2002-12-23  Nick Clifton  <nickc@redhat.com>
357         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
358         macro.  Handle 'S' encoding, accepting 8-bit characters.
359         (main): Parse 'S' encoding.
360         (get_char): Accept 'S' encoding.
361         (print_strings): Use STRING_ISGRAPHIC.
362         (usage): Document support of 'S' encoding.
363         * doc/binutils.texi: Document support of 'S' encoding/
364         * NEWS: Mention new feature.
366 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
368         * README <building ar>: Don't use libibery's needed_list or
369         required_list, instead link libiberty/*.o.
371 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
373         * doc/binutils.texi: Fix typos.
375 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
377         * doc/binutils.texi: Add missing parenthesis.
379 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
381         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
382         symbols by adding the given prefix to the begining of the symbol
383         name. This is useful to provide name space seperation regardless
384         of how the object file was created. Added --prefix-sections=
385         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
386         sections (or all sections with the alloc flag set) by adding the given
387         prefix to the begining of the symbol name.
388         * NEWS: Mention this new feature.
389         * doc/binutils.texi: Document this new feature.
391 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
393         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
394         dyn_string_append with dyn_string_append_cstr.
396         * emul_aix.c (ar_emul_aix_create): Remove unused function.
398 2002-12-10  James Cownie <jcownie@etnus.com>
400         * readelf.h (get_TAG_name, get_AT_name,
401         read_and_display_attr_value): Add support for UPC extensions to
402         DWARF2 spec.
403         * NEWS: Mention this new support.
405 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
407         * NEWS: Mention that bfd no longer declares a "boolean" type.
409 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
411         * readelf.c (process_program_headers): When setting loadaddr, don't
412         assume segment size is 4k.  Use p_align instead.
413         (loadaddr): Change from int to long.
414         (dynamic_addr, dynamic_info, version_info): Likewise.
415         (process_dynamic_segment <syminsz>): Likewise.
416         (process_dynamic_segment): Adjust print format string.
417         (rela_addr, rela_size): Delete.
418         (process_relocs): Formatting.
420 2002-12-05  Jim Wilson  <wilson@redhat.com>
422         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
423         * configure: Regenerate.
425 2002-12-04  Ian Lance Taylor  <ian@airs.com>
427         * MAINTAINERS: Change e-mail address back to airs.com.
429 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
431         * MAINTAINERS: Add self.
433 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
435         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
436         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
437         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
438         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
439         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
440         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
441         with TRUE/FALSE.  Formatting.
443 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
445         * readelf.c Replace occurrences of Elf32_Internal_* and
446         Elf64_Internal_* with Elf_Internal_*.
447         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
448         Zero r_addend fields.
449         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
450         Elf_Internal_Rela.
452 2002-11-23  Nick Clifton  <nickc@redhat.com>
454         * size.c (usage): Fix typo describing switch for hex format.
456 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
458         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
459         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
460         testcase
462 2002-11-14  Nick Clifton  <nickc@redhat.com>
464         * readelf.c (process_program_headers): Add comment about return
465         value.  Ensure that 0 is returned if the headers are not loaded.
466         (process_file): If process_section_headers failed to load the
467         headers disable any tests that rely upon them.  Similarly for
468         process_program_headers.
470 2002-11-12  Nick Clifton  <nickc@redhat.com>
472         * po/da.po: Updated Danish translation.
474 2002-11-12  Klee Dienes  <kdienes@apple.com>
476         * rddbg.c (read_section_stabs_debugging_info): Also recognize
477         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
479 2002-11-11  Christopher Faylor  <cgf@redhat.com>
481         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
482         cgf maintainership.
484 2002-11-11  Christopher Faylor  <cgf@redhat.com>
486         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
488 2002-11-07  Nick Clifton  <nickc@redhat.com>
490         * configure.in (ALL_LINGUAS): Add 'da'.
491         * configure: Regenerate.
492         * po/da.po: New Danish translation.
494         * readelf.c (get_symbol_index_type): Revert part of previous
495         patch: Display unknown symbol types in decimal, not hex.
497 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
499         * dlltool.c (add_excludes): Don't prefix excluded fastcall
500         symbols with underscore.
501         (xlate): Ignore add_underscore for decorated fastcall symbols.
503 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
505         * deflex.l: Accept '@' as first character of an ID.
506         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
507         ASM_PREFIX for fastcall symbols.
508         (scan_drectve_symbols): Handle fastcall symbols when generating
509         undecorated aliases for symbols in drectve section.
510         (scan_filtered_symbols): Likewise, with export-all.
511         (xlate): Likewise, with --kill-at.
512         (make_imp_label): New function to handle fastcall symbols
513         correctly.
514         (make_one_lib_file): Use make_imp_label instead of make_label
515         for imp symbols.
517 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
519         * MAINTAINERS: Add self as TIC4X maintainer.
521 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
523         * readelf.c (get_symbol_index_type): Add hex number to
524         PROCESSOR-specific, OS-specific, reserved and unknown symbol
525         types.
527 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
529         * readelf.c (byte_get_little_endian): Comment typo fix.
530         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
531         as the format string.
532         (dump_relocations): Correct section sym names.
533         (process_section_headers): Clear symtab_shndx_hdr.
534         (read_and_display_attr_value): Don't pass indirect string to printf
535         as the format string.
536         (display_debug_frames): Indicate when zero terminator found.  Decode
537         DW_EH_PE_pcrel addresses.
539 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
541         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
542         order to ensure proper disassembly of the valid 0-value opcode.
543         * configure: Regenerate.
544         * aclocal.m4: Regenerate.
545         * config.in: Regenerate.
546         * configure.in: Regenerate.
547         * doc/Makefile.in: Regenerate.
548         * po/binutils.pot: Regenerate.
550 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
552         * MAINTAINERS: Add self as SH maintainer.
554 2002-10-23  Ben Elliston  <bje@redhat.com>
556         * doc/binutils.texi (objdump): Document -z and move the entry for
557         --disassemble-zeroes to the end of the options section (for `z').
559 2002-10-21  Nick Clifton  <nickc@redhat.com>
561         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
563 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
565         * objdump.c (dump_data): Correct addr_offset for opb != 1.
567 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
569         * bucomm.c (list_supported_targets): Use bfd_target_list.
571         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
572         other object errors in preference to bfd_core errors.
574 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
576         * Makefile.am: Run "make dep-am".
577         * objdump.c: #include "bfdver.h".
578         * version.c: Likewise.
579         * Makefile.in: Regenerate.
580         * config.in: Regenerate.
581         * configure: Regenerate.
582         * po/POTFILES.in: Regenerate.
584 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
586         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
587         sections.  Allow relocations against the absolute symbol.  Don't
588         use the value in compunit.cu_abbrev_offset if we found a RELA
589         relocation.
591 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
593         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
594         ordinary ones are available.
596 2002-09-30  H.J. Lu <hjl@gnu.org>
598         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
599         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
601 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
603         * Makefile.am (CFILES): Add cxxfilt.c.
604         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
605         (cxxfilt_LDADD): Delete.
606         Remove all references to underscore.c.
607         Regen dependencies.
608         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
609         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
610         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
611         adjustments to fit into binutils framework.
612         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
614 2002-09-12  Roland McGrath  <roland@redhat.com>
616         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
617         Handle DW_OP_GNU_push_tls_address.
619 2002-09-11  Nick Clifton  <nickc@redhat.com>
621         * po/tr.po: Updated Turkish translation.
623 2002-09-10  Nick Clifton  <nickc@redhat.com>
625         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
626         testsuite changes.  Add paragraphs about testsuite and config
627         patches.
629 2002-08-29  Nick Clifton  <nickc@redhat.com>
631         * readelf.c (get_machine_flags): Remove redundant reference to
632         E_V850EA_ARCH.
634 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
636         * objdump.c (dump_bfd): Restore lines accidentally deleted in
637         last commit.
639 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
641         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
642         (dump_bfd_header): Likewise.
644 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
646         * nm.c: Revert last change.
648 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
650         * nm.c (display_rel_file): Don't report "no symbols" as an error.
651         * objdump.c (slurp_symtab): Likewise.
652         (slurp_dynamic_symtab): Likewise.
653         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
655 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
657         * MAINTAINERS: Change my mailing address.
659 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
661         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
663 2002-08-22  Nick Clifton  <nickc@redhat.com>
665         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
666         HPPA.
668 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
670         * readelf.c (parse_args): Change debug_dump_opt to static.
672 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
674         * stabs.c (parse_stab_argtype): Pass length of physname to
675         stab_demangle_argtypes.
676         (stab_demangle_argtypes): Add new parameter - length of physname.
677         Pass length of physname on to stab_demangle_prefix.
678         (stab_demangle_prefix): Add new parameter - length of physname.
679         Use length of physname (if supplied) to compute end of function
680         name.
682 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
684         * readelf.c: Include elf/i370.h.
685         (dump_relocations): Handle EM_S370.
686         (dynamic_segment_parisc_val): Print \n.
687         (process_dynamic_segment <DT_BIND_NOW>): Here too.
689 2002-08-14  Nick Clifton  <nickc@redhat.com>
691         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
692         * objdump.c (usage): Likewise.
693         * doc/binutils.texi: Likewise.
695 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
697         * rcparse.y (acc_entry): Don't warn about ALT use with
698         non-VIRTKEY.
700 2002-08-13  H.J. Lu <hjl@gnu.org>
702         * objcopy.c (copy_object): Don't warn about the unsupported
703         architecture unless the input target is defaulted or the
704         output architecture is different from the input.
706 2002-08-09  Nick Clifton  <nickc@redhat.com>
708         * po/sv.po: Updated Swedish translation.
710 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
712         * prdbg.c (pr_fix_visibility): Remove assert.
714 2002-07-31  Nick Clifton  <nickc@redhat.com>
716         * addr2line.c (process_file): Rename parameter 'filename' to
717         'file_name' in order to avoid shadowing global symbol of the
718         same name.
719         (main): Likewise.
721 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
723         * readelf.c (OPTION_DEBUG_DUMP): Define.
724         (options): Use it.
725         (usage): Update help.
726         (parse_args): Handle --debug-dump separately from -w.
727         * doc/binutils.texi (readelf): Update documentation.
729 2002-07-25  Nick Clifton  <nickc@redhat.com>
731         * po/es.po: Updated Spanish translation.
732         * po/fr.po: Updated French translation.
734 2002-07-24  Nick Clifton  <nickc@redhat.com>
736         * po/es.po: Updated Spanish translation.
738 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
740         * Makefile.am: Run "make dep-am".
741         * Makefile.in: Regenerate.
743 2002-07-23  Nick Clifton  <nickc@redhat.com>
745         * po/fr.po: Updated French translation.
747 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
749         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
751 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
753         * budemang.c: Include config.h and string.h/strings.h.
755 2002-07-18 Denis Chertykov  <denisc@overta.ru>
756            Frank Ch. Eigler  <fche@redhat.com>
758         * readelf.c: Include "elf/ip2k.h".
759         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
760         (dump_relocations): Likewise.
761         (get_machine_name): Likewise.
762         * NEWS: Mention IP2K support.
764 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
766         * NEWS: Add 'Changes in 2.13'.
768 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
770         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
771         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
772         (get_section_type_name): Handle SHT_GNU_LIBLIST.
773         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
774         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
775         (process_gnu_liblist): New.
776         (process_file): Call it.
778 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
780         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
781         * Makefile.in: Regenerate.
783 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
785         * budemang.c: New file, "demangle" function.
786         * budemang.h: New file.
787         * addr2line.c (translate_addresses): Use "demangle".
788         * nm.c (print_symname): Likewise.
789         * objdump.c (objdump_print_symname): Likewise.
790         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
791         here since that obfuscates.
792         * rdcoff.c: Don't #include demangle.h.
793         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
794         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
795         (HFILES): Add budemang.h.  Sort.
796         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
797         Run "make dep-am".
798         * Makefile.in: Regenerate.
800 2002-07-01  Matt Thomas  <matt@3am-software.com>
802         * readelf.c: Include "elf/vax.h".
803         (guess_is_rela): Move EM_VAX from unknown to RELA case.
804         (dump_relocations): Handle VAX relocations.
805         (get_machine_flags): Handle VAX machine flags.
807 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
809         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
811 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
813         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
815 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
817         * nm.c (print_symname): When demangling, strip leading dots from
818         symbol names to avoid confusing the demangler.
820 2002-06-25  H.J. Lu <hjl@gnu.org>
822         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
823         * Makefile.in: Regenerated.
825 2002-06-21  Igor Schein  <igor@txc.com>
827         * configure.in: Quote bu_cv_have_fopen64.
828         * configure: Regenerate.
830 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
832         * configure.in: Check for strcoll.
833         * configure: Regenerate.
834         * config.in: Regenerate.
835         * nm.c (main): Set locale for LC_COLLATE category.
836         (non_numeric_forward): Use strcoll if available.
838 2002-06-20  Dave Brolley  <brolley@redhat.com>
840         * MAINTAINERS: Add self as fr30 and frv maintainer.
842 2002-06-18  H.J. Lu  (hjl@gnu.org)
844         * nm.c: Include "elf/common.h".
845         (extended_symbol_info): Add elfinfo, a pointer to
846         elf_symbol_type.
847         (SYM_SIZE): Use elfinfo if it is not NULL.
848         (get_symbol_type): New function.
849         (display_archive): Set print_width for each archive member.
850         (display_file): Likewise.
851         (display_rel_file): Don't set print_width here.
852         (print_object_filename_sysv): Handle print_width.
853         (print_archive_member_sysv): Likewise.
854         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
855         (print_symbol): Set the elfinfo field in extended_symbol_info
856         for ELF.
857         (print_object_filename_sysv): Fix the output format.
858         (print_symbol_info_sysv): Print type and section for ELF.
860 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
862         * nm.c (print_size_symbols): Remove assignment, which makes
863         the symbol's size equal to its value when --size-sort is
864         used.
866 2002-06-18  Dave Brolley  <brolley@redhat.com>
868         From Catherine Moore:
869         * readelf.c (elf/frv.h): #include it.
870         (guess_is_rela): Support EM_CYGNUS_FRV.
871         (dump_relocations): Ditto.
872         (get_machine_name): Ditto.
873         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
875 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
877         * readelf.c (get_file_header): Only read the first section header if
878         e_shoff is non-zero.
880 2002-06-15  H.J. Lu  (hjl@gnu.org)
882         * nm.c (print_size): New variable. Initialize to 0.
883         (long_options): Add 'S'/"print-size".
884         (main): Handle 'S'.
885         (print_symbol_info_bsd): Print size only if print_size is not
886         0.
888         * doc/binutils.texi: Document -S/--print-size.
890 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
892         * nm.c (struct extended_symbol_info): New strcuture: Add the size
893         of the symbols to the information provided by the symbol_info
894         structure.
895         (print_symbols): Pass the symbol size to print_symbol.
896         (print_size_symbols): Pass the symbol size to print_symbol.
897         (print_symbol): Extra argument: The size of the symbol.  Store
898         this in the extended_symbol_info structure.
899         (print_symbol_info): Change type of info parameter to
900         extended_symbol_info.  Display the size, if known.
901         (print_symbol_info_posix): Likewise.
902         (print_symbol_info_sysv): Likewise.
904 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
906         * Makefile.am: Run "make dep-am".
907         * Makefile.in: Regenerate.
908         * doc/Makefile.in: Regnerate.
910         * bucomm.c: Replace CONST with const.
911         * nm.c: Likewise.
912         * objdump.c: Likewise.
914 2002-06-07  H.J. Lu <hjl@gnu.org>
916         * readelf.c (DW_CFA_GNU_args_size): Don't define.
917         (DW_CFA_GNU_negative_offset_extended): Likewise.
918         (DW_CFA_GNU_window_save): Likewise.
919         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
920         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
922 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
924         * nm.c: When computing size of symbols for an ELF target use the
925         internal size field.
927 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
929         * testsuite/binutils-all/objcopy.exp: clear xfail for
930         "hppa*64*-*-hpux*".
931         * testsuite/binutils-all/hppa/objdump.exp: Return if
932         "*64*-*-*".
934 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
936         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
938 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
940         * objdump.c: Fix formatting.
942 2002-05-29  Ben Elliston  <bje@redhat.com>
944         * MAINTAINERS: Add self as M68k maintainer.
946 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
948         * readelf.c: Modified/Added DLX elf support.
950 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
952         * arsup.c: Fix formatting.
953         * debug.c (debug_record_label): Add missing colon to error
954         message.
955         * ieee.c (parse_ieee_ty): Fix spelling typo.
956         * readelf.c (process_program_headers): Remove English assumption
957         about making a plural word.
958         (process_section_headers): Likewise.
959         (process_relocs): Allow quotes to be translated.
960         (process_unwind): Likewise,
961         (process_mips_specific): Improve error message.
962         (get_note_type): Fix spelling typo.
964         * configure.in (ALL_LINGUAS): Add sv
965         * po/sv.po: New file.
967 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
969         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
970         (unw_print_grmask): Likewise.
971         (unw_print_frmask): Likewise.
973 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
975         * arsup.c: Remove ARGSUSED.
976         * debug.c: Likewise.
977         * ieee.c: Likewise.
978         * nlmconv.c: Likewise.
979         * prdbg.c: Likewise.
980         * stabs.c: Likewise.
981         * wrstabs.c: Likewise.
983 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
985         * arlex.l: Use #include "" instead of <> for local header files.
986         * coffdump.c: Likewise.
987         * coffgrok.c: Likewise.
988         * nlmconv.c: Likewise.
989         * nlmheader.y: Likewise.
990         * srconv.c: Likewise.
991         * strings.c: Likewise.
992         * sysdump.c: Likewise.
993         * unwind-ia64.h: Likewise.
994         * windres.h: Likewise.
995         * winduni.h: Likewise.
997 2002-05-24  Tom Rix  <trix@redhat.com>
999         * MAINTAINERS: Add self as the d10v maintainer.
1001 2002-05-24   TAMURA Kent <kent@netbsd.org>
1003         * configure.in: Builds dlltool for i386-netbsdpe.
1004         * configure: Regenerate.
1006 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1008         * size.c: Fix formatting.
1009         * srconv.c: Likewise.
1010         * stabs.c: Likewise.
1011         * sysdump.c: Likewise.
1012         * unwind-ia64.c: Likewise.
1013         * wrstabs.c: Likewise.
1015 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
1017         * readelf.c (get_segment_type): Add PT_TLS.
1018         (get_elf_section_flags): Add SHF_TLS.
1019         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
1020         (process_dynamic_segment): Use puts instead of printf.
1021         (get_symbol_type): Support STT_TLS.
1022         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1023         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1024         Add SEC_THREAD_LOCAL.
1026 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
1028         * rdcoff.c: Fix formatting.
1029         * rddbg.c: Likewise.
1030         * readelf.c: Likewise.
1031         * rename.c: Likewise.
1032         * resbin.c: Likewise.
1033         * resrc.c: Likewise.
1034         * resres.c: Likewise.
1036 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
1038         * filemode.c: Fix formatting.
1039         * ieee.c: Likewise.
1040         * is-ranlib.c: Likewise.
1041         * is-strip.c: Likewise.
1042         * maybe-ranlib.c: Likewise.
1043         * maybe-strip.c: Likewise.
1044         * nlmconv.c: Likewise.
1045         * nm.c: Likewise.
1046         * not-ranlib.c: Likewise.
1047         * not-strip.c: Likewise.
1048         * objcopy.c: Likewise.
1049         * objdump.c: Likewise.
1051 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1053         * objdump.c (dump_headers): Fix output formatting for ELF32
1054         architectures in a BFD64 enabled toolchain.
1056 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
1058         * debug.c: Fix formatting.
1059         * debug.h: Likewise.
1060         * dlltool.c: Likewise.
1061         * dllwrap.c: Likewise.
1062         * emul_aix.c: Likewise.
1063         * emul_vanilla.c: Likewise.
1065 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
1067         * addr2line.c: Fix formatting.
1068         * ar.c: Likewise.
1069         * arsup.c: Likewise.
1070         * arsup.h: Likewise.
1071         * binemul.c: Likewise.
1072         * binemul.h: Likewise.
1073         * bucomm.c: Likewise.
1074         * coffdump.c: Likewise.
1075         * coffgrok.c: Likewise.
1076         * coffgrok.h: Likewise.
1078 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1080         * MAINTAINERS: Add myself as the second AVR port maintainer.
1082 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
1084         * MAINTAINERS: Update my email address.
1086 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
1088         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1090 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
1092         * configure.in: Replace `*pe' with `pe' throughout.
1093         * configure: Regenerate.
1095 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1097         * Makefile.am: Honour DESTDIR.
1098         * Makefile.in: Regenerate.
1100 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
1102         * dlltool.c (process_def_file): Add missing prototype.
1103         (new_directive, assemble_file, main): Likewise.
1104         (process_def_file, new_directive): Make static.
1105         (inform): Rewrite using VA_FIXEDARG.
1106         * dllwrap.c (mybasename): Add missing prototype.
1107         (strhash, main): Likewise.
1108         (inform): Rewrite using VA_FIXEDARG.
1109         (warn): Likewise.
1110         (cleanup_and_exit): Use old style function definition.
1111         (strhash): Likewise.
1112         * windres.c (define_resource): Use one memset to clear all of
1113         struct res_resource.
1115         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
1116         call to rules that need no lookahead.  Check for no lookahead.
1118 2002-05-06  Borut Razem  <borut.razem@siol.net>
1120         * rclex.l (get_string): Correct "strings" list handling.
1121         * resrc.c (read_rc_file): Discard strings.
1123 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
1125         * ar.c (replace_members): Remove unused var.  Formatting fix.
1126         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1128         * MAINTAINERS: Sort port maintainers by CPU.
1130 2002-05-04  Bob Byrnes  <byrnes@curl.com>
1132         * size.c (display_archive): Add last_arfile and code to close archives.
1134 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
1136         * nm.c (print_symbol): Check returned filename from
1137         bfd_find_nearest_line is non-NULL.
1139 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
1141         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1143 2002-04-24  Christian Groessler <chris@groessler.org>
1145         * MAINTAINERS: Changed my email address.
1147 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1149         * arparse.y: Fix syntax warning.
1151 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
1153         * readelf.c (fetch_location_list): Remove unused function.
1155         * readelf.c (process_corefile_note_segment): Catch corrupt notes
1156         and display a warning message, then exit the loop.
1158         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1160 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
1162         * resrc.c (write_rc_dialog): If charset is non-default value
1163         display all of the DIALOGEX parameters.
1165 2002-04-15  Eric Kohl <ekohl@rz-online.de>
1167         * rcparse.y: Allow two to five parameter in FONT statement of
1168         DIALOGEX resources.
1169         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1170         resource data.
1171         (res_to_bin_dialog): Likewise.
1172         * windres.h: Added misssing charset variable to dialog_ex
1173         structure.
1175 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
1177         * rcparse.y: Set MEMFLAG_PURE by default.
1179 2002-04-09  Bernd Herd <info@herdsoft.com>
1181         * rcparse.y: CLASS definitions in DIALOG resources
1182         are quoted.
1183         Fix typo in BEDIT warning.
1184         Don't add default dialog style when explicit style specified.
1185         Add WS_CAPTION dialog style if CAPTION is specified.
1187         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1188         (handle_quotes) "\a" escape (used for right justified key
1189         definitions in menus) is encodes as binary 8.
1191         * resrc.c (write_rc_dialog): Print style even if it is 0.
1192         (write_rc_directory): Fix overlooked sublang shift bug.
1193         (bin_to_res_dialog): Don't print empty dialog caption.
1195         * resbin.c (bin_to_res_dialog): Use signature to identify
1196         DIALOGEX.
1198         * windres.c (main): Set default LANGUAGE to english/us.
1200 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
1202         * resrc.c: print CLASS names in quotes
1204 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1206         * MAINTAINERS: Update my email address.
1208 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
1210         * dep-in.sed: Cope with absolute paths.
1211         * Makefile.am (dep.sed): Subst TOPDIR.
1212         Run "make dep-am".
1213         * Makefile.in: Regenerate.
1215 2002-03-27  Peter Targett  <peter.targett@arc.com>
1217         * MAINTAINERS: Update my email address.
1219 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1221         * Makefile.am: Run "make dep-am".
1222         * Makefile.in: Regenerate.
1223         * doc/Makefile.in: Regenerate.
1224         * po/POTFILES.in: Regenerate.
1225         * aclocal.m4: Regenerate.
1226         * config.in: Regenerate.
1227         * configure: Regenerate.
1229 2002-03-20  Daniel Berlin  <dan@dberlin.org>
1231         * readelf.c: Add support for displaying dwarf2 location lists.
1232         (do_debug_loc, debug_loc_section, debug_loc_size): New.
1233         (parse_args): Use 'O' as shorthand for displaying location list
1234         section.
1235         (process_section_headers): Handle debug_loc as well.
1236         (load_debug_loc): New.
1237         (free_debug_loc): New.
1238         (fetch_location_list): New.
1239         (display_debug_loc): New.
1240         (display_debug_info): Call load_debug_loc and free_debug_loc.
1241         (debug_displays): We can display .debug_loc now, too.
1242         (usage): Update usage string.
1243         (read_and_display_attr_value): Note location lists, but don't
1244         display them inline.
1246 2002-03-18  Tom Rix  <trix@redhat.com>
1248         * Makefile.am: Add binutils emulation support.
1249         * configure.in: Same.
1250         * configure.tgt: New file.  Same.
1251         * ar.c (main): Use ar_emul_parse_arg.
1252         (usage): Use ar_emul_usage.
1253         (replace_members): Use ar_emul_replace, ar_emul_append.
1254         * binemul.c: New file.  Define the binutils emulation
1255         layer. Define default methods.
1256         * binemul.h: New file.  Binutils emulation layer header file.
1257         * emul_aix.c: New file.  AIX binutils emulation.
1258         * emul_vanilla.c: New file. Default binutils emulation.
1259         * Makefile.in: Regenerate.
1260         * configure: Same.
1262 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1264         * po/fr.po: Updated version.
1266 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1268         * po/fr.po: Updated version.
1270 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1272         * README: Update some version numbers.
1274 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1276         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1277         (Architecture Selection): Likewise.
1279 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
1281         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1282         generating .exp file.
1284 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1286         * readelf.c (dump_relocations): Fix typo.
1288 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1290         * NEWS: Mark 2.12 branch.
1292 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
1294         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1295         types for 64-bit MIPS.  Narrow some fields for 80-char
1296         output.
1297         (dump_relocations): Change spelling from 'unrecognised'
1298         to 'unrecognized'.
1299         (decode_ARM_machine_flags): Likewise.
1300         (parse_args): Likewise.
1301         (read_and_display_attr_value): Likewise.
1302         (display_debug_section): Likewise.
1304 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
1306         * NEWS: Mention support for MMIX.
1308 2002-02-13  Matt Fredette  <fredette@netbsd.org>
1310         * readelf.c (get_machine_flags): Recognize EF_M68000.
1312 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
1314         * MAINTAINERS: Added self as MN10300 co-maintainer.
1316 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
1318         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1319         DT_PPC64_OPDSZ.
1321 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1323         * MAINTAINERS: List myself as branch maintainer.
1325 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1327         * configure: Regenerate.
1328         * objcopy.c: Update copyright date.
1329         * doc/Makefile.in: Regenerate.
1331 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1333         * nlmconv.c: Back out localtime PARAMS change.
1335 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1337         * objcopy.c (MKDIR): Define.
1338         (copy_archive): Make name_list.name const.  Use MKDIR.
1339         Handle duplicate files in archives by making more temp dirs.
1341 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1343         * coffdump.c: Include "getopt.h" after "bucomm.h"
1344         so that macros are defined correctly.
1345         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1346         prototype.  Prototype main.
1347         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1349 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1351         * MAINTAINERS: Added self as SH co-maintainer.
1353 2002-02-05  Nick Clifton <nickc@redhat.com>
1355         * po/tr.po: Updated translation.
1357 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1359         * Makefile.am: Run "make dep-am"
1360         * Makefile.in: Regenerate.
1362 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1364         * nm.c (print_value): Mark abfd unused.
1366 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1368         * unwind-ia64.c (unw_decoder): Change second argument
1369         to unsigned int, to match function prototypes.
1371 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1373         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1374         __GNU_LIBRARY__ will be defined.
1375         * size.c: Likewise.
1377 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
1379         * configure: Regenerated.
1381 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
1383         * doc/Makefile.am (install): Depend on install-info.
1384         * doc/Makefile.in: Regenerate.
1386 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
1388         * objcopy.c (strip_usage): Document -d as an alias
1389         --strip-debug.
1391         * size.c (usage): Document [-t | --totals] options.
1392         (long_options): Add --totals option.
1393         (main): If the [-t | --totals] option is specified and
1394         the output format is Berkeley-style, print the total
1395         text, data, and bss sizes of all objects listed.
1396         (print_berkeley_format): If the [-t | --totals] option
1397         is specified, track the total text, data, and bss
1398         sizes.
1399         * doc/binutils.texi (size): Document [-t | --totals] options.
1400         (strip): Document -d as an alias for --strip-debug.
1401         * NEWS: Mention new feature of size.
1403 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
1405         * po/fr.po: Updated version.
1406         * po/es.po: Updated version.
1408 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1410         * addr2line.c (usage): Update text to provide verbose
1411         description of the command line options.
1412         * ar.c (usage): Update text to provide verbose
1413         description of the command line options.
1414         (main): Accept -h and -H when running as ranlib.
1415         * coffdump.c (show_usage): Update text to provide verbose
1416         description of the command line options.
1417         * dlltool.c (main): Accept -H as an alias for --help.
1418         * nlmconv.c (show_usage): Update text to provide verbose
1419         description of the command line options.
1420         * nm.c (usage): Replace OPTIONS with option(s).
1421         (main): Accept -H as an alias for --help.
1422         * objcopy.c (strip_main): Accept -H as an alias for --help.
1423         * objdump.c (main): Accept -v as an alias for --verbose.
1424         * readelf.c (usage): Adjust format to match style used in
1425         other binutils.
1426         * size.c (usage): Update text to provide verbose description
1427         of the command line options.
1428         (main): Accept -v, -h and -H as command line options.
1429         * srconv.c (show_usage): Update text to provide verbose
1430         description of the command line options.
1431         * strings.c (main): Accept -H and -v as command line options.
1432         (usage): Update text to provide verbose description of the
1433         command line options.
1434         * sysdump.c (show_usage): Update text to provide verbose
1435         description of the command line options.
1436         * windres.c (usage): Adjust format to match style used in
1437         other binutils.
1439         * coffdump.c: Fix formatting.
1440         * nlmconv.c: Fix formatting.
1441         * srconv.c: Fix formatting.
1442         * sysdump.c: Fix formatting.
1444 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
1446         * Makefile.am: Run "make dep-am".
1447         * Makefile.in: Regenerate.
1449 2002-01-18  Andreas Jaeger  <aj@suse.de>
1451         * version.c (print_version): Update year.
1453 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
1455         * readelf.c (get_machine_name): Handle EM_PPC64.
1456         (guess_is_rela): Here too.
1458 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1460         * po/binutils.pot: Regenerate.
1461         * po/fr.po: Regenerate.
1462         * po/tr.po: Regenerate.
1464 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1466         * po/tr.po: Import new version.
1468 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
1470         * readelf.c (get_ppc64_dynamic_type): New.
1471         (get_dynamic_type): Call it.
1473 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
1475         * objcopy.c (copy_usage): Use "options" instead of "switches".
1476         (strip_usage): Use "options" instead of "switches".
1477         * doc/binutils.texi (dlltool):  Refer to "options" instead of
1478         "switches".
1480 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
1482         * MAINTAINERS: Add self as co-maintainer for the ARM code.
1484 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1486         * po/es.po: Import from translation project.
1487         * configure.in (ALL_LINGUAS): Add es.
1488         * configure: Regenerate.
1490 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1492         * readelf.c (get_netbsd_elfcore_note_type): Use
1493         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1495 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1497         * readelf.c: Update copyright years.
1498         (get_note_type): Return a const char *.
1499         (get_netbsd_elfcore_note_type): New function.
1500         (process_note): Use get_netbsd_elfcore_note_type to get
1501         the note type string for NetBSD ELF core files.
1503 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
1505         * readelf.c (get_ia64_segment_type): Add support for macros.
1506         (get_segment_type): Add support for IA64 specific macros.
1508 2001-12-20  Julian v. Bock  <julian@wongr.net>
1510         * readelf.c (print_symbol): New function: Print a formatted symbol
1511         name.  If --wide is specified do not truncate it.
1512         (dump_relocations): Use print_symbol() to print symbol names.
1513         (process_symbol_table): Likewise.
1514         (process_syminfo): Likewise.
1515         (process_mips_specific): Likewise.
1516         (usage): Document new feature of --wide switch.
1517         * doc/binutils.texi (objdump): Document additional behaviour of
1518         --wide.
1520 2001-12-18  Michael Snyder  <msnyder@redhat.com>
1522         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1523         (copy_object): Don't set the start address or flags of a core file.
1524         (copy_section): Don't relocate a core file.  Don't copy contents
1525         if the input section has the contents flag set, but the output
1526         section does not (which happens with the fake 'note' pseudo-
1527         sections that BFD creates for corefiles).
1529 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1531         * readelf.c (get_machine_flags): Recognize header flags for ABI and
1532         ASE extensions. More robust code for ISA checking. Ignore empty fields
1533         in header flags for GNU extensions.
1535 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
1537         * objcopy.c (copy_archive): Set output bfd format outside the loop.
1539 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1541         * po/ja.po: Import from translation project.
1542         * configure.in (ALL_LINGUAS): Add ja.
1543         * configure: Regenerate.
1545 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1547         * addr2line.c (main): Protoype.
1548         * ar.c (main): Protoype.
1549         * nm.c (main): Protoype.
1550         * objcopy.c (main): Protoype.
1551         * objdump.c (main): Protoype.
1552         * size.c (main): Protoype.
1553         * strings.c (main): Protoype.
1555 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
1557         * readelf.c (symtab_shndx_hdr): New global.
1558         (SECTION_HEADER_INDEX): Define.
1559         (SECTION_HEADER_NUM): Define.
1560         (SECTION_HEADER): Define.
1561         (GET_ELF_SYMBOLS): Pass two params rather than three.
1562         (get_32bit_elf_symbols): Take file and section args.  Read and
1563         use SHT_SYMTAB_SHNDX.
1564         (get_64bit_elf_symbols): Likewise.
1565         (dump_relocations): Use SECTION_HEADER to index "section_headers".
1566         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
1567         Remember symtab_shdx_hdr.
1568         (process_program_headers): Scan from index 1 for segment map.
1569         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1570         "section_headers".
1571         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
1572         (process_unwind): Likewise.
1573         (process_version_sections): Likewise.
1574         (process_symbol_table): Likewise.
1575         (display_debug_info): Likewise.
1576         (process_dynamic_segment): Fake up a symtab section for changed
1577         GET_ELF_SYMBOLS.
1578         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1579         (process_program_headers): Kill signed/unsigned warning.
1580         (load_debug_str): Likewise.
1581         (display_debug_info): Likewise.
1583 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
1585         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1587 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
1589         * readelf.c (process_file_header): Print extended e_shnum and
1590         e_shdtrndx values.  Set elf_header values for same.
1591         (get_32bit_section_headers): Add "num" arg to read "num" headers.
1592         (get_64bit_section_headers): Likewise.
1593         (process_section_headers): Update calls.
1594         (get_file_header): Call get_32bit_section_headers or 64bit variant.
1596 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
1598         * objcopy.c (setup_section): Copy entsize.
1600 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
1602         * readelf.c (guess_is_rela): Add support for stormy16.
1603         (dump_relocations): Likewise.
1604         (get_machine_name): Likewise.
1606 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1608         * dllwrap.c (main) Replace multiple strings describing a
1609         single error with a single, newline escaped sentence to permit
1610         better translation into foreign languages.
1612         * readelf.c (get_elf_class): Remove internalionalisation of ELF
1613         class names.
1615 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1617         * strings.c (get_char): Initialize value.
1619 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1621         * arlex.l: Silence compile warnings.
1622         * arsup.h: Likewise. Fix formatting.
1624 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1626         * strings.c: Include config.h before bfd.h.
1627         (file_off): New type.
1628         (file_open): Define.
1629         (print_strings): Use file_off instead of file_ptr.  Print addresses
1630         which don't fit into long correctly.
1631         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
1632         available.
1633         (strings_file): Use file_off instead of file_ptr.  Use file_open.
1634         * configure.in: Check for getc_unlocked.
1635         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1636         be defined for it.
1637         * configure: Rebuilt.
1638         * config.h.in: Rebuilt.
1640 2001-11-29  H.J. Lu <hjl@gnu.org>
1642         * bucomm.c (make_tempname): Revert the changes made on
1643         2001-11-14 and 2001-11-12. They won't work with directories.
1645 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1647         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1648         CFLAGS_FOR_TARGET to runtest in environment.
1649         * Makefile.in: Rebuild.
1650         * doc/Makefile.in: Rebuild.
1652 2001-11-28  Mike Stump  <mrs@wrs.com>
1654         * objcopy.c (setup_section): Preserve SEC_RELOC when
1655         --set-section-flags is used.
1657 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
1659         * readelf.c (do_debug_str): New variable.
1660         (display_debug_str): New function: Display the contents of a
1661         .debug_str section.
1662         (load_debug_str): New function: Load in the contents of a
1663         .debug_str section.
1664         (free_debug_str): New function: Free the memory used by
1665         load_debug_str().
1666         (fetch_indirect_string): Retrieve a string from the .debug_str
1667         section.
1668         (usage): Add -ws.
1669         (parse_args): Accept -ws.
1670         (process_section_headers): Allow the display of the .debug_str
1671         section.
1672         (read_and_display_attr_value): Use fetch_indirect_string.  Show
1673         offset into .debug_str section.
1674         (display_debug_info): Use load_debug_str and free_debug_str.
1675         (debug_displays): Add .debug_str.
1676         * doc/binutils.texi: Document -ws.
1678 2001-11-19  Andreas Jaeger  <aj@suse.de>
1680         * testsuite/binutils-all/objdump.exp: Add x86-64.
1682 2001-11-15  Andreas Schwab  <schwab@suse.de>
1684         * readelf.c: Fix warnings without terminating newline.
1686 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
1688         * doc/binutils.texi (objdump): Document ppc -M options.
1690 2001-11-14  Andreas Jaeger  <aj@suse.de>
1692         * doc/binutils.texi (objdump): Fix description to use x86-64.
1694 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
1696         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1697         not all systems provide mkstemp.
1699 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1701         * doc/binutils.texi (objdump): Document x86 -M options.
1703 2001-11-13  Keith Walker <keith.walker@arm.com>
1705         * readelf.c (read_and_display_attr_value): New function to
1706         handle DW_FORM_indirect.
1707         (read_and_display_attr): Use it.
1709 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1711         * readelf.c (display_debug_lines): Deal with unknown standard
1712         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1713         DW_LNS_set_isa.
1715 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1717         * MAINTAINERS: Add self as tic54x maintainer.  This target
1718         includes the IBM C54XDSP clone.
1720 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1722         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1724 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1726         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1727         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1728         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1729         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1730         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1731         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1732         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1734         * readelf.c (get_elf_class): Fix ISO portability glitch.
1735         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1737 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1739         * readelf.c (debug_str, debug_str_size): New.
1740         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1741         Call free_abbrevs.
1742         (read_and_display_addr): Handle DW_FORM_strp.
1743         (display_debug_info): Read .debug_str section if present,
1744         so that DW_FORM_strp can be handled.
1745         Fix test for non-existant .debug_abbrev section.
1747 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1749         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1751         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1753 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1755         * MAINTAINERS: Add self as s390/s390x maintainer.
1757 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1759         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1761 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1763         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1764         * configure: Regernate.
1765         * po/fr.po: New file.
1766         * po/tr.po: New file.
1768 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1770         * MAINTAINERS: Add self as MMIX port maintainer.
1771         * readelf.c: Include elf/mmix.h.
1772         (guess_is_rela): MMIX is RELA.
1773         (dump_relocations): Handle MMIX relocations.
1774         * Makefile.am: Regenerate dependencies.
1775         * Makefile.in: Regenerate.
1777 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1779         * readelf.c (parse_args): Handle multiple options to the -w
1780         switch.
1782 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1784         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1785         LOPROC, LOOS and LOUSER.
1787 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1789         * MAINTAINERS: Update my email address.
1791 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1793         * doc/Makefile.in: Regenerate.
1794         * configure: Regenerate.
1796 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1798         * readelf.c (display_debug_line, display_debug_pubnames,
1799         display_debug_info, display_debug_frames): Detect and warn
1800         about 64-bit format entries.
1801         (display_debug_aranges): Reword 64-bit warning.
1802         (debug_displays): Add .debug_pubtypes as a known, but not yet
1803         supported, debug section.
1805 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1807         * coffdump.c (PROGRAM_VERSION): Delete.
1808         (main <'V'>): Call print_version.
1809         * srconv.c: Likewise.
1810         * sysdump.c: Likewise.
1811         * version.c (program_version): Remove.
1812         (print_version): Use BFD_VERSION_STRING.  Just print the current
1813         year in copyright message.
1814         * addr2line.c (program_version): Remove unused declaration.
1815         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1816         place of BFD_VERSION.
1817         * Makefile.am (Makefile): Depend on bfd/configure.in.
1818         (cplus-dem.o): Depend on Makefile.
1819         Run "make dep-am".
1820         * Makefile.in: Regenerate.
1822 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1824         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1825         format .debug_arange sections.
1826         (main): Add missing prototype.
1828 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1830         * Makefile.am: Update dependencies with "make dep-am".
1831         * Makefile.in: Regenerate.
1833 2001-09-28  Richard Henderson  <rth@redhat.com>
1835         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1837 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1839         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1840         VA_CLOSE.
1841         (non_fatal): Likewise.
1842         * objdump.c (objdump_sprintf): Likewise.
1843         * readelf.c (error): Likewise.
1844         (warn): Likewise.
1846 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1848         * readelf.c (do_wide): New.
1849         (options): Add --wide.
1850         (usage, parse_args): Likewise.
1851         (process_program_headers): Put each segment on a single line if
1852         --wide is given.
1853         (process_section_headers): Put each section on a single line if
1854         --wide is given.
1855         * doc/binutils.texi: Document it.
1856         * NEWS: Likewise.
1858 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1860         * readelf.c (print_vma): Print 8 digits of low hex value.
1862 2001-09-24  Andreas Jaeger  <aj@suse.de>
1864         * nlmconv.c: Fix warnings about unused attributes and function
1865         prototypes.
1867         * strings.c: Add prototype for get_char.
1869 2000-09-19  H.J. Lu  <hjl@gnu.org>
1871         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1872         $(srcdir)/cxxfilt.man.
1873         * doc/Makefile.in: Rebuild.
1875 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1877         * objcopy.c (copy_main): Correct rename-section string parsing.
1878         Consolidate new_name parsing, and error messages.
1880 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1882         * addr2line.c: Don't include <ctype.h>.
1883         (main): For gettext, also set the LC_CTYPE locate facet.
1884         * ar.c (main): Likewise.
1885         * coffdump.c (main): Likewise.
1886         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1887         (main): For gettext, also set the LC_CTYPE locate facet.
1888         Use ISALNUM instead of isalpha/isdigit.
1889         * dllwrap.c: Don't include <ctype.h>.
1890         (main): For gettext, also set the LC_CTYPE locate facet.
1891         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1892         (main): For gettext, also set the LC_CTYPE locate facet.
1893         Use TOUPPER instead of islower/toupper.
1894         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1895         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1896         Use TOUPPER instead of islower/toupper.
1897         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1898         * objcopy.c (main): Likewise.
1899         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1900         (disassemble_bytes): Use ISPRINT instead of isprint.
1901         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1902         (dump_data): Use ISPRINT instead of isprint.
1903         (main): For gettext, also set the LC_CTYPE locate facet.
1904         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1905         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1906         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1907         Use TOUPPER instead of islower/toupper.
1908         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1909         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1910         (write_rc_accelerators): Use ISPRINT instead of isprint.
1911         (write_rc_rcdata): Likewise.
1912         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1913         * srconv.c (main): Likewise.
1914         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1915         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1916         isdigit/isupper/islower.
1917         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1918         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1919         stab_demangle_prefix, stab_demangle_qualified,
1920         stab_demangle_template, stab_demangle_type,
1921         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1922         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1923         (isgraphic): Use ISPRINT instead of isascii/isprint.
1924         (main): Remove HAVE_LC_MESSAGES dependency.
1925         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1926         (pbarray): Use ISPRINT instead of isprint.
1927         (main): For gettext, also set the LC_CTYPE locate facet.
1928         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1929         (format_from_filename): Use ISPRINT instead of isprint.
1930         (main): For gettext, also set the LC_CTYPE locate facet.
1931         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1932         (unicode_print): Use ISPRINT instead of isprint.
1933         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1934         (stab_variable): Use ISDIGIT instead of isdigit.
1936 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1938         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1939         Replace bfd_read call with call to bfd_bread.
1940         (extract_file): Likewise.
1942         * objdump.c (dump_section_header): Cast section->filepos to
1943         unsigned long to suit printf format string.
1944         * readelf.c (process_section_headers): Similarly for sh_offset.
1945         (process_unwind): Likewise.
1947 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1949         * strings.c (encoding, encoding_bytes): New variables.
1950         (long_options): Add --encoding.
1951         (main): Accept -e and --encoding.
1952         (get_char): New function.  Read a, possibly wide, character from
1953         the input stream.
1954         (print_strings): Use get_char().
1955         (usage): Document new command line option.
1956         * doc/binutils.texi: Document new command line option.
1957         * NEWS: Announce new command line option.
1959 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1961         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1962         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1963         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1964         Removed EM_CYGNUS_ARC.
1966 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1968         * readelf.c: Include elf/h8 for H8 series definitions.
1969         (guess_is_rela): H8 series if RELA.
1970         (dump_relocations): Handle H8 series relocations.
1972 2001-08-31  Eric Christopher  <echristo@redhat.com>
1974         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1976 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1978         * MAINTAINERS: Include ARC Maintainer.
1980 2001-08-29  Ben Elliston  <bje@redhat.com>
1982         * stabs.c (stab_demangle_template): Initialise s4.
1984 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1986         * readelf.c (dump_relocations): Recognise EM_PPC64.
1988 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1990         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1992 2001-08-25  H.J. Lu  <hjl@gnu.org>
1994         * nm.c (print_width): New.
1995         (display_rel_file): Set `print_width' according to
1996         bfd_sprintf_vma.
1997         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1999 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
2001         * objcopy.c (use_alt_mach_code): New variable.
2002         (OPTION_ALT_MACH_CODE): Define.
2003         (copy_options): Added --alt-machine-code.
2004         (copy_main): Handle it.
2005         (copy_object): Switch to alternate machine code if requested.
2006         * doc/binutils.texi: Document new option.
2007         * NEWS: Likewise.
2009 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2011         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2013 2001-08-21  H.J. Lu  <hjl@gnu.org>
2015         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
2016         (display_debug_info): Cast for 64bit hosts.
2017         (display_debug_frames): Likewise.
2018         (process_mips_specific): Likewise.
2020 2001-08-21  Andreas Jaeger  <aj@suse.de>
2022         * coffgrok.h: Add missing parameter for prototype of coff_grok.
2024         * sysdump.c: Add missing prototypes.
2025         * srconv.c: Likewise.
2026         * unwind-ia64.c: Likewise.
2027         * coffdump.c: Likewise.
2029         * sysinfo.y: Print prototypes, include <ansidecl.h>.
2031         * coffgrok.c: Add missing prototypes, include libiberty.h instead
2032         of declaring xcalloc.
2034 2001-08-10  H.J. Lu  <hjl@gnu.org>
2036         * nm.c (print_value): Add one arg, bfd *.
2037         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2038         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2039         (print_symbol_info_sysv): Likewise.
2040         (print_symbol_info_posix): Likewise.
2042         * objdump.c (dump_section_header): Replace printf_vma with
2043         bfd_printf_vma.
2044         (print_section_stabs): Likewise.
2045         (dump_bfd_header): Likewise.
2046         (objdump_print_value): Replace sprintf_vma with
2047         bfd_sprintf_vma.
2048         (disassemble_bytes): Likewise.
2049         (dump_reloc_set): Likewise.
2051 2001-08-10  Andreas Jaeger  <aj@suse.de>
2053         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2054         to build warnings.
2055         * configure: Regenerate.
2057 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
2059         * readelf.c: Add missing prototypes.
2060         * objdump.c: Likewise.  Format existing prototypes.
2062 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
2064         * readelf.c (display_debug_info): Add to abbrev_offset the addend
2065         of any RELA relocation for the abbrev_offset memory location that
2066         refers to the .debug_abbrev section symbol.
2068 2001-08-07  H.J. Lu  <hjl@gnu.org>
2070         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2071         (main): Return process_file ().
2073 2001-08-05  Philip Blundell  <philb@gnu.org>
2075         * doc/binutils.texi: Use "Thumb" not "THUMB".
2077 2001-08-03  John Healy  <jhealy@redhat.com>
2079         Patch suggested by Frank Eigler <fche@redhat.com>.
2080         * objdump.c (disassemble_data): Fill in section member of the
2081         disasm_info structure.
2083 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
2085         * configure.in: Added --with-windres option.
2086         * configure: Regenerated.
2088 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2090         * doc/binutils.texi: Use @command{name} for commands;
2091         use @option{-opt} for options; use @table @env for list of options;
2092         remove spaces arround [ | ] in synopsis.
2094         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2095         center title.
2097 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
2099         * objcopy.c: Fix formatting.
2100         (section_rename): New structure.
2101         (OPTION_RENAME_SECTION): New switch.
2102         (copy_usage): Document new switch.
2103         (add_section_rename): New function: Add a node to the section
2104         rename list.
2105         (find_section_rename): New function: Find the new name and
2106         flags for a section.
2107         (setup_section): Call find_section_name to determine the name
2108         of the output section.
2109         (copy_main): Handle OPTION_RENAME_SECTION.
2110         * binutils.texi: Document new switch.
2111         * NEWS: Mention new switch.
2113 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
2115         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2116         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2117         bug-binutils@gcc.org.
2119 2001-07-28  Matthias Kramm  <kramm@quiss.org>
2121         * bucomm.c (list_supported_architectures): New function.
2122         * bucomm.h (list_supported_architectures): Declare.
2123         * objdump.c (usage): Call the above.
2125 2001-07-25  Dave Brolley  <brolley@redhat.com>
2127         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2128         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2130 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
2132         * README: Update for 2.11.  Change bug reporting email address.
2133         * MAINTAINERS: Tidy up.  Change bug reporting email address.
2135 2001-07-16  DJ Delorie  <dj@redhat.com>
2137         * resres.c (write_res_header): Align header size.
2138         (res_align_file): Calculate alignment correctly.
2140         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2141         correct 10).
2142         * resrc.c (write_rc_resource): Likewise.
2143         * windres.h (SUBLANG_SHIFT): Define - as 10.
2145 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
2147         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2149 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
2151         * MAINTAINERS: Add notes about branch checkins.
2153 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
2155         * readelf.c (display_debug_macinfo): New function, display
2156         .debug_macinfo section.
2157         (do_debug_macinfo): New variable.
2158         (parse_args): Handle "-w[mM]" to mean display macro info.
2159         (process_section_headers): Handle debug_macinfo.
2160         (debug_displays): Replace unsupported function with macinfo
2161         function for .debug_macinfo display.
2162         * doc/binutils.texi: Document new command line switch.
2163         * NEWS: Document new feature of readelf.
2165 2001-07-05  H.J. Lu  <hjl@gnu.org>
2167         * objcopy.c (filter_symbols): Don't turn undefined symbols
2168         into local.
2170 2001-07-03  H.J. Lu <hjl@gnu.org>
2172         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2173         $@.pod.
2174         (ar.1): Likewise.
2175         (dlltool.1): Likewise.
2176         (nlmconv.1): Likewise.
2177         (nm.1): Likewise.
2178         (objcopy.1): Likewise.
2179         (objdump.1): Likewise.
2180         (ranlib.1): Likewise.
2181         (readelf.1): Likewise.
2182         (size.1): Likewise.
2183         (strings.1): Likewise.
2184         (strip.1): Likewise.
2185         (windres.1): Likewise.
2186         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2187         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2188         $(DEMANGLER_NAME).
2189         (as.1): Removed.
2190         * doc/Makefile.in: Regenerated.
2192 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
2194         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2196 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
2198         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2200 2001-06-29  James Cownie <jcownie@etnus.com>
2202         * readelf.c: Support DWARF 2.1 attributes.
2204 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
2206         * readelf.c (GET_DATA_ALLOC): Remove.
2207         (GET_DATA): Remove.
2208         (get_data): New function combining above macros, with an extra
2209         test for zero size.
2210         (slurp_rela_relocs): Use get_data, and catch error return.
2211         (slurp_rel_relocs): Likewise.
2212         (get_32bit_program_headers): Likewise.
2213         (get_64bit_program_headers): Likewise.
2214         (get_32bit_section_headers): Likewise.
2215         (get_64bit_section_headers): Likewise.
2216         (get_32bit_elf_symbols): Likewise.
2217         (get_64bit_elf_symbols): Likewise.
2218         (process_section_headers): Likewise.
2219         (process_relocs): Likewise.
2220         (slurp_ia64_unwind_table): Likewise.
2221         (process_unwind): Likewise.
2222         (get_32bit_dynamic_segment): Likewise.
2223         (get_64bit_dynamic_segment): Likewise.
2224         (process_dynamic_segment): Likewise.
2225         (process_version_sections): Likewise.
2226         (process_symbol_table): Likewise.
2227         (dump_section): Likewise.
2228         (display_debug_info): Likewise.
2229         (display_debug_section): Likewise.
2230         (process_section_contents): Likewise.
2231         (process_corefile_note_segment): Likewise.
2232         (process_mips_specific): Likewise.  Also free econf32, econf64.
2234 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2236         * readelf.c (dump_relocations): Print "bad symbol index" if
2237         symtab == NULL with non-zero symtab_index.
2238         (process_relocs): Don't bomb if reloc section has no symsec.
2240 2001-06-24  H.J. Lu  <hjl@gnu.org>
2242         * objcopy.c (strip_main): Revert the change made on 2001-05-30
2243         by accident.
2244         (copy_main): Apply the the change made to strip_main on
2245         2001-05-30 by accident.
2247 2001-06-23  Andreas Jaeger  <aj@suse.de>
2249         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2250         parameter 'code'.
2251         (unw_decode_x2): Likewise.
2252         (unw_decode_x3): Likewise.
2253         (unw_decode_x4): Likewise.
2255 2001-06-23  Ben Elliston  <bje@redhat.com>
2257         * MAINTAINERS: Add myself as M88k maintainer.
2259 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
2261         * objcopy.c (strip_main): Support -o or --output-file command lien
2262         switch.
2264 2001-06-19  H.J. Lu <hjl@gnu.org>
2266         * doc/Makefile.in: Regenerated.
2268 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
2270         * readelf.c: Restore formatting.
2272 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2274         * Makefile.am: Move documentation into doc subdirectory.
2275         * Makefile.in: Regenerated.
2276         * binutils.texi: Move into doc subdirectory.
2277         * addr2line.1: Removed.
2278         * ar.1: Likewise.
2279         * dlltool.1: Likewise.
2280         * nlmconv.1: Likewise.
2281         * nm.1: Likewise.
2282         * objcopy.1: Likewise.
2283         * objdump.1: Likewise.
2284         * ranlib.1: Likewise.
2285         * readelf.1: Likewise.
2286         * size.1: Likewise.
2287         * strings.1: Likewise.
2288         * strip.1: Likewise.
2289         * windres.1: Likewise.
2290         * cxxfilt.man: Likewise.
2291         * doc: New Directory.
2292         * doc/Makefile.am: New file.
2293         * doc/Makefile.in: Generate.
2295 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
2297         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
2299 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
2301         * MAINTAINERS: Update my email address.
2303 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
2305         * objcopy.c: Add new switches: --keep-global-symbol,
2306         --keep-symbols, --localize-symbols, --keep-global-symbols and
2307         --weaken-symbols.
2308         * binutils.texi: Document new switches.
2309         * objcopy.1: Regenerate.
2310         * NEWS: Announce new feature.
2312 2001-05-28  Andreas Jaeger  <aj@suse.de>
2314         * readelf.c (display_debug_frames): Fix warnings: Remove unused
2315         variables, fix format strings.
2317 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2319         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2320         when computing the address of the line to show.
2322 2001-05-16  Richard Henderson  <rth@redhat.com>
2324         * readelf.c (do_debug_frames_interp): New.
2325         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2326         (byte_get_big_endian): Likewise.
2327         (parse_args) ['F']: Set do_debug_frames_interp.
2328         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2329         (frame_display_row): Don't trunc pc_begin to int.
2330         (size_of_encoded_value): New.
2331         (display_debug_frames): Handle 64-bit targets.  Print raw data
2332         unless do_debug_frames_interp.
2333         (debug_displays): Remove duplicate .debug_frame.
2335 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2337         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2338         The former constant was never in active use and is used otherwise
2339         by the ABI.
2341 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2343         * readelf.c (process_unwind): Print all unwind sections, not just
2344         one.
2346 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2348         * readelf.c (process_unwind): Remove const specifier.
2350 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2352         * strings.c (isgraphic): Do not use isascii() unless it is needed
2353         for isprint() to work.
2354         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2356 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2358         * NEWS: Announce support for OpenRISC.
2360 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2362         * dlltool.c (do_default_excludes): Initialise to true.
2364 2001-04-10  Alan Modra  <amodra@one.net.au>
2366         * MAINTAINERS: Update my email address
2367         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2369 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2371         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2373 2001-03-30  H.J. Lu  <hjl@gnu.org>
2375         * readelf.c (process_unwind): Just return if do_unwind is 0.
2377 2001-03-28  Roger Sayle  <roger@metaphorics.com>
2379         * dlltool.c (make_one_lib_file): Fix section flags for
2380         .text, .data and .bss in stub ds*.o files to match those
2381         generated by gas.
2383 2001-03-29  H.J. Lu  <hjl@gnu.org>
2385         * readelf.c (process_unwind): Only do unwind sections for
2386         IA64.
2388 2001-03-28  H.J. Lu  <hjl@gnu.org>
2390         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2391         * Makefile.in: Regenerate.
2393 2001-03-26  Andreas Jaeger  <aj@suse.de>
2395         * binutils.texi (nm): Fix texi syntax.
2397 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2399         * binutils.texi: Put @c man begin and @c man end indications
2400         to generate man pages using texi2pod and pod2man. Put @c man title
2401         to identify each man. Add SEEALSO entries.
2402         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2403         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2404         sort the list.
2405         (*.1): Build the man pages from binutils.texi.
2406         * Makefile.in: Regenerate.
2408 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
2410         * defparse.y (opt_equal_name): allow "." in name.
2411         * dlltool.c (def_exports): Added ability to generate forwarded exports.
2412         (gen_exp_file): Likewise.
2414 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
2416         * NEWS: Document addition of -B switch to objcopy.
2417         * binutils.texi:  Document addition of -B switch to objcopy.
2418         * objcopy.c: (copy_options): Add --binary-architecture.
2419         (copy_usage): Document -B/--binary-architecture.
2420         (copy_main): Support -B/--binary-architecture.  Set
2421         bfd_external_binary_architecture.
2423 2001-03-11  Andreas Jaeger  <aj@suse.de>
2425         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2426         (dump_relocations): Likewise.
2427         (get_machine_name): Likewise.
2429 2001-02-28  Nick Clifton  <nickc@redhat.com>
2431         * readelf.c: (struct unw_aux_info): Remove const modifier for
2432         'strtab' field.
2433         (process_unwind): Remove non-K&R compliant LHS type cast in call
2434         to GET_DATA_ALLOC macro.
2436 2001-02-28  Philip Blundell  <pb@futuretv.com>
2438         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2439         ABI is in use; remove ambiguity between the "unknown" EABI and
2440         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
2441         renamed EF_xx constants.
2443 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2445         * configure.in (BFD_VERSION): New.
2446         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2447         * configure: Regenerate.
2448         * Makefile.am: Run "make dep-am"
2449         * Makefile.in: Regenerate.
2451 2001-02-14  Nick Clifton  <nickc@redhat.com>
2453         * MAINTAINERS: Add "Obvious Fix" rule.
2455 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2457         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2458         literal concatenation.
2460 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2462         * readelf.c (struct unw_aux_info): Remove const from the info member.
2463         (process_unwind): Don't type-cast the third argument to the
2464         GET_DATA_ALLOC macro.
2466 2001-02-11  Nick Clifton  <nickc@redhat.com>
2468         * readelf.c (dump_relocations): Free corrected allocated
2469         array.
2470         (process_unwind): Fix compile time warning.
2472 2001-02-10  Nick Clifton  <nickc@redhat.com>
2474         * binutils.texi: Document new --unwind option to readelf.
2476 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2478         * readelf.c: Add linux target for S/390.
2480 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
2482         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2483         printf is a macro.
2485 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
2487         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2488         * aclocal.m4: Regenerate.
2489         * configure: Regenerate.
2491 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
2493         * bucomm.c (bfd_target_vector): Change extern array to pointer.
2494         * objdump.c (bfd_target_vector): Likewise.
2496 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
2498         * readelf.c (process_unwind): New function.
2499         (slurp_ia64_unwind_table): Ditto.
2500         (dump_ia64_unwind): Ditto.
2501         (find_symbol_for_address): Ditto.
2502         (slurp_rela_relocs): New function (split off from dump_relocations()).
2503         (slurp_rel_relocs): Ditto.
2504         (parse_args): Handle '-u' option.
2506         * unwind-ia64.c: New file.
2507         * unwind-ia64.h: New file.
2508         * Makefile.am: Include unwind-ia64.c in readelf build.
2509         * Makefile.in: Regenerate.
2510         * po/binutils.pot: Regenerate.
2512 2001-02-04  Philip Blundell  <philb@gnu.org>
2514         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2515         * configure: Regenerate.
2517 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
2519         * ieee.c (ieee_add_bb11): Don't check for backslashes
2520         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2522 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
2524         * ieee.c: Update copyright.
2525         (ieee_start_compilation_unit): Don't check for backslashes
2526         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2528         * stabs.c: Update copyright. Include "filenames.h".
2529         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2531 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2533         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2534         sections are present before using them.  Remove code duplication.
2535         (process_symbol_table): Check if VERDEF or VERNEED sections are
2536         present before using them.
2538 2001-01-17  Nick Clifton  <nickc@redhat.com>
2540         * objcopy.c (copy_object): Fail if attempting to convert the
2541         endianness of the input object file.
2543         * binutils.texi: Explain that objcopy cannot convert endianness.
2545 2001-01-16  Nick Clifton  <nickc@redhat.com>
2547         * readelf.c (string_table_length): New variable.
2548         (SECTION_NAME): Catch out of range indices and missing section
2549         pointers.
2550         (process_section_headers): Delete useless local variable
2551         string_table_offset.  Set the value of string_table_length
2552         after loading the string table.
2553         (process_mips_specific): Use SECTION_NAME macro.
2554         (process_file): Set string_table_length to 0 when it is freed.
2556 2001-01-12  Nick Clifton  <nickc@redhat.com>
2558         * version.c (print_version): Update copyright date.
2560 2001-01-11  Peter Targett  <peter.targett@arccores.com>
2562         * readelf.c (dump_relocations): Include selection with EM_ARC.
2563         (get_machine_name) Update name to "ARC".
2565 2001-01-09  Nick Clifton  <nickc@redhat.com>
2567         * Makefile.am: Add rule to build objdump.o from objdump.c and
2568         using OBJDUMP_DEFS.
2569         * Makefile.in: Regenerate.
2571         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
2572         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2573         -DDISASSEMBLER_NEEDS_RELOCS.
2574         * configure: Regenerate.
2576         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2577         is defined read in the relocs even if dump_reloc_info is
2578         false.
2580 2001-01-07  Philip Blundell  <philb@gnu.org>
2582         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2583         `bug-binutils'.
2584         * README: Likewise.
2586 2000-12-19  Nick Clifton  <nickc@redhat.com>
2588         * dlltool.c: Add missing support for arm-epoc-pe.
2589         * configure.in: Add missing support for arm-epoc-pe.
2590         * configure: Regenerate.
2592 2000-12-15  Nick Clifton  <nickc@redhat.com>
2594         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2595         Mode parts of the x86 port.
2597 2000-12-04  Andreas Jaeger  <aj@suse.de>
2599         * readelf.c (guess_is_rela): Add EM_X86_64.
2600         (dump_relocations): Add EM_X86_64.
2601         (get_machine_name): Add EM_X86_64.
2602         Include "elf/x86-64.h".
2604 2000-12-12  Nick Clifton  <nickc@redhat.com>
2606         * readelf.c: Fix formatting.
2608 2000-12-11  Jan Hubicka  <jh@suse.cz>
2610         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2612 2000-12-07  Andrew Haley  <aph@redhat.com>
2614         * readelf.c (display_debug_frames): Only display columns that are
2615         referenced by the frame debug info.
2617 2000-12-05  Nick Clifton  <nickc@redhat.com>
2619         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2621 2000-12-04  Jason Merrill  <jason@redhat.com>
2623         * readelf.c (process_section_headers): Handle linkonce.wi sections.
2624         (display_debug_section): Likewise.
2625         (display_debug_info): Display CU header before bailing.
2627 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
2629         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2630         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
2631         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2633         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2634         and E_MIPS_ARCH_64.
2636         * readelf.c (get_machine_flags): Add case for
2637         E_MIPS_MACH_SB1.
2639 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
2641         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2643 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
2645         * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
2646         Change sourceware.cygnus.com to sources.redhat.com.
2647         Fix typo for "amongst".
2649 2000-11-28  Nick Clifton  <nickc@redhat.com>
2651         * strip.1 (COPYING): Mention that the GNU Free Documentation
2652         License is present in the sources, but not the output, and
2653         also available from the GNU website.
2654         (GNU Free Documentation License): Comment out this section.
2655         * strings.1: Ditto.
2656         * size.1: Ditto.
2657         * ranlib.1: Ditto.
2658         * objdump.1: Ditto.
2659         * objcopy.1: Ditto.
2660         * nm.1: Ditto.
2661         * nlmconv.1: Ditto.
2662         * ar.1: Ditto.
2663         * addr2line.1: Ditto.
2665 2000-11-27  DJ Delorie  <dj@redhat.com>
2667         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2668         (parse_args): Support -wf option.
2669         (process_section_headers): Ditto.
2670         (debug_displays): Ditto.
2671         (display_debug_frames): New, dump *_frame sections.
2672         (frame_need_space): Support for above.
2673         (frame_display_row): Ditto.
2674         * binutils.texi: Document it.
2676 2000-11-24  Nick Clifton  <nickc@redhat.com>
2678         * NEWS: Announce support for v5t, v5te and XScale.
2680 2000-11-22  Nick Clifton  <nickc@redhat.com>
2682         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2683         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2684         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2685         (get_elf_section_flags: Add SHF_GROUP.
2686         (process_section_headers): Adjust output for 32-bit binaries
2687         to look nice on an 80 column terminal.
2689 2000-11-20  H.J. Lu  <hjl@gnu.org>
2691         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2692         ELFOSABI_AIX.
2694 2000-11-17  Richard Henderson  <rth@redhat.com>
2696         * readelf.c (display_debug_lines): Adjust last change to
2697         use sizeof (external->li_length).
2699 2000-11-17  Richard Henderson  <rth@redhat.com>
2701         * readelf.c (display_debug_lines): Fix section length check
2702         and end_of_sequence computation.
2704 2000-11-06  Nick Clifton  <nickc@redhat.com>
2706         * binutils.texi: Add GNU Free Documentation License.
2707         * objcopy.1: Add GNU Free Documentation License.
2708         * objdump.1: Add GNU Free Documentation License.
2709         * addr2line.1: Add GNU Free Documentation License.
2710         * ar.1: Add GNU Free Documentation License.
2711         * nlmconv.1: Add GNU Free Documentation License.
2712         * nm.1: Add GNU Free Documentation License.
2713         * ranlib.1: Add GNU Free Documentation License.
2714         * size.1: Add GNU Free Documentation License.
2715         * strings.1: Add GNU Free Documentation License.
2716         * strip.1: Add GNU Free Documentation License.
2718 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2720         * objcopy.c (--srec-len=nn): New parameter to set the
2721         maximum length of generated Srecords.
2722         (--srec-forceS3): New parameter that restricts the generation of
2723         Srecords to type S3 only.
2724         * binutils.texi: Document new command line switches.
2725         * objcopy.1: Docuemnt the new command line switches.
2726         * NEWS: Announce the existence of the new command line switches.
2728 2000-10-31  Nick Clifton  <nickc@redhat.com>
2730         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2731         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2733 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2735         * Make comma after string after icon/control optional.
2737 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2739         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2741         * NEWS: Mention support for MIPS32.
2743 2000-09-08  Nick Clifton  <nickc@redhat.com>
2745         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2747 2000-09-07  H.J. Lu  <hjl@gnu.org>
2749         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2750         * configure: Rebuild.
2752 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2754         * configure: Rebuilt with new libtool.m4.
2756 2000-09-05  Nick Clifton  <nickc@redhat.com>
2758         * aclocal.m4: Regenerate.
2759         * config.in: Regenerate.
2760         * configure: Regenerate.
2762 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2764         * strip.1: Fix stray '\' in -o formatting.
2766 2000-09-02  Nick Clifton  <nickc@redhat.com>
2768         * configure.in: Increase version number to 2.10.91.
2769         * configure: Regenerate.
2770         * aclocal.m4: Regenerate.
2771         * config.in: Regenerate.
2772         * po/binutils.pot: Regenerate.
2774 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2776         * acinclude.m4: Include libtool and gettext macros from the
2777         top level.
2778         * aclocal.m4, configure: Rebuilt.
2780 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2782         * resrc.c (close_input_stream): Delete extraneous logic
2784 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2786         * NEWS: Mention support for CRIS.
2788 2000-08-21  Nick Clifton  <nickc@redhat.com>
2790         * addr2line.c: Changed email address for Ulrich Lauther.
2792 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2794         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2796 2000-08-17  Nick Clifton  <nickc@redhat.com>
2798         * readelf.c (display_debug_pubnames): Only issue warning
2799         message once.  Terminate message with a new line.
2800         (display_debug_aranges): Only display version 2 debug info.
2802 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2804         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2805         for compatability with old BSD systems.
2807 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2809         * NEWS: Mention i860 support.
2811 2000-08-11  Carlo Wood <carlo@alinoe.com>
2813         * addr2line.c (main): Add const to char *.
2815 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2817         * ar.c (main): Don't crash if called with no arguments
2818         or only '-X32_64' as an argument.
2820 2000-08-08  DJ Delorie  <dj@redhat.com>
2822         * resrc.c: use "gcc -xc" instead of -xc-header
2824 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2826         * readelf.c (elf/i860.h): Include.
2827         (dump_relocations): Add recognition of i860 architecture.
2828         (guess_is_rela): Add recognition of i860 architecture.
2830 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2832         * MAINTAINERS: Add information about CGEN maintainers.
2834 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2836         * nm.c (main): Ignore '-X32_64' as an option.
2837         * ar.c (main): Likewise.
2838         * binutils.texi (nm): Document new option.
2839         (ar): Likewise.
2841 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2843         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2845 2000-07-20  H.J. Lu  <hjl@gnu.org>
2847         * binutils.texi: Put back "@end table" deleted by
2848         accident.
2850 2000-07-05  Kenneth Block  <krblock@computer.org>
2852         * nm.c: Add optional style to demangle switch.
2853         * objdump.c: Add optional style to demangle switch.
2854         * addr2line.c: Add optional style to demangle switch.
2855         * binutils.texi: Document optional style to demangle
2856         switch.
2858 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2860         * MAINTAINERS: Add self as CRIS port maintainer.
2861         * readelf.c: Include elf/cris.h.
2862         (guess_is_rela): Handle EM_CRIS.
2863         (dump_relocations): Ditto.
2864         (get_machine_name): Ditto.
2865         * Makefile.am: Rebuild dependencies.
2866         * Makefile.in: Regenerate.
2867         * po/binutils.pot: Regenerate.
2869 2000-07-19  H.J. Lu  <hjl@gnu.org>
2871         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2872         "AUXILIARY".
2873         (process_dynamic_segment): Print out strings for DT_CONFIG,
2874         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2876 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2878         * nm.c (usage): Change output of `nm --help' to include a
2879         description of the purpose of the program and a detailed
2880         description of the accepted options.
2882 2000-07-19  H.J. Lu  <hjl@gnu.org>
2884         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2885         to DF_1_NODEFLIB.
2887 2000-07-19  H.J. Lu  <hjl@gnu.org>
2889         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2891 2000-07-19  H.J. Lu  <hjl@gnu.org>
2893         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2894         DT_FEATURE.
2895         (process_dynamic_segment): Likewise.
2897         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2898         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2899         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2900         DF_1_NODUMP and DF_1_CONLFAT.
2902 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2904         * binutils.texi (readelf): Fix spelling typo.
2906 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2908         * objdump.c (usage): Make output of `objdump --help' more
2909         consistent with the rest of the GNU world.  Add a line describing
2910         the purpose of the program.
2912 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2914         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2915         warning.
2917 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2919         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2920         to fix warnings.
2921         (process_symbol_table): Ditto.
2922         (procesS_extended_line_op): Ditto.
2923         (display_debug_lines): Ditto.
2924         (display_debug_pubnames): Ditto.
2925         (read_and_display_attr): Ditto.
2927 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2929         * MAINTAINERS: Add several more port specific maintainers.
2931 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2933         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2935 2000-06-05  DJ Delorie  <dj@redhat.com>
2937         * MAINTAINERS: New.
2939 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2941         * dllwrap.c: Changed mistaken dyn_string_append() calls
2942         to dyn_string_append_cstr().
2944 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2946         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2947         struct debug_type stores size in bytes.
2949 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2951         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2952         (CLEANFILES): Add DEPA.
2953         * Makefile.in: Regenerate.
2955 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2957         * ar.c: Revert incorrect 2000-06-25 patch.
2958         * bucomm.c: Likewise.
2960 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2962         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2963         (external_coff_symbol_p): New function.
2964         (parse_coff): Use it.
2966 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2968         * ar.c (normalize): Advance past both characters in a DOS based
2969         <letter>: filepath prefix.
2970         (main): Likewise.
2971         * bucomm.c (make_tempname): Likewise.
2973 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2975         * objdump.c (usage): Fix description of --stabs switch.
2977 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2979         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2980         find one.
2981         * Makefile.in: Regenerate.
2983 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2985         * ar.c (normalize): Correct pointer comparison when checking for
2986         backslashes.
2987         (main): Likewise.
2988         * bucomm.c (make_tempname): Likewise.
2990         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2991         and search for backslashes in the original pathname.
2992         (ieee_add_bb11): Likewise.
2994 2000-06-18  Nick Clifton  <nickc@redhat.com>
2996         * ar.c (print_contents): Improve verbose message.
2998 2000-06-15  H.J. Lu  <hjl@gnu.org>
3000         * dyn-string.c: Removed. Not needed with dyn-string.c in
3001         libiberty.
3002         * dyn-string.h: Likewise.
3004         * Makefile.am: Remove references to dyn-string.c and
3005         dyn-string.h. Rebuild dependency.
3006         * Makefile.in: Rebuild.
3008 2000-06-15  H.J. Lu  <hjl@gnu.org>
3010         * binutils.texi: Put a warning on copying relocatable object
3011         files between two different formats.
3013 2000-06-13  DJ Delorie  <dj@cygnus.com>
3015         * rcparse.y (control): ICON controls take an id as the first
3016         parameter, not an optional string.  Also, call new convenience
3017         function that takes res_id's.
3018         * resrc.c (define_control): missing text means zero-length string,
3019         not zero ID.
3020         (define_icon_control): New.
3021         * windres.h: declare define_icon_control.
3023 2000-06-13  H.J. Lu  <hjl@gnu.org>
3025         * configure: Regenerate.
3027 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
3029         * configure.in (VERSION): Update to show this is the CVS mainline.
3031 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
3033         * strings.c (isgraphic): Interpret <TAB> as a printable character,
3034         analogous to <SPACE>.
3036 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
3038         * objdump.c (display_target_list): Use bfd_close_all_done, not
3039         bfd_close to fix crash caused by 2000-05-24 change.
3041 2000-05-25  DJ Delorie  <dj@cygnus.com>
3043         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
3045 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
3047         * Makefile.am: Update dependencies with "make dep-am"
3048         * Makefile.in: Regenerate.
3050 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
3052         * ar.c: Include filenames.h.
3053         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
3054         and drive letters in file names.
3055         (main): Support backslashes and drive letters in argv[0].  Drop
3056         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
3057         FILENAME_CMP instead of strcmp to compare file names.
3058         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
3059         DJGPP v2.
3060         (do_quick_append) [__GO32__]: Ditto.
3061         (get_pos_bfd, delete_members, move_members, replace_members):
3062         Compare file names with FILENAME_CMP.
3064         * bucomm.c: Include filenames.h.
3065         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
3066         forward/backward slashes and drive letters in file names.
3068         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
3069         mixed forward/backward slashes and drive letters in file names.
3071         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
3072         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
3073         mode.
3075         * objcopy.c: Include filenames.h.
3076         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
3077         before comparing to "strip".
3078         Use FILENAME_CMP to compare file names.
3080         * arsup.c: Include filenames.h.
3081         (map_over_list, ar_delete, ar_replace, ar_extract): Use
3082         FILENAME_CMP to compare file names.
3083         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
3084         the temporary file name.
3086         * configure.in: Check for setmode.
3087         * configure: Regenerate.
3089 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
3091         * objdump.c (display_target_list): Close the bfd.
3092         (display_info_table): Likewise.
3094 2000-05-14  H.J. Lu  (hjl@gnu.org)
3096         * objcopy.c (filter_symbols): Don't strip global symbols in
3097         relocatable object files.
3099 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
3101         * size.c (usage): Associate short options with corresponding long
3102         option to give a clue as to their function.
3104 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
3106         * size.c (main): Accept and ignore `-f' option.
3108 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
3110         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
3111         bindtextdomain): Replace defines with those from intl/libgettext.h
3112         to quieten gcc warnings.
3114 2000-05-12  H.J. Lu  <hjl@gnu.org>
3116         * nlmconv.c (temp_filename): Removed.
3118         * nlmconv.c (link_inputs): Use make_temp_file () instead of
3119         choose_temp_base ().
3120         * objdump.c (display_target_list): Likewise.
3121         (display_info_table): Likewise.
3123 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
3125         * objcopy.c (setup_section): Add const and gettext calls for err.
3127 2000-05-02  H.J. Lu  <hjl@gnu.org>
3129         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
3130         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
3131         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
3132         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
3133         and ELFOSABI_OPENBSD.
3135 2000-05-02  Kazu Hirata  <kazu@hxi.com>
3137         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
3138         * srconv.c: Likewise.
3139         * sysdump.c: Likewise.
3141 2000-04-23  Denis Chertykov  <denisc@overta.ru>
3143         * readelf.c (guess_is_rela): AVR uses RELA relocations.
3144         (get_machine_name): machine name for EM_AVR added.
3146 2000-04-21  Richard Henderson  <rth@cygnus.com>
3147             David Mosberger  <davidm@hpl.hp.com>
3149         * Makefile.am (readelf.o): Add elf/ia64.h.
3150         * Makefile.in: Rebuild.
3151         * readelf.c: Include elf/ia64.h.
3152         (guess_is_rela, dump_relocations): Handle EM_IA_64.
3154 2000-04-17  Timothy Wall  <twall@cygnus.com>
3156         * objdump.c (disassemble_data): Set octets per byte *after*
3157         resolving arch/mach for binary files.
3159 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3161         * arlex.l: Add directives to increase lex buffer size.
3163         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
3164         already included by bucomm.h.
3166 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
3168         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
3169         `strftime' since strftime is not available on all systems.
3170         (process_mips_specific): Ditto.
3172 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
3174         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
3175         --enable-build-warnings option.
3176         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3177         * Makefile.in, configure: Re-generate.
3179 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
3181         * addr2line.c: Update copyright.
3182         * objcopy.1: Likewise, and title.
3183         * strings.1: Likewise.
3185         * version.c (print_version): Add 2000.
3187         * rddbg.c (read_section_stabs_debugging_info): Don't use
3188         bfd_size_type for strx to avoid printf problems if BFD64.
3190         * bucomm.c: (report): Remove `static'.
3191         Move inclusion of stdarg.h/vararg.h from here.
3192         * bucomm.h: To here.
3193         (CONST): Change all occurences to const.
3194         (report): Declare it.
3195         (bfd_fatal): Add ATTRIBUTE_NORETURN.
3196         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
3197         (non_fatal): Add ATTRIBUTE_PRINTF_1.
3199         * ar.c (main): Use fatal or non_fatal instead of fprintf.
3200         Correct a typo in an error message.
3201         (do_quick_append): Use non_fatal instead of fprintf.
3202         (move_members): Use fatal instead of fprintf, exit.
3203         * coffdump.c (main): Same here.
3205         * dlltool.c (display): Delete.
3206         (warn): Delete.
3207         (inform): Use `report' instead of `display'.
3208         (rvaafter): Remove trailing \n from fatal error msg.
3209         (rvabefore): Ditto.
3210         (asm_prefix): Ditto.
3211         (yyerror): Replace `warn' with `non_fatal', and remove \n.
3212         (def_name): Likewise.
3213         (run): Likewise.
3214         (scan_all_symbols): Likewise.
3215         (gen_lib_file): Likewise.
3216         (def_library): Likewise.  Remove extra program_name too.
3217         (run): Remove \n from inform strings.
3218         (scan_drectve_symbols): Likewise.
3219         (add_excludes): Likewise.
3220         (scan_open_obj_file): Likewise.
3221         (gen_exp_file): Likewise.
3222         (gen_lib_file): Likewise.
3223         (process_duplicates): Likewise.
3225         * Makefile.am (dllwrap_SOURCES): Add version.c.
3226         * dllwrap.c (program_version): Delete.
3227         (print_version): Delete.
3228         (display): Always print trailing \n.
3229         (warn): New.
3230         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
3231         (run): Here too.
3232         (main): And here.
3233         (usage): gettext'ify.
3234         (long_options): Add missing initialisers.
3236         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
3237         (select_output_format): Likewise.
3238         (powerpc_mangle_relocs): Likewise.
3239         (link_inputs): Likewise.
3241         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
3242         (set_output_format): Likewise.
3243         (main): Use non_fatal instead of fprintf.
3244         (display_rel_file): Likewise.
3246         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
3247         (slurp_dynamic_symtab): Same here.
3248         (disassemble_data): And here.
3249         (read_section_stabs): And here.
3250         (read_section_stabs): And here.
3251         (dump_bfd): And here.
3252         (main): And here.
3253         (objdump_sprintf): Use fatal instead of fprintf, exit.
3254         (disassemble_data): Same here.
3256         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
3257         (parse_coff_struct_type): Same here.
3258         (parse_coff_enum_type): And here.
3259         (parse_coff): And here.
3260         * rddbg.c (read_debugging_info): And here.
3261         * size.c (main): And here.
3262         * windres.c (format_from_name): And here.
3263         * wrstabs.c (stab_write_symbol): Here too.
3264         (write_stabs_in_sections_debugging_info): And here.
3265         (stab_int_type): And here.
3266         (stab_struct_field): And here.
3267         (stab_typdef): And here.
3269         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
3270         * srconv.c (main): Same here.
3271         * strings.c (main): And here.
3272         (integer_arg): And here.
3273         * sysdump.c (main): And here.
3275 2000-04-06  Timothy Wall  <twall@cygnus.com>
3277         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
3279 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3281         * readelf.c (decode_location_expression): Loop through multiple
3282         operations.
3283         (read_and_display_attr): Pass in length.
3285         * readelf.c (read_and_display_attr): Add CU offset to references.
3286         (display_debug_info): Pass it in.
3288 2000-04-06  Nick Clifton  <nickc@cygnus.com>
3290         * readelf.c (decode_ARM_machine_flags): New function.
3291         (get_machine_flags): Call decode_ARM_machine_flags for ARM
3292         targets.
3294         (get_machine_name): Catch EM_AVR
3296 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
3298         * binutils.texi: Remove optional `=' from long options that have
3299         an `=' in the argument.
3300         * objcopy.1: Here too.  Remove extra space on discard-all.
3302         * binutils.texi (objcopy): Mention --redefine-sym.
3303         * objcopy.1: Here too.
3304         * NEWS: And here.
3306         * objcopy.c (parse_flags): Split off flag names from error message
3307         gettext as they are not translated.
3308         (copy_main): Similarly split off option name for --add-section,
3309         --set-section-flags, --change-section-vma, --change-section-lma
3310         error messages.
3311         Some white space changes.
3313         from Matthew Benjamin <matt@linuxbox.nu>
3314         * objcopy.c (struct redefine_node): New.
3315         (redefine_sym_list): New.
3316         (redefine_list_append): New.
3317         (lookup_sym_redefinition): New.
3318         (OPTION_REDEFINE_SYM): New.
3319         (copy_options): Add --redefine-sym option.
3320         (copy_usage): Mention it.
3321         (filter_symbols): Rename symbols on redefine_sym_list.
3322         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3323         (copy_main): Handle OPTION_REDEFINE_SYM.
3325 2000-04-04  H.J. Lu  <hjl@gnu.org>
3327         * readelf.c (process_symbol_table): Correctly read in symbol
3328         versioning information.
3330 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3332         * po/binutils.pot: Regenerate.
3334         * addr2line.c (usage): Restore translated part of bug string.
3335         * ar.c (usage): Likewise.
3336         * nlmconv.c (show_usage): Likewise.
3337         * nm.c (usage): Likewise.
3338         * objcopy.c (copy_usage): Likewise.
3339         (strip_usage): Likewise.
3340         * objdump.c (usage): Likewise.
3341         * readelf.c (usage): Likewise.
3342         * size.c (usage): Likewise.
3343         * strings.c (usage): Likewise.
3344         * windres.c (usage): Likewise.
3346         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3347         (DEP): Quote when passing vars to sub-make.  Add warning
3348         message to end.
3349         (DEP1): Rewrite for "gcc -MM".
3350         (CLEANFILES): Add DEP2.
3351         Update dependencies.
3352         * Makefile.in: Regenerate.
3354 2000-04-04  H.J. Lu  <hjl@gnu.org>
3356         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3357         (arparse.h): Depend on arparse.c
3358         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3360 2000-04-03  H.J. Lu  (hjl@gnu.org)
3362         * size.c (usage): Use REPORT_BUGS_TO.
3364 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3366         * bucomm.h: #include "bin-bugs.h"
3367         * addr2line.c (usage): Use REPORT_BUGS_TO.
3368         * ar.c (usage): Likewise.
3369         * nlmconv.c (show_usage): Likewise.
3370         * nm.c (usage): Likewise.
3371         (OPTION_TARGET): Define.
3372         (long_options): Use OPTION_TARGET rather than 200.
3373         (main): Likewise.
3375         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3376         (strip_usage): Likewise.
3377         * objdump.c (usage): Likewise.
3378         * readelf.c (usage): Likewise.
3379         * strings.c (usage): Likewise.
3380         * windres.c (usage): Likewise.
3382 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3384         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3386 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3388         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3389         string offsets in corrupt stabs entries.
3391 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3393         * readelf.c: Include elf/avr.h
3394         (dump_relocations): Add EM_AVR case.
3396 2000-03-09  Tim Waugh  <twaugh@redhat.com>
3398         * strings.1: Correct '-bytes' to '--bytes'.
3400 2000-03-08  H.J. Lu  <hjl@gnu.org>
3402         * Makefile.am (install-exec-local): Depend on
3403         install-binPROGRAMS for parallel make.
3404         * Makefile.in: Regenerated.
3406 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
3408         From Brad Lucier <lucier@math.purdue.edu>:
3409         * readelf.c (process_dynamic_segment): Add cast to make sure
3410         argument to %* is int.
3412 2000-02-25  H.J. Lu  <hjl@gnu.org>
3414         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3416 2000-02-24  Nick Clifton  <nickc@cygnus.com>
3418         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3419         * configure: Regenerate.
3421         * dlltool.c: Add support for sh-pe and mips-pe targets.
3422         * rescoff.c: Add support for sh-pe and mips-pe targets.
3424 2000-02-23  H.J. Lu  <hjl@gnu.org>
3426         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3428 2000-02-22  Nick Clifton  <nickc@cygnus.com>
3430         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3432 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
3434         From Brad Lucier <lucier@math.purdue.edu>:
3435         * readelf.c (process_version_sections): Add casts to make sure
3436         argument to %* is an int.
3437         (process_mips_specific): Add casts to make printf arguments match
3438         format.
3440 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
3442         * objdump.c (dump_section_header): Change `opb' to unsigned.
3443         (find_symbol_for_address): Same here.
3444         (disassemble_data): And here.  Change `addr_offset',
3445         `stop_offset', `nextstop_offset' to unsigned long.
3446         (dump_data): Change opb to unsigned.
3448 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
3450         * resrc.c: Remove unmatched #if for cygwin.
3452 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3454         * binutils.texi: Document the change of flavor name from atpcs-special
3455         to special-atpcs to prevent name conflict in gdb.
3457 2000-02-08  Timothy Wall  <twall@redhat.com>
3459         * objdump.c (show_line): Fix bug preventing printing of the very
3460         first line (line zero) of a file when interlisting source and
3461         assembly.  Added option to print entire context from start of file
3462         when the first line from that file is encountered.
3464 2000-02-03  Timothy Wall <twall@redhat.com>
3466         * objdump.c (dump_section_header, find_symbol_for_address,
3467         show_line, disassemble_bytes, disassemble_data, dump_data):
3468         distinguish between octets and bytes.
3470 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
3472         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3473         check to unresolved symbols.
3474         (print_symbol_info_sysv):  Ditto.
3475         (print_symbol_info_posix):  Ditto.
3477         * binutils.texi: Document new 'V' symclass flag for nm.
3479 2000-01-27  Nick Clifton  <nickc@redhat.com>
3481         * binutils.texi (objdump): Document new ARM specific
3482         disassembler options.
3484         * objdump.c (usage): Call disassembler_usage().
3486 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
3488         * readelf.c (get_dynamic_flags): Return buff.
3489         (process_dynamic_segment): Don't pass error strings to printf
3490         as format arg.
3491         (read_and_display_attr): Use lx and ld to print longs.
3492         (process_corefile_note_segment): Cast bfd_vma to unsigned long
3493         before printing.
3494         Update copyright.
3496 2000-01-17  Nick Clifton  <nickc@cygnus.com>
3498         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3500 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
3502         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3503         false.
3504         (debug_tag_type): Here too.
3505         * ieee.c (ieee_builtin_type): And here.
3506         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3508 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3510         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3511         System/370".
3513 2000-01-11  Nick Clifton  <nickc@cygnus.com>
3515         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3517 2000-01-10  Nick Clifton  <nickc@cygnus.com>
3519         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3521 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
3523         * windres.c (long_options): Add --use-temp-file and
3524         --no-use-temp-file options.
3525         (usage): Document.
3526         (main): Handle.
3528         * windres.h: Update read_rc_file prototype.
3530         * resrc.c (cpp_temp_file): New static variable.
3531         (istream_type): New static variable.
3532         (close_pipe): Delete function.
3533         (run_cmd): New static function.
3534         (open_input_stream): New static function.
3535         (close_input_stream): New static function.
3536         (look_for_default): Handle DOS directory separator. Use
3537         open_input_stream instead of popen.
3538         (read_rc_file): Likewise.
3540         * binutils.texi: Document --use-temp-file, --no-use-temp-file
3541         options.
3543 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3545         * dlltool.c (create_compat_implib): New variable.
3546         (gen_exp_file): Use.
3547         (make_one_lib_file): Use.
3548         (long_options): Add --compat-implib option.
3549         (usage): Handle.
3550         (main): Handle.
3552         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3553         (main): Use. Don't look for "32" in cygwin and mingw target names.
3555 2000-01-03  Nick Clifton  <nickc@cygnus.com>
3557         * binutils.texi: Document new, ARM specific disassembler
3558         command line switch "-M force-thumb".
3560 For older changes see ChangeLog-9899
3562 Local Variables:
3563 mode: change-log
3564 left-margin: 8
3565 fill-column: 74
3566 version-control: never
3567 End: