summaryrefslogtreecommitdiffstats
path: root/sys/sys/exec_elf.h
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2016-09-17 17:39:34 +0000
committerjasper <jasper@openbsd.org>2016-09-17 17:39:34 +0000
commit72123b7dfc2148ca3e1bde5ba7eb7b71f16e0e00 (patch)
treef8a9627ab7531301abb2e951ac10959dafab0dd4 /sys/sys/exec_elf.h
parentFix types for OpenBSD/arm. (diff)
downloadwireguard-openbsd-72123b7dfc2148ca3e1bde5ba7eb7b71f16e0e00.tar.xz
wireguard-openbsd-72123b7dfc2148ca3e1bde5ba7eb7b71f16e0e00.zip
move the .SUNW_ctf section name definition to exec_elf.h and document it in elf(5)
feedback from guenther@ ok guenther@ kettenis@
Diffstat (limited to 'sys/sys/exec_elf.h')
-rw-r--r--sys/sys/exec_elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h
index 70970e44663..5b24563d09e 100644
--- a/sys/sys/exec_elf.h
+++ b/sys/sys/exec_elf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.h,v 1.63 2016/09/07 20:12:42 jasper Exp $ */
+/* $OpenBSD: exec_elf.h,v 1.64 2016/09/17 17:39:34 jasper Exp $ */
/*
* Copyright (c) 1995, 1996 Erik Theisen. All rights reserved.
*
@@ -264,6 +264,7 @@ typedef struct {
/* Section names */
#define ELF_BSS ".bss" /* uninitialized data */
#define ELF_DATA ".data" /* initialized data */
+#define ELF_CTF ".SUNW_ctf" /* CTF data */
#define ELF_DEBUG ".debug" /* debug */
#define ELF_DYNAMIC ".dynamic" /* dynamic linking information */
#define ELF_DYNSTR ".dynstr" /* dynamic string table */