aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-28 17:50:28 +0000
committerChris Lattner <sabre@nondot.org>2009-07-28 17:50:28 +0000
commit4bb253c60f895131371aa2ad1bfa5a2bea213f78 (patch)
tree5a397006142f6cbd094cfcf9a6af277b8e2a140c /include
parenta02446a9d5cea82553717d20230a46c808893bfc (diff)
downloadexternal_llvm-4bb253c60f895131371aa2ad1bfa5a2bea213f78.zip
external_llvm-4bb253c60f895131371aa2ad1bfa5a2bea213f78.tar.gz
external_llvm-4bb253c60f895131371aa2ad1bfa5a2bea213f78.tar.bz2
the apple "ld_classic" linker doesn't support .literal16 in 32-bit
mode, and "ld64" (the default linker) falls back to it in -static mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h
index 18ce1de..03bc5a0 100644
--- a/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/include/llvm/Target/TargetLoweringObjectFile.h
@@ -160,7 +160,7 @@ class TargetLoweringObjectFileMachO : public TargetLoweringObjectFile {
const Section *EightByteConstantSection;
const Section *SixteenByteConstantSection;
public:
- TargetLoweringObjectFileMachO();
+ TargetLoweringObjectFileMachO(const TargetMachine &TM);
virtual const Section *SelectSectionForGlobal(const GlobalValue *GV,
SectionKind Kind,
const TargetMachine &TM) const;