summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
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
commita3242e93b766f05979f76a5874e7558035a24e79 (patch)
tree2cd6cd6ca875bea14de1baf19d8f36a4c162275a /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent5142fbd02efb857ca2edd2152849cf9ed23354bf (diff)
downloadbcm5719-llvm-a3242e93b766f05979f76a5874e7558035a24e79.tar.gz
bcm5719-llvm-a3242e93b766f05979f76a5874e7558035a24e79.zip
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. llvm-svn: 77334
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 3b1be764248..afb0b69c54e 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -106,7 +106,7 @@ void ARMTargetLowering::addQRTypeForNEON(MVT VT) {
static TargetLoweringObjectFile *createTLOF(TargetMachine &TM) {
if (TM.getSubtarget<ARMSubtarget>().isTargetDarwin())
- return new TargetLoweringObjectFileMachO();
+ return new TargetLoweringObjectFileMachO(TM);
return new TargetLoweringObjectFileELF(true);
}
OpenPOWER on IntegriCloud