Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp112345lqp; Mon, 10 Jun 2024 21:10:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0BqxHvbLGAx85CKMEudUjKknFbLU5SWBil/lqwFks4INHyHBJEQpPzcQGEx5mfy79OrkPb6Rmm45O4TOhGHM9qS0Xcee+XpsqtjYR/w== X-Google-Smtp-Source: AGHT+IEoE2aqN+fv83qKaItkHf+eAT6YQxdzMSBPu7zpjtEHluzECD+BgbbJmI9io6nbod0fd/Ds X-Received: by 2002:a81:a184:0:b0:617:cbc7:26fc with SMTP id 00721157ae682-62cd5697efamr113228827b3.42.1718079026576; Mon, 10 Jun 2024 21:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718079026; cv=pass; d=google.com; s=arc-20160816; b=Qmz3NHZHfk9huQOj7bs3aHM7g1GP/u5ZKgV1/oTqapNiA8w5UVNEq1bAjoE7HRRcxz H5WlbXWg1VHSZSIf6iIKeaYlrXpekRu9Y7gvZ42AlRR5SzC/aHI1fDu+qEde0a4SDsZ/ 0sXpd1gDpsbvBz+L0CmCGGFin4lG4ICeIwCqycqvfrLHIcpfb9TN4R+R94bHqfE8gTwa C25/ZspEcKybCfTZ+6RqMhFV9U8HLfftR22PkD75oI2AojEsaUe/CXDLuNRZvxSoQ/ol gEKa4C/KsbsuVk31WnhOfhYyIf40fgZZpi8q+wbFG+iJx3JkMZjOUGJrabs+Jy8MOYjR DAJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=FUfa8Ce6rKFwM6+y8mqZVOG7Yusk2q97QuYxpjZe6L8=; fh=AylVGXgEbw8wyB7MGeNX72nOb4fQ+Teya+w0wRET0Kg=; b=VV6yA1jHP+pm2Tn1F2/GI2MBdIbA2QEX+FNOPNKQUBMa3slDxNeecFX9/bqjMWflIP jrFrG3WGcu2lro3WHARCgAWp3K+12EozCPbc9QJMUh7U6ILLIxrHnI5NxE8t9EhzuGNY nYw9BMsH9ggcFjGKQ8wrQemqWzdNeIuSd+Z1hGPHif2IC69CCr9I2/sihu/gFbQO7TRu 90CuWdQtDFFw3X1TXPWhb264xyY22Xby66efXw1Z5XUNWHEEv7mCO4aA9GChACSdE927 dJGNDlKBb3lZ/Nh1ar8JWiZy1MKBU+Ke4qTiHMxb85lUGLhWlSdFVNBEY80uDgrNK5uU FijQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-209240-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-4409aa4b018si45701421cf.423.2024.06.10.21.10.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 21:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209240-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-209240-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4D7A51C21A52 for ; Tue, 11 Jun 2024 04:10:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 568AB16FF5C; Tue, 11 Jun 2024 04:10:14 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 0525D63C for ; Tue, 11 Jun 2024 04:10:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718079013; cv=none; b=a1aO3C83EVmfLStbyh3WgVILvL/WgOG329DIAGmghGTLYGtnz8C6d+DgegnnVLtL8GImFBA4l9qt3lznNnPlWjwLeL6TYMKzHqbS98ZGuffrqdeamNB6VlerTcC5sWMegeAXQKidiHEZKarsKoAxqH696/QLWnje23HGnc0iSCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718079013; c=relaxed/simple; bh=6CKoIfbRWXYrWYdIrhyj9GZrzS2Nyta+yrXVbWijXQE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=pmfFOU1wqmKmztTlovLcxJXXPnq0MzjoadimHMRlrzV/UGXoxiZvr2V9clq8CAZiA7vYLx/9ZSHncKDAPtk66iDRwP+S0WUiMUI/AGZopkxh3KKhb9iFEMY4afmfSmK0+Y0S9DDkSoQBlAtRzQfYBqgZGcfJmIiz+qr/zVoVyyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Vyw864hR9zsTpQ; Tue, 11 Jun 2024 12:05:58 +0800 (CST) Received: from kwepemd100011.china.huawei.com (unknown [7.221.188.204]) by mail.maildlp.com (Postfix) with ESMTPS id A6BD3140F84; Tue, 11 Jun 2024 12:10:01 +0800 (CST) Received: from M910t.huawei.com (10.110.54.157) by kwepemd100011.china.huawei.com (7.221.188.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Tue, 11 Jun 2024 12:10:00 +0800 From: Changbin Du To: Paul Walmsley , Palmer Dabbelt , Albert Ou CC: , , Changbin Du Subject: [PATCH] riscv: vdso: do not strip debugging info for vdso.so.dbg Date: Tue, 11 Jun 2024 12:09:47 +0800 Message-ID: <20240611040947.3024710-1-changbin.du@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemd100011.china.huawei.com (7.221.188.204) The vdso.so.dbg is a debug version of vdso and could be used for debugging purpose. For example, perf-annotate requires debugging info to show source lines. So let's keep its debugging info. Signed-off-by: Changbin Du --- arch/riscv/kernel/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/vdso/Makefile b/arch/riscv/kernel/vdso/Makefile index f7ef8ad9b550..960feb1526ca 100644 --- a/arch/riscv/kernel/vdso/Makefile +++ b/arch/riscv/kernel/vdso/Makefile @@ -45,7 +45,7 @@ $(obj)/vdso.o: $(obj)/vdso.so # link rule for the .so file, .lds has to be first $(obj)/vdso.so.dbg: $(obj)/vdso.lds $(obj-vdso) FORCE $(call if_changed,vdsold) -LDFLAGS_vdso.so.dbg = -shared -S -soname=linux-vdso.so.1 \ +LDFLAGS_vdso.so.dbg = -shared -soname=linux-vdso.so.1 \ --build-id=sha1 --hash-style=both --eh-frame-hdr # strip rule for the .so file -- 2.34.1