Lines 874-879
std::string Triple::normalize(StringRef Str) {
Link Here
|
874 |
} |
874 |
} |
875 |
} |
875 |
} |
876 |
|
876 |
|
|
|
877 |
// Gentoo abuses the vendor field for softfloat/hardfloat ARM |
878 |
// e.g. arm-softfloat-linux-gnueabi, arm-hardfloat-linux-gnueabi |
879 |
if (Arch == Triple::arm && Environment == Triple::GNUEABI && |
880 |
Components[1] == "hardfloat") { |
881 |
Components[3] = "gnueabihf"; |
882 |
Environment = Triple::GNUEABIHF; |
883 |
} |
884 |
|
877 |
// Stick the corrected components back together to form the normalized string. |
885 |
// Stick the corrected components back together to form the normalized string. |
878 |
std::string Normalized; |
886 |
std::string Normalized; |
879 |
for (unsigned i = 0, e = Components.size(); i != e; ++i) { |
887 |
for (unsigned i = 0, e = Components.size(); i != e; ++i) { |
880 |
- |
|
|