https://bugs.llvm.org/show_bug.cgi?id=32425
Rich Felker <bug...@aerifal.cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #14 from Rich Felker <bug...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs