git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221652
91177308-0d34-0410-b5e6-
96231b3b80d8
// Offset of the symbol in the section
int64_t a = Layout.getSymbolOffset(&B_SD);
// Offset of the symbol in the section
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();
FixedValue = b - a;
int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
FixedValue = b - a;