diff options
author | Brad Smith <brad@comstyle.com> | 2017-04-22 17:15:15 +0000 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2017-04-22 17:15:15 +0000 |
commit | c82a481e77cbeeebb53de2ad64de816e96cbcaea (patch) | |
tree | 160f7cadca2f6e5b3f8c8655aa39f41b85e0e261 /lib/Basic/Targets.cpp | |
parent | 86a3750c3c209d591600c095124265f66c9e908c (diff) |
Merging r296430:
------------------------------------------------------------------------
r296430 | brad | 2017-02-27 22:20:26 -0500 (Mon, 27 Feb 2017) | 2 lines
Set ABIs correctly for OpenBSD/arm; soft float and aapcs-linux.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 0c94b88a98..a8890b7ef8 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -5146,6 +5146,8 @@ public: default: if (Triple.getOS() == llvm::Triple::NetBSD) setABI("apcs-gnu"); + else if (Triple.getOS() == llvm::Triple::OpenBSD) + setABI("aapcs-linux"); else setABI("aapcs"); break; |