From nobody Sun Feb 8 10:49:09 2026 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 1B963226865; Tue, 11 Mar 2025 08:59:00 +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=1741683542; cv=none; b=dyOwavUUvOS/2WigJ1ATAaHU4bFEe5qjynlW67RVhTCsFBl3c3WLrywlGqmQc58T6Tmi7MhpqKVVdNLai2X0enyFd6FevdK8tvovzIIhsJkOW0CNz7bmsW6/mCZekPisVK39HDWedEgJo775MIMr4DS6GFni0exxOHpY5O1x4Gc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741683542; c=relaxed/simple; bh=98sP7xH0qPB4dwZu7HQaBb0Cqo3hmIKKPfOQ/n15WjA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=si0nMUiB9unhqWIYHG8HPBYRm46SMsWwFDpW+vKiBk/E8BK8ckjFRzy+OSnKMx1GAzz2flW9N2E55b69FwxR2Ycqw+LXCxw0oQ1qhdLxW6fS3ShTtY3mSMl6sN45evvBrb02ox1+7x2fhRSzm3XHmG4kYyp7DnndUQA3tfG5rzs= 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=KuvSezzA; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=0Z2RQlWC; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KuvSezzA"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="0Z2RQlWC" Date: Tue, 11 Mar 2025 08:58:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1741683533; h=from:from:sender:sender:reply-to: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: in-reply-to:in-reply-to:references:references; bh=OBlYBuKQ52KIIU8RRmXma/XNz4ExHfK7mswG18r1ze4=; b=KuvSezzAx/Gb/4uo3fXxuBVnAKRmVqnBiiCZrmKrq3eGbDGsyjfLCB9AbsI9f3SD+DSFZl /71ug7qvr/wZcnKTNejbEPI2ze+0fna+rDvaqZbpIbXMQBkwYAi8Dhd22bbBNnUGIOq2u/ u+nHQoDdC3pDq+Nb6AD4RkC3gOY1zm9S+3j7tGgsFg64MwCwxgOgxOzywSQIWXh4MvH4zY BwanjuVp6Xj/mYBo8XmE17jTJs+Xo0qkCfK/0XLYTGpHAqfXxuMM/hgY23gBDuA4plLu5C bZLc6N+cUlpT7MDR/wVC9sc64pwIQMg99tXE/sOt2ncBou+Fhdn5RnVDfZRiXQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1741683533; h=from:from:sender:sender:reply-to: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: in-reply-to:in-reply-to:references:references; bh=OBlYBuKQ52KIIU8RRmXma/XNz4ExHfK7mswG18r1ze4=; b=0Z2RQlWCfreKbSTq+6fA1dKWNX909eGSBl3GxdqG6rlqcKPpAi9tTkokgFXd4ONX/7s30f 3NrUUOB6m7bcUWDQ== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/vdso] sparc/vdso: Always reject undefined references during linking Cc: thomas.weissschuh@linutronix.de, Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250306-vdso-checkundef-v2-2-a26cc315fd73@linutronix.de> References: <20250306-vdso-checkundef-v2-2-a26cc315fd73@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174168352868.14745.7829013461572260713.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/vdso branch of tip: Commit-ID: 82e6de7a4fe0826b813d91fd193d87625646c6d9 Gitweb: https://git.kernel.org/tip/82e6de7a4fe0826b813d91fd193d87625= 646c6d9 Author: Thomas Wei=C3=9Fschuh AuthorDate: Thu, 06 Mar 2025 15:07:21 +01:00 Committer: Ingo Molnar CommitterDate: Tue, 11 Mar 2025 09:49:16 +01:00 sparc/vdso: Always reject undefined references during linking 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 script. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20250306-vdso-checkundef-v2-2-a26cc315fd73@= linutronix.de --- arch/sparc/vdso/Makefile | 7 +++---- arch/sparc/vdso/checkundef.sh | 10 ---------- 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 arch/sparc/vdso/checkundef.sh diff --git a/arch/sparc/vdso/Makefile b/arch/sparc/vdso/Makefile index 50ec297..fdc4a8f 100644 --- a/arch/sparc/vdso/Makefile +++ b/arch/sparc/vdso/Makefile @@ -22,7 +22,7 @@ targets +=3D $(foreach x, 32 64, vdso-image-$(x).c vdso$(= x).so vdso$(x).so.dbg) =20 CPPFLAGS_vdso.lds +=3D -P -C =20 -VDSO_LDFLAGS_vdso.lds =3D -m elf64_sparc -soname linux-vdso.so.1 --no-unde= fined \ +VDSO_LDFLAGS_vdso.lds =3D -m elf64_sparc -soname linux-vdso.so.1 \ -z max-page-size=3D8192 =20 $(obj)/vdso64.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE @@ -101,7 +101,6 @@ $(obj)/vdso32.so.dbg: FORCE \ quiet_cmd_vdso =3D VDSO $@ cmd_vdso =3D $(LD) -nostdlib -o $@ \ $(VDSO_LDFLAGS) $(VDSO_LDFLAGS_$(filter %.lds,$(^F))) \ - -T $(filter %.lds,$^) $(filter %.o,$^) && \ - sh $(src)/checkundef.sh '$(OBJDUMP)' '$@' + -T $(filter %.lds,$^) $(filter %.o,$^) =20 -VDSO_LDFLAGS =3D -shared --hash-style=3Dboth --build-id=3Dsha1 -Bsymbolic +VDSO_LDFLAGS =3D -shared --hash-style=3Dboth --build-id=3Dsha1 -Bsymbolic = --no-undefined diff --git a/arch/sparc/vdso/checkundef.sh b/arch/sparc/vdso/checkundef.sh deleted file mode 100644 index 2d85876..0000000 --- a/arch/sparc/vdso/checkundef.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -objdump=3D"$1" -file=3D"$2" -$objdump -t "$file" | grep '*UUND*' | grep -v '#scratch' > /dev/null 2>&1 -if [ $? -eq 1 ]; then - exit 0 -else - echo "$file: undefined symbols found" >&2 - exit 1 -fi