summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/Inputs
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-05-21 10:16:58 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-05-21 10:16:58 +0000
commitc13c59afa702bd2ed7804acb2672a8793eff41c7 (patch)
treeacb0a8ca40f57eb66ff245808e2e0319b6b7ac12 /llvm/test/tools/llvm-readobj/Inputs
parent0287e17d09b9c8cdf9e607f6b568e3ec5ed65e70 (diff)
downloadbcm5719-llvm-c13c59afa702bd2ed7804acb2672a8793eff41c7.tar.gz
bcm5719-llvm-c13c59afa702bd2ed7804acb2672a8793eff41c7.zip
[llvm-readobj] - Teach readobj to recognize SHF_COMPRESSED flag.
Main problem here was that SHF_COMPRESSED has the same value with XCORE_SHF_CP_SECTION, which was included as standart (common) flag. As far I understand xCore is a family of controllers and it that means it's constant should be processed separately, only if e_machine == EM_XCORE, otherwise llvm-readobj would output different constants twice for compressed section: Flags [ .. SHF_COMPRESSED (0x800) .. XCORE_SHF_CP_SECTION (0x800) .. ] what probably does not make sence if you're not working with xcore file. Differential revision: http://reviews.llvm.org/D20273 llvm-svn: 270320
Diffstat (limited to 'llvm/test/tools/llvm-readobj/Inputs')
-rw-r--r--llvm/test/tools/llvm-readobj/Inputs/compression.zlib.style.elf-x86-64bin0 -> 10384 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-readobj/Inputs/compression.zlib.style.elf-x86-64 b/llvm/test/tools/llvm-readobj/Inputs/compression.zlib.style.elf-x86-64
new file mode 100644
index 00000000000..34cdb8a89ed
--- /dev/null
+++ b/llvm/test/tools/llvm-readobj/Inputs/compression.zlib.style.elf-x86-64
Binary files differ
OpenPOWER on IntegriCloud