diff options
| author | George Rimar <grimar@accesssoftek.com> | 2016-05-21 10:16:58 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2016-05-21 10:16:58 +0000 |
| commit | c13c59afa702bd2ed7804acb2672a8793eff41c7 (patch) | |
| tree | acb0a8ca40f57eb66ff245808e2e0319b6b7ac12 /llvm/lib/Transforms/Utils | |
| parent | 0287e17d09b9c8cdf9e607f6b568e3ec5ed65e70 (diff) | |
| download | bcm5719-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/lib/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions

