mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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
This commit is contained in:
@@ -150,6 +150,7 @@ const char *Triple::getEnvironmentTypeName(EnvironmentType Kind) {
|
||||
case GNUEABI: return "gnueabi";
|
||||
case GNUX32: return "gnux32";
|
||||
case EABI: return "eabi";
|
||||
case EABIHF: return "eabihf";
|
||||
case MachO: return "macho";
|
||||
case Android: return "android";
|
||||
case ELF: return "elf";
|
||||
@@ -297,6 +298,7 @@ static Triple::OSType parseOS(StringRef OSName) {
|
||||
|
||||
static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) {
|
||||
return StringSwitch<Triple::EnvironmentType>(EnvironmentName)
|
||||
.StartsWith("eabihf", Triple::EABIHF)
|
||||
.StartsWith("eabi", Triple::EABI)
|
||||
.StartsWith("gnueabihf", Triple::GNUEABIHF)
|
||||
.StartsWith("gnueabi", Triple::GNUEABI)
|
||||
|
Reference in New Issue
Block a user