From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DA4FB321F3F; Mon, 18 Aug 2025 13:16:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755522995; cv=none; b=oIFi8dKo1ZE7TkPhBd4QO9XrEZm9tsjguks+kc+MSlf5887DAAJtfs/sGWGX94zAxKRJX+jkUBmBan3JQgyeJ3M8OSEJZ0Qiz3HgsvJiSFy6heb/a6+jYE+nTVwx9RTqhM1H7LopNbgMIBC6FKJqi3hrdJGi5U5WIeSlzgdqqaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755522995; c=relaxed/simple; bh=Lp9gMmFyVKyqtKDLrjQxYvuYOn71KF7TqodKFGr6JL0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RBMDav40f1SXIB/6QWFBkT8szEDKZlSC3L7o0LLOcipu8zC/wfeAvbPlNXKoYdUdtNMwuolO5Yr8sqsqgCKt+uNVN0yN7EiD2BdOHQO8C6GSGOmf1ZNzsqWoUzzMFJSQrb6qldAPVJxCOc7eoQklk/iB5tuRDb9mlrYCvUlnd2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M6QfSAtr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="M6QfSAtr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56266C4CEEB; Mon, 18 Aug 2025 13:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755522995; bh=Lp9gMmFyVKyqtKDLrjQxYvuYOn71KF7TqodKFGr6JL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M6QfSAtrd72W0zgX1rSxUDyf8iuvY/ZTZkdBbaRAq3lF/QCJpFGwaXoAG0yqAkeOB +0UhGnreYUK5Df8dt8vjfMrsrFQql001BkZmRnnyyS47TOMyPhQT8DH9zbxSRehxEP /GBu3CcTKoULZsAxGM54FCjBeGHEFV+CzjCTu1x8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yanteng Si , Wentao Guan , Huacai Chen Subject: [PATCH 6.15 038/515] LoongArch: vDSO: Remove -nostdlib complier flag Date: Mon, 18 Aug 2025 14:40:24 +0200 Message-ID: <20250818124459.907453955@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250818124458.334548733@linuxfoundation.org> References: <20250818124458.334548733@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Wentao Guan commit d35ec48fa6c8fe0cfa4a03155109fec7677911d4 upstream. Since $(LD) is directly used, hence -nostdlib is unneeded, MIPS has removed this, we should remove it too. bdbf2038fbf4 ("MIPS: VDSO: remove -nostdlib compiler flag"). In fact, other architectures also use $(LD) now. fe00e50b2db8 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO") 691efbedc60d ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO") 2ff906994b6c ("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO") 2b2a25845d53 ("s390/vdso: Use $(LD) instead of $(CC) to link vDSO") Cc: stable@vger.kernel.org Reviewed-by: Yanteng Si Signed-off-by: Wentao Guan Signed-off-by: Huacai Chen Signed-off-by: Greg Kroah-Hartman --- arch/loongarch/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/loongarch/vdso/Makefile +++ b/arch/loongarch/vdso/Makefile @@ -36,7 +36,7 @@ endif # VDSO linker flags. ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ - $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared --build-id -T + $(filter -E%,$(KBUILD_CFLAGS)) -shared --build-id -T # # Shared build commands.