https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70082

--- Comment #5 from Carlos O'Donell <carlos at redhat dot com> ---
Would it be a better solution to:

(a) Fix PLT initialization on arm and ppc64 (allows some function calls to be
made).

(b) Document safe functions in glibc manual.

(c) Have gcc manual reference glibc manual safe functions list.

This way we avoid the compiler enforcement and allow developers, particularly
compiler developers, to continue using ifunc in ways which are known to work
(particularly look at the i386 multiversioning support which uses ifunc to call
out to libgcc's __cpu_indicator_init).

Reply via email to