[llvm-commits] [llvm] r119981 - /llvm/trunk/lib/MC/ELFObjectWriter.cpp
Jason W Kim
jason.w.kim.2009 at gmail.com
Mon Nov 22 10:47:06 PST 2010
Author: jasonwkim
Date: Mon Nov 22 12:47:05 2010
New Revision: 119981
URL: http://llvm.org/viewvc/llvm-project?rev=119981&view=rev
Log:
Fix misplaced statics.
Modified:
llvm/trunk/lib/MC/ELFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=119981&r1=119980&r2=119981&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Mon Nov 22 12:47:05 2010
@@ -399,12 +399,12 @@
switch (Kind) {
default:
return false;
- case MBlaze::reloc_pcrel_2byte:
- case MBlaze::reloc_pcrel_4byte:
+ case ARM::fixup_arm_pcrel_12:
+ case ARM::fixup_arm_vfp_pcrel_12:
+ case ARM::fixup_arm_branch:
return true;
}
}
-
};
//===- MBlazeELFObjectWriter -------------------------------------------===//
@@ -426,9 +426,8 @@
switch (Kind) {
default:
return false;
- case ARM::fixup_arm_pcrel_12:
- case ARM::fixup_arm_vfp_pcrel_12:
- case ARM::fixup_arm_branch:
+ case MBlaze::reloc_pcrel_2byte:
+ case MBlaze::reloc_pcrel_4byte:
return true;
}
}
More information about the llvm-commits
mailing list