aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elfcpp/ChangeLog9
-rw-r--r--elfcpp/elfcpp.h12
2 files changed, 21 insertions, 0 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 5cc38cb..75681b1 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,12 @@
+2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfcpp.h (SHF): Add SHF_COMPRESSED.
+ (ELFCOMPRESS_ZLIB): New.
+ (ELFCOMPRESS_LOOS): Likewise.
+ (ELFCOMPRESS_HIOS): Likewise.
+ (ELFCOMPRESS_LOPROC): Likewise.
+ (ELFCOMPRESS_HIPROC): Likewise.
+
2015-04-07 HC Yen <hc.yen@mediatek.com>
* arm.h: Add TAG_CPU_ARCH_V8 in Tag_CPU_arch EABI attribute.
diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h
index 327aeb2..f5a3efc 100644
--- a/elfcpp/elfcpp.h
+++ b/elfcpp/elfcpp.h
@@ -429,6 +429,7 @@ enum SHF
SHF_OS_NONCONFORMING = 0x100,
SHF_GROUP = 0x200,
SHF_TLS = 0x400,
+ SHF_COMPRESSED = 0x800,
SHF_MASKOS = 0x0ff00000,
SHF_MASKPROC = 0xf0000000,
@@ -451,6 +452,17 @@ enum SHF
SHF_X86_64_LARGE = 0x10000000
};
+// Values which appear in the first Elf_WXword of the section data
+// of a SHF_COMPRESSED section.
+enum
+{
+ ELFCOMPRESS_ZLIB = 1,
+ ELFCOMPRESS_LOOS = 0x60000000,
+ ELFCOMPRESS_HIOS = 0x6fffffff,
+ ELFCOMPRESS_LOPROC = 0x70000000,
+ ELFCOMPRESS_HIPROC = 0x7fffffff,
+};
+
// Bit flags which appear in the first 32-bit word of the section data
// of a SHT_GROUP section.