aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMAsmBackend.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-11-09 17:36:59 +0000
committerJim Grosbach <grosbach@apple.com>2010-11-09 17:36:59 +0000
commita9a0dde8720d94f96c4e2888801c04c88cdb05cf (patch)
tree73340e92f11fb29c410f8d16e3af0c11da555097 /lib/Target/ARM/ARMAsmBackend.cpp
parent3bbb0cc42b67b4bf2c488285666999963bab0f7e (diff)
ARM .word data fixups don't need an adjustment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmBackend.cpp')
-rw-r--r--lib/Target/ARM/ARMAsmBackend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp
index c475d5cfef..be3c711166 100644
--- a/lib/Target/ARM/ARMAsmBackend.cpp
+++ b/lib/Target/ARM/ARMAsmBackend.cpp
@@ -152,6 +152,7 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
default:
llvm_unreachable("Unknown fixup kind!");
case FK_Data_4:
+ return Value;
case ARM::fixup_arm_pcrel_12:
// ARM PC-relative values are offset by 8.
return Value - 8;