diff options
author | Koen Kooi <koen@openembedded.org> | 2007-05-01 16:54:35 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-05-01 16:54:35 +0000 |
commit | 364361f05b1ee434c4d6807506fdd460fcfe6eee (patch) | |
tree | 0c6d0e8fc8310e69baa63f8d18e4a22899a2f3ae /packages/glibc/glibc-2.5 | |
parent | 9c4f5f2745e24cf8e99e63e345ed8408f0a7c06b (diff) |
glibc 2.5: fix the strlen() issues on big endian EABI, thanks to Lennert for tracking down the culprit
* This is not a proper fix, we still need to find out wht __ARMEB__ isn't defined
Diffstat (limited to 'packages/glibc/glibc-2.5')
-rw-r--r-- | packages/glibc/glibc-2.5/armeb-strlen.patch | 11 |
1 files changed, 11 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 |