From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by sourceware.org (Postfix) with ESMTP id 23F0E385E82C for ; Mon, 16 Mar 2020 17:05:58 +0000 (GMT) Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-121-shfEkmuVOWe8XFpJFw2-tg-1; Mon, 16 Mar 2020 13:05:55 -0400 X-MC-Unique: shfEkmuVOWe8XFpJFw2-tg-1 Received: by mail-io1-f71.google.com with SMTP id b21so6562870iot.10 for ; Mon, 16 Mar 2020 10:05:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gY/MTpQ9oDi4+q2+IvhMintgTg23tPdnw6k3ceIYMng=; b=BritxkvvlOtyMy3RaTIfiXOKdda2qVnnQ2dhwPxcWQhofoF9F98/UgvHbZi8MUjOYL 5UX5Navm2fB+xghz3fN7oHqvTNgrq7q2tjZp8N1nhc4aMUwvLdVw4wi1+bOiXGNOvYcC zZlzNr71GIGbnRHd8toFVCpR9993hv1f4RBv27R60ZS16OxUR3D7lT28o5rFOjt/PXBm 1ZCgupYG+lTgdjfmZvVbXIz7KhdtxmRLGQez2M9dd6fBGnPkyzVBwxy507InXpMgvF9z VJIsOgJtcIjDJ2NUNu6K3R+yo6r9GpU+olz3t5PCm8HG7fQunjvlEHRQmpIbopnlr4g/ XlbA== X-Gm-Message-State: ANhLgQ3rhDlJvsr6Ryt1gvVaQSqjhZ4ll8okZQimcejvnmEkKW2a54gO g1Q/9OOaeST3DGt8jNmBaMsTFeBMH6DHW+YDlm2YmJxF0cv0ni+5waZqHkAhBeYF+ysUyF0yrTJ WQqBkyiDmwDcsJKislFdhhA30+iPmyOXJ5qWj7A== X-Received: by 2002:a92:778e:: with SMTP id s136mr810902ilc.256.1584378354562; Mon, 16 Mar 2020 10:05:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt2m8sIGoIHZeC0mDfR2TSzDnD8iSBJuedCSdCRPvX5ZmKaX+r+eJfpcNtCCLSPCk5+JyEat9wB47CwEGPfo1g= X-Received: by 2002:a92:778e:: with SMTP id s136mr810892ilc.256.1584378354388; Mon, 16 Mar 2020 10:05:54 -0700 (PDT) MIME-Version: 1.0 From: Patsy Griffin Date: Mon, 16 Mar 2020 13:05:18 -0400 Message-ID: Subject: [2.29 COMMITED 2/2] math/test-sinl-pseudo: Use stack protector only if available To: libc-stable@sourceware.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-25.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-stable@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-stable mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 17:05:59 -0000 From: Florian Weimer 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 +=3D test-canonical-ldbl-96 test-totalorderl-ldbl-96 test-sinl-pseud= o +ifeq ($(have-ssp),yes) CFLAGS-test-sinl-pseudo.c +=3D -fstack-protector-all endif +endif # $(subdir) =3D=3D math -- 2.17.2