[LLVMbugs] [Bug 19647] New: accepts invalid
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat May 3 12:17:22 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19647
Bug ID: 19647
Summary: accepts invalid
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
MC currently accepts
zed = foo +2
call zed at PLT
but there is no way to represent that in ELF if foo is undefined. What is being
requested is that (on x86_64):
* we produce a R_X86_64_PLT32 with and addend of -4 to a PLT location.
* That the plt entry in turn should refer to foo+2.
It is the second part that cannot be represented. The entry will always just
refer to a symbol and there is no way to define a symbol that is some undefined
symbol + 2.
--
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/20140503/1d3f6ffa/attachment.html>
More information about the llvm-bugs
mailing list