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:
bd47a4a
)
Fix a bug introduced by my patch yesterday: BL is a 4-byte instructions like BLX...
author
Owen Anderson
<resistor@mac.com>
Wed, 23 Mar 2011 21:19:56 +0000
(21:19 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 23 Mar 2011 21:19:56 +0000
(21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128169
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MachObjectWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MachObjectWriter.cpp
b/lib/MC/MachObjectWriter.cpp
index f2e91c26719929c8efe0d8b66268150f76d2bf56..105506a113d693fba5710f0fe4fbc363155189cd 100644
(file)
--- a/
lib/MC/MachObjectWriter.cpp
+++ b/
lib/MC/MachObjectWriter.cpp
@@
-949,14
+949,13
@@
public:
// Handle Thumb branches.
case ARM::fixup_arm_thumb_br:
- case ARM::fixup_arm_thumb_bl:
RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit);
Log2Size = llvm::Log2_32(2);
return true;
-
+
+ case ARM::fixup_arm_thumb_bl:
case ARM::fixup_arm_thumb_blx:
RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit);
- // Report as 'long', even though that is not quite accurate.
Log2Size = llvm::Log2_32(4);
return true;