glibc/sysdeps/sparc
Joseph Myers 2d9193f2f5 Use generic __ifunc for SPARC.
glibc fails to build with GCC mainline for SPARC because of the use of
manually-created IFUNCs, which fail the tests of compatibility of
function alias types.  This patch changes sparc-ifunc.h to use the
generic __ifunc in defining sparc_libm_ifunc.  The generic __ifunc can
use the GCC ifunc attribute when available, so ensuring
type-correctness as well as better debug info than when setting symbol
types in asm statements.

Note that for this to fix the build with GCC mainline the GCC patch
<https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01779.html>, or
building GCC with --enable-gnu-indirect-function, is also needed.

Tested (compilation only) with build-many-glibcs.py (sparc64-linux-gnu
and sparcv9-linux-gnu, with GCC 8 with the above patch, and also with
GCC 7).

	* sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
	Define using __ifunc.
2017-09-26 19:49:33 +00:00
..
bits Simplify HUGE_VAL definitions. 2017-08-31 15:50:50 +00:00
fpu Obsolete pow10 functions. 2017-09-01 21:13:18 +00:00
nptl
sparc32 Define and use libm_alias_double. 2017-09-13 01:13:30 +00:00
sparc64 Remove SPARC sqrt wrappers (bug 21973). 2017-08-21 17:46:34 +00:00
sys
abort-instr.h
backtrace.c
configure
configure.ac
crti.S
crtn.S
dl-dtprocnum.h
dl-procinfo.c
dl-procinfo.h
dl-sysdep.h
dl-tls.h
gccframe.h
ldsodefs.h
machine-gmon.h gmon: Remove internal_function attribute 2017-08-31 16:16:07 +02:00
Makefile Enable unwind info in libc-start.c and backtrace.c 2017-09-19 15:07:58 +01:00
mempcpy.S
memusage.h
preconfigure
sparc-ifunc.h Use generic __ifunc for SPARC. 2017-09-26 19:49:33 +00:00
sparc-mcount.S
stackinfo.h
Subdirs
sysdep.h