From patchwork Wed May 1 11:37:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 1930129 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=LT0hHbqZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VTw6H68pWz1ymp for ; Wed, 1 May 2024 21:37:43 +1000 (AEST) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 860EA35282EC; Wed, 1 May 2024 13:37:38 +0200 (CEST) Authentication-Results: helium.openadk.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=LT0hHbqZ; dkim-atps=neutral Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by helium.openadk.org (Postfix) with ESMTPS id 0585235208EF for ; Wed, 1 May 2024 13:37:35 +0200 (CEST) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-41bca450fa3so31697175e9.2 for ; Wed, 01 May 2024 04:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714563453; x=1715168253; darn=uclibc-ng.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HeqaJpLI+xUJMiV73k8J8hqi75Xu11yqS1eGdrl9Jdw=; b=LT0hHbqZHCySgcAfmWk55WGFOJDo9j/sYS10F46PqYfvc4tx1Mhgj3Os+xAdBW3en5 eLvylbiTM7xk8SYhRmBGwgsJm9wVl+kvf41UdAPfzf/VCRvwnPY3s8Eiocrwrc4qoF7y VtfxFB4uL2CVJNrR+VTGB4fcYEHToAZcYbDu2XsiPNKmx361CSqV3Ls4nXCLlNhQ2mHA 0Q1397dmrG5cO5xr3qYy3jPPqOWIGuKRJSMNAd2Ck7q9pw7/fYKFQq6YrYfqAfDoP5on 9UkWxXA2zujgIhu0tDM/jF+vTUaUmU8siBUpjtTIfFZSYjS2xLm+hWD6J7j21poiTWDp b06A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714563453; x=1715168253; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HeqaJpLI+xUJMiV73k8J8hqi75Xu11yqS1eGdrl9Jdw=; b=Le5cuDl1ZGNwStypKbVoFvUHZGIxOYGJugEr5eBkMbWmfvLcOieLdRZZB6ANSej43n YRKTM6Md0NUP5fROQkQJs9t53iXlGUP4849jf6DwgrDs+SiobCE4w7ABuCFKaYj59at4 ujtKmwypD5rNa7hpq7kyZv2SF2yLDhsghmpTvxTerYIb8ULnc8kPzITT8BraiU6qZAnS l3i+KaMdzs2Dmf73gpG1KMKYSIg5aJ1NAmvwEjTXahQBJ74jogrvmPoIQ3s762OBMupx ysf0WkX2FZfyrfco2h3Eh9Jpyn+1xuy1uQIc8hMD3CyL529AJBg3jNGxXQYjhMxsDR0V oK+A== X-Gm-Message-State: AOJu0YzmsbhSjtfmaIx5zoHVJwrfNd22hFwSihfxPjaXQiA2wChoqBTb aBoDFIOaEyGiBx1pFo/czr2YMkqBiaLe0eitAWlRcrcWJe1MpvUox7eggA== X-Google-Smtp-Source: AGHT+IFqALfOJ30uaTC9jCr/oWXaLnWXEOrwW0T0vMvTvFh2HWxNO6DEJonqUtGm0Q+y8+0LjiUXkg== X-Received: by 2002:a05:600c:3586:b0:41b:de8d:dcd7 with SMTP id p6-20020a05600c358600b0041bde8ddcd7mr1657232wmq.20.1714563453573; Wed, 01 May 2024 04:37:33 -0700 (PDT) Received: from octofox.metropolis (77-46-212-180.dynamic.isp.telekom.rs. [77.46.212.180]) by smtp.gmail.com with ESMTPSA id h14-20020a05600c314e00b0041c14061c71sm1913681wmo.15.2024.05.01.04.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 04:37:33 -0700 (PDT) From: Max Filippov To: devel@uclibc-ng.org Date: Wed, 1 May 2024 04:37:26 -0700 Message-Id: <20240501113726.1123361-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Message-ID-Hash: F4SPWSQVZTBZW43G57YAV3NZ6EVORPRD X-Message-ID-Hash: F4SPWSQVZTBZW43G57YAV3NZ6EVORPRD X-MailFrom: jcmvbkbc@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Subject: [uclibc-ng-devel] [PATCH] linuxthreads: enable unwinding over signal frames List-Id: uClibc-ng Development Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: linuxthreads use a helper function to invoke signal handlers, this function needs stack unwinding information to enable stack unwinding from signal handlers over signal frames. Signed-off-by: Max Filippov --- libpthread/linuxthreads/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in index ffdd5d4eb3c9..cc2a5f285c63 100644 --- a/libpthread/linuxthreads/Makefile.in +++ b/libpthread/linuxthreads/Makefile.in @@ -16,6 +16,8 @@ libpthread_OUT := $(top_builddir)libpthread/linuxthreads -include $(libpthread_DIR)/sysdeps/$(TARGET_ARCH)/Makefile.arch +CFLAGS-signals.c = -fexceptions -fasynchronous-unwind-tables + libpthread_SRC := \ attr.c cancel.c condvar.c errno.c events.c join.c lockfile.c manager.c \ mutex.c pt-machine.c ptfork.c pthread.c ptlongjmp.c \