From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1827) id C71CB3946C36; Tue, 12 May 2020 18:42:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C71CB3946C36 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tulio Magno Quites Machado Filho To: glibc-cvs@sourceware.org Subject: [glibc/ibm/2.30/master] math/test-sinl-pseudo: Use stack protector only if available X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/ibm/2.30/master X-Git-Oldrev: 57700813eb411193fbe3af1d991d3d25370d1a6a X-Git-Newrev: 949fbe7826df62ba0521796e6b2cf6468ca70d58 Message-Id: <20200512184242.C71CB3946C36@sourceware.org> Date: Tue, 12 May 2020 18:42:42 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 18:42:42 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=949fbe7826df62ba0521796e6b2cf6468ca70d58 commit 949fbe7826df62ba0521796e6b2cf6468ca70d58 Author: Florian Weimer Date: Thu Feb 13 17:01:15 2020 +0100 math/test-sinl-pseudo: Use stack protector only if available This fixes commit 9333498794cde1d5cca518bad ("Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487)."). (cherry picked from commit c10acd40262486dac597001aecc20ad9d3bd0e4a) Diff: --- 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