diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-09-17 22:01:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-09-17 22:01:09 +0000 |
commit | 0ad7c03e99d8c37bd367606426e8d5fd987037d8 (patch) | |
tree | 8788706457e0270640ac7779ca71b16b81ae1ad5 /gnu | |
parent | 12d2dd2ba97cc71ac833c48c1b46e1de4a74e436 (diff) |
For now, force soft-float; our kernel doesn't support saving the FPU state yet.
ok patrick@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/llvm/tools/clang/lib/Driver/Tools.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/llvm/tools/clang/lib/Driver/Tools.cpp b/gnu/llvm/tools/clang/lib/Driver/Tools.cpp index 284de004973..81bd5da9276 100644 --- a/gnu/llvm/tools/clang/lib/Driver/Tools.cpp +++ b/gnu/llvm/tools/clang/lib/Driver/Tools.cpp @@ -721,6 +721,10 @@ arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) { } break; + case llvm::Triple::OpenBSD: + ABI = FloatABI::Soft; + break; + default: switch (Triple.getEnvironment()) { case llvm::Triple::GNUEABIHF: |