mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
Fix typo in r121875.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121880 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d481110ef7
commit
d18e011cbb
@ -258,7 +258,7 @@ bool MCAssembler::EvaluateFixup(const MCObjectWriter &Writer,
|
||||
|
||||
// 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.
|
||||
if (ShouldAlignPC) Offset &= 0x3;
|
||||
if (ShouldAlignPC) Offset &= ~0x3;
|
||||
Value -= Layout.getFragmentOffset(DF) + Offset;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user