From patchwork Thu Jan 18 16:02:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 763630 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e5d:0:b0:337:62d3:c6d5 with SMTP id j29csp860685wrz; Thu, 18 Jan 2024 08:02:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEb8MARVDn2yy1GFq5VzXSgFyqEeaaHTFS++X9x+PgsTPWpduic9pqX5v0F/2behRZI150o X-Received: by 2002:a05:6808:4082:b0:3bb:bb7e:7aa5 with SMTP id db2-20020a056808408200b003bbbb7e7aa5mr972446oib.112.1705593776622; Thu, 18 Jan 2024 08:02:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705593776; cv=pass; d=google.com; s=arc-20160816; b=Q16KTLKQT2qcme/2AWPQvDa2bqvgCrPi3/B4yLuJoE1DFdep3gO2zzu+ug7eWmJGMH 9v8fFoP7TWDt1uIuqgzNnKe+nwOgQLyP06EDE09d69rkNm58FE31zvQY9YGQqo6FSeYX aTdaFgzYobwdNktPEd/WwimrH1n5VJ8QfZr5ULOEUgPMJwNQp85RNZ8knp32sUpGflJS ZnMqYGPR8fb0JtFBD6E4pBO2lsMXLVDXUyrfEfnXTyTcRAN2+7keir2xafsQnslQcHF/ 7EM3MKtfWGk5CfFb1W4fYJtD0zsoj2HM0IbcVwn3ZuAw8kRQltTidtMhBrXXVBZhAHof dwxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=lJa1zwgJRTaN7OlOrvsitil+VhAt3izGGGlycII8Ti8=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=1GXubyS6XMmyn8ZFR9R2hylwAtYTJgfi+kqfDlnwL00DKdh7P4gQQqQVKw5BidKqds InSCC5O73awsQOA/owcVqJDC+khGcoAwKakl3wj8ex3PQTkITR0meV3tSFgzu9eb3mRk OzqlIsJivYaCZ0874q7qV8ouFX53ZUeWCYOrt0Q6UhxxnqSDvYww45XWX67luMn48SQL g+bdwRuvnv9Rb2WHzjEXP1r5y4FfECgfbdFx8sN1qO6uQK0vxpk3nHtWrb0A6rOFjY5F JXQQR3Boq2CXOpmZlzFqSYQPu/zSovvMnK9sP8sxwW0IQGMAEr5hF7uE6RvNJMywy7m9 Dk4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CQfWxhPl; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q29-20020a056102205d00b0046803ce9962si1522032vsr.12.2024.01.18.08.02.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 08:02:56 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CQfWxhPl; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 16DF93858401 for ; Thu, 18 Jan 2024 16:02:56 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id BF2E23858C56 for ; Thu, 18 Jan 2024 16:02:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF2E23858C56 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BF2E23858C56 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::431 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705593762; cv=none; b=qEFWhtKYs4thC3tp9RbZI7pxcTaCt3Y2kJM9ZJ5qhPbTfxuqJ15lNWBiTbnfqllt6Vwi1HoKHcZh2cuC3YphCA+sjIZB20+BWrx3dYBZlLgfrueC6jZkbYFb9onjvcqkoAA3qeOO3aJFI7MFTBFQ6Y6eGOTC5voVISjZqE5hsIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705593762; c=relaxed/simple; bh=NTpAOEIk42fdpJ95z4IWFi98a+k6q5zikDrTBQkTTmA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=KbjRfoIK5WVfiR5W0kKEWV42HXNAfNUU/orS+HNBcih1UtHrVdSYw9WdDeTWVWdGijth8U2t+6Hkt+iXFYkzDSMocete8HnPc64JuPrWyAlM5Nty7kzkLdlbOyuzFLYoZqMJ9hQPejFczhCtGwuc8q3rLdt+UDt9IGtUfgMfsKs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6d9af1f52bcso6673210b3a.3 for ; Thu, 18 Jan 2024 08:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705593756; x=1706198556; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lJa1zwgJRTaN7OlOrvsitil+VhAt3izGGGlycII8Ti8=; b=CQfWxhPlAGCFVwBsp3uh7MaeBy4WQ3J0930OIHQ2t2s6b33qmdrrJD7BWSJzRKmSdx d729lVjIfQwBbZfSEz/sueuNsylCdTAZDkNeo9QmSn9HOn+lLd+JA2naFAC6cdBTXOko 31ogfMoQ2axqObG7vll98YICFPrf6v04DuJGY3vl7eGglsnwNJ75Om+UNrsIqs3q01la 1J9fvHL15S2MS3/DhzAAFkNgPifC6UJjTGfH7kdZsxiBpM6bRYi5UWx3rP7931X7jBfZ WLUA9awF5ItP7nyl86xazbrPUUCoRxBRBy7iNpizj7f08rsq6azag8k4fJUkRb5A8vQn UI8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705593756; x=1706198556; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lJa1zwgJRTaN7OlOrvsitil+VhAt3izGGGlycII8Ti8=; b=DSRmPG+yUfT5gYaqlvgN5/Th+WXZzDgpKpCelwQ0td+5IMuA3/7pVZAHY4blYqKK5g gvRuQ/vDIeQY6dT9lLNhScw5vzTd0JTcIZDlk9p6HIxC9VL7K4sK3s/EcewkItJABc73 ATTtIWa5EmiC75OH8CRz+8F/OIl93B0Z7SI6p8AE1lX1iYb0/twnEkhniCcG/L6KlseF uxZuQCuIN/08jkFENmdKNyCCPjXL/OGUHytwmRUwXqlUbhO0O58jKHa4Gui8DJ0RnY9d npUY7+NsTiheFG7ex+x1qQW0WotzqAoWjfmXZmohsGCc2xqhkaIvS6Ok8bZD8u/2PBbq Shlg== X-Gm-Message-State: AOJu0YzbZ5dBK4WGx0BfrkyewgyMtdLdUCs2zJj/eWUaD9zx9433E8Iq rL2ojo1GG2RSr0IkV/OUPGxCUCZnNl7V2dj7KJZrTPlwtXznZsRRPYiXRmkykcUWQv9VduDP9ms s X-Received: by 2002:a05:6a21:3183:b0:19a:5234:3f9f with SMTP id za3-20020a056a21318300b0019a52343f9fmr1110790pzb.0.1705593756542; Thu, 18 Jan 2024 08:02:36 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:2787:5326:ea15:1a78:7483]) by smtp.gmail.com with ESMTPSA id h20-20020a056a00231400b006dacfab07b6sm3463559pfh.121.2024.01.18.08.02.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 08:02:35 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 3/4] sparc64: Remove unwind information from signal return stubs [BZ#31244] Date: Thu, 18 Jan 2024 13:02:27 -0300 Message-Id: <20240118160228.741832-4-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240118160228.741832-1-adhemerval.zanella@linaro.org> References: <20240118160228.741832-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org Similar to sparc32 fix, remove the unwind information on the signal return stubs. This fixes the regressions: FAIL: nptl/tst-cancel24-static FAIL: nptl/tst-cond8-static FAIL: nptl/tst-mutex8-static FAIL: nptl/tst-mutexpi8-static FAIL: nptl/tst-mutexpi9 On sparc64-linux-gnu. --- sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S b/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S index 12af289375..8c9fbbf22e 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S @@ -23,7 +23,10 @@ [1] https://lkml.org/lkml/2016/5/27/465 */ -ENTRY (__rt_sigreturn_stub) + nop + nop + +ENTRY_NOCFI (__rt_sigreturn_stub) mov __NR_rt_sigreturn, %g1 ta 0x6d -END (__rt_sigreturn_stub) +END_NOCFI (__rt_sigreturn_stub)