* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id

changes from elf.sc.
This commit is contained in:
Bob Wilson 2008-01-18 22:49:38 +00:00
parent fb227da0a1
commit c19f06f255
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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) }