19 lines
614 B
Text
19 lines
614 B
Text
- Remove old HAVE_DL_ITERATE_PHDR workaround for OpenBSD
|
|
|
|
Index: dyn_load.c
|
|
--- dyn_load.c.orig
|
|
+++ dyn_load.c
|
|
@@ -82,13 +82,6 @@ STATIC GC_has_static_roots_func GC_has_static_roots =
|
|
# define ELFSIZE ARCH_ELFSIZE
|
|
#endif
|
|
|
|
-#if defined(OPENBSD)
|
|
-# include <sys/param.h>
|
|
-# if (OpenBSD >= 200519) && !defined(HAVE_DL_ITERATE_PHDR)
|
|
-# define HAVE_DL_ITERATE_PHDR
|
|
-# endif
|
|
-#endif /* OPENBSD */
|
|
-
|
|
#if defined(SCO_ELF) || defined(DGUX) || defined(HURD) || defined(NACL) \
|
|
|| (defined(__ELF__) && (defined(LINUX) || defined(FREEBSD) \
|
|
|| defined(NETBSD) || defined(OPENBSD)))
|