aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-27 22:33:24 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-27 22:33:24 +0000
commitcd714b7904c1d0be81ad1d6f7ac410913f70c78b (patch)
treeddc133039408c782543cc5d71f1e18596fb52667 /ld
parentd63388ff701ef7f579dad732b4ffb7c89b1758d5 (diff)
downloadfsf-binutils-gdb-cd714b7904c1d0be81ad1d6f7ac410913f70c78b.zip
fsf-binutils-gdb-cd714b7904c1d0be81ad1d6f7ac410913f70c78b.tar.gz
fsf-binutils-gdb-cd714b7904c1d0be81ad1d6f7ac410913f70c78b.tar.bz2
* scripttempl/elf.sc: Add .note.gnu.build-id.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/elf.sc1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c669d31..5741a84 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 3a2772d..a59a884 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -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) }