public inbox for libc-stable@sourceware.org
 help / color / mirror / Atom feed
* [2.29 COMMITED 2/2] math/test-sinl-pseudo: Use stack protector only if available
@ 2020-03-16 17:05 Patsy Griffin
  0 siblings, 0 replies; only message in thread
From: Patsy Griffin @ 2020-03-16 17:05 UTC (permalink / raw)
  To: libc-stable

From: Florian Weimer <fweimer@redhat.com>

This fixes commit 9333498794cde1d5cca518bad ("Avoid ldbl-96 stack
corruption from range reduction of pseudo-zero (bug 25487).").

(cherry picked from commit c10acd40262486dac597001aecc20ad9d3bd0e4a)
---
 sysdeps/ieee754/ldbl-96/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysdeps/ieee754/ldbl-96/Makefile
b/sysdeps/ieee754/ldbl-96/Makefile
index 052c1c7703..4142695ec8 100644
--- a/sysdeps/ieee754/ldbl-96/Makefile
+++ b/sysdeps/ieee754/ldbl-96/Makefile
@@ -18,5 +18,7 @@

 ifeq ($(subdir),math)
 tests += test-canonical-ldbl-96 test-totalorderl-ldbl-96 test-sinl-pseudo
+ifeq ($(have-ssp),yes)
 CFLAGS-test-sinl-pseudo.c += -fstack-protector-all
 endif
+endif # $(subdir) == math
--
2.17.2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-16 17:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 17:05 [2.29 COMMITED 2/2] math/test-sinl-pseudo: Use stack protector only if available Patsy Griffin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).