aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/linux_threads.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 6845bb1..405df17 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+1999-04-30 Tom Tromey <tromey@cygnus.com>
+
+ * linux_threads.c: Don't reference __pthread_initial_thread_bos.
+
1999-04-26 Tom Tromey <tromey@cygnus.com>
* dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
diff --git a/boehm-gc/linux_threads.c b/boehm-gc/linux_threads.c
index 12e71ce..f83e1dd 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)