]> granicus.if.org Git - clang/commitdiff
Rename clang::driver::tools::linuxtools to clang::driver::tools::gnutools.
authorThomas Schwinge <thomas@schwinge.name>
Thu, 28 Mar 2013 19:04:25 +0000 (19:04 +0000)
committerThomas Schwinge <thomas@schwinge.name>
Thu, 28 Mar 2013 19:04:25 +0000 (19:04 +0000)
This is about the GNU Binutils' assembler and linker, so reflect that in the
name.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178272 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
lib/Driver/Tools.h

index eec3845a77d1e3aa7bfa9c75ee9bded7177d2c0d..bcfe51ef7bbbb6cf20ea248be8b6cb5efa461a80 100644 (file)
@@ -2204,11 +2204,11 @@ bool Linux::HasNativeLLVMSupport() const {
 }
 
 Tool *Linux::buildLinker() const {
-  return new tools::linuxtools::Link(*this);
+  return new tools::gnutools::Link(*this);
 }
 
 Tool *Linux::buildAssembler() const {
-  return new tools::linuxtools::Assemble(*this);
+  return new tools::gnutools::Assemble(*this);
 }
 
 void Linux::addClangTargetOptions(const ArgList &DriverArgs,
index 578651fd801dbcda293d41f9dd318c491b10b6a2..c96d5a48046b524819d40f2961d57bd725856531 100644 (file)
@@ -5603,11 +5603,11 @@ void netbsd::Link::ConstructJob(Compilation &C, const JobAction &JA,
   C.addCommand(new Command(JA, *this, Exec, CmdArgs));
 }
 
-void linuxtools::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
-                                        const InputInfo &Output,
-                                        const InputInfoList &Inputs,
-                                        const ArgList &Args,
-                                        const char *LinkingOutput) const {
+void gnutools::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
+                                      const InputInfo &Output,
+                                      const InputInfoList &Inputs,
+                                      const ArgList &Args,
+                                      const char *LinkingOutput) const {
   ArgStringList CmdArgs;
 
   // Add --32/--64 to make sure we get the format we want.
@@ -5724,11 +5724,11 @@ static bool hasMipsN32ABIArg(const ArgList &Args) {
   return A && (A->getValue() == StringRef("n32"));
 }
 
-void linuxtools::Link::ConstructJob(Compilation &C, const JobAction &JA,
-                                    const InputInfo &Output,
-                                    const InputInfoList &Inputs,
-                                    const ArgList &Args,
-                                    const char *LinkingOutput) const {
+void gnutools::Link::ConstructJob(Compilation &C, const JobAction &JA,
+                                  const InputInfo &Output,
+                                  const InputInfoList &Inputs,
+                                  const ArgList &Args,
+                                  const char *LinkingOutput) const {
   const toolchains::Linux& ToolChain =
     static_cast<const toolchains::Linux&>(getToolChain());
   const Driver &D = ToolChain.getDriver();
index 846c83403484022bd38804d4285a4ab7c60f92cf..0d215ea3ccf1de6bb5e30cd797ee2c2d311db813 100644 (file)
@@ -427,12 +427,11 @@ namespace netbsd {
   };
 } // end namespace netbsd
 
-  /// linux -- Directly call GNU Binutils assembler and linker
-namespace linuxtools {
+  /// Directly call GNU Binutils' assembler and linker.
+namespace gnutools {
   class LLVM_LIBRARY_VISIBILITY Assemble : public Tool  {
   public:
-    Assemble(const ToolChain &TC) : Tool("linux::Assemble", "assembler",
-                                         TC) {}
+    Assemble(const ToolChain &TC) : Tool("GNU::Assemble", "assembler", TC) {}
 
     virtual bool hasIntegratedCPP() const { return false; }
 
@@ -444,7 +443,7 @@ namespace linuxtools {
   };
   class LLVM_LIBRARY_VISIBILITY Link : public Tool  {
   public:
-    Link(const ToolChain &TC) : Tool("linux::Link", "linker", TC) {}
+    Link(const ToolChain &TC) : Tool("GNU::Link", "linker", TC) {}
 
     virtual bool hasIntegratedCPP() const { return false; }
     virtual bool isLinkJob() const { return true; }