[llvm-bugs] [Bug 46169] New: --wrap: don't leave __wrap_foo in .dynsym if it is unused
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 1 23:21:54 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46169
Bug ID: 46169
Summary: --wrap: don't leave __wrap_foo in .dynsym if it is
unused
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: i at maskray.me
CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com
I committed http://reviews.llvm.org/rGa6ae333a0c23fc9b0783ca45e2676abac00c6723
in a hurry to fix a regression after I landed https://reviews.llvm.org/D51283
to fix a Chrome problem
(https://bugs.chromium.org/p/chromium/issues/detail?id=1086636#c21 )
I noticed at least another incompatibility with GNU ld and gold
See lld/test/ELF/wrap-shlib-undefined.s
> ## FIXME GNU ld does not export __wrap_foo
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200602/d9d84ddd/attachment.html>
More information about the llvm-bugs
mailing list