diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-12-16 18:51:28 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-12-16 18:51:28 +0000 |
commit | 7113922b20026e1e56c3b3861cab8b148f06ab90 (patch) | |
tree | 9a5fd2b977613eb37c71bb33ef6c6f4dcb747f60 /lib/Target/ARM/ARMSubtarget.h | |
parent | 0762d6c0a7f130d0d7b264bd152c3e74eb0aa9d3 (diff) | |
download | llvm-7113922b20026e1e56c3b3861cab8b148f06ab90.tar.gz llvm-7113922b20026e1e56c3b3861cab8b148f06ab90.tar.bz2 llvm-7113922b20026e1e56c3b3861cab8b148f06ab90.tar.xz |
Recognize EABIHF as environment and use it for RTAPI + VFP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 45a7a1aaae..42bc155d3b 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -317,7 +317,8 @@ public: // even for GNUEABI, so we can make a distinction here and still conform to // the EABI on GNU (and Android) mode. This requires change in Clang, too. bool isTargetAEABI() const { - return TargetTriple.getEnvironment() == Triple::EABI; + return TargetTriple.getEnvironment() == Triple::EABI || + TargetTriple.getEnvironment() == Triple::EABIHF; } bool isAPCS_ABI() const { return TargetABI == ARM_ABI_APCS; } |