r260617 - Remove decision logic for old NetBSD development versions, the 7.0
Joerg Sonnenberger via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 11 15:35:03 PST 2016
Author: joerg
Date: Thu Feb 11 17:35:03 2016
New Revision: 260617
URL: http://llvm.org/viewvc/llvm-project?rev=260617&view=rev
Log:
Remove decision logic for old NetBSD development versions, the 7.0
release made this obsolete.
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=260617&r1=260616&r2=260617&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Feb 11 17:35:03 2016
@@ -3250,7 +3250,7 @@ ToolChain::CXXStdlibType NetBSD::GetCXXS
unsigned Major, Minor, Micro;
getTriple().getOSVersion(Major, Minor, Micro);
- if (Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0) {
+ if (Major >= 7 || Major == 0) {
switch (getArch()) {
case llvm::Triple::aarch64:
case llvm::Triple::arm:
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=260617&r1=260616&r2=260617&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Feb 11 17:35:03 2016
@@ -8370,7 +8370,7 @@ void netbsd::Linker::ConstructJob(Compil
unsigned Major, Minor, Micro;
getToolChain().getTriple().getOSVersion(Major, Minor, Micro);
bool useLibgcc = true;
- if (Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0) {
+ if (Major >= 7 || Major == 0) {
switch (getToolChain().getArch()) {
case llvm::Triple::aarch64:
case llvm::Triple::arm:
More information about the cfe-commits
mailing list