diff options
author | thfrwn <11335318+thfrwn@users.noreply.github.com> | 2018-03-29 08:25:23 -0700 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-08-15 22:06:11 +0300 |
commit | 327d40623e20a527585ff7bc1639f28ca629c811 (patch) | |
tree | ee4bedfb93a4c304277cbc291a9c465ba4b62be2 | |
parent | edb626721cfd61f8ad2cbdc3ccb7a885b24eeba4 (diff) | |
download | bdwgc-327d40623e20a527585ff7bc1639f28ca629c811.tar.gz |
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).
-rw-r--r-- | dyn_load.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |