openbsd-ports/devel/boehm-gc/patches/patch-misc_c
kurt 67e36b90b6 - use __data_start symbol to find the beginning of the data sections
and adjust boehm-gc to deal with any number of holes that may appear
between __data_start and _end. (requires -current binutils)
- work-around libpthread bugs that prevent sigsuspend() from working
in a signal handler by using pthread_suspend_np() + an arch/libpthread
specific offset to obtain the suspended thread's stack pointer.

thanks to sthen@ and jasper@ for access to other arches. discussed
with todd@
2008-04-01 17:41:13 +00:00

12 lines
424 B
Plaintext

--- misc.c.orig Thu Jun 28 14:14:55 2007
+++ misc.c Fri Feb 8 09:43:48 2008
@@ -629,7 +629,7 @@ void GC_init_inner()
# if defined(SEARCH_FOR_DATA_START)
GC_init_linux_data_start();
# endif
-# if (defined(NETBSD) || defined(OPENBSD)) && defined(__ELF__)
+# if defined(NETBSD) && defined(__ELF__)
GC_init_netbsd_elf();
# endif
# if !defined(THREADS) || defined(GC_PTHREADS) || defined(GC_WIN32_THREADS) \