[lld] [ELF] Set vna_flags to VER_FLG_WEAK if all references are weak (PR #176673)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 21 08:47:10 PST 2026
https://github.com/smithp35 approved this pull request.
The code-changes look good to me.
I've approved the change as I think it is the intended behaviour of glibc. We will have a behaviour difference between GNU ld (assuming they don't rush to make a similar change). Would it be worth, in a separate change, adding to and moving the information in https://maskray.me/blog/2020-12-19-lld-and-gnu-linker-incompatibilities to the lld docs https://github.com/llvm/llvm-project/tree/main/lld/docs/ELF ?
https://github.com/llvm/llvm-project/pull/176673
More information about the llvm-commits
mailing list