[llvm-bugs] [Bug 44991] lld still not working for mips64
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 13 17:04:52 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=44991
Fangrui Song <i at maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |i at maskray.me
Status|NEW |RESOLVED
--- Comment #2 from Fangrui Song <i at maskray.me> ---
Hi Joe, the diagnostic appears to be correct. You are linking in -pie or
-shared mode. It is incorrect to reference a symbol relative to the image base
from a read-only section. The address of that symbol can vary at runtime (due
to ASLR).
I asked whether we can have R_MIPS_PC64. One comment is that
https://sourceware.org/pipermail/binutils/2020-February/110231.html MIPS does
not need it. I guess that can still cause problems to relocation scanning,
though. If you are interested at MIPS support, maybe you can provide more
opinions?
--
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/20200414/2027d0e6/attachment.html>
More information about the llvm-bugs
mailing list