[lld] [lld][WebAssembly] Always search *.so for -Bdynamic (PR #84288)

YAMAMOTO Takashi via llvm-commits llvm-commits at lists.llvm.org
Sun May 19 23:09:56 PDT 2024


================
@@ -556,6 +554,11 @@ static void readConfigs(opt::InputArgList &args) {
   config->zStackSize =
       args::getZOptionValue(args, OPT_z, "stack-size", WasmPageSize);
 
+  // -Bdynamic by default if -pie or -shared is specified.
+  if (config->pie || config->shared) {
+    config->isStatic = false;
+  }
----------------
yamt wrote:

fixed. thank you.

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


More information about the llvm-commits mailing list