summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-22 07:27:02 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-22 07:27:02 +0000
commit4ace63889357f5ffc8b96a8a6144352e7ce56eec (patch)
tree21cae77af0719690b1255038635714a30e4f073d /libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h
parentf5faeff83458b4dc618ca83edd2dd33dbe63c15d (diff)
downloaduClibc-alpine-4ace63889357f5ffc8b96a8a6144352e7ce56eec.tar.bz2
uClibc-alpine-4ace63889357f5ffc8b96a8a6144352e7ce56eec.tar.xz
Big set of various patches to get the NPTL libraries to build and link.
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h')
-rw-r--r--libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h b/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h
index 67cc96966..e882f13b2 100644
--- a/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h
+++ b/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h
@@ -27,4 +27,8 @@
((uintptr_t) (_address) - (_adj) < (uintptr_t) (_jmpbuf)[0].__sp - (_adj))
/* We use the normal longjmp for unwinding. */
+#ifdef __UCLIBC__
+#define __libc_unwind_longjmp(buf, val) longjmp (buf, val)
+#else
#define __libc_unwind_longjmp(buf, val) __libc_longjmp (buf, val)
+#endif