aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-02 18:12:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-02 18:12:16 +0000
commit014194de605990c6bdce52e03ee3dc1df13c45e8 (patch)
treec65577c3a956dad1d4d1b05e6d62c2f331218e80 /toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch
parent02df774b52e4a0c0b9a8395e55263b80eb8f5f93 (diff)
downloadupstream-014194de605990c6bdce52e03ee3dc1df13c45e8.tar.gz
upstream-014194de605990c6bdce52e03ee3dc1df13c45e8.tar.bz2
upstream-014194de605990c6bdce52e03ee3dc1df13c45e8.zip
uclibc: remove version 0.9.33
Latest uClibc-ng is now the only supported option Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47357
Diffstat (limited to 'toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch b/toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch
deleted file mode 100644
index 628d4b02d5..0000000000
--- a/toolchain/uClibc/patches-0.9.33.2/617-mips_fix_setjmp_ptrsize.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- a/libc/sysdeps/linux/mips/bits/setjmp.h
-+++ b/libc/sysdeps/linux/mips/bits/setjmp.h
-@@ -27,18 +27,18 @@
- #include <sgidefs.h>
-
- #if _MIPS_SIM == _MIPS_SIM_ABI32
--#define ptrsize void *
-+#define __setjmp_ptr void *
- #else
--#define ptrsize long long
-+#define __setjmp_ptr long long
- #endif
-
- typedef struct
- {
- /* Program counter. */
-- ptrsize __pc;
-+ __setjmp_ptr __pc;
-
- /* Stack pointer. */
-- ptrsize __sp;
-+ __setjmp_ptr __sp;
-
- /* Callee-saved registers s0 through s7. */
- #if _MIPS_SIM == _MIPS_SIM_ABI32
-@@ -48,10 +48,10 @@ typedef struct
- #endif
-
- /* The frame pointer. */
-- ptrsize __fp;
-+ __setjmp_ptr __fp;
-
- /* The global pointer. */
-- ptrsize __gp;
-+ __setjmp_ptr __gp;
-
- /* Floating point status register. */
- int __fpc_csr;
---- a/libc/sysdeps/linux/mips/setjmp_aux.c
-+++ b/libc/sysdeps/linux/mips/setjmp_aux.c
-@@ -65,14 +65,14 @@ __sigsetjmp_aux (jmp_buf env, int savema
- #endif
-
- /* .. and the stack pointer; */
-- env[0].__jmpbuf[0].__sp = (ptrsize) sp;
-+ env[0].__jmpbuf[0].__sp = (__setjmp_ptr) sp;
-
- /* .. and the FP; it'll be in s8. */
-- env[0].__jmpbuf[0].__fp = (ptrsize) fp;
-+ env[0].__jmpbuf[0].__fp = (__setjmp_ptr) fp;
-
- /* .. and the GP; */
- #if _MIPS_SIM == _MIPS_SIM_ABI64
-- env[0].__jmpbuf[0].__gp = (ptrsize) gp;
-+ env[0].__jmpbuf[0].__gp = (__setjmp_ptr) gp;
- #else
- __asm__ __volatile__ ("sw $gp, %0" : : "m" (env[0].__jmpbuf[0].__gp));
- #endif