[git commit master 1/1] nptl: arm: make it compile again
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Jun 24 13:50:02 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=005050625f006b5e0938b726cfa1d6984c1b2c3f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
blame 6cbeaa5dd11a1b506a8a97b4dfb4e632240f9953
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
.../unix/sysv/linux/arm/unwind-forcedunwind.c | 5 +++++
.../sysdeps/unix/sysv/linux/arm/unwind-resume.c | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
index b6253dd..7e77f18 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
@@ -22,6 +22,11 @@
#include <unwind.h>
#include <pthreadP.h>
+#define __libc_dlopen(x) dlopen(x, (RTLD_LOCAL | RTLD_LAZY))
+#define __libc_dlsym dlsym
+#define __libc_dlclose dlclose
+#define __libc_fatal(x) {/*write(STDERR_FILENO, x, strlen(x));*/ abort();}
+
static void *libgcc_s_handle;
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
static _Unwind_Reason_Code (*libgcc_s_personality)
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
index afafcda..a1366f3 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
@@ -21,6 +21,11 @@
#include <stdio.h>
#include <unwind.h>
+#define __libc_dlopen(x) dlopen(x, (RTLD_LOCAL | RTLD_LAZY))
+#define __libc_dlsym dlsym
+#define __libc_dlclose dlclose
+#define __libc_fatal(x) {/*write(STDERR_FILENO, x, strlen(x));*/ abort();}
+
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
static _Unwind_Reason_Code (*libgcc_s_personality)
(_Unwind_State, struct _Unwind_Exception *, struct _Unwind_Context *);
--
1.7.1
More information about the uClibc-cvs
mailing list