From b694131f2148f12620e266ab692e484132479dd9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 30 Apr 1999 16:00:28 +0000 Subject: [PATCH] * linux_threads.c: Don't reference __pthread_initial_thread_bos. From-SVN: r26711 --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/linux_threads.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 6845bb154a1..405df171b9b 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +1999-04-30 Tom Tromey + + * linux_threads.c: Don't reference __pthread_initial_thread_bos. + 1999-04-26 Tom Tromey * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as diff --git a/boehm-gc/linux_threads.c b/boehm-gc/linux_threads.c index 12e71cea1fe..f83e1dd37b2 100644 --- a/boehm-gc/linux_threads.c +++ b/boehm-gc/linux_threads.c @@ -118,8 +118,13 @@ package, we generate a dummy reference to `__pthread_initial_thread_bos', which is a symbol defined in LinuxThreads, but (hopefully) not in other thread packages. */ +#if 0 +/* Note: on Caldera OpenLinux, this symbols is `local' in the + libpthread.so (but not in libpthread.a). We don't really need + this, so we just comment it out. */ extern char * __pthread_initial_thread_bos; char **dummy_var_to_force_linux_threads = &__pthread_initial_thread_bos; +#endif #define LINUX_THREADS_STACK_SIZE (2 * 1024 * 1024)