summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-01-06 20:40:23 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-10 17:28:45 +0000
commit4b6df4f2668c6e85d8059e1896812a1a8db23786 (patch)
treea55b90043eafd9f9f00d5b9376833d51632c0663 /meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
parentf164a95b43fdda1e774195622f31f0cd998138d3 (diff)
downloadpoky-4b6df4f2668c6e85d8059e1896812a1a8db23786.tar.gz
eglibc: Upgrade recipes 2.14 -> 2.15
Add patch to provide __finite_sqrt functions for ppc (From OE-Core rev: 289d09176f8b6f66f6a7807b57f10e86939942f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch b/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
new file mode 100644
index 0000000000..c2407eea09
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
@@ -0,0 +1,25 @@
1Source: http://sourceware.org/bugzilla/show_bug.cgi?id=12097
2Upstream-Status: Submitted
3
4The patch should be merged into glibc-ports
5
6-Khem
7Index: libc/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
8===================================================================
9--- libc.orig/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
10+++ libc/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
11@@ -16,6 +16,8 @@
12 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
13 02111-1307 USA. */
14
15+#if defined(__thumb__)
16+
17 #include <sysdep.h>
18
19 /* Out-of-line syscall stub. We expect the system call number in ip
20@@ -41,3 +43,5 @@ ENTRY (__libc_do_syscall)
21 pop {r7, pc}
22 .fnend
23 END (__libc_do_syscall)
24+
25+#endif /* __thumb__ */