diff options
author | Bob Wilson <bob.wilson@acm.org> | 2008-01-18 22:49:38 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2008-01-18 22:49:38 +0000 |
commit | c19f06f255852b7d87e19e8bdc5234fe29664030 (patch) | |
tree | deb6cebc2ab3efe379bde30f5593ed584da57be9 | |
parent | fb227da0a19515cbecb2b035ad8e246dd53f64a2 (diff) | |
download | gdb-c19f06f255852b7d87e19e8bdc5234fe29664030.zip gdb-c19f06f255852b7d87e19e8bdc5234fe29664030.tar.gz gdb-c19f06f255852b7d87e19e8bdc5234fe29664030.tar.bz2 |
* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
changes from elf.sc.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/scripttempl/elfxtensa.sc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 3c479db..c8e6b5b 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 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) } |