summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 03:00:38 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 03:00:38 +0000
commit4fadeffd0a6d03c31a88363d47fcb978073894d2 (patch)
tree3b64d7a18affcbf99555b56a6459a771a8716723 /libpthread/nptl/sysdeps/pthread
parent81dca7a3377e5b100f81fc6eda6a114cc80274ff (diff)
downloaduClibc-alpine-4fadeffd0a6d03c31a88363d47fcb978073894d2.tar.bz2
uClibc-alpine-4fadeffd0a6d03c31a88363d47fcb978073894d2.tar.xz
Remove '__libc_fatal' function and usage of it. Remove and disable 'freeres' code having to do with internal library memory usage and GDB. uClibc homey don't play that.
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread')
-rw-r--r--libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c7
-rw-r--r--libpthread/nptl/sysdeps/pthread/unwind-resume.c5
2 files changed, 8 insertions, 4 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c b/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
index 1c5bb1947..8b1f24407 100644
--- a/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
+++ b/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
@@ -22,10 +22,8 @@
#include <unwind.h>
#include <pthreadP.h>
-#ifdef __UCLIBC__
#define __libc_dlopen(x) dlopen(x, (RTLD_LOCAL | RTLD_LAZY))
#define __libc_dlsym dlsym
-#endif
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
static _Unwind_Reason_Code (*libgcc_s_personality)
@@ -56,7 +54,10 @@ pthread_cancel_init (void)
|| ARCH_CANCEL_INIT (handle)
#endif
)
- __libc_fatal ("libgcc_s.so.1 must be installed for pthread_cancel to work\n");
+ {
+ printf("libgcc_s.so.1 must be installed for pthread_cancel to work\n");
+ abort();
+ }
libgcc_s_resume = resume;
libgcc_s_personality = personality;
diff --git a/libpthread/nptl/sysdeps/pthread/unwind-resume.c b/libpthread/nptl/sysdeps/pthread/unwind-resume.c
index 088f4c6f6..021024d49 100644
--- a/libpthread/nptl/sysdeps/pthread/unwind-resume.c
+++ b/libpthread/nptl/sysdeps/pthread/unwind-resume.c
@@ -37,7 +37,10 @@ init (void)
if (handle == NULL
|| (resume = __libc_dlsym (handle, "_Unwind_Resume")) == NULL
|| (personality = __libc_dlsym (handle, "__gcc_personality_v0")) == NULL)
- __libc_fatal ("libgcc_s.so.1 must be installed for pthread_cancel to work\n");
+ {
+ printf("libgcc_s.so.1 must be installed for pthread_cancel to work\n");
+ abort();
+ }
libgcc_s_resume = resume;
libgcc_s_personality = personality;