[lld] [lld][WebAssembly]: Restore non-pie dynamic-linking executable (PR #108146)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 11:20:24 PDT 2024


================
@@ -913,7 +913,8 @@ static void createSyntheticSymbols() {
   }
 
   if (ctx.isPic ||
-      config->unresolvedSymbols == UnresolvedPolicy::ImportDynamic) {
+      config->unresolvedSymbols == UnresolvedPolicy::ImportDynamic ||
+      !config->isStatic) {
----------------
sbc100 wrote:

https://github.com/llvm/llvm-project/pull/108263

https://github.com/llvm/llvm-project/pull/108146


More information about the llvm-commits mailing list