[Bug 193048] New: IFUNC reloc not applied to global data

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 26 21:12:43 UTC 2014


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 at FreeBSD.org
          Reporter: rdivacky at 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.


More information about the freebsd-bugs mailing list