From ccbe000e093e53979056ba091291f4427c54bd99 Mon Sep 17 00:00:00 2001 From: Jason W Kim Date: Mon, 22 Nov 2010 18:47:05 +0000 Subject: [PATCH] Fix misplaced statics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119981 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/ELFObjectWriter.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index b80d6ca1f84..6150f9fcb95 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -399,12 +399,12 @@ namespace { 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 @@ namespace { 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; } } -- 2.34.1