From f82a07efc69edc3cc33bd3deeea14560cefb3202 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Tue, 28 Nov 2017 17:19:47 +0000 Subject: [PATCH] Implement a DL_REFERENCE dlctl. To be used by the upcoming __cxa_thread_atexit() implementation. ok guenther@ --- src/include/dlfcn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/dlfcn.h b/src/include/dlfcn.h index 76e3387a..431065f3 100644 --- a/src/include/dlfcn.h +++ b/src/include/dlfcn.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn.h,v 1.13 2013/03/24 01:37:21 deraadt Exp $ */ +/* $OpenBSD: dlfcn.h,v 1.14 2017/11/28 17:19:47 kettenis Exp $ */ /* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */ /* @@ -72,6 +72,7 @@ typedef struct dl_info { #define DL_GETLOADADDR x #define DL_SETTHREADLCK 2 #define DL_SETBINDLCK 3 +#define DL_REFERENCE 4 #define DL_LAZY RTLD_LAZY /* Compat */