Message ID | 20241011-vdso-checkundef-v1-0-1a46e0352d20@linutronix.de |
---|---|
Headers | show
Return-Path: <SRS0=UbMq=RH=vger.kernel.org=sparclinux+bounces-2359-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=R2WafV0V; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=i1RVVRAS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org; envelope-from=srs0=ubmq=rh=vger.kernel.org=sparclinux+bounces-2359-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (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 4XQ1K95hRpz1xsc for <incoming@patchwork.ozlabs.org>; Fri, 11 Oct 2024 20:19:09 +1100 (AEDT) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4XQ1K81hzzz4wb0 for <incoming@patchwork.ozlabs.org>; Fri, 11 Oct 2024 20:19:08 +1100 (AEDT) Received: by gandalf.ozlabs.org (Postfix) id 4XQ1K81XDSz4wcL; Fri, 11 Oct 2024 20:19:08 +1100 (AEDT) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2604:1380:4601:e00::3" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1728638348; cv=pass; b=JmPy23wE0CncBV5GGTMMcdUeMBCMXql8iH6w8A2jGTw6bJnml28qu4N0lOnNVIN3nG1PPC3jOCUXp145rII226d9HJ8WBkmk3hoTZ4UCT6i3V5gMOAI2iH8tVss5LO0gmHZDswxSsXpV/1QOmCkmhGkApTgUDTZNEEE7GgDfzeyWyN/BK2vlTHd8OZRKIALHOMlPOpMNqxpnMk9Xzas1/AWPSe1ozA48n8XcGIdbDWgTmNCveoVYf/aJLC1ZNvbPJPsfhRokyAxPgQKjGrKm8q8AcGn16hXSpedION7V6uBVU82M3aZ44OZcvIb85AvrZYN8pOwfB4KS9IScrxi9dQ== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1728638348; c=relaxed/relaxed; bh=3i7xaHn/k9QwPofJE1RoXQFyFWsHwRALXQe60ECIRXY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=CQTCuyECPw8srYzWJjeiWIVEnufau5N8HdvBqXlwY5HdXTkKpXP4rsqxSBdYbr1V0RmWRYCIjM2avuqc9XSmKcZMt4eMYjTLj+huAIS2GZjp9l4PCoJJCN9a5RMn8co8U5zR/sQP9LLzRDFNQu1e+fUZnPfJRTyh+rnRSxOQK6mbOgWTKCL+q4vlIgViI2LkTcSCMQrMK97sVXGg9fhdd8p6+fjqzF0s72Y0k8htWNWQo7mfaqS4ECLL3ggt3EJozNIPH1fRL9Jh0YLwaE+mw6Uvjx0tKfy19sIxebaeSZCq7VBS/BxIGQxB1I0pacWlPj/tBFoF2yswxgQ7KjHkWQ== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=R2WafV0V; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=i1RVVRAS; dkim-atps=neutral; spf=pass (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=sparclinux+bounces-2359-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=R2WafV0V; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=i1RVVRAS; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=sparclinux+bounces-2359-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4XQ1K750Fkz4wb0 for <patchwork-incoming@ozlabs.org>; Fri, 11 Oct 2024 20:19:07 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 61AEA1F247C3 for <patchwork-incoming@ozlabs.org>; Fri, 11 Oct 2024 09:19:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F03E20B21C; Fri, 11 Oct 2024 09:18:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="R2WafV0V"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="i1RVVRAS" X-Original-To: sparclinux@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB3E0207A36; Fri, 11 Oct 2024 09:18:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728638335; cv=none; b=c95Eo5gYL0qDD9ISzTcUvMj+2GWhHZy+3f1WP1XWP3Qbb/i6o6/rxrtqmkSBn154A6s+wNkA8XPX00nhNDhlYqTv9GEaVDaSiHaM5mKUe0PJdKp1OrKzxWG+mzKHPG0NOIsG8FsyWZrtFgTsdqGeVy5D0p/uhxfGt0mLmou75e8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728638335; c=relaxed/simple; bh=DE0pG8qy796JfazzXbj8HDmCD79cEMob0SgGKor7rNQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=GofH3SK2RQcXIGetjQnM4bhGf1r2Xb1T/l+L3F6TwyFW/oF5e2UR2i5Ob2JiDeR5EksoYzkBgYIHMBMb8o9s5WU4iO4YoC7xWadAD5Z+ClZ6357IP2d+rpJYjLg9cAdMdA8RIleOVXPCcvPP3aYE9AijZbWbFX5XjwZSL4Vq4CA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=R2WafV0V; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=i1RVVRAS; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <thomas.weissschuh@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1728638332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3i7xaHn/k9QwPofJE1RoXQFyFWsHwRALXQe60ECIRXY=; b=R2WafV0VyDY+G/s5bQiCBhEpkfyyRPa0OTxbmIgxSju2NwU4urikb0Yo0s08rBmqUKKsOK er2kvM26UAf3o2UPr2XvL96y1i3H6Art8U+orNzGnWCy33fCgYDLBzMLBCRV1vJj7udljO XfInwY+Zecp615bGyqewPJCsmnxaGd4p9OOaMNp8ld/rb9KSQrPkOs1mU3Dd0C7WBzMJNy Ksw2Xi0+bH0kHYobnvqp5OPu5eUiZu++Aw3gbISmF4Ak2ZaaWMV3/nWBgoDcHJii8NC5Bo JHFsBGyOTwV77L9d3KET0tE1Jg7Lo/Kedl4vVKfE2AfW1h+WoKXkbrZl5PCioQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1728638332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3i7xaHn/k9QwPofJE1RoXQFyFWsHwRALXQe60ECIRXY=; b=i1RVVRASk+dqTdw4l1tDjEYFtAjHpqyGFWD3Gb/4Po8mrHSX5XJxy4HvTzxAh+vW5szKLr +GCntqAKeRsTJKDw== Subject: [PATCH 0/3] vdso: Always reject undefined references in during linking Date: Fri, 11 Oct 2024 11:18:24 +0200 Message-Id: <20241011-vdso-checkundef-v1-0-1a46e0352d20@linutronix.de> Precedence: bulk X-Mailing-List: sparclinux@vger.kernel.org List-Id: <sparclinux.vger.kernel.org> List-Subscribe: <mailto:sparclinux+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:sparclinux+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAGDtCGcC/x2MQQqAMAzAviI9O1iHevAr4kHXToswZcMhyP5u8 RhC8kLmJJxhbF5IXCTLGRWwbcDvS9zYCCmDs65Di2gK5dP4nf1xR+JgwkBkB1Tfr6DVlTjI8x+ nudYP0burmGEAAAA= X-Change-ID: 20241011-vdso-checkundef-f6dd0612025b To: Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>, Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Johannes Berg <johannes@sipsolutions.net>, "David S. Miller" <davem@davemloft.net>, Andreas Larsson <andreas@gaisler.com> Cc: linux-kernel@vger.kernel.org, linux-um@lists.infradead.org, sparclinux@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <thomas.weissschuh@linutronix.de> X-Developer-Signature: v=1; a=ed25519-sha256; t=1728638330; l=1098; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=DE0pG8qy796JfazzXbj8HDmCD79cEMob0SgGKor7rNQ=; b=raDEJsQlC+84uF9OuE2kfi/uFlSzdPtmawc5XYRTJY+fkZ/0tvmuae5IfCdVxNrMG7sHYAc6q hRCkuoBfeByD3FzXWbj+IODdF96IOaqz2YqgprNN+cmg7+fTm6x5wc0 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= |
Series |
vdso: Always reject undefined references in during linking
|
expand
|
Instead of using a custom script to detect and fail on undefined references, use --no-undefined for all VDSO linker invocations. Drop the now unused checkundef.sh scripts. These patches can be picked up by the architecture maintainers. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> --- Thomas Weißschuh (3): x86: vdso: Always reject undefined references in during linking um: vdso: Always reject undefined references in during linking sparc: vdso: Always reject undefined references in during linking arch/sparc/vdso/Makefile | 7 +++---- arch/sparc/vdso/checkundef.sh | 10 ---------- arch/x86/entry/vdso/Makefile | 7 +++---- arch/x86/entry/vdso/checkundef.sh | 10 ---------- arch/x86/um/vdso/Makefile | 5 ++--- arch/x86/um/vdso/checkundef.sh | 11 ----------- 6 files changed, 8 insertions(+), 42 deletions(-) --- base-commit: 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b change-id: 20241011-vdso-checkundef-f6dd0612025b Best regards,