diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-13 23:16:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-13 23:16:11 +0000 |
commit | 1f3de49f3755d8a995f93a1e2973059da5a1a4d4 (patch) | |
tree | 876e669fdef21fad1afb13e105d4f969bd67cbba /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2094dbf4e7d240dbc7e9188b3a6501e6c91d2889 (diff) | |
download | llvm-1f3de49f3755d8a995f93a1e2973059da5a1a4d4.zip llvm-1f3de49f3755d8a995f93a1e2973059da5a1a4d4.tar.gz llvm-1f3de49f3755d8a995f93a1e2973059da5a1a4d4.tar.bz2 |
Use __literal16. It has been supported by the linker since 2005.
llvm-svn: 201365
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 22a21ee..127b2aa 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -562,7 +562,7 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, return FourByteConstantSection; if (Kind.isMergeableConst8()) return EightByteConstantSection; - if (Kind.isMergeableConst16() && SixteenByteConstantSection) + if (Kind.isMergeableConst16()) return SixteenByteConstantSection; } @@ -601,7 +601,7 @@ TargetLoweringObjectFileMachO::getSectionForConstant(SectionKind Kind) const { return FourByteConstantSection; if (Kind.isMergeableConst8()) return EightByteConstantSection; - if (Kind.isMergeableConst16() && SixteenByteConstantSection) + if (Kind.isMergeableConst16()) return SixteenByteConstantSection; return ReadOnlySection; // .const } |