MC: Add TargetMachine support for setting the value of MCRelaxAll with

-filetype=obj.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104747 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2010-05-26 21:48:55 +00:00
parent 160a3bf74d
commit cb8326dc09
3 changed files with 17 additions and 4 deletions
+2 -1
View File
@@ -212,7 +212,8 @@ FunctionSections("ffunction-sections",
//
TargetMachine::TargetMachine(const Target &T)
: TheTarget(T), AsmInfo(0) {
: TheTarget(T), AsmInfo(0),
MCRelaxAll(false) {
// Typically it will be subtargets that will adjust FloatABIType from Default
// to Soft or Hard.
if (UseSoftFloat)