[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 23 21:02:00 GMT 2017


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?


More information about the Gcc-bugs mailing list