mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-07 13:46:11 +00:00
Fix Punctuation.
llvm-svn: 115657
This commit is contained in:
parent
a3b34ed2df
commit
a65d17a5ca
@ -657,7 +657,7 @@ void WinCOFFObjectWriter::RecordRelocation(const MCAssembler &Asm,
|
|||||||
Reloc.Data.SymbolTableIndex = 0;
|
Reloc.Data.SymbolTableIndex = 0;
|
||||||
Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment);
|
Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment);
|
||||||
|
|
||||||
// turn relocations for temporary symbols into section relocations
|
// Turn relocations for temporary symbols into section relocations.
|
||||||
if (coff_symbol->MCData->getSymbol().isTemporary()) {
|
if (coff_symbol->MCData->getSymbol().isTemporary()) {
|
||||||
Reloc.Symb = coff_symbol->Section->Symbol;
|
Reloc.Symb = coff_symbol->Section->Symbol;
|
||||||
FixedValue += Layout.getFragmentOffset(coff_symbol->MCData->Fragment)
|
FixedValue += Layout.getFragmentOffset(coff_symbol->MCData->Fragment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user