* scripttempl/elf.sc: Add .note.gnu.build-id.
authorJakub Jelinek <jakub@redhat.com>
Fri, 27 Jul 2007 22:33:24 +0000 (22:33 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 27 Jul 2007 22:33:24 +0000 (22:33 +0000)
ld/ChangeLog
ld/scripttempl/elf.sc

index c669d31f53e0dce07eb28509f2e0057c409b301a..5741a841b4b3cf5606f0a603793b956f87cf2ea6 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Add .note.gnu.build-id.
+
 2007-07-25  Nick Clifton  <nickc@redhat.com>
 
        PR 4824
index 3a2772da185c994b23a8448833f54585fd697c8e..a59a88411968bc5d76419b9ac2074d41a50603a1 100644 (file)
@@ -267,6 +267,7 @@ SECTIONS
   ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
   ${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
   ${INITIAL_READONLY_SECTIONS}
+  .note.gnu.build-id : { *(.note.gnu.build-id) }
   ${TEXT_DYNAMIC+${DYNAMIC}}
   .hash         ${RELOCATING-0} : { *(.hash) }
   .gnu.hash     ${RELOCATING-0} : { *(.gnu.hash) }