summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-25 20:25:34 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-25 20:25:34 +0200
commitc1b3b6cab0c921e74534b8fe789b8f7f8dbe62b4 (patch)
tree54d24168b0aa28b3d4cd32f16aa1ac24944f2ccf /toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch
parentf91315e1710c256b353cdc1eba9a2374826798bc (diff)
toolchain/uclibc: xtensa patches
New files missing from 58050c28. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch')
-rw-r--r--toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch b/toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch
new file mode 100644
index 000000000..692b0a722
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.30-xtensa-011-sysdep.h.patch
@@ -0,0 +1,19 @@
+--- a/libc/sysdeps/linux/xtensa/sysdep.h 2008-09-23 21:17:42.000000000 -0700
++++ b/libc/sysdeps/linux/xtensa/sysdep.h 2008-09-23 21:17:59.000000000 -0700
+@@ -114,15 +114,7 @@
+
+ #define ret_ERRVAL retw
+
+-#if RTLD_PRIVATE_ERRNO
+-# define SYSCALL_ERROR_HANDLER \
+-0: movi a4, rtld_errno; \
+- neg a2, a2; \
+- s32i a2, a4, 0; \
+- movi a2, -1; \
+- j .Lpseudo_end;
+-
+-#elif defined _LIBC_REENTRANT
++#if defined _LIBC_REENTRANT
+
+ # if USE___THREAD
+ # ifndef NOT_IN_libc