]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
* dwarf.c (process_debug_info): Check for corrupt lengths.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index 41b184d5b8b7f8c26d7f274ac09eb7102e68adc3..94a8739fb7189f99111dff013a9a3445367e2aea 100644 (file)
+2007-10-28  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (process_debug_info): Check for corrupt lengths.
+       * readelf.c (get_reloc_type): New function.  Returns the reloc
+       number extracted from the info field of a reloc.
+       (get_reloc_symindex): New function.  Returns the symbol index
+       extracted from the info field of a reloc.
+       (dump_relocations): Use the new functions.
+       (slurp_ia64_unwind_table): Use the new functions.
+       (slurp_hppa_unwind_table): Use the new functions.
+       (dump_section_as_bytes): Use the new functions.
+       (get_reloc_size): Delete function.
+       (is_32bit_abs_reloc): New function.  Determines if a given reloc
+       type is a 32-bit absolute relocation.
+       (is_32bit_pcrel_reloc): New function.  Like is_32bit_abs_reloc but
+       for pc-relative relocations.
+       (is_64bit_abs_reloc): New function.  Like is_32bit_abs_reloc but
+       for 64-bit absolute relocations.
+       (is_16bit_abs_reloc): New function.  Like is_32bit_abs_reloc but
+       for 32-bit absolute relocations.
+       (debug_apply_rela_addends): Use the new functions.  Skip and warn
+       about any unrecognised relocations.
+
+2007-10-26  Karl Berry  <karl@freefriends.org>
+
+       * doc/binutils.texi: Move top stuff to the top.
+       Use @direntry/@dircategory, format entries to play nicely with
+       others.
+       Avoid duplicate copying strings.
+       Don't misspell "Texinfo".
+
+2007-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * readelf.c (display_power_gnu_attribute): Add support for
+       Tag_GNU_Power_ABI_Vector.
+
+2007-10-25  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+       * readelf.c (get_note_type): Handle NT_PPC_VMX.
+
+2007-10-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2007-10-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * strings.c (print_strings): Don't use %L, use %ll in printf
+       format strings.
+
+2007-10-24  Tristan Gingold  <gingold@adacore.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (process_program_headers): Use dynamic segment unless
+       dynamic section is found.
+
+2007-10-16  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
+       (objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
+       and change to spell out "for example" in two places.
+
+2007-10-16  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Build windows tools for --enable-targets=all.
+       * configure: Regenerate.
+
+2007-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c (print_line): Check fwrite return value.
+       * srconv.c (checksum, wr_tr, wr_cs): Likewise.
+       * sysdump.c (fillup): Return zero on getc or fread EOF.  Return count
+       read.
+
+2007-10-10  Jim Blandy  <jimb@codesourcery.com>
+
+       * dwarf.c (process_debug_info): Line up section offsets of
+       attribute values with those of dies.
+       (read_and_display_attr): Reduce spacing here.
+
+       * dwarf.c (display_debug_lines): Print the offset of each line
+       number program header.
+
+2007-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/4476
+       * readelf.c (print_dynamic_symbol): New.
+       (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols.
+
+2007-10-08  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * resrc.c (read_rc_file): Rename e to edit, and c to dir.
+       Pass dir to windres_add_include_dir.  Add comments.
+       (close_input_stream): Check pclose error, and call fatal if
+       the preprocessor failed.
+       * windres.c (windres_add_include_dir): Assert that p is non-NULL,
+       and not an empty string. 
+
+2007-10-04  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/5098
+       * dlltool.c: Fix spelling typos.
+
+2007-10-03  Masaki Muranaka  <monaka@monami-software.com>
+
+       * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
+
+2007-09-25  Thien-Thi Nguyen  <ttn@gnuvola.org>
+
+       * MAINTAINERS: Fix typo.
+
+2007-09-17  Shen Feng  <shen@cn.fujitsu.com>
+
+       * readelf.c (do_archive_index): New.
+       (options): Add -c and --archive-index option.
+       (usage): Add -c option.
+       (parse_args): Add c option parsing.
+       (process_archive): Dump archive index.
+       * NEWS: Mention the new feature.
+       * doc/binutils.texi: Document the new feature.
+
+2007-09-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2007-09-17  Nick Clifton  <nickc@redhat.com>
+
+       * doc/binutils.texi (objdump): Describe the output of the --syms
+       option in more detail. 
+
+2007-09-17  Alon Bar-Lev  <alon.barlev@gmail.com>
+
+       PR binutils/4987
+        * resrc.c: (read_rc_file): Move 'filename' default initialization 
+       to start of function.
+
+2007-08-31  Michael Meissner  <michael.meissner@amd.com>
+           Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       * NEWS: Add note about SSE5 being added on i386.
+
+2007-09-13  Alan Modra  <amodra@bigpond.net.au>
+           Zhou Drangon <drangon.mail@gmail.com>
+
+       * nm.c (value_format_64bit, set_print_radix, print_value): Handle
+       BFD_HOST_64BIT_LONG_LONG.
+       * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG.
+       (print_vma): Handle BFD_HOST_64BIT_LONG_LONG.
+       (dump_relocations): Likewise.  Expand _bfd_int64_low in a
+       number of places.
+
+2007-09-11  Kai Tietz  <kai.tietz@onevision.com>
+
+       * rcparse.y: (string_data): Removed ill token removal.
+
+2007-09-10  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 5011
+       * readelf.c (process_version_sections): Don't read past end of
+       various section buffers.
+
+2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
+       * Makefile.in: Regenerated.
+
+       * sysdep.h: Include "config.h" first.
+
+2007-08-31  Nick Clifton  <nickc@redhat.com>
+
+       * po/sk.po: New Slovakian translation.
+       * configure.in (LINGUAS): Add sk.
+       * configure: Regenerate.
+
+2007-08-30  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (dump_type): New type used to classify the kinds of
+       dump requested by the user.
+       (dump_sects, cmdline_dump_sects): Use the new type.
+       (options): Add --string-dump option.
+       (request_dump): Rename to request_dump_bynumber.  Use dump_type.
+       (request_dump_byname): Use dump_type.
+       (parse_args): Parse --string-dump option.
+       (process_section_headers): Fix calls to request_dump.
+       (initialise_dumps_byname): Likewise.
+       (dump_section): Rename to dump_section_as_bytes.
+       (dump_section_as_strings): New function.  Display the contents of
+       a section as printable strings.
+       (process_section_contents): String dump the section if requested.
+       (process_object): Use dump_type.
+       (main): Likewise.
+       * Makefile.am: Add dependency for readelf.c on safe-ctype.h.
+       * Makefile.in: Regenerate.
+       * NEWS: Mention the new feature.
+       * doc/binutils.texi: Document the new feature.
+
+2007-08-30  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * bucomm.c (bfd_nonfatal_message): New.
+       * bucomm.h (bfd_nonfatal_message): Declare.
+       * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
+       bfd_nonfatal_message.
+       (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
+       calls, or replace with bfd_nonfatal_message calls as appropriate.
+       (copy_object, copy_archive, copy_file, setup_section,
+       copy_section, write_debugging_info): Likewise.
+
+2007-08-28  Nick Clifton  <nickc@redhat.com>
+
+       * NEWS: Mention Coverity's contribution.
+
+2007-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * readelf.c (process_note): Recognize SPU core file notes.
+
+2007-08-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Install embedspu on powerpc*-*-eabi* also.
+       * configure: Regenerated.
+
+2007-08-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/uk.po: Updated Ukrainian translation.
+
+2007-08-22  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/binutils.texi (objdump): Document -Mppcps.
+
+2007-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
+
+2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c: Revert last change.
+
+2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (get_segment_type): Change PT_GNU_STACK to
+       PT_GNU_ATTR.
+
+2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Add a marker for the 2.18 features.
+
+2007-08-12  Matthias Klose  <doko@ubuntu.com>
+
+       * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
+       $(top_srcdir)/../../bfd/doc.
+       * doc/Makefile.in: Regenerate.
+
+2007-08-10  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * MAINTAINERS: Add myself as CR16 support maintainer and
+       update myself as CRX support maintainer.
+
+2007-08-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+       * po/vi.po: Updated Vietnamese translation.
+
+2007-08-10  Kai Tietz  <kai.tietz@onevision.com>
+
+       * doc/binutils.texi: (windmc): Correct incorrect desciption.
+
+2007-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4888
+       * objcopy.c (setup_section): Do modify section flags for ELF
+       STRIP_NONDEBUG (reverting part of 2007-05-30 change).  Prevent
+       header rewrite by twiddling input section flags instead.
+       Simplify code setting SHT_NOBITS.
+
+2007-07-28  Christopher Faylor  <me+binutils@cgf.cx>
+
+       * MAINTAINERS: Update my email address.
+
+2007-07-26  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * readelf.c (process_archive): Also skip Irix6-style archive symbol
+       tables.
+
+2007-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (NUM_ELEM): Remove redundant macro; replace references
+       to it with references to ARRAY_SIZE.
+       Add support for CR16.
+       Fix formatting.
+
+2007-07-19  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/4802
+       * srconv.c (strip_suffix): Add const qualifier to argument.
+
+2007-07-16  Nick Clifton  <nickc@redhat.com>
+
+       * po/uk.po: New Ukrainian translation.
+       * configure.in (ALL_LINGUAS): Add 'uk'.
+       * configure: Regenerate.
+
+2007-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c (dump_dwarf): Correct setting of is_relocatable.
+
+2007-07-09  Roland McGrath  <roland@redhat.com>
+
+       * readelf.c (get_gnu_elf_note_type): New function.
+       (process_note): Use it for "GNU" name.
+
+2007-07-08  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
+       (CFILES): Add unwind-ia64.c.
+       Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+2007-07-05  Nick Clifton  <nickc@redhat.com>
+
+       * addr2line.c: Update copyright notice to refer to GPLv3.
+       * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
+       binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
+       coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
+       dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
+       emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
+       mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
+       objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
+       readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
+       size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
+       sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
+       windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
+       winduni.h, wrstabs.c: Likewise.
+       * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
+       not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
+       notice.
+       * NEWS: Mention that the sources are now released under GPLv3.
+       Add a marker for the changes that went into v2.17.
+       * version.c (print_version): Specify that the program is released
+       under version 3 of the GPL.
+
+2007-07-05  Kai Tietz  <kai.tietz@onevision.com>
+
+       * resrc.c: (read_rc_file): Add include path of user passed rc
+       input file.
+       * windres.c: (windres_add_include_dir): New.
+       (main): Use of windres_add_include_dir.
+       * windres.h: (windres_add_include_dir): Add prototype.
+
+2007-07-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/binutils.texi (size): Document --common.
+       * size.c: Make a number of vars static.  Delete unnecessary
+       function declarations.
+       (show_common, common_size): New vars.
+       (usage): Describe --common.
+       (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use.
+       (long_options): Add common.
+       (calculate_common_size): New function.
+       (print_berkeley_format): Add common_size to bsssize.
+       (sysv_one_line): New function split out from..
+       (sysv_internal_printer): ..here.
+       (print_sysv_format): Handle display of *COM*.
+       (print_sizes): Call calculate_common_size.
+
+2007-07-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next".
+
+2007-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4716
+       * objcopy.c (filter_symbols): Correct relocatable file test.
+
+2007-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+       * po/binutils.pot: Regenerate.
+
+2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aclocal.m4: Regenerated.
+       * doc/Makefile.in: Likewise.
+       * Makefile.in: Likewise.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * readelf.c (display_power_gnu_attribute, process_power_specific):
+       New.
+       (process_arch_specific): Call process_power_specific.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * readelf.c (display_mips_gnu_attribute): New.
+       (process_mips_specific): Call process_attributes.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * readelf.c (display_gnu_attribute): New.
+       (process_arm_specific): Rearrange as process_attributes.
+       (process_arm_specific): Replace by wrapper of process_attributes.
+
+2007-06-28  Roland McGrath  <roland@frob.com>
+
+       * objcopy.c (setup_section): Don't reset ELF section type to
+       SHT_NOBITS when it is SHT_NOTE.
+       * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
+
+2007-06-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
+       * arsup.c: Likewise.
+       * binemul.c: Likewise.
+       * objcopy.c: Likewise.
+       * dlltool.c: Likewise.
+
+2007-06-26  Shantonu Sen  <ssen@apple.com>
+
+       PR binutils/4693
+       * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
+       dependency on $(LIBICONV) to ...
+       (windres_LDADD, windmc_LDADD) ... here.
+       * Makefile.in: Regenerate.
+
+2007-06-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * embedspu.sh (relas): Correct sh_info parsing.
+
 2007-06-19  Danny Smith  <dannysmith@users.sourceforge.net>
-       * objdump.c: Include sys/stat.h.
-
-2007-06-19  Kai Tietz   <kai.tietz@onevision.com>
-
-        * Makefile.am: Add windmc tool.
-        * Makefile.in: Regenerate.
-        * configure.in: Add windmc tool.
-        * configure: Regenerate.
-        * mclex.c: New.
-        * mcparse.y: New.
-        * windmc.c: New.
-        * windmc.h: New.
-        * doc/Makefile.am: Add windmc tool.
-        * doc/Makefile.in: Regenerate.
-        * doc/binutils.texi: Add windmc documentation.
+
+       * objdump.c: Include sys/stat.h.
+
+2007-06-19  Kai Tietz  <kai.tietz@onevision.com>
+
+       * Makefile.am: Add windmc tool.
+       * Makefile.in: Regenerate.
+       * configure.in: Add windmc tool.
+       * configure: Regenerate.
+       * mclex.c: New.
+       * mcparse.y: New.
+       * windmc.c: New.
+       * windmc.h: New.
+       * doc/Makefile.am: Add windmc tool.
+       * doc/Makefile.in: Regenerate.
+       * doc/binutils.texi: Add windmc documentation.
        * NEWS: Mention new tool.
 
 2007-06-18  Andi Kleen  <ak@suse.de>
 
-       * objdump.c: Include sys/mman.h 
+       * objdump.c: Include sys/mman.h
        (print_file_list): Remove f, add map, mapsize, linemap, maxline,
        last_line, first fields.
        (slurp_file): Add.
        * doc/binutils.texi: Document new option.
        * NEWS: Mention new features of windres.
 
-2007-06-18  Brian D. Watt <bwatt@us.ibm.com>
+2007-06-18  Brian D. Watt  <bwatt@us.ibm.com>
 
        * embedspu.sh: Parse _SPUEAR_ symbol values as hex.