[all-commits] [llvm/llvm-project] 2b6c6b: [lld][WebAssembly] Always search *.so for -Bdynami...
YAMAMOTO Takashi via All-commits
all-commits at lists.llvm.org
Tue Jun 11 16:46:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b6c6bb4985d02056d6d125de185e799988ff763
https://github.com/llvm/llvm-project/commit/2b6c6bb4985d02056d6d125de185e799988ff763
Author: YAMAMOTO Takashi <yamamoto at midokura.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/Options.td
Log Message:
-----------
[lld][WebAssembly] Always search *.so for -Bdynamic (#84288)
Search *.so libraries regardless of -pie to make it a bit more
straightforward to build non-pie dynamic-linked executables.
Flip the default to -Bstatic (unless -pie or -shared is specified) as I
think it's what most users expect for the default as of today.
The assumption here is that, because dynamic-linking is not widely used
for WebAssembly, the most users do not specify -Bdynamic or -Bstatic,
expecting static link.
Although the recent wasi-sdk ships *.so files, there are not many wasm
runtimes providing the support of dynamic-linking. (only emscripten and
toywasm as far as i know.)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list