aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMAsmBackend.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-12-01 19:18:46 +0000
committerOwen Anderson <resistor@mac.com>2010-12-01 19:18:46 +0000
commit9d63d90de5e57ad96f467b270544443a9284eb2b (patch)
tree8c1141f8091ee5185329088de393ad12ba33698a /lib/Target/ARM/ARMAsmBackend.cpp
parent1920d82f75c365a72e0925fb6d4e6977ffb888c9 (diff)
Add correct encodings for STRD and LDRD, including fixup support. Additionally, update these to unified syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmBackend.cpp')
-rw-r--r--lib/Target/ARM/ARMAsmBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp
index ac0f160a9c..0672899d7b 100644
--- a/lib/Target/ARM/ARMAsmBackend.cpp
+++ b/lib/Target/ARM/ARMAsmBackend.cpp
@@ -64,7 +64,7 @@ protected:
// These values don't encode the low two bits since they're always zero.
// Offset by 8 just as above.
return (Value - 8) >> 2;
- case ARM::fixup_arm_vfp_pcrel_10: {
+ case ARM::fixup_arm_pcrel_10: {
// Offset by 8 just as above.
Value = Value - 8;
bool isAdd = true;
@@ -202,7 +202,7 @@ static unsigned getFixupKindNumBytes(unsigned Kind) {
default: llvm_unreachable("Unknown fixup kind!");
case FK_Data_4: return 4;
case ARM::fixup_arm_pcrel_12: return 3;
- case ARM::fixup_arm_vfp_pcrel_10: return 3;
+ case ARM::fixup_arm_pcrel_10: return 3;
case ARM::fixup_arm_branch: return 3;
}
}