From patchwork Tue Apr 4 12:31:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1764867 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=jMAQFt13; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PrRwZ0Rc7z1yYn for ; Tue, 4 Apr 2023 22:32:13 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 16AB3385842B for ; Tue, 4 Apr 2023 12:32:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16AB3385842B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680611531; bh=kKMSfccpCVLrNDGv4XavfHG13RrfWTCD9CPLGCQkqWI=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=jMAQFt13Djy7slqeuleXekw6qgNdY1arm0OUO1BDCy1l2yei+LMcNa3O2CIAUcAtW vN+flLVzJR/R2QDb2eDGisfYynbbGLmrXZRJuEo/m9gzQgizOf+UKeGsa2UJ78/XXi /AaZq+5rXr12ae5IOYvSgSfTuo1f2F/NKz1rUzBw= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by sourceware.org (Postfix) with ESMTPS id 4D04E3858C2C for ; Tue, 4 Apr 2023 12:31:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D04E3858C2C Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-177ca271cb8so34322506fac.2 for ; Tue, 04 Apr 2023 05:31:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680611484; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kKMSfccpCVLrNDGv4XavfHG13RrfWTCD9CPLGCQkqWI=; b=uzprqztJu9t0h2d0nybXqLidM8q1ep66q4DthJjL9++sQvpl745ecU6ip41oRrhaI9 20zpVnMzxroATCZemEiiaHHLWdLYeH/0Ar5I74lggPUCqn8/9PMXk962vPycueMbumFW kzP31obIZDyUdKyeXT2w+Riep71muVmdiMK3zWrzZoLXnsQ1pbng3IHgr3swEvLLWrMt gWI3mHyRX5LMhrFf5oAN7kTgARO9pRxMxMAYe8lSQjg1bvgV7pUWFzTpK8wNClYpOUj2 2E0NCLBqaERENOSA4zsV+oMez/cm2Ilh/WC5UHRZJBrY/oGVc4k3XCxiXSpQsBULnTFt 4rUw== X-Gm-Message-State: AAQBX9fP+MJa2PH6tgHLUPceinxaQF5hGTkbksbqRQr4w2vCu9fSMZDE RbxKrAxMC+2Rgsx715npIrCt03ituaEwp+7hT5g7fQ== X-Google-Smtp-Source: AKy350Y06BK1f26yvbJdcI3uWckshogbBD+DtY+SoHNiL/jJAN3mf3RYGcdy+4oeJBH/wgF4WoD2EA== X-Received: by 2002:a05:6870:80c9:b0:172:5de5:785 with SMTP id r9-20020a05687080c900b001725de50785mr1580404oab.6.1680611484531; Tue, 04 Apr 2023 05:31:24 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c1:e5a5:9f18:8489:6b06:184]) by smtp.gmail.com with ESMTPSA id m15-20020a9d6acf000000b0069f0794861asm5339792otq.63.2023.04.04.05.31.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 05:31:23 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [COMMITTED] powerpc: Disable stack protector in early static initialization Date: Tue, 4 Apr 2023 09:31:20 -0300 Message-Id: <20230404123120.1260221-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Similar to fb95c316382679c0826cc8399760977cd95f15c9, also disable for string-ppc64.c (pulled on rltd as the default string implementation). Checked on powerpc64-linux-gnu. --- sysdeps/powerpc/powerpc64/multiarch/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysdeps/powerpc/powerpc64/multiarch/Makefile b/sysdeps/powerpc/powerpc64/multiarch/Makefile index 57de4a29c4..27d8495503 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/Makefile +++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile @@ -39,3 +39,6 @@ endif CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops endif + +# Called during static initialization +CFLAGS-strncmp-ppc64.c += $(no-stack-protector)