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: rdiva...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to