glibc: also add strlen patch to glibc-2.4 dir
authorKoen Kooi <koen@openembedded.org>
Tue, 1 May 2007 18:17:26 +0000 (18:17 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 1 May 2007 18:17:26 +0000 (18:17 +0000)
packages/glibc/glibc-2.4/armeb-strlen.patch [new file with mode: 0644]

diff --git a/packages/glibc/glibc-2.4/armeb-strlen.patch b/packages/glibc/glibc-2.4/armeb-strlen.patch
new file mode 100644 (file)
index 0000000..69a2e59
--- /dev/null
@@ -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