OSDN Git Service

.
authorroland <roland>
Mon, 9 Jul 2007 21:23:51 +0000 (21:23 +0000)
committerroland <roland>
Mon, 9 Jul 2007 21:23:51 +0000 (21:23 +0000)
bfd/ChangeLog

index be0ad30..95ea20e 100644 (file)
@@ -1,3 +1,18 @@
+2007-07-09  Roland McGrath  <roland@redhat.com>
+
+       * elf-bfd.h (struct elf_obj_tdata): Add members
+       emit_note_gnu_build_id and note_gnu_build_id_sec.
+       * elf.c (_bfd_id_note_section_size): New global function.
+       (read_hex, _bfd_elf_write_build_id_section): New static functions.
+       (_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
+       if emit_note_gnu_build_id is set.
+       * Makefile.am (elf.lo): Update dependencies.
+
+       * elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
+       (bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
+       * elfcode.h (elf_checksum_contents): New macro and function.
+       (NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.
+
 2007-07-06  Michael Snyder  <msnyder@access-company.com>
 
        * elflink.c (elf_link_add_object_symbols): Return via