From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7814) id F0EB43857C7B; Sat, 28 Aug 2021 00:39:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0EB43857C7B Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Fangrui Song 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: 8c5a6bf8130c9e94d015eb6005ad19a16c1f6f0a X-Git-Newrev: f1d716a048146099600d8fadb9d83a31c018dd6f Message-Id: <20210828003949.F0EB43857C7B@sourceware.org> Date: Sat, 28 Aug 2021 00:39:49 +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: Sat, 28 Aug 2021 00:39:50 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f1d716a048146099600d8fadb9d83a31c018dd6f commit f1d716a048146099600d8fadb9d83a31c018dd6f 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