llvm-svn: 221652
This commit is contained in:
Nico Weber 2014-11-11 01:13:42 +00:00
parent f37ccc181d
commit 7f654a8e8f
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ void WinCOFFObjectWriter::RecordRelocation(const MCAssembler &Asm,
// Offset of the symbol in the section // Offset of the symbol in the section
int64_t a = Layout.getSymbolOffset(&B_SD); int64_t a = Layout.getSymbolOffset(&B_SD);
// Ofeset of the relocation in the section // Offset of the relocation in the section
int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
FixedValue = b - a; FixedValue = b - a;