summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-11-11 20:16:23 +0000
committerJim Grosbach <grosbach@apple.com>2010-11-11 20:16:23 +0000
commitba321cb1206221bfa570fbd59c05a692e1cd6d63 (patch)
treebc1598dfcae62bfd2b6a2dd61c2830b1cc96ca0e /llvm/lib/MC/MachObjectWriter.cpp
parentc3b849970d3829caa374e7bd798ab2c2cad8ad04 (diff)
downloadbcm5719-llvm-ba321cb1206221bfa570fbd59c05a692e1cd6d63.tar.gz
bcm5719-llvm-ba321cb1206221bfa570fbd59c05a692e1cd6d63.zip
Trailing whitespace.
llvm-svn: 118831
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp
index e98d27d73e2..fc711258f85 100644
--- a/llvm/lib/MC/MachObjectWriter.cpp
+++ b/llvm/lib/MC/MachObjectWriter.cpp
@@ -633,7 +633,7 @@ public:
if (A_Base == B_Base && A_Base)
report_fatal_error("unsupported relocation with identical base");
- Value += Layout.getSymbolAddress(&A_SD) -
+ Value += Layout.getSymbolAddress(&A_SD) -
(A_Base == NULL ? 0 : Layout.getSymbolAddress(A_Base));
Value -= Layout.getSymbolAddress(&B_SD) -
(B_Base == NULL ? 0 : Layout.getSymbolAddress(B_Base));
@@ -875,7 +875,7 @@ public:
} else {
FixedValue = 0;
}
-
+
// struct relocation_info (8 bytes)
MachRelocationEntry MRE;
MRE.Word0 = Value;
@@ -886,7 +886,7 @@ public:
(RIT_TLV << 28)); // Type
Relocations[Fragment->getParent()].push_back(MRE);
}
-
+
void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
const MCFragment *Fragment, const MCFixup &Fixup,
MCValue Target, uint64_t &FixedValue) {
@@ -904,7 +904,7 @@ public:
RecordTLVPRelocation(Asm, Layout, Fragment, Fixup, Target, FixedValue);
return;
}
-
+
// If this is a difference or a defined symbol plus an offset, then we need
// a scattered relocation entry.
// Differences always require scattered relocations.
@@ -988,7 +988,7 @@ public:
// Initialize the section indirect symbol base, if necessary.
if (!IndirectSymBase.count(it->SectionData))
IndirectSymBase[it->SectionData] = IndirectIndex;
-
+
Asm.getOrCreateSymbolData(*it->Symbol);
}
OpenPOWER on IntegriCloud