[llvm-commits] [llvm] r118586 - /llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
Jim Grosbach
grosbach at apple.com
Tue Nov 9 09:36:59 PST 2010
Author: grosbach
Date: Tue Nov 9 11:36:59 2010
New Revision: 118586
URL: http://llvm.org/viewvc/llvm-project?rev=118586&view=rev
Log:
ARM .word data fixups don't need an adjustment.
Modified:
llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp?rev=118586&r1=118585&r2=118586&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp Tue Nov 9 11:36:59 2010
@@ -152,6 +152,7 @@
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;
More information about the llvm-commits
mailing list