From: Jason W Kim Date: Mon, 22 Nov 2010 18:42:07 +0000 (+0000) Subject: Kill trailing whitespace X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=858e7506e1fabe563eb4222c80ad0fad01641bec;p=oota-llvm.git Kill trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119979 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index 04f21e4d0ef..b80d6ca1f84 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -125,7 +125,7 @@ namespace { unsigned Type; const MCSymbol *Symbol; uint64_t r_addend; - + ELFRelocationEntry() : r_offset(0), Index(0), Type(0), Symbol(0), r_addend(0) {} @@ -1524,7 +1524,7 @@ void MBlazeELFObjectWriter::RecordRelocation(const MCAssembler &Asm, if (RelocNeedsGOT(Modifier)) NeedsGOT = true; - uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) + + uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); if (! HasRelocationAddend) Addend = 0; @@ -1736,7 +1736,7 @@ void X86ELFObjectWriter::RecordRelocation(const MCAssembler &Asm, NeedsGOT = true; - uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) + + uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); if (! HasRelocationAddend) Addend = 0;