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:
Owen Anderson 2010-12-15 19:24:24 +00:00
parent d481110ef7
commit d18e011cbb

View File

@ -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;
}