From c7aed13a2976fdaa67c2af090cb96d937e550c4f Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 16 Jan 2018 16:48:32 +0000 Subject: [PATCH] Also set the EF_ARM_VFP_FLOAT flag We need it in rtld to use the hard-float libraries --- contrib/llvm/tools/lld/ELF/Arch/ARM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm/tools/lld/ELF/Arch/ARM.cpp b/contrib/llvm/tools/lld/ELF/Arch/ARM.cpp index b9f551e4b3b..8f665137ee8 100644 --- a/contrib/llvm/tools/lld/ELF/Arch/ARM.cpp +++ b/contrib/llvm/tools/lld/ELF/Arch/ARM.cpp @@ -100,7 +100,7 @@ uint32_t ARM::calcEFlags() const { // We don't currently use any features incompatible with EF_ARM_EABI_VER5, // but we don't have any firm guarantees of conformance. Linux AArch64 // kernels (as of 2016) require an EABI version to be set. - return EF_ARM_EABI_VER5; + return EF_ARM_EABI_VER5 | EF_ARM_VFP_FLOAT; } RelExpr ARM::getRelExpr(RelType Type, const Symbol &S, -- 2.15.1