diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-12-09 19:50:12 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-12-09 19:50:12 +0000 |
commit | b492a7c2134d3886f545f1b5ea55115d71529a10 (patch) | |
tree | 6764264f43525449eb16cb1ec0c657ad1f3496fc /lib/Target/ARM/ARMAsmBackend.cpp | |
parent | dea914bed9fb1d5c08e944557989ccddb6849000 (diff) |
Rename CB/CBZ specific fixup accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmBackend.cpp')
-rw-r--r-- | lib/Target/ARM/ARMAsmBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp index 0f96d6120d..6be9f9288e 100644 --- a/lib/Target/ARM/ARMAsmBackend.cpp +++ b/lib/Target/ARM/ARMAsmBackend.cpp @@ -194,7 +194,7 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) { // 'off by 4' is implicitly handled by the half-word ordering of the // Thumb encoding, so we only need to adjust by 2 here. return ((Value - 2) >> 2) & 0xff; - case ARM::fixup_arm_thumb_br: { + case ARM::fixup_arm_thumb_cb: { // Offset by 4 and don't encode the lower bit, which is always 0. uint32_t Binary = (Value - 4) >> 1; return ((Binary & 0x20) << 9) | ((Binary & 0x1f) << 3); @@ -312,7 +312,7 @@ static unsigned getFixupKindNumBytes(unsigned Kind) { case ARM::fixup_arm_thumb_cp: return 1; - case ARM::fixup_arm_thumb_br: + case ARM::fixup_arm_thumb_cb: return 2; case ARM::fixup_arm_ldst_pcrel_12: |