From nobody Tue Dec 30 09:15:32 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81499C197A0 for ; Fri, 17 Nov 2023 12:58:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346010AbjKQM6U (ORCPT ); Fri, 17 Nov 2023 07:58:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjKQM6U (ORCPT ); Fri, 17 Nov 2023 07:58:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A71D56 for ; Fri, 17 Nov 2023 04:58:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B366AC433C7; Fri, 17 Nov 2023 12:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700225893; bh=4vLoS7Dg99+l1hsNwr7XqzGIdn2mfLkaWWkevVLZdC0=; h=From:To:Cc:Subject:Date:From; b=nJsYwnM19NZA3/abngyX+NI6XrCZmiSo3hPPOokeyAhcrpCG3T8hERDKegVlXdxjq Sf6jNUZSvoHRgwFef5s9Hsxg7Gz9PK6e0b3YJZq9DrBT84tQZ6vqBt7qj3SAxFfeaQ 5pmyPUw3EheWFYHgOFqmTvgJRRUupjCPIebsaksfRdy2AMx+7mBnaGoQNX1d3WiuaM /5y1omWc2vIa4jEpsx8HFet+iVg7FCRf74N8Ve1yjEZRY+EFwGpG7y8saB1Juv2k9F Y7XTkIDKYgz0uGrKHCxZK27asn6qAfhtlLEA8oBm1BQ7VrRJFeLkuYCyEP3a6zr4qV pfMmdyO9V6wsA== From: Masahiro Yamada To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH] riscv: compat_vdso: install compat_vdso.so.dbg to /lib/modules/*/vdso/ Date: Fri, 17 Nov 2023 21:58:07 +0900 Message-Id: <20231117125807.1058477-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 'make vdso_install' installs debug vdso files to /lib/modules/*/vdso/. Only for the compat vdso on riscv, the installation destination differs; compat_vdso.so.dbg is installed to /lib/module/*/compat_vdso/. To follow the standard install destination and simplify the vdso_install logic, change the install destination to standard /lib/modules/*/vdso/. Signed-off-by: Masahiro Yamada Reviewed-by: Alexandre Ghiti --- arch/riscv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index a74be78678eb..5cbe596345c1 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -146,7 +146,7 @@ endif endif =20 vdso-install-y +=3D arch/riscv/kernel/vdso/vdso.so.dbg -vdso-install-$(CONFIG_COMPAT) +=3D arch/riscv/kernel/compat_vdso/compat_vd= so.so.dbg:../compat_vdso/compat_vdso.so +vdso-install-$(CONFIG_COMPAT) +=3D arch/riscv/kernel/compat_vdso/compat_vd= so.so.dbg =20 ifneq ($(CONFIG_XIP_KERNEL),y) ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_ARCH_CANAAN),yy) --=20 2.40.1