summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-08-30 12:47:20 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-08-30 12:47:20 +0000
commitdc40f10a0465ae1c9af6fabb5948e5aa7fa3e8f6 (patch)
tree62883458b7a1c302c2eb897a7a871d60cb88847b /libexec/ld.so
parentf9a4f9e265a3ed2c1a29d912734472630d335d27 (diff)
Move DT_NUM from <sys/exec_elf.h> to resolv.h in ld.so where it belongs.
ok guenther@
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/resolve.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h
index 24dbef66133..2e35fc888cc 100644
--- a/libexec/ld.so/resolve.h
+++ b/libexec/ld.so/resolve.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.h,v 1.80 2016/08/23 06:46:17 kettenis Exp $ */
+/* $OpenBSD: resolve.h,v 1.81 2016/08/30 12:47:19 kettenis Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -33,6 +33,9 @@
#include <link.h>
#include <dlfcn.h>
+/* Number of low tags that are used saved internally (0 .. DT_NUM-1) */
+#define DT_NUM (DT_PREINIT_ARRAYSZ + 1)
+
struct load_list {
struct load_list *next;
void *start;