[llvm-commits] CVS: llvm/lib/Support/ToolRunner.cpp
Nate Begeman
natebegeman at mac.com
Sun Oct 17 16:04:09 PDT 2004
Changes in directory llvm/lib/Support:
ToolRunner.cpp updated: 1.30 -> 1.31
---
Log message:
Pass -single_module option to gcc when linking dynamic libraries for use with bugpoint, so that we can bugpoint multiple .cp files
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/Support/ToolRunner.cpp
diff -u llvm/lib/Support/ToolRunner.cpp:1.30 llvm/lib/Support/ToolRunner.cpp:1.31
--- llvm/lib/Support/ToolRunner.cpp:1.30 Wed Sep 1 17:55:35 2004
+++ llvm/lib/Support/ToolRunner.cpp Sun Oct 17 18:03:32 2004
@@ -409,6 +409,7 @@
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
"-G", // Compile a shared library, `-G' for Sparc
#elif (defined(__POWERPC__) || defined(__ppc__)) && defined(__APPLE__)
+ "-single_module", // link all source files into a single module
"-dynamiclib", // `-dynamiclib' for MacOS X/PowerPC
"-fno-common", // allow global vars w/o initializers to live
"-undefined", // in data segment, rather than generating
More information about the llvm-commits
mailing list