[llvm-bugs] [Bug 32425] Regression with Musl after adding support for outputting to /dev/null
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 12 12:40:14 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32425
Rich Felker <bugdal at aerifal.cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #14 from Rich Felker <bugdal at aerifal.cx> ---
Even with the correct interpretation (semantic, not implementation-detail)
protected still admits efficient calls inside a DSO -- there's no reason to
make calls through the PLT, only expressions that evaluate the address have to
take the [PLT]GOT entry into account.
In any case binutils gets this right, and lld does not. Simply removing the
check (that can be bypassed anyway by giving a fake .so at ld-time and the real
one at runtime) would make the problem go away.
--
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/20170612/a7464029/attachment.html>
More information about the llvm-bugs
mailing list