summaryrefslogtreecommitdiff
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-19 10:40:33 +0200
commit91b2231754cac7639f6e87db8178bb5af0e11b7a (patch)
tree5fb77fec4d7caa59a00fcebcb5767f3837e57a8c
parentfea898b7fa5aea0ea3d688bce03b1184ab6842e8 (diff)
downloadllvm-91b2231754cac7639f6e87db8178bb5af0e11b7a.tar.gz
llvm-91b2231754cac7639f6e87db8178bb5af0e11b7a.tar.bz2
llvm-91b2231754cac7639f6e87db8178bb5af0e11b7a.tar.xz
[Embtk] Add support of hard float triple for uClibc and muslembtk-support-release-3.3
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-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 c9729b5412..0762cf6766 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -307,7 +307,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)