* readelf.c Replace occurrences of Elf32_Internal_* and
[binutils-gdb.git] / binutils / ChangeLog
index a4d3183d9dc9ba055bcc566ee4a4cd2db441fba0..8e9f5ba29eda60a51ff414290cee0b007c40585a 100644 (file)
@@ -1,3 +1,219 @@
+2002-11-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c Replace occurrences of Elf32_Internal_* and
+       Elf64_Internal_* with Elf_Internal_*.
+       (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
+       Zero r_addend fields.
+       (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
+       Elf_Internal_Rela.
+
+2002-11-23  Nick Clifton  <nickc@redhat.com>
+
+       * size.c (usage): Fix typo describing switch for hex format.
+
+2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
+       * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
+       testcase
+
+2002-11-14  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (process_program_headers): Add comment about return
+       value.  Ensure that 0 is returned if the headers are not loaded.
+       (process_file): If process_section_headers failed to load the
+       headers disable any tests that rely upon them.  Similarly for
+       process_program_headers.
+
+2002-11-12  Nick Clifton  <nickc@redhat.com>
+
+       * po/da.po: Updated Danish translation.
+
+2002-11-12  Klee Dienes  <kdienes@apple.com>
+
+       * rddbg.c (read_section_stabs_debugging_info): Also recognize
+       LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
+
+2002-11-11  Christopher Faylor  <cgf@redhat.com>
+
+       * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
+       cgf maintainership.
+
+2002-11-11  Christopher Faylor  <cgf@redhat.com>
+
+       * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
+
+2002-11-07  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add 'da'.
+       * configure: Regenerate.
+       * po/da.po: New Danish translation.
+
+       * readelf.c (get_symbol_index_type): Revert part of previous
+       patch: Display unknown symbol types in decimal, not hex.
+
+2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * dlltool.c (add_excludes): Don't prefix excluded fastcall
+       symbols with underscore.
+       (xlate): Ignore add_underscore for decorated fastcall symbols.
+
+2002-11-07  Eric Kohl  <ekohl@rz-online.de>
+
+       * deflex.l: Accept '@' as first character of an ID.
+       * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
+       ASM_PREFIX for fastcall symbols.
+       (scan_drectve_symbols): Handle fastcall symbols when generating
+       undecorated aliases for symbols in drectve section.
+       (scan_filtered_symbols): Likewise, with export-all.
+       (xlate): Likewise, with --kill-at.
+       (make_imp_label): New function to handle fastcall symbols
+       correctly.
+       (make_one_lib_file): Use make_imp_label instead of make_label
+       for imp symbols.
+
+2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * MAINTAINERS: Add self as TIC4X maintainer.
+
+2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
+
+       * readelf.c (get_symbol_index_type): Add hex number to
+       PROCESSOR-specific, OS-specific, reserved and unknown symbol
+       types.
+
+2002-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (byte_get_little_endian): Comment typo fix.
+       (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
+       as the format string.
+       (dump_relocations): Correct section sym names.
+       (process_section_headers): Clear symtab_shndx_hdr.
+       (read_and_display_attr_value): Don't pass indirect string to printf
+       as the format string.
+       (display_debug_frames): Indicate when zero terminator found.  Decode
+       DW_EH_PE_pcrel addresses.
+
+2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
+       order to ensure proper disassembly of the valid 0-value opcode.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * po/binutils.pot: Regenerate.
+
+2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * MAINTAINERS: Add self as SH maintainer.
+
+2002-10-23  Ben Elliston  <bje@redhat.com>
+
+       * doc/binutils.texi (objdump): Document -z and move the entry for
+       --disassemble-zeroes to the end of the options section (for `z').
+
+2002-10-21  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
+
+2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * objdump.c (dump_data): Correct addr_offset for opb != 1.
+
+2002-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * bucomm.c (list_supported_targets): Use bfd_target_list.
+
+       * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
+       other object errors in preference to bfd_core errors.
+
+2002-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * objdump.c: #include "bfdver.h".
+       * version.c: Likewise.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * readelf.c (display_debug_info): Ignore empty .rela.debug_info
+       sections.  Allow relocations against the absolute symbol.  Don't
+       use the value in compunit.cu_abbrev_offset if we found a RELA
+       relocation.
+
+2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
+
+       * addr2line.c (slurp_symtab): Read in dynamic symbols if no
+       ordinary ones are available.
+
+2002-09-30  H.J. Lu <hjl@gnu.org>
+
+       * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
+       E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
+
+2002-09-17  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.am (CFILES): Add cxxfilt.c.
+       (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
+       (cxxfilt_LDADD): Delete.
+       Remove all references to underscore.c.
+       Regen dependencies.
+       * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
+       config.h from $UNDERSCORE, rather than AC_SUBSTing it.
+       * binutils/cxxfilt.c: Moved here from gcc/cp, minor
+       adjustments to fit into binutils framework.
+       * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
+
+2002-09-12  Roland McGrath  <roland@redhat.com>
+
+       * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
+       Handle DW_OP_GNU_push_tls_address.
+
+2002-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/tr.po: Updated Turkish translation.
+
+2002-09-10  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
+       testsuite changes.  Add paragraphs about testsuite and config
+       patches.
+
+2002-08-29  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_flags): Remove redundant reference to
+       E_V850EA_ARCH.
+
+2002-08-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c (dump_bfd): Restore lines accidentally deleted in
+       last commit.
+
+2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+       * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
+       (dump_bfd_header): Likewise.
+
+2002-08-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * nm.c: Revert last change.
+
+2002-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * nm.c (display_rel_file): Don't report "no symbols" as an error.
+       * objdump.c (slurp_symtab): Likewise.
+       (slurp_dynamic_symtab): Likewise.
+       (dump_symbols): Likewise.  Do print "no symbols" to stdout.
+
+2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
+
+       * MAINTAINERS: Change my mailing address.
+
 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
        * po/fr.po: Updated French translation.
 
 2002-07-24  Nick Clifton  <nickc@redhat.com>
        * po/fr.po: Updated French translation.
 
 2002-07-24  Nick Clifton  <nickc@redhat.com>
-       
+
        * po/es.po: Updated Spanish translation.
 
 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
        * po/es.po: Updated Spanish translation.
 
 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
 
        * nm.c (print_size_symbols): Remove assignment, which makes
 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
 
        * nm.c (print_size_symbols): Remove assignment, which makes
-       the symbol's size equal to its value when --size-sort is 
+       the symbol's size equal to its value when --size-sort is
        used.
 
 2002-06-18  Dave Brolley  <brolley@redhat.com>
        used.
 
 2002-06-18  Dave Brolley  <brolley@redhat.com>
        DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
 
 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
        DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
 
 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
-       
+
        * nm.c: When computing size of symbols for an ELF target use the
        internal size field.
 
        * nm.c: When computing size of symbols for an ELF target use the
        internal size field.
 
        bfd_find_nearest_line is non-NULL.
 
 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
        bfd_find_nearest_line is non-NULL.
 
 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
-    
-        * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
+
+       * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
 
 2002-04-24  Christian Groessler <chris@groessler.org>
 
 
 2002-04-24  Christian Groessler <chris@groessler.org>
 
 
 2002-04-15  Eric Kohl <ekohl@rz-online.de>
 
 
 2002-04-15  Eric Kohl <ekohl@rz-online.de>
 
-       * rcparse.y: Allow two to five parameter in FONT statement of 
+       * rcparse.y: Allow two to five parameter in FONT statement of
        DIALOGEX resources.
        * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
        resource data.
        DIALOGEX resources.
        * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
        resource data.
-        (res_to_bin_dialog): Likewise.
+       (res_to_bin_dialog): Likewise.
        * windres.h: Added misssing charset variable to dialog_ex
        structure.
 
        * windres.h: Added misssing charset variable to dialog_ex
        structure.
 
 
 2002-04-09  Bernd Herd <info@herdsoft.com>
 
 
 2002-04-09  Bernd Herd <info@herdsoft.com>
 
-       * rcparse.y: CLASS definitions in DIALOG resources 
+       * rcparse.y: CLASS definitions in DIALOG resources
        are quoted.
        Fix typo in BEDIT warning.
        Don't add default dialog style when explicit style specified.
        are quoted.
        Fix typo in BEDIT warning.
        Don't add default dialog style when explicit style specified.
 
 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
 
 
 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
 
-       * readelf.c (dump_relocations): Display 2nd and 3rd reloc 
-       types for 64-bit MIPS.  Narrow some fields for 80-char 
+       * readelf.c (dump_relocations): Display 2nd and 3rd reloc
+       types for 64-bit MIPS.  Narrow some fields for 80-char
        output.
        output.
-       (dump_relocations): Change spelling from 'unrecognised' 
+       (dump_relocations): Change spelling from 'unrecognised'
        to 'unrecognized'.
        (decode_ARM_machine_flags): Likewise.
        (parse_args): Likewise.
        to 'unrecognized'.
        (decode_ARM_machine_flags): Likewise.
        (parse_args): Likewise.
        (main): Accept -H as an alias for --help.
        * objcopy.c (strip_main): Accept -H as an alias for --help.
        * objdump.c (main): Accept -v as an alias for --verbose.
        (main): Accept -H as an alias for --help.
        * objcopy.c (strip_main): Accept -H as an alias for --help.
        * objdump.c (main): Accept -v as an alias for --verbose.
-        * readelf.c (usage): Adjust format to match style used in
+       * readelf.c (usage): Adjust format to match style used in
        other binutils.
        * size.c (usage): Update text to provide verbose description
        of the command line options.
        other binutils.
        * size.c (usage): Update text to provide verbose description
        of the command line options.
 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * objcopy.c (copy_usage): Use "options" instead of "switches".
 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * objcopy.c (copy_usage): Use "options" instead of "switches".
-        (strip_usage): Use "options" instead of "switches".
+       (strip_usage): Use "options" instead of "switches".
        * doc/binutils.texi (dlltool):  Refer to "options" instead of
        * doc/binutils.texi (dlltool):  Refer to "options" instead of
-        "switches".
+       "switches".
 
 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
 
 
 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
 
 
 2001-08-03  John Healy  <jhealy@redhat.com>
 
 
 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.
+       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>
 
 
 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
 
 
 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
 
 
 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.
+       * 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>
        * NEWS: Mention new switch.
 
 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
 
 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
 
 
 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
 
-        * Makefile.am: Move documentation into doc subdirectory.
-        * Makefile.in: Regenerated.
+       * Makefile.am: Move documentation into doc subdirectory.
+       * Makefile.in: Regenerated.
        * binutils.texi: Move into doc subdirectory.
        * 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.
+       * 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.
        * doc: New Directory.
        * doc/Makefile.am: New file.
        * doc/Makefile.in: Generate.
 
 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
 
 
 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
 
-        * NEWS: Announce support for OpenRISC.
+       * NEWS: Announce support for OpenRISC.
 
 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
 
 
 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>