[Bug dynamic-link/14978] New: Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling
hjl.tools at gmail dot com
sourceware-bugzilla@sourceware.org
Wed Dec 19 20:33:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14978
Bug #: 14978
Summary: Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT
handling
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
AssignedTo: unassigned@sourceware.org
ReportedBy: hjl.tools@gmail.com
Classification: Unclassified
x86-64 psABI specifies that R_X86_64_GLOB_DAT and R_X86_64_JUMP_SLOT
should use the symbol value without addend. But x86_64/dl-machine.h
has
switch (r_type)
{
case R_X86_64_GLOB_DAT:
case R_X86_64_JUMP_SLOT:
*reloc_addr = value + reloc->r_addend;
break;
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list