summaryrefslogtreecommitdiff
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-04-13 15:29:46 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-04-13 15:47:37 +0200
commite14f1e044839fba347babb41259f89867bac4d46 (patch)
tree0d5797d8a058de605831580641b8187057c22f40 /lib/Support/Triple.cpp
parent0597584cce5889e63994cd4332aea0d96d88cfc7 (diff)
downloadllvm-e14f1e044839fba347babb41259f89867bac4d46.tar.gz
llvm-e14f1e044839fba347babb41259f89867bac4d46.tar.bz2
llvm-e14f1e044839fba347babb41259f89867bac4d46.tar.xz
[Embtk] Add support of hard float triple for uClibc and musl
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r--lib/Support/Triple.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index 5419912123..19f841c969 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -312,7 +312,9 @@ static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) {
.StartsWith("eabi", Triple::EABI)
.StartsWith("gnueabihf", Triple::GNUEABIHF)
.StartsWith("gnueabi", Triple::GNUEABI)
+ .StartsWith("uclibceabihf", Triple::GNUEABIHF)
.StartsWith("uclibceabi", Triple::GNUEABI)
+ .StartsWith("musleabihf", Triple::GNUEABIHF)
.StartsWith("musleabi", Triple::GNUEABI)
.StartsWith("gnux32", Triple::GNUX32)
.StartsWith("gnu", Triple::GNU)