2001-08-25 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index dddbb35e87b68b1fcef65f03148955c4b3bfad45..f186ff6f1df6a45aa0221fc920f978c4bb1560f9 100644 (file)
@@ -1,3 +1,528 @@
+2001-08-25  H.J. Lu  <hjl@gnu.org>
+
+       * nm.c (print_width): New.
+       (display_rel_file): Set `print_width' according to
+       bfd_sprintf_vma.
+       (print_symbol_info_bsd): Check `print_width' instead of BFD64.
+
+2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * objcopy.c (use_alt_mach_code): New variable.
+       (OPTION_ALT_MACH_CODE): Define.
+       (copy_options): Added --alt-machine-code.
+       (copy_main): Handle it.
+       (copy_object): Switch to alternate machine code if requested.
+       * doc/binutils.texi: Document new option.
+       * NEWS: Likewise.
+
+2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
+
+2001-08-21  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
+       (display_debug_info): Cast for 64bit hosts.
+       (display_debug_frames): Likewise.
+       (process_mips_specific): Likewise.
+
+2001-08-21  Andreas Jaeger  <aj@suse.de>
+
+       * coffgrok.h: Add missing parameter for prototype of coff_grok.
+
+       * sysdump.c: Add missing prototypes.
+       * srconv.c: Likewise.
+       * unwind-ia64.c: Likewise.
+       * coffdump.c: Likewise.
+
+       * sysinfo.y: Print prototypes, include <ansidecl.h>.
+
+       * coffgrok.c: Add missing prototypes, include libiberty.h instead
+       of declaring xcalloc.
+
+2001-08-10  H.J. Lu  <hjl@gnu.org>
+
+       * nm.c (print_value): Add one arg, bfd *.
+       (print_value): Replace fprintf_vma with bfd_fprintf_vma.
+       (print_symbol_info_bsd): Also pass `abfd' to print_value ().
+       (print_symbol_info_sysv): Likewise.
+       (print_symbol_info_posix): Likewise.
+
+       * objdump.c (dump_section_header): Replace printf_vma with
+       bfd_printf_vma.
+       (print_section_stabs): Likewise.
+       (dump_bfd_header): Likewise.
+       (objdump_print_value): Replace sprintf_vma with
+       bfd_sprintf_vma.
+       (disassemble_bytes): Likewise.
+       (dump_reloc_set): Likewise.
+
+2001-08-10  Andreas Jaeger  <aj@suse.de>
+
+       * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
+       to build warnings.
+       * configure: Regenerate.
+
+2001-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c: Add missing prototypes.
+       * objdump.c: Likewise.  Format existing prototypes.
+
+2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * readelf.c (display_debug_info): Add to abbrev_offset the addend
+       of any RELA relocation for the abbrev_offset memory location that
+       refers to the .debug_abbrev section symbol.
+
+2001-08-07  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (process_file): Return 0 if OK, otherwise return 1.
+       (main): Return process_file ().
+
+2001-08-05  Philip Blundell  <philb@gnu.org>
+
+       * doc/binutils.texi: Use "Thumb" not "THUMB".
+
+2001-08-03  John Healy  <jhealy@redhat.com>
+
+        Patch suggested by Frank Eigler <fche@redhat.com>.
+        * objdump.c (disassemble_data): Fill in section member of the
+        disasm_info structure.
+
+2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
+
+       * configure.in: Added --with-windres option.
+       * configure: Regenerated.
+
+2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * doc/binutils.texi: Use @command{name} for commands;
+       use @option{-opt} for options; use @table @env for list of options;
+       remove spaces arround [ | ] in synopsis.
+
+       * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
+       center title.
+
+2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
+
+        * objcopy.c: Fix formatting.
+        (section_rename): New structure.
+        (OPTION_RENAME_SECTION): New switch.
+        (copy_usage): Document new switch.
+        (add_section_rename): New function: Add a node to the section
+        rename list.
+        (find_section_rename): New function: Find the new name and
+        flags for a section.
+        (setup_section): Call find_section_name to determine the name
+        of the output section.
+        (copy_main): Handle OPTION_RENAME_SECTION.
+        * binutils.texi: Document new switch.
+       * NEWS: Mention new switch.
+
+2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
+       * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
+       bug-binutils@gcc.org.
+
+2001-07-28  Matthias Kramm  <kramm@quiss.org>
+
+       * bucomm.c (list_supported_architectures): New function.
+       * bucomm.h (list_supported_architectures): Declare.
+       * objdump.c (usage): Call the above.
+
+2001-07-25  Dave Brolley  <brolley@redhat.com>
+
+       * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
+       (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
+
+2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * README: Update for 2.11.  Change bug reporting email address.
+       * MAINTAINERS: Tidy up.  Change bug reporting email address.
+
+2001-07-16  DJ Delorie  <dj@redhat.com>
+
+       * resres.c (write_res_header): Align header size.
+       (res_align_file): Calculate alignment correctly.
+
+       * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
+       correct 10).
+       * resrc.c (write_rc_resource): Likewise.
+       * windres.h (SUBLANG_SHIFT): Define - as 10.
+
+2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
+
+2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * MAINTAINERS: Add notes about branch checkins.
+
+2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
+
+       * readelf.c (display_debug_macinfo): New function, display
+       .debug_macinfo section.
+       (do_debug_macinfo): New variable.
+       (parse_args): Handle "-w[mM]" to mean display macro info.
+       (process_section_headers): Handle debug_macinfo.
+       (debug_displays): Replace unsupported function with macinfo
+       function for .debug_macinfo display.
+       * doc/binutils.texi: Document new command line switch.
+       * NEWS: Document new feature of readelf.
+
+2001-07-05  H.J. Lu  <hjl@gnu.org>
+
+       * objcopy.c (filter_symbols): Don't turn undefined symbols
+       into local.
+
+2001-07-03  H.J. Lu <hjl@gnu.org>
+
+       * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
+       $@.pod.
+       (ar.1): Likewise.
+       (dlltool.1): Likewise.
+       (nlmconv.1): Likewise.
+       (nm.1): Likewise.
+       (objcopy.1): Likewise.
+       (objdump.1): Likewise.
+       (ranlib.1): Likewise.
+       (readelf.1): Likewise.
+       (size.1): Likewise.
+       (strings.1): Likewise.
+       (strip.1): Likewise.
+       (windres.1): Likewise.
+       (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
+       ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
+       $(DEMANGLER_NAME).
+       (as.1): Removed.
+       * doc/Makefile.in: Regenerated.
+
+2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
+
+2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
+
+       * readelf.c: Support DWARF 2.1 tags, encodings, languages.
+
+2001-06-29  James Cownie <jcownie@etnus.com>
+
+       * readelf.c: Support DWARF 2.1 attributes.
+
+2001-06-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (GET_DATA_ALLOC): Remove.
+       (GET_DATA): Remove.
+       (get_data): New function combining above macros, with an extra
+       test for zero size.
+       (slurp_rela_relocs): Use get_data, and catch error return.
+       (slurp_rel_relocs): Likewise.
+       (get_32bit_program_headers): Likewise.
+       (get_64bit_program_headers): Likewise.
+       (get_32bit_section_headers): Likewise.
+       (get_64bit_section_headers): Likewise.
+       (get_32bit_elf_symbols): Likewise.
+       (get_64bit_elf_symbols): Likewise.
+       (process_section_headers): Likewise.
+       (process_relocs): Likewise.
+       (slurp_ia64_unwind_table): Likewise.
+       (process_unwind): Likewise.
+       (get_32bit_dynamic_segment): Likewise.
+       (get_64bit_dynamic_segment): Likewise.
+       (process_dynamic_segment): Likewise.
+       (process_version_sections): Likewise.
+       (process_symbol_table): Likewise.
+       (dump_section): Likewise.
+       (display_debug_info): Likewise.
+       (display_debug_section): Likewise.
+       (process_section_contents): Likewise.
+       (process_corefile_note_segment): Likewise.
+       (process_mips_specific): Likewise.  Also free econf32, econf64.
+
+2001-06-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (dump_relocations): Print "bad symbol index" if
+       symtab == NULL with non-zero symtab_index.
+       (process_relocs): Don't bomb if reloc section has no symsec.
+
+2001-06-24  H.J. Lu  <hjl@gnu.org>
+
+       * objcopy.c (strip_main): Revert the change made on 2001-05-30
+       by accident.
+       (copy_main): Apply the the change made to strip_main on
+       2001-05-30 by accident.
+
+2001-06-23  Andreas Jaeger  <aj@suse.de>
+
+       * unwind-ia64.c (unw_decode_x1): Add unused attribute for
+       parameter 'code'.
+       (unw_decode_x2): Likewise.
+       (unw_decode_x3): Likewise.
+       (unw_decode_x4): Likewise.
+
+2001-06-23  Ben Elliston  <bje@redhat.com>
+
+       * MAINTAINERS: Add myself as M88k maintainer.
+
+2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
+
+       * objcopy.c (strip_main): Support -o or --output-file command lien
+       switch.
+
+2001-06-19  H.J. Lu <hjl@gnu.org>
+
+       * doc/Makefile.in: Regenerated.
+
+2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * readelf.c: Restore formatting.
+
+2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
+
+        * Makefile.am: Move documentation into doc subdirectory.
+        * Makefile.in: Regenerated.
+       * binutils.texi: Move into doc subdirectory.
+        * addr2line.1: Removed.
+        * ar.1: Likewise.
+        * dlltool.1: Likewise.
+        * nlmconv.1: Likewise.
+        * nm.1: Likewise.
+        * objcopy.1: Likewise.
+        * objdump.1: Likewise.
+        * ranlib.1: Likewise.
+        * readelf.1: Likewise.
+        * size.1: Likewise.
+        * strings.1: Likewise.
+        * strip.1: Likewise.
+        * windres.1: Likewise.
+        * cxxfilt.man: Likewise.
+       * doc: New Directory.
+       * doc/Makefile.am: New file.
+       * doc/Makefile.in: Generate.
+
+2001-06-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
+
+2001-06-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * MAINTAINERS: Update my email address.
+
+2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
+
+       * objcopy.c: Add new switches: --keep-global-symbol,
+       --keep-symbols, --localize-symbols, --keep-global-symbols and
+       --weaken-symbols.
+       * binutils.texi: Document new switches.
+       * objcopy.1: Regenerate.
+       * NEWS: Announce new feature.
+
+2001-05-28  Andreas Jaeger  <aj@suse.de>
+
+       * readelf.c (display_debug_frames): Fix warnings: Remove unused
+       variables, fix format strings.
+
+2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * objdump.c (disassemble_bytes): Remove section VMA adjustment
+       when computing the address of the line to show.
+
+2001-05-16  Richard Henderson  <rth@redhat.com>
+
+       * readelf.c (do_debug_frames_interp): New.
+       (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
+       (byte_get_big_endian): Likewise.
+       (parse_args) ['F']: Set do_debug_frames_interp.
+       (Frame_Chunk): Make data_factor signed, add fde_encoding.
+       (frame_display_row): Don't trunc pc_begin to int.
+       (size_of_encoded_value): New.
+       (display_debug_frames): Handle 64-bit targets.  Print raw data
+       unless do_debug_frames_interp.
+       (debug_displays): Remove duplicate .debug_frame.
+
+2001-05-15  Ralf Baechle  <ralf@gnu.org>
+
+       * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
+       The former constant was never in active use and is used otherwise
+       by the ABI.
+
+2001-05-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (process_unwind): Print all unwind sections, not just
+       one.
+
+2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * readelf.c (process_unwind): Remove const specifier.
+
+2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
+
+       * strings.c (isgraphic): Do not use isascii() unless it is needed
+       for isprint() to work.
+       (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
+
+2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
+
+        * NEWS: Announce support for OpenRISC.
+
+2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * dlltool.c (do_default_excludes): Initialise to true.
+
+2001-04-10  Alan Modra  <amodra@one.net.au>
+
+       * MAINTAINERS: Update my email address
+       * nm.c (print_symbol_info_bsd): Use a simple printf string.
+
+2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
+
+       * readelf.c (display_debug_lines): Fix typo for "Prologue".
+
+2001-03-30  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (process_unwind): Just return if do_unwind is 0.
+
+2001-03-28  Roger Sayle  <roger@metaphorics.com>
+
+       * dlltool.c (make_one_lib_file): Fix section flags for
+       .text, .data and .bss in stub ds*.o files to match those
+       generated by gas.
+
+2001-03-29  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (process_unwind): Only do unwind sections for
+       IA64.
+
+2001-03-28  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
+       * Makefile.in: Regenerate.
+
+2001-03-26  Andreas Jaeger  <aj@suse.de>
+
+       * binutils.texi (nm): Fix texi syntax.
+
+2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * binutils.texi: Put @c man begin and @c man end indications
+       to generate man pages using texi2pod and pod2man. Put @c man title
+       to identify each man. Add SEEALSO entries.
+       * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
+       (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
+       sort the list.
+       (*.1): Build the man pages from binutils.texi.
+       * Makefile.in: Regenerate.
+
+2001-03-13  Eric Kohl  <ekohl@rz-online.de>
+
+       * defparse.y (opt_equal_name): allow "." in name.
+       * dlltool.c (def_exports): Added ability to generate forwarded exports.
+       (gen_exp_file): Likewise.
+
+2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
+
+       * NEWS: Document addition of -B switch to objcopy.
+       * binutils.texi:  Document addition of -B switch to objcopy.
+       * objcopy.c: (copy_options): Add --binary-architecture.
+       (copy_usage): Document -B/--binary-architecture.
+       (copy_main): Support -B/--binary-architecture.  Set
+       bfd_external_binary_architecture.
+
+2001-03-11  Andreas Jaeger  <aj@suse.de>
+
+       * readelf.c (guess_is_rela): Handle EM_S390_OLD.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+
+2001-02-28  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c: (struct unw_aux_info): Remove const modifier for
+       'strtab' field.
+       (process_unwind): Remove non-K&R compliant LHS type cast in call
+       to GET_DATA_ALLOC macro.
+
+2001-02-28  Philip Blundell  <pb@futuretv.com>
+
+       * readelf.c (decode_ARM_machine_flags): Explicitly mention which
+       ABI is in use; remove ambiguity between the "unknown" EABI and
+       unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
+       renamed EF_xx constants.
+
+2001-02-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * configure.in (BFD_VERSION): New.
+       (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
+       * configure: Regenerate.
+       * Makefile.am: Run "make dep-am"
+       * Makefile.in: Regenerate.
+
+2001-02-14  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add "Obvious Fix" rule.
+
+2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
+       literal concatenation.
+
+2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * readelf.c (struct unw_aux_info): Remove const from the info member.
+       (process_unwind): Don't type-cast the third argument to the
+       GET_DATA_ALLOC macro.
+
+2001-02-11  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (dump_relocations): Free corrected allocated
+       array.
+       (process_unwind): Fix compile time warning.
+
+2001-02-10  Nick Clifton  <nickc@redhat.com>
+
+       * binutils.texi: Document new --unwind option to readelf.
+
+2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * readelf.c: Add linux target for S/390.
+
+2001-02-10  Alan Modra  <alan@linuxcare.com.au>
+
+       * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
+       printf is a macro.
+
+2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * acinclude.m4 (AM_PROG_LEX): Override installed definition.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2001-02-07  Todd Vierling  <tv@wasabisystems.com>
+
+       * bucomm.c (bfd_target_vector): Change extern array to pointer.
+       * objdump.c (bfd_target_vector): Likewise.
+
+2001-02-07  David Mosberger  <davidm@hpl.hp.com>
+
+       * readelf.c (process_unwind): New function.
+       (slurp_ia64_unwind_table): Ditto.
+       (dump_ia64_unwind): Ditto.
+       (find_symbol_for_address): Ditto.
+       (slurp_rela_relocs): New function (split off from dump_relocations()).
+       (slurp_rel_relocs): Ditto.
+       (parse_args): Handle '-u' option.
+
+       * unwind-ia64.c: New file.
+       * unwind-ia64.h: New file.
+       * Makefile.am: Include unwind-ia64.c in readelf build.
+       * Makefile.in: Regenerate.
+       * po/binutils.pot: Regenerate.
+
+2001-02-04  Philip Blundell  <philb@gnu.org>
+
+       * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
+       * configure: Regenerate.
+
 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
 
        * ieee.c (ieee_add_bb11): Don't check for backslashes
@@ -328,15 +853,15 @@ Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
 
 2000-07-20  H.J. Lu  <hjl@gnu.org>
 
-       * binutils/binutils.texi: Put back "@end table" deleted by
+       * binutils.texi: Put back "@end table" deleted by
        accident.
 
 2000-07-05  Kenneth Block  <krblock@computer.org>
 
-       * binutils/nm.c: Add optional style to demangle switch.
-       * binutils/objdump.c: Add optional style to demangle switch.
-       * binutils/addr2line.c: Add optional style to demangle switch.
-       * binutils/binutils.texi: Document optional style to demangle
+       * nm.c: Add optional style to demangle switch.
+       * objdump.c: Add optional style to demangle switch.
+       * addr2line.c: Add optional style to demangle switch.
+       * binutils.texi: Document optional style to demangle
        switch.
 
 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
@@ -649,7 +1174,7 @@ Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
 
 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
 
-       * readelf (dynamic_segment_mips_val): Call `sprintf', not
+       * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
        `strftime' since strftime is not available on all systems.
        (process_mips_specific): Ditto.
 
@@ -902,7 +1427,7 @@ Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        * configure.in: Add arm-wince, mips-pe and sh-pe targets.
        * configure: Regenerate.
 
-       * dlltoolc.: Add support for sh-pe and mips-pe targets.
+       * dlltool.c: Add support for sh-pe and mips-pe targets.
        * rescoff.c: Add support for sh-pe and mips-pe targets.
 
 2000-02-23  H.J. Lu  <hjl@gnu.org>
@@ -947,7 +1472,7 @@ Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
 2000-02-03  Timothy Wall <twall@redhat.com>
 
-       * binutils/objdump.c (dump_section_header, find_symbol_for_address,
+       * objdump.c (dump_section_header, find_symbol_for_address,
        show_line, disassemble_bytes, disassemble_data, dump_data):
        distinguish between octets and bytes.
 
This page took 0.038887 seconds and 4 git commands to generate.