summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-05-01 17:37:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-05-01 17:37:55 +0000
commit05a8150421df8f7bd450b5d8c943403cab3658da (patch)
tree66b57b42b88f28ba56f925dcdaf1d5f57500bfc1
parent8022e97c116af8ac1433db41dbe70f7fdf56cee1 (diff)
parent364361f05b1ee434c4d6807506fdd460fcfe6eee (diff)
merge of '38bc1cc48b4168ea2aafb31b0de856f57a0625b2'
and 'bc8cfed5e37f251070c62f9cef49b1db7aa86264'
-rw-r--r--packages/glibc/glibc-2.5/armeb-strlen.patch11
-rw-r--r--packages/glibc/glibc_2.5.bb3
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.5/armeb-strlen.patch b/packages/glibc/glibc-2.5/armeb-strlen.patch
new file mode 100644
index 0000000000..69a2e59d30
--- /dev/null
+++ b/packages/glibc/glibc-2.5/armeb-strlen.patch
@@ -0,0 +1,11 @@
+--- /tmp/strlen.S 2007-05-01 18:32:48.000000000 +0200
++++ glibc-2.5/ports/sysdeps/arm/strlen.S 2007-05-01 18:33:29.665251000 +0200
+@@ -24,6 +24,8 @@
+ * exit: r0 = len
+ */
+
++#define __ARMEB__
++
+ ENTRY(strlen)
+ bic r1, r0, $3 @ addr of word containing first byte
+ ldr r2, [r1], $4 @ get the first word
diff --git a/packages/glibc/glibc_2.5.bb b/packages/glibc/glibc_2.5.bb
index 8cd4c2ecd1..f0981694e8 100644
--- a/packages/glibc/glibc_2.5.bb
+++ b/packages/glibc/glibc_2.5.bb
@@ -76,6 +76,9 @@ SRC_URI_append_powerpc= " file://ppc-sfp-machine.patch;patch=1 \
file://ppc-ports-ld-nofpu-20070114.patch;patch=1 \
file://powerpc-sqrt-hack.diff;patch=1""
+#armeb needs an extra define
+SRC_URI_append_armeb = " file://armeb-strlen.patch;patch=1 "
+
S = "${WORKDIR}/glibc-${PV}"
B = "${WORKDIR}/build-${TARGET_SYS}"