aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf.sc
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/scripttempl/elf.sc
parentd63388ff701ef7f579dad732b4ffb7c89b1758d5 (diff)
downloadgdb-cd714b7904c1d0be81ad1d6f7ac410913f70c78b.zip
gdb-cd714b7904c1d0be81ad1d6f7ac410913f70c78b.tar.gz
gdb-cd714b7904c1d0be81ad1d6f7ac410913f70c78b.tar.bz2
* scripttempl/elf.sc: Add .note.gnu.build-id.
Diffstat (limited to 'ld/scripttempl/elf.sc')
-rw-r--r--ld/scripttempl/elf.sc1
1 files changed, 1 insertions, 0 deletions
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) }