aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfxtensa.sc
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2008-01-18 22:49:38 +0000
committerBob Wilson <bob.wilson@acm.org>2008-01-18 22:49:38 +0000
commitc19f06f255852b7d87e19e8bdc5234fe29664030 (patch)
treedeb6cebc2ab3efe379bde30f5593ed584da57be9 /ld/scripttempl/elfxtensa.sc
parentfb227da0a19515cbecb2b035ad8e246dd53f64a2 (diff)
downloadgdb-c19f06f255852b7d87e19e8bdc5234fe29664030.zip
gdb-c19f06f255852b7d87e19e8bdc5234fe29664030.tar.gz
gdb-c19f06f255852b7d87e19e8bdc5234fe29664030.tar.bz2
* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
changes from elf.sc.
Diffstat (limited to 'ld/scripttempl/elfxtensa.sc')
-rw-r--r--ld/scripttempl/elfxtensa.sc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/scripttempl/elfxtensa.sc b/ld/scripttempl/elfxtensa.sc
index 60115b8..368b1cd 100644
--- a/ld/scripttempl/elfxtensa.sc
+++ b/ld/scripttempl/elfxtensa.sc
@@ -264,7 +264,7 @@ else
fi
cat <<EOF
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY(${ENTRY})}
${RELOCATING+${LIB_SEARCH_DIRS}}
${RELOCATING+${EXECUTABLE_SYMBOLS}}
@@ -281,6 +281,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) }