Message ID | alpine.DEB.2.20.1709261801220.21154@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
Series | Enable ifunc attribute by default for SPARC GNU/Linux | expand |
> Similar to other architectures with IFUNC binutils/glibc support, this > patch enables the ifunc attribute for SPARC GNU/Linux. This is needed > for building glibc with the current checks on IFUNC resolver types > (and use of the attribute in glibc rather than manually created IFUNCs > is beneficial anyway because it results in better debug info). > > Tested compilation of glibc (in conjunction with a glibc patch to > support using the attribute on SPARC) with build-many-glibcs.py. I > have not run the GCC tests for SPARC. OK to commit? I presume so, although I don't really understand all the consequences.
Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 253204) +++ gcc/config.gcc (working copy) @@ -3100,7 +3100,7 @@ ;; *-*-linux*) case ${target} in - aarch64*-* | i[34567]86-* | powerpc*-* | s390*-* | x86_64-*) + aarch64*-* | i[34567]86-* | powerpc*-* | s390*-* | sparc*-* | x86_64-*) default_gnu_indirect_function=yes ;; esac