diff options
author | thfrwn <11335318+thfrwn@users.noreply.github.com> | 2018-03-29 18:25:23 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-03-29 18:25:23 +0300 |
commit | 81a781bb02f7a834beddef85b02c54f1c3a1ea2d (patch) | |
tree | 6a7dd6432a17f2dcea3e3849e29c749c268a446f /libgc/dyn_load.c | |
parent | 792196320f46a01eb2e689387307751de08f4dbb (diff) |
add some OpenBSD patches (#7699)
add some OpenBSD patches
Hi,
A few trivial additions of OpenBSD to ifdefs, plus the change of the abort signal to SIGUSR1 which fixes the SIGABRT problem (other compilation problems remain). SIGTTIN is broadcast to the process group which leads to the SIGABRT (at least on OpenBSD).
Diffstat (limited to 'libgc/dyn_load.c')
-rw-r--r-- | libgc/dyn_load.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgc/dyn_load.c b/libgc/dyn_load.c index 963f6e95427..c414c8788cc 100644 --- a/libgc/dyn_load.c +++ b/libgc/dyn_load.c @@ -396,7 +396,8 @@ GC_bool GC_register_main_static_data() # if (defined(LINUX) || defined (__GLIBC__) || defined(NACL)) /* Are others OK here, too? */ \ && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ - || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) + || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) \ + || defined(OPENBSD) /* We have the header files for a glibc that includes dl_iterate_phdr. */ /* It may still not be available in the library on the target system. */ |