rename selection library to selectiondag

llvm-svn: 7878
diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp
index 5b56bd8..817de61 100644
--- a/llvm/tools/gccld/gccld.cpp
+++ b/llvm/tools/gccld/gccld.cpp
@@ -367,7 +367,7 @@
   PassManager Passes;
 
   // Add an appropriate TargetData instance for this module...
-  Passes.add(new TargetData("gccas", Composite.get()));
+  Passes.add(new TargetData("gccld", Composite.get()));
 
   // Linking modules together can lead to duplicated global constants, only keep
   // one copy of each constant...
@@ -387,6 +387,7 @@
   // arguments).  This pass merges the two functions.
   //
   Passes.add(createFunctionResolvingPass());
+  Passes.add(createFunctionResolvingPass());
 
   if (!NoInternalize) {
     // Now that composite has been compiled, scan through the module, looking