This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/14978] New: Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]