summaryrefslogtreecommitdiffstats
path: root/sys/sys/elf_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r--sys/sys/elf_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index ede4b13..e8a8709 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -849,6 +849,13 @@ typedef struct {
#define SYMINFO_CURRENT 1
#define SYMINFO_NUM 2
+/* Values for ch_type (compressed section headers). */
+#define ELFCOMPRESS_ZLIB 1 /* ZLIB/DEFLATE */
+#define ELFCOMPRESS_LOOS 0x60000000 /* OS-specific */
+#define ELFCOMPRESS_HIOS 0x6fffffff
+#define ELFCOMPRESS_LOPROC 0x70000000 /* Processor-specific */
+#define ELFCOMPRESS_HIPROC 0x7fffffff
+
/*
* Relocation types.
*
OpenPOWER on IntegriCloud