summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-08 22:17:40 +0000
committerEric Christopher <echristo@apple.com>2011-09-08 22:17:40 +0000
commit460be996ce6d09e07993e615de04238a9974c6c0 (patch)
treefee90d3ba8ebfb4b3b5d6f5d9832039de3417333 /llvm/lib/MC/MachObjectWriter.cpp
parentb5df62036b147577bdd882396439a096a6c53983 (diff)
downloadbcm5719-llvm-460be996ce6d09e07993e615de04238a9974c6c0.tar.gz
bcm5719-llvm-460be996ce6d09e07993e615de04238a9974c6c0.zip
Formatting and typo.
llvm-svn: 139325
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp
index ef0a93d93b2..a9219ad29c6 100644
--- a/llvm/lib/MC/MachObjectWriter.cpp
+++ b/llvm/lib/MC/MachObjectWriter.cpp
@@ -594,7 +594,7 @@ IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
// If the fragment with the reference does not have a base symbol but meets
// the simple way of dealing with this, in that it is a temporary symbol in
// the same atom then it is assumed to be fully resolved. This is needed so
- // a relocation entry is not created and so the staitic linker does not
+ // a relocation entry is not created and so the static linker does not
// mess up the reference later.
else if(!FB.getAtom() &&
SA.isTemporary() && SA.isInSection() && &SecA == &SecB){
@@ -627,7 +627,8 @@ IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
return false;
}
-void MachObjectWriter::WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout) {
+void MachObjectWriter::WriteObject(MCAssembler &Asm,
+ const MCAsmLayout &Layout) {
unsigned NumSections = Asm.size();
// The section data starts after the header, the segment load command (and
OpenPOWER on IntegriCloud