mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143071 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a581328ceb
commit
684457d179
@ -118,7 +118,7 @@ uint64_t MCAsmLayout::getSymbolOffset(const MCSymbolData *SD) const {
|
|||||||
if (Target.getSymB() && Target.getSymB()->getSymbol().isUndefined())
|
if (Target.getSymB() && Target.getSymB()->getSymbol().isUndefined())
|
||||||
report_fatal_error("unable to evaluate offset to undefined symbol '" +
|
report_fatal_error("unable to evaluate offset to undefined symbol '" +
|
||||||
Target.getSymB()->getSymbol().getName() + "'");
|
Target.getSymB()->getSymbol().getName() + "'");
|
||||||
|
|
||||||
uint64_t Offset = Target.getConstant();
|
uint64_t Offset = Target.getConstant();
|
||||||
if (Target.getSymA())
|
if (Target.getSymA())
|
||||||
Offset += getSymbolOffset(&Assembler.getSymbolData(
|
Offset += getSymbolOffset(&Assembler.getSymbolData(
|
||||||
@ -295,7 +295,7 @@ bool MCAssembler::EvaluateFixup(const MCAsmLayout &Layout,
|
|||||||
|
|
||||||
if (IsPCRel) {
|
if (IsPCRel) {
|
||||||
uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
|
uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
|
||||||
|
|
||||||
// A number of ARM fixups in Thumb mode require that the effective PC
|
// A number of ARM fixups in Thumb mode require that the effective PC
|
||||||
// address be determined as the 32-bit aligned version of the actual offset.
|
// address be determined as the 32-bit aligned version of the actual offset.
|
||||||
if (ShouldAlignPC) Offset &= ~0x3;
|
if (ShouldAlignPC) Offset &= ~0x3;
|
||||||
|
Loading…
Reference in New Issue
Block a user