]> 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 d0fc861525547d40153b3c182f01166670e05d2a..94a8739fb7189f99111dff013a9a3445367e2aea 100644 (file)
@@ -1,3 +1,219 @@
+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.