From 3c1176c888afaf4caaa51eb7b57ad6d157b77ed2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 10 Dec 2014 22:58:32 +0000 Subject: Revert the default changing behavior part of r216662 until we can change the backend to be the same default. Leave the modified/new testcases with the exception of the default behavior since it increases our testing footprint. llvm-svn: 223976 --- clang/lib/Driver/Tools.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'clang/lib/Driver/Tools.cpp') diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 151d87b50de..67393ee340b 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -793,11 +793,10 @@ void Clang::AddARMTargetArgs(const ArgList &Args, case llvm::Triple::EABI: ABIName = "aapcs"; break; + // This is also the case for netbsd. + case llvm::Triple::GNU: default: - if (Triple.getOS() == llvm::Triple::NetBSD) - ABIName = "apcs-gnu"; - else - ABIName = "aapcs"; + ABIName = "apcs-gnu"; break; } } -- cgit v1.2.3