Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 21:12:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193048] New: IFUNC reloc not applied to global data
Message-ID:  <bug-193048-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193048

            Bug ID: 193048
           Summary: IFUNC reloc not applied to global data
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: rdivacky@FreeBSD.org

The example from

http://www.netbsd.org/~joerg/ifunc.tar.gz

when compiled with a compiler that can handle IFUNC (I tried gcc49 or clang35)
shows that *_IRELATIVE relocation is not applied to *_GLOB_DAT and thus the
output of the test app is something like:

called foo1
0x80081a713 0x80081a6ca
called foo1
0x80081a713 0x80081a6ca

when the two addresses printed should be equal.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193048-8>