projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d481110
)
Fix typo in r121875.
author
Owen Anderson
<resistor@mac.com>
Wed, 15 Dec 2010 19:24:24 +0000
(19:24 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 15 Dec 2010 19:24:24 +0000
(19:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121880
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCAssembler.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCAssembler.cpp
b/lib/MC/MCAssembler.cpp
index 0d114fb73148db8cf890594a4a8536001076b450..3421c1dde8a265ca2888dc63c59f79b3e1b762e3 100644
(file)
--- a/
lib/MC/MCAssembler.cpp
+++ b/
lib/MC/MCAssembler.cpp
@@
-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;
}