From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2154) id 1826D39AFC35; Fri, 23 Jul 2021 17:07:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1826D39AFC35 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Stan Shebs To: glibc-cvs@sourceware.org Subject: [glibc/google/grte/v5-2.27/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/google/grte/v5-2.27/master X-Git-Oldrev: ade59dc8ae92015be1ac41b463e17c9fd756a7a9 X-Git-Newrev: d7315f692069ff4558af33e3e5aef7e9bdbe48e2 Message-Id: <20210723170711.1826D39AFC35@sourceware.org> Date: Fri, 23 Jul 2021 17:07:11 +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: Fri, 23 Jul 2021 17:07:11 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d7315f692069ff4558af33e3e5aef7e9bdbe48e2 commit d7315f692069ff4558af33e3e5aef7e9bdbe48e2 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)."). 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 99c596e3ce..daa2753cf1 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