OpenBSD/arm has switched to float ABI SoftFP.

llvm-svn: 337660
This commit is contained in:
Brad Smith 2018-07-22 21:39:54 +00:00
parent 37dd491d13
commit 1c6bb54c56
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) {
break;
case llvm::Triple::OpenBSD:
ABI = FloatABI::Soft;
ABI = FloatABI::SoftFP;
break;
default:

View File

@ -110,4 +110,4 @@
// Check ARM float ABI
// RUN: %clang -target arm-unknown-openbsd -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHECK-ARM-FLOAT-ABI %s
// CHECK-ARM-FLOAT-ABI: "-mfloat-abi" "soft"
// CHECK-ARM-FLOAT-ABI: "-mfloat-abi" "softfp"