From 9d63d90de5e57ad96f467b270544443a9284eb2b Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 1 Dec 2010 19:18:46 +0000 Subject: Add correct encodings for STRD and LDRD, including fixup support. Additionally, update these to unified syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120589 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/ELFObjectWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/MC/ELFObjectWriter.cpp') diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index 641354c43c..1bad8ebaf8 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_10: + case ARM::fixup_arm_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_10: + case ARM::fixup_arm_pcrel_10: assert(0 && "Unimplemented"); break; case ARM::fixup_arm_branch: return ELF::R_ARM_CALL; break; -- cgit v1.2.3-18-g5258