forked from OSchip/llvm-project
OpenBSD/arm has switched to float ABI SoftFP.
llvm-svn: 337660
This commit is contained in:
parent
37dd491d13
commit
1c6bb54c56
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue