From 4bb253c60f895131371aa2ad1bfa5a2bea213f78 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 28 Jul 2009 17:50:28 +0000 Subject: 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 --- include/llvm/Target/TargetLoweringObjectFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.1