aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-04-30 16:00:28 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-04-30 16:00:28 +0000
commitb694131f2148f12620e266ab692e484132479dd9 (patch)
tree3796d83005216ad6930488828fc37f69c66e1c1f /boehm-gc
parent2c4974b72a5f9a9744b2319b85e4eb239e601c44 (diff)
downloadgcc-b694131f2148f12620e266ab692e484132479dd9.zip
gcc-b694131f2148f12620e266ab692e484132479dd9.tar.gz
gcc-b694131f2148f12620e266ab692e484132479dd9.tar.bz2
* linux_threads.c: Don't reference __pthread_initial_thread_bos.
From-SVN: r26711
Diffstat (limited to 'boehm-gc')
-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)