Skip to content

Commit

Permalink
Fix typo in r121875.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121880 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
resistor committed Dec 15, 2010
1 parent d481110 commit d18e011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MC/MCAssembler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d18e011

Please sign in to comment.