aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/elf_common.h
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2006-11-14 12:10:39 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2006-11-14 12:10:39 +0000
commit55e1e0b08d0ea813419c8052465afdab0c6b6080 (patch)
tree4ab6b7bdad5a30c117e3db43bf728c224b88dfff /sys/sys/elf_common.h
parentd842db207353a620e668c3ab6a761578213c7b00 (diff)
downloadsrc-55e1e0b08d0ea813419c8052465afdab0c6b6080.tar.gz
src-55e1e0b08d0ea813419c8052465afdab0c6b6080.zip
Add `PN_XNUM', for supporting ELF objects with a large number of program
header table entries.
Notes
Notes: svn path=/head/; revision=164276
Diffstat (limited to 'sys/sys/elf_common.h')
-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 7eda8bdfa26d..d12729b26c6f 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