summaryrefslogtreecommitdiffstats
path: root/sys/sys/exec_elf.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-08-30 12:47:19 +0000
committerkettenis <kettenis@openbsd.org>2016-08-30 12:47:19 +0000
commit9b12f51319f99158c41ca09d290ec403ca6955ee (patch)
tree04b3822be998ed9334896f5960d7baedbb13b0b0 /sys/sys/exec_elf.h
parentMake the init code match the comment and disable watchdog (diff)
downloadwireguard-openbsd-9b12f51319f99158c41ca09d290ec403ca6955ee.tar.xz
wireguard-openbsd-9b12f51319f99158c41ca09d290ec403ca6955ee.zip
Move DT_NUM from <sys/exec_elf.h> to resolv.h in ld.so where it belongs.
ok guenther@
Diffstat (limited to 'sys/sys/exec_elf.h')
-rw-r--r--sys/sys/exec_elf.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h
index f3186e6db6e..baf6f92d020 100644
--- a/sys/sys/exec_elf.h
+++ b/sys/sys/exec_elf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.h,v 1.60 2016/08/23 06:46:17 kettenis Exp $ */
+/* $OpenBSD: exec_elf.h,v 1.61 2016/08/30 12:47:19 kettenis Exp $ */
/*
* Copyright (c) 1995, 1996 Erik Theisen. All rights reserved.
*
@@ -525,9 +525,6 @@ typedef struct {
#define DF_1_NODUMP 0x00001000
#define DF_1_CONLFAT 0x00002000
-/* ld.so: number of low tags that are used saved internally (0 .. DT_NUM-1) */
-#define DT_NUM (DT_PREINIT_ARRAYSZ+1)
-
/* Standard ELF hashing function */
unsigned int elf_hash(const unsigned char *name);