[oe-commits] Khem Raj : eglibc_2.9: Adjust sed script to insert _begin in newer linker scripts.
git version control
git at git.openembedded.org
Wed Jul 15 21:43:51 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ac4799c1d2c7dbfff1e6bb6b1393cd74b90e93b8
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ac4799c1d2c7dbfff1e6bb6b1393cd74b90e93b8
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Jul 15 14:42:02 2009 -0700
eglibc_2.9: Adjust sed script to insert _begin in newer linker scripts.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/eglibc/eglibc_2.9.bb | 3 ++-
.../files/eglibc_adjust_begin_insertion.patch | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/recipes/eglibc/eglibc_2.9.bb b/recipes/eglibc/eglibc_2.9.bb
index b3786d3..7ab4815 100644
--- a/recipes/eglibc/eglibc_2.9.bb
+++ b/recipes/eglibc/eglibc_2.9.bb
@@ -4,11 +4,12 @@ DEPENDS += "gperf-native"
DEFAULT_PREFERENCE = "1"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/eglibc-svn"
PV = "2.9"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
SVN_REV="7430"
EGLIBC_BRANCH="eglibc-2_9"
SRC_URI = "svn://svn.eglibc.org/branches;module=eglibc-2_9;rev=${SVN_REV};proto=svn \
file://eglibc-svn-arm-lowlevellock-include-tls.patch;patch=1 \
+ file://eglibc_adjust_begin_insertion.patch;patch=1 \
file://etc/ld.so.conf \
file://generate-supported.mk"
S = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
diff --git a/recipes/eglibc/files/eglibc_adjust_begin_insertion.patch b/recipes/eglibc/files/eglibc_adjust_begin_insertion.patch
new file mode 100644
index 0000000..8f05cc0
--- /dev/null
+++ b/recipes/eglibc/files/eglibc_adjust_begin_insertion.patch
@@ -0,0 +1,13 @@
+Index: libc/elf/Makefile
+===================================================================
+--- libc.orig/elf/Makefile 2009-07-15 14:37:34.000000000 -0700
++++ libc/elf/Makefile 2009-07-15 14:37:47.000000000 -0700
+@@ -305,7 +305,7 @@
+ $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 | \
+ LC_ALL=C \
+ sed -e '/^=========/,/^=========/!d;/^=========/d' \
+- -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
++ -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+ > $@.lds
+ $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \
+ $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \
More information about the Openembedded-commits
mailing list