Pass -export-dynamic to gcc when compiling with -native and the link is
performed with -export-dynamic (aka. -disable-internalize).
Patch by Nicholas Riley!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22601 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/gccld/gccld.h b/tools/gccld/gccld.h
index 5b7bdf1..b1649f0 100644
--- a/tools/gccld/gccld.h
+++ b/tools/gccld/gccld.h
@@ -45,6 +45,7 @@
const sys::Path &gcc,
char ** const envp,
bool Shared,
+ bool ExportAllAsDynamic,
const std::string &RPath,
const std::string &SOName,
bool Verbose=false);