diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-30 12:47:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-30 12:47:20 +0000 |
commit | dc40f10a0465ae1c9af6fabb5948e5aa7fa3e8f6 (patch) | |
tree | 62883458b7a1c302c2eb897a7a871d60cb88847b /libexec/ld.so | |
parent | f9a4f9e265a3ed2c1a29d912734472630d335d27 (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.h | 5 |
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; |