This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/22634] Missing IFUNC support is not detected for gcc --enable-default-pie, breaks at least ia64 target


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]