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:
3bbb0cc
)
ARM .word data fixups don't need an adjustment.
author
Jim Grosbach
<grosbach@apple.com>
Tue, 9 Nov 2010 17:36:59 +0000
(17:36 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 9 Nov 2010 17:36:59 +0000
(17:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118586
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMAsmBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMAsmBackend.cpp
b/lib/Target/ARM/ARMAsmBackend.cpp
index c475d5cfef2f6260190df74ee4154d725c1c74ff..be3c7111665ba87c3e4d32341957630fb98a45ac 100644
(file)
--- 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;