about summary refs log tree commit diff
path: root/stdlib/tst-random2.c
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-09-15 15:07:28 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-09-15 15:09:19 -0300
commit61c45f250528dae431391823a9766053e61ccde1 (patch)
treece8ebae0443249c1a20936161e7c06d81275ce45 /stdlib/tst-random2.c
parent5bcdb315295f3bb73c082fc944d9e10a304adb0a (diff)
downloadglibc-61c45f250528dae431391823a9766053e61ccde1.tar.gz
glibc-61c45f250528dae431391823a9766053e61ccde1.tar.xz
glibc-61c45f250528dae431391823a9766053e61ccde1.zip
[BZ #21745] powerpc: build some IFUNC math functions for libc and libm
Some math functions have to be distributed in libc because they're
required by printf.
libc and libm require their own builds of these functions, e.g. libc
functions have to call __stack_chk_fail_local in order to bypass the
PLT, while libm functions have to call __stack_chk_fail.

While math/Makefile treat the generic cases, i.e. s_isinff, the
multiarch Makefile has to treat its own files, i.e. s_isinff-ppc64.

	[BZ #21745]
	* sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
	[$(subdir) = math] (sysdep_calls): New variable.  Has the
	previous contents of sysdep_routines, but re-sorted..
	[$(subdir) = math] (sysdep_routines): Re-use the contents from
	sysdep_calls.
	[$(subdir) = math] (libm-sysdep_routines): Remove the functions
	defined in sysdep_calls and replace by the respective m_* names.
	* sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
	(compat_symbol): Undefine to avoid duplicated compat symbols in
	libc.
Diffstat (limited to 'stdlib/tst-random2.c')
0 files changed, 0 insertions, 0 deletions