summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2006-11-14 12:10:39 +0000
committerjkoshy <jkoshy@FreeBSD.org>2006-11-14 12:10:39 +0000
commit05db4acd0736c14408139167e91bd46ba662e0c2 (patch)
tree4ab6b7bdad5a30c117e3db43bf728c224b88dfff /sys/sys
parentf986524b82871833e848d97c22b842855870c515 (diff)
downloadFreeBSD-src-05db4acd0736c14408139167e91bd46ba662e0c2.zip
FreeBSD-src-05db4acd0736c14408139167e91bd46ba662e0c2.tar.gz
Add `PN_XNUM', for supporting ELF objects with a large number of program
header table entries.
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/elf_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 7eda8bd..d12729b 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -274,6 +274,9 @@ typedef struct {
#define PF_MASKOS 0x0ff00000 /* Operating system-specific. */
#define PF_MASKPROC 0xf0000000 /* Processor-specific. */
+/* Extended program header index. */
+#define PN_XNUM 0xffff
+
/* Values for d_tag. */
#define DT_NULL 0 /* Terminating entry. */
#define DT_NEEDED 1 /* String table offset of a needed shared
OpenPOWER on IntegriCloud