https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193
Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gcc dot gnu.org --- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> --- I think 1) is doable, but I think there might be a problem with 2). I seem to recall Alan mentioning that we have to be careful generating relocations in ifunc resolver functions and calling getauxval() would definitely generate one. Alan, can you comment on what the issue is and whether it would be safe to call getauxval() in an ifunc resolver?