[llvm-bugs] [Bug 27358] New: lld emits incorrect relative relocations for -pie
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 14 16:44:57 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27358
Bug ID: 27358
Summary: lld emits incorrect relative relocations for -pie
Product: lld
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: bigcheesegs at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16218
--> https://llvm.org/bugs/attachment.cgi?id=16218&action=edit
Assembly test case
The attached testcase fails as lld emits R_X86_64_RELATIVE relocations to 0
when it shouldn't emit any (so the actual bytes in the file after relocation
are 0). This was partially fixed by a previous commit, but it missed some other
cases.
The assembly is the code in the CRT to process preinit_array entries.
--
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/20160414/b33dbf50/attachment.html>
More information about the llvm-bugs
mailing list