X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FMC%2FMachObjectWriter.cpp;h=a9219ad29c65eb0d93f131221714c188416993d6;hb=98e0b9c86d1385d9cf04aef92651f0cdf8a46a9e;hp=ef0a93d93b257f2f06baec62a3d8cd73abb4ef9d;hpb=5afc19002e7a6b949619a5073d8c746985e8d6f2;p=oota-llvm.git diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp index ef0a93d93b2..a9219ad29c6 100644 --- a/lib/MC/MachObjectWriter.cpp +++ b/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