[llvm-bugs] [Bug 32272] New: missing case for copy reloc or (plt to undef)
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 14 16:52:57 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32272
Bug ID: 32272
Summary: missing case for copy reloc or (plt to undef)
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
Given just
.long foo
the relocation will be in the ro .text and we will create a copy relocation.
But given
.data
.long foo
We will fail the link because R_X86_64_32 cannot refer to a shared obj symbol
(it might not fit in 32 bits).
We could create a copy relocation instead.
I found this by reading the code. It is not a priority, it would just be for
completeness.
--
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/20170314/c34b0757/attachment.html>
More information about the llvm-bugs
mailing list