diff options
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r-- | tools/gccld/gccld.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 5b56bd830d..817de61fec 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -367,7 +367,7 @@ int main(int argc, char **argv) { 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 @@ int main(int argc, char **argv) { // 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 |