[all-commits] [llvm/llvm-project] 7288b8: [ELF] --wrap: don't copy exportDynamic
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Feb 5 09:56:41 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7288b85cc80f1ce5509aeea860e6b4232cd3ca01
https://github.com/llvm/llvm-project/commit/7288b85cc80f1ce5509aeea860e6b4232cd3ca01
Author: Fangrui Song <i at maskray.me>
Date: 2022-02-05 (Sat, 05 Feb 2022)
Changed paths:
M lld/ELF/SymbolTable.cpp
M lld/test/ELF/wrap-no-real.s
M lld/test/ELF/wrap-shlib-undefined.s
Log Message:
-----------
[ELF] --wrap: don't copy exportDynamic
For -no-pie/-pie, when `__real_foo` is interposable in a shared object, `foo` is
exported. This rule does not match GNU ld and is unneeded because:
* the exported `foo` does not interpose `__real_foo` at run-time
* the similar `__wrap_foo` <-> `foo` relation does not have the rule
More information about the All-commits
mailing list