This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22634] Missing IFUNC support is not detected for gcc --enable-default-pie, breaks at least ia64 target
- From: "slyfox at inbox dot ru" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 20 Dec 2017 03:46:27 +0000
- Subject: [Bug dynamic-link/22634] Missing IFUNC support is not detected for gcc --enable-default-pie, breaks at least ia64 target
- Auto-submitted: auto-generated
- References: <bug-22634-131@http.sourceware.org/bugzilla/>
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.