summaryrefslogtreecommitdiff
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
committerSaul Wold <sgw@linux.intel.com>2012-01-09 21:51:50 -0800
commit289d09176f8b6f66f6a7807b57f10e86939942f5 (patch)
treeadff6c96ab37208b1bc38ae3b28ac2ba40b0ef39 /meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
parent553deffc8040afabd56b1c1d87a8a8d24bbae5d0 (diff)
downloadopenembedded-core-289d09176f8b6f66f6a7807b57f10e86939942f5.tar.gz
openembedded-core-289d09176f8b6f66f6a7807b57f10e86939942f5.tar.bz2
openembedded-core-289d09176f8b6f66f6a7807b57f10e86939942f5.tar.xz
openembedded-core-289d09176f8b6f66f6a7807b57f10e86939942f5.zip
eglibc: Upgrade recipes 2.14 -> 2.15
Add patch to provide __finite_sqrt functions for ppc Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 000000000..c2407eea0
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
@@ -0,0 +1,25 @@
+Source: http://sourceware.org/bugzilla/show_bug.cgi?id=12097
+Upstream-Status: Submitted
+
+The patch should be merged into glibc-ports
+
+-Khem
+Index: libc/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
+===================================================================
+--- libc.orig/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
++++ libc/ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S
+@@ -16,6 +16,8 @@
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
++#if defined(__thumb__)
++
+ #include <sysdep.h>
+
+ /* Out-of-line syscall stub. We expect the system call number in ip
+@@ -41,3 +43,5 @@ ENTRY (__libc_do_syscall)
+ pop {r7, pc}
+ .fnend
+ END (__libc_do_syscall)
++
++#endif /* __thumb__ */