diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-02-01 01:00:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 22:37:40 +0000 |
commit | d4b11e8f160350e4530e174d2c93e06fe90e48c6 (patch) | |
tree | 7e253c46b998de7a55ad6e8c22dfcc12733ab671 /meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch | |
parent | a42f84682fb0522beacfb445ccfd482fe536d629 (diff) | |
download | ast2050-yocto-poky-d4b11e8f160350e4530e174d2c93e06fe90e48c6.zip ast2050-yocto-poky-d4b11e8f160350e4530e174d2c93e06fe90e48c6.tar.gz |
binutils: Upgrade to 2.24
This builds and runs images for all qemu machines
(From OE-Core rev: 015eca84f1b0f25868b47d2480bb60cea698f70e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch deleted file mode 100644 index 7408c31..0000000 --- a/meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch +++ /dev/null @@ -1,49 +0,0 @@ -Upstream-Status: Inappropriate [SDK specific] - -This patch will modify the ELF linker scripts so that the crosssdk linker will -generate binaries with a 4096 bytes PT_INTERP section. When the binaries will -be relocated, at SDK install time, the interpreter path can be easily changed -by the relocating script. - -Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> - -Index: binutils_git/ld/genscripts.sh -=================================================================== ---- binutils_git.orig/ld/genscripts.sh 2012-11-21 11:58:23.325441925 +0200 -+++ binutils_git/ld/genscripts.sh 2012-11-21 12:03:42.106815400 +0200 -@@ -290,6 +290,7 @@ - LD_FLAG=r - DATA_ALIGNMENT=${DATA_ALIGNMENT_r} - DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})" -+PARTIAL_LINKING=" " - ( echo "/* Script for ld -r: link without relocation */" - . ${CUSTOMIZER_SCRIPT} - . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc -@@ -298,10 +299,12 @@ - LD_FLAG=u - DATA_ALIGNMENT=${DATA_ALIGNMENT_u} - CONSTRUCTING=" " -+PARTIAL_LINKING=" " - ( echo "/* Script for ld -Ur: link w/out relocation, do create constructors */" - . ${CUSTOMIZER_SCRIPT} - . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc - ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xu -+unset PARTIAL_LINKING - - LD_FLAG= - DATA_ALIGNMENT=${DATA_ALIGNMENT_} -Index: binutils_git/ld/scripttempl/elf.sc -=================================================================== ---- binutils_git.orig/ld/scripttempl/elf.sc 2012-11-21 12:02:26.800377384 +0200 -+++ binutils_git/ld/scripttempl/elf.sc 2012-11-21 12:04:16.166109621 +0200 -@@ -124,8 +124,8 @@ - DATA_SEGMENT_END=". = DATA_SEGMENT_END (.);" - DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);" - fi --if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}"; then -- INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp) }" -+if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}${PARTIAL_LINKING}"; then -+ INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp); . = 0x1000; }" - fi - if test -z "$PLT"; then - IPLT=".iplt ${RELOCATING-0} : { *(.iplt) }" |