summaryrefslogtreecommitdiff
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
commit9d62e33d47f5f89bbd1eb9d9585862768b77e2b8 (patch)
tree21e5400701a7605f062aa955bdbf2192cb2f6f2e
parent10134e3a7bc8fb23d6c1cc567b77af2ab19ce435 (diff)
downloadbinutils-redhat-9d62e33d47f5f89bbd1eb9d9585862768b77e2b8.tar.gz
* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
changes from elf.sc.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elfxtensa.sc3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3c479dbc42..c8e6b5baab 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-18 Bob Wilson <bob.wilson@acm.org>
+
+ * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
+ changes from elf.sc.
+
2008-01-16 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
diff --git a/ld/scripttempl/elfxtensa.sc b/ld/scripttempl/elfxtensa.sc
index 60115b83f2..368b1cd6fa 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) }