patch-libgc_dyn_load_c 735 B

1234567891011121314
  1. $OpenBSD: patch-libgc_dyn_load_c,v 1.3 2016/11/07 15:22:38 ajacoutot Exp $
  2. --- libgc/dyn_load.c.orig Mon Nov 7 13:45:18 2016
  3. +++ libgc/dyn_load.c Mon Nov 7 13:45:52 2016
  4. @@ -396,7 +396,8 @@ GC_bool GC_register_main_static_data()
  5. # if (defined(LINUX) || defined (__GLIBC__) || defined(NACL)) /* Are others OK here, too? */ \
  6. && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
  7. - || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
  8. + || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) \
  9. + || defined(OPENBSD)
  10. /* We have the header files for a glibc that includes dl_iterate_phdr. */
  11. /* It may still not be available in the library on the target system. */