[XCore] Use static relocation model by default.

This allows us to get get rid of a hack in XCoreTargetObjectFile where the
the DataRel* sections were overridden.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Osborne
2013-05-04 16:40:58 +00:00
parent d66ad6c571
commit 0c66f30325
4 changed files with 11 additions and 5 deletions
+6
View File
@@ -1623,6 +1623,12 @@ XCoreTargetLowering::isLegalAddressingMode(const AddrMode &AM,
}
}
bool XCoreTargetLowering::
isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
// The XCore target isn't yet aware of offsets.
return false;
}
//===----------------------------------------------------------------------===//
// XCore Inline Assembly Support
//===----------------------------------------------------------------------===//