[Bug dynamic-link/22634] Missing IFUNC support is not detected for gcc --enable-default-pie, breaks at least ia64 target
slyfox at inbox dot ru
sourceware-bugzilla@sourceware.org
Wed Dec 20 09:16:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=22634
--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> ---
As I understand we need a few moving parts to make IFUNC to work:
1. binutils gas frontend to parse '.type foo,%gnu_indirect_function'
statement
Status: works everywhere? (assume new binutils)
2. binutils gas backend to generate relevant relocations with
symbol type IFUNC
Status: works everywhere? (assume new binutils)
3. binutils ld to convert IFUNC into dynamic relocation, like
R_X86_64_IRELATIV
Status: architecture dependent. Not all target have relocation assigned but
ld does not fail on IFUNC symbols and converts them into something that does
not work. Why?
4. glibc runtime loader to handle R_.+_IRELATIV relocations
Status: architeture dependent?
Worth filing a separate bug report for [3.] against ld?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list