This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/14978] New: Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 19 Dec 2012 20:33:08 +0000
- Subject: [Bug dynamic-link/14978] New: Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling
- Auto-submitted: auto-generated
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.