This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Xtensa] update linker scripts
- From: Bob Wilson <bwilson at tensilica dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 18 Jan 2008 14:49:20 -0800
- Subject: [Xtensa] update linker scripts
I'm committing this patch to bring the elfxtensa.sc file up to date with changes
in elf.sc.
2008-01-18 Bob Wilson <bob.wilson@acm.org>
* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
changes from elf.sc.
Index: scripttempl/elfxtensa.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfxtensa.sc,v
retrieving revision 1.15
diff -u -r1.15 elfxtensa.sc
--- scripttempl/elfxtensa.sc 15 Dec 2007 09:43:40 -0000 1.15
+++ scripttempl/elfxtensa.sc 18 Jan 2008 20:27:35 -0000
@@ -264,7 +264,7 @@
fi
cat <<EOF
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY(${ENTRY})}
${RELOCATING+${LIB_SEARCH_DIRS}}
${RELOCATING+${EXECUTABLE_SYMBOLS}}
@@ -281,6 +281,7 @@
${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) }