https://sourceware.org/bugzilla/show_bug.cgi?id=23169
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Fangrui Song from comment #8) > Can https://sourceware.org/glibc/wiki/GNU_IFUNC to updated to document what > is supported and what isn't supported? > IFUNC documentation needs improvements. > > Is the idea that > (1) the main executable is relocated the last. > (2) by making the main executable STT_GNU_IFUNC STT_FUNC, ifunc resolver > will not be called while the main executable is unresolved Correct. > (3) How does an ifunc resolver defined in another DSO work? Let the user > ensures DT_NEEDED BFS order or the ld.so itself does topological sorting? Current ld.so issues an error with a suggestion when it detects it. -- You are receiving this mail because: You are on the CC list for the bug.