]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Compile ISA versions of modf/modff with -fno-stack-protector
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Jul 2025 00:17:34 +0000 (17:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Jul 2025 12:49:47 +0000 (05:49 -0700)
commit13bf7812ef512d86d026ada34e75b22692152441
treee01ecf0c722ce85a9eada9365daee89872a943bb
parentcdcf24ee14c27b77744ff52ab3ae852821207eb0
x86-64: Compile ISA versions of modf/modff with -fno-stack-protector

Since modf and modff are compiled into both libc and libm, when glibc is
configured with --enable-stack-protector=all, ISA versions of modf and
modff should be compiled with -fno-stack-protector to avoid calling
__stack_chk_fail via PLT in libc.so.

This fixes BZ #33165.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
sysdeps/x86_64/fpu/multiarch/Makefile