[llvm-bugs] [Bug 39049] New: Avoid relocations in position independent code by storing offset of program counter
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Sep 22 11:52:55 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39049
Bug ID: 39049
Summary: Avoid relocations in position independent code by
storing offset of program counter
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: slandden at gmail.com
CC: llvm-bugs at lists.llvm.org
The offset at which position independent code was loading is always stored in
the program counter, and a simple addition/subtraction with a constant could be
used instead of a relocation table that slows down program load. This will
require an additional instruction at the call site, so a collaboration between
llvm and lld.
--
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/20180922/28e66683/attachment.html>
More information about the llvm-bugs
mailing list