From fdbdaaca2c0ad84009c173b95d49aa9b30ae806e Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 1 Dec 2010 19:02:26 +0000 Subject: [PATCH] Fix a mised reloc rename spot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120585 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/ELFObjectWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index 47c70ec1cce..641354c43cf 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -409,7 +409,7 @@ namespace { case FK_PCRel_2: case FK_PCRel_4: case ARM::fixup_arm_pcrel_12: - case ARM::fixup_arm_vfp_pcrel_12: + case ARM::fixup_arm_vfp_pcrel_10: case ARM::fixup_arm_branch: return true; } @@ -1457,7 +1457,7 @@ unsigned ARMELFObjectWriter::GetRelocType(const MCValue &Target, switch ((unsigned)Fixup.getKind()) { default: llvm_unreachable("invalid fixup kind!"); case ARM::fixup_arm_pcrel_12: - case ARM::fixup_arm_vfp_pcrel_12: + case ARM::fixup_arm_vfp_pcrel_10: assert(0 && "Unimplemented"); break; case ARM::fixup_arm_branch: return ELF::R_ARM_CALL; break; -- 2.34.1