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: [email protected]
          Reporter: [email protected]

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

Reply via email to