From: Patsy Griffin <patsy@redhat.com>
To: libc-stable@sourceware.org
Subject: [2.29 COMMITED 2/2] math/test-sinl-pseudo: Use stack protector only if available
Date: Mon, 16 Mar 2020 13:05:18 -0400 [thread overview]
Message-ID: <CAOraFgBqDE01VsJxaQqtgPp8GrBaS5FH4eVaTu18Z8EgVNmo+g@mail.gmail.com> (raw)
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
reply other threads:[~2020-03-16 17:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOraFgBqDE01VsJxaQqtgPp8GrBaS5FH4eVaTu18Z8EgVNmo+g@mail.gmail.com \
--to=patsy@redhat.com \
--cc=libc-stable@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).