mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-19 11:23:32 +00:00
ARM: keep special non-AEABIness of "-darwin-eabi" triples for now
Longer term, we want to move users to "*-*-*-macho" for embedded work, but for now people are relying on the last thing we told them, which is unfortunately "*-*-darwin-eabi". rdar://problem/15703934 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -317,9 +317,12 @@ public:
|
||||
// FIXME: Add a flag for bare-metal for that target and set Triple::EABI
|
||||
// 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.
|
||||
// FIXME: The Darwin exception is temporary, while we move users to
|
||||
// "*-*-*-macho" triples as quickly as possible.
|
||||
bool isTargetAEABI() const {
|
||||
return TargetTriple.getEnvironment() == Triple::EABI ||
|
||||
TargetTriple.getEnvironment() == Triple::EABIHF;
|
||||
return (TargetTriple.getEnvironment() == Triple::EABI ||
|
||||
TargetTriple.getEnvironment() == Triple::EABIHF) &&
|
||||
!isTargetDarwin();
|
||||
}
|
||||
|
||||
bool isTargetHardFloat() const {
|
||||
|
||||
Reference in New Issue
Block a user