mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Use isMergeableConst now that it is sane.
llvm-svn: 227441
This commit is contained in:
parent
4fcf322f90
commit
8c6f16709c
@ -182,9 +182,7 @@ getELFSectionFlags(SectionKind K) {
|
||||
if (K.isThreadLocal())
|
||||
Flags |= ELF::SHF_TLS;
|
||||
|
||||
// K.isMergeableConst() is left out to honour PR4650
|
||||
if (K.isMergeableCString() || K.isMergeableConst4() ||
|
||||
K.isMergeableConst8() || K.isMergeableConst16())
|
||||
if (K.isMergeableCString() || K.isMergeableConst())
|
||||
Flags |= ELF::SHF_MERGE;
|
||||
|
||||
if (K.isMergeableCString())
|
||||
|
Loading…
x
Reference in New Issue
Block a user