* readelf.c (process_file_header): Print extended e_shnum and
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 838a4bf29f70ab396eb739f9e554748386408eb7..dee8f60e950ff44d2d31e9f1e5335b602a1a733d 100644 (file)
@@ -1,3 +1,396 @@
+2001-12-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (process_file_header): Print extended e_shnum and
+       e_shdtrndx values.  Set elf_header values for same.
+       (get_32bit_section_headers): Add "num" arg to read "num" headers.
+       (get_64bit_section_headers): Likewise.
+       (process_section_headers): Update calls.
+       (get_file_header): Call get_32bit_section_headers or 64bit variant.
+
+2001-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * objcopy.c (setup_section): Copy entsize.
+
+2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
+
+       * readelf.c (guess_is_rela): Add support for stormy16.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+
+2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * dllwrap.c (main) Replace multiple strings describing a
+       single error with a single, newline escaped sentence to permit
+       better translation into foreign languages.
+
+       * readelf.c (get_elf_class): Remove internalionalisation of ELF
+       class names.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * strings.c (get_char): Initialize value.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * arlex.l: Silence compile warnings.
+       * arsup.h: Likewise. Fix formatting.
+
+2001-12-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * strings.c: Include config.h before bfd.h.
+       (file_off): New type.
+       (file_open): Define.
+       (print_strings): Use file_off instead of file_ptr.  Print addresses
+       which don't fit into long correctly.
+       (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
+       available.
+       (strings_file): Use file_off instead of file_ptr.  Use file_open.
+       * configure.in: Check for getc_unlocked.
+       Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
+       be defined for it.
+       * configure: Rebuilt.
+       * config.h.in: Rebuilt.
+
+2001-11-29  H.J. Lu <hjl@gnu.org>
+
+       * bucomm.c (make_tempname): Revert the changes made on
+       2001-11-14 and 2001-11-12. They won't work with directories.
+
+2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
+       CFLAGS_FOR_TARGET to runtest in environment.
+       * Makefile.in: Rebuild.
+       * doc/Makefile.in: Rebuild.
+
+2001-11-28  Mike Stump  <mrs@wrs.com>
+
+       * objcopy.c (setup_section): Preserve SEC_RELOC when
+       --set-section-flags is used.
+
+2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * readelf.c (do_debug_str): New variable.
+       (display_debug_str): New function: Display the contents of a
+       .debug_str section.
+       (load_debug_str): New function: Load in the contents of a
+       .debug_str section.
+       (free_debug_str): New function: Free the memory used by
+       load_debug_str().
+       (fetch_indirect_string): Retrieve a string from the .debug_str
+       section.
+       (usage): Add -ws.
+       (parse_args): Accept -ws.
+       (process_section_headers): Allow the display of the .debug_str
+       section.
+       (read_and_display_attr_value): Use fetch_indirect_string.  Show
+       offset into .debug_str section.
+       (display_debug_info): Use load_debug_str and free_debug_str.
+       (debug_displays): Add .debug_str.
+       * doc/binutils.texi: Document -ws.
+
+2001-11-19  Andreas Jaeger  <aj@suse.de>
+
+       * testsuite/binutils-all/objdump.exp: Add x86-64.
+
+2001-11-15  Andreas Schwab  <schwab@suse.de>
+
+       * readelf.c: Fix warnings without terminating newline.
+
+2001-11-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/binutils.texi (objdump): Document ppc -M options.
+
+2001-11-14  Andreas Jaeger  <aj@suse.de>
+
+       * doc/binutils.texi (objdump): Fix description to use x86-64.
+
+2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
+       not all systems provide mkstemp.
+
+2001-11-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/binutils.texi (objdump): Document x86 -M options.
+
+2001-11-13  Keith Walker <keith.walker@arm.com>
+
+       * readelf.c (read_and_display_attr_value): New function to
+       handle DW_FORM_indirect.
+       (read_and_display_attr): Use it.
+
+2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
+
+       * readelf.c (display_debug_lines): Deal with unknown standard
+       opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
+       DW_LNS_set_isa.
+
+2001-11-13  Timothy Wall  <twall@alum.mit.edu>
+
+       * MAINTAINERS: Add self as tic54x maintainer.  This target
+       includes the IBM C54XDSP clone.
+
+2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
+
+       * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
+
+2001-11-09  Jeffrey A Law  (law@cygnus.com)
+
+       * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
+       (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
+       (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
+       (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
+       (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
+       (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
+       (unw_decode_b2, unw_decode_b3_b4): Likewise.
+
+       * readelf.c (get_elf_class): Fix ISO portability glitch.
+       (get_data_encoding, get_osabi_name, request_dump): Likewise.
+
+2001-11-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (debug_str, debug_str_size): New.
+       (display_debug_abbrev): If no abbrevs were read, skip the CU.
+       Call free_abbrevs.
+       (read_and_display_addr): Handle DW_FORM_strp.
+       (display_debug_info): Read .debug_str section if present,
+       so that DW_FORM_strp can be handled.
+       Fix test for non-existant .debug_abbrev section.
+
+2001-11-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
+
+       * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
+
+2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * MAINTAINERS: Add self as s390/s390x maintainer.
+
+2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
+
+       * MAINTAINERS: Add self as PPC XCOFF maintainer.
+
+2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add "fr" and "tr".
+       * configure: Regernate.
+       * po/fr.po: New file.
+       * po/tr.po: New file.
+
+2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * MAINTAINERS: Add self as MMIX port maintainer.
+       * readelf.c: Include elf/mmix.h.
+       (guess_is_rela): MMIX is RELA.
+       (dump_relocations): Handle MMIX relocations.
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * readelf.c (parse_args): Handle multiple options to the -w
+       switch.
+
+2001-10-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (get_section_type_name): Don't print SHT_ prefix for
+       LOPROC, LOOS and LOUSER.
+
+2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
+
+       * MAINTAINERS: Update my email address.
+
+2001-10-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * readelf.c (display_debug_line, display_debug_pubnames,
+       display_debug_info, display_debug_frames): Detect and warn
+       about 64-bit format entries.
+       (display_debug_aranges): Reword 64-bit warning.
+       (debug_displays): Add .debug_pubtypes as a known, but not yet
+       supported, debug section.
+
+2001-10-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * coffdump.c (PROGRAM_VERSION): Delete.
+       (main <'V'>): Call print_version.
+       * srconv.c: Likewise.
+       * sysdump.c: Likewise.
+       * version.c (program_version): Remove.
+       (print_version): Use BFD_VERSION_STRING.  Just print the current
+       year in copyright message.
+       * addr2line.c (program_version): Remove unused declaration.
+       * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
+       place of BFD_VERSION.
+       * Makefile.am (Makefile): Depend on bfd/configure.in.
+       (cplus-dem.o): Depend on Makefile.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * readelf.c (display_debug_aranges): Detect and warn about DWARF64
+       format .debug_arange sections.
+       (main): Add missing prototype.
+
+2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * Makefile.am: Update dependencies with "make dep-am".
+       * Makefile.in: Regenerate.
+
+2001-09-28  Richard Henderson  <rth@redhat.com>
+
+       * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
+
+2001-09-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
+       VA_CLOSE.
+       (non_fatal): Likewise.
+       * objdump.c (objdump_sprintf): Likewise.
+       * readelf.c (error): Likewise.
+       (warn): Likewise.
+
+2001-09-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (do_wide): New.
+       (options): Add --wide.
+       (usage, parse_args): Likewise.
+       (process_program_headers): Put each segment on a single line if
+       --wide is given.
+       (process_section_headers): Put each section on a single line if
+       --wide is given.
+       * doc/binutils.texi: Document it.
+       * NEWS: Likewise.
+
+2001-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (print_vma): Print 8 digits of low hex value.
+
+2001-09-24  Andreas Jaeger  <aj@suse.de>
+
+       * nlmconv.c: Fix warnings about unused attributes and function
+       prototypes.
+
+       * strings.c: Add prototype for get_char.
+
+2000-09-19  H.J. Lu  <hjl@gnu.org>
+
+       * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
+       $(srcdir)/cxxfilt.man.
+       * doc/Makefile.in: Rebuild.
+
+2001-09-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * objcopy.c (copy_main): Correct rename-section string parsing.
+       Consolidate new_name parsing, and error messages.
+
+2001-09-18  Bruno Haible  <haible@clisp.cons.org>
+
+       * addr2line.c: Don't include <ctype.h>.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       * ar.c (main): Likewise.
+       * coffdump.c (main): Likewise.
+       * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       Use ISALNUM instead of isalpha/isdigit.
+       * dllwrap.c: Don't include <ctype.h>.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       Use TOUPPER instead of islower/toupper.
+       * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
+       (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
+       Use TOUPPER instead of islower/toupper.
+       * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
+       * objcopy.c (main): Likewise.
+       * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (disassemble_bytes): Use ISPRINT instead of isprint.
+       (dump_section_stabs): Use ISDIGIT instead of isdigit.
+       (dump_data): Use ISPRINT instead of isprint.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
+       (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
+       * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
+       Use TOUPPER instead of islower/toupper.
+       * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
+       * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (write_rc_accelerators): Use ISPRINT instead of isprint.
+       (write_rc_rcdata): Likewise.
+       * size.c (main): For gettext, also set the LC_CTYPE locate facet.
+       * srconv.c (main): Likewise.
+       * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
+       isdigit/isupper/islower.
+       (parse_stab_string, parse_stab_type, parse_stab_argtypes,
+       parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
+       stab_demangle_prefix, stab_demangle_qualified,
+       stab_demangle_template, stab_demangle_type,
+       stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
+       * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (isgraphic): Use ISPRINT instead of isascii/isprint.
+       (main): Remove HAVE_LC_MESSAGES dependency.
+       * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (pbarray): Use ISPRINT instead of isprint.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (format_from_filename): Use ISPRINT instead of isprint.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (unicode_print): Use ISPRINT instead of isprint.
+       * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (stab_variable): Use ISDIGIT instead of isdigit.
+
+2001-09-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * ar.c (print_contents): Cast args of bfd_seek to the right types.
+       Replace bfd_read call with call to bfd_bread.
+       (extract_file): Likewise.
+
+       * objdump.c (dump_section_header): Cast section->filepos to
+       unsigned long to suit printf format string.
+       * readelf.c (process_section_headers): Similarly for sh_offset.
+       (process_unwind): Likewise.
+
+2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * strings.c (encoding, encoding_bytes): New variables.
+       (long_options): Add --encoding.
+       (main): Accept -e and --encoding.
+       (get_char): New function.  Read a, possibly wide, character from
+       the input stream.
+       (print_strings): Use get_char().
+       (usage): Document new command line option.
+       * doc/binutils.texi: Document new command line option.
+       * NEWS: Announce new command line option.
+
+2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
+       get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
+       EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
+       Removed EM_CYGNUS_ARC.
+
+2001-09-04  Jeffrey A Law  (law@cygnus.com)
+
+       * readelf.c: Include elf/h8 for H8 series definitions.
+       (guess_is_rela): H8 series if RELA.
+       (dump_relocations): Handle H8 series relocations.
+
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+
+       * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
+
+2001-08-29  Peter Targett  <peter.targett@arccores.com>
+
+       * MAINTAINERS: Include ARC Maintainer.
+
 2001-08-29  Ben Elliston  <bje@redhat.com>
 
        * stabs.c (stab_demangle_template): Initialise s4.
 
        * readelf.c: Fix formatting.
 
-Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
+2000-12-11  Jan Hubicka  <jh@suse.cz>
 
        * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
 
@@ -663,7 +1056,7 @@ Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
 
 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
 
-       * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
+       * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
        Change sourceware.cygnus.com to sources.redhat.com.
        Fix typo for "amongst".
 
@@ -1159,13 +1552,13 @@ Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
        * srconv.c: Likewise.
        * sysdump.c: Likewise.
 
-Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
+2000-04-23  Denis Chertykov  <denisc@overta.ru>
 
        * readelf.c (guess_is_rela): AVR uses RELA relocations.
        (get_machine_name): machine name for EM_AVR added.
 
-Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
-                         David Mosberger  <davidm@hpl.hp.com>
+2000-04-21  Richard Henderson  <rth@cygnus.com>
+           David Mosberger  <davidm@hpl.hp.com>
 
        * Makefile.am (readelf.o): Add elf/ia64.h.
        * Makefile.in: Rebuild.
@@ -1190,7 +1583,7 @@ Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
        `strftime' since strftime is not available on all systems.
        (process_mips_specific): Ditto.
 
-Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
        --enable-build-warnings option.
This page took 0.03451 seconds and 4 git commands to generate.