Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4302740pxu; Tue, 1 Dec 2020 01:19:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeMx3gPmIkGW9ZkrOMJuLQmFXUIWJsAW2qLRDeS8t9dsWNtTS+OOMqZmpxve76oAlXaQql X-Received: by 2002:a17:906:8152:: with SMTP id z18mr2139273ejw.317.1606814391365; Tue, 01 Dec 2020 01:19:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606814391; cv=none; d=google.com; s=arc-20160816; b=0ZKiJkPMYvLzgBBtLUt0k/I7pLdWbd18H2jV/RH3lFdYd4YZWcHRsUoi7u36Hr4zRu 1VZLoAP/Ue66iP8hglteCUS4sEsRzQuQBYttdTtLyXk7lmwgk/xIDzTAw46zndL9Pcyt Zp7T1n9KmHGfcUthDHFSppF5ym/rfiYiCqd+dUUpYn3nImjig/B37gVx4tFte8sw9wiq DE+Lxo3XVIfEQpuvzBs/G0IC+VvyrKArw4tq0yoNYHaPPqu9VDYo24qE+8WZohIWDcNM 1QfJmJCb/gAJ8eD0CGzGsVBCcOFIwvLEEDGr2C36IC1WZB7y5hvY2PlsSz5b4kXqAZQv Qxow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0EpDzT9sEadhHyKlmXUQax+ACkTDpUbCylrSFRP8qzI=; b=KmoYD73j7oIMhCVMiWV2I/Q0QEri42E3QkaG2s4xPqCxuOyvFiRWG5VEJuedqo9ZlZ /GVP6Dwv5CndelcDOyfweIKiZpB9PPYyhaI0u46rhW9cu7b1t5f2WBldmf+7uzaOAYEL ooaL9PUpVYXJ5ysouYZcUjedB8wFjLZDEwUiFkumGxkATTnxthUDf9nOW+4JfwWdc/Ya F4w96E/HQqzOLFBQ4WeVTb83ROo6PSFdGGHAM3Q99P357Je5+otmG357G7UU5sVBHApi Kdiolg2Jh7mKu67f4HRq1noQjxWLMzulq76B2+tEswHGm5PpYOpnS5PJXQbYR4jUrMf5 Tytw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kMkY5gKv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o60si738503eda.61.2020.12.01.01.19.28; Tue, 01 Dec 2020 01:19:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kMkY5gKv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390384AbgLAJO6 (ORCPT + 99 others); Tue, 1 Dec 2020 04:14:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:52014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390111AbgLAJNd (ORCPT ); Tue, 1 Dec 2020 04:13:33 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CF66E206CA; Tue, 1 Dec 2020 09:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606813972; bh=69fkISq22tvJMkqFDRcEKEXQrl2GDojcM2m3rXq6E0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kMkY5gKvORH2srxVXY6OIlGToZlYYWwvEYpjPKKVYoJFq+TFClRc0KfuRVsm49k5w AhNOAV4ZdlcSzg0jyHKYQuVGrreVEKICOpScqBW+fdtW4riI2i9ubTBpCNTjoYhOzm E8s0sempMqvyvM+WzCNNwpMSGGs2MoVk056mY3lw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , Nick Desaulniers , Bill Wendling , Palmer Dabbelt , Sasha Levin Subject: [PATCH 5.9 123/152] riscv: Explicitly specify the build id style in vDSO Makefile again Date: Tue, 1 Dec 2020 09:53:58 +0100 Message-Id: <20201201084727.948331893@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201084711.707195422@linuxfoundation.org> References: <20201201084711.707195422@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Chancellor [ Upstream commit e553fdc8105ac2ef3f321739da3908bb6673f7de ] Commit a96843372331 ("kbuild: explicitly specify the build id style") explicitly set the build ID style to SHA1. Commit c2c81bb2f691 ("RISC-V: Fix the VDSO symbol generaton for binutils-2.35+") undid this change, likely unintentionally. Restore it so that the build ID style stays consistent across the tree regardless of linker. Fixes: c2c81bb2f691 ("RISC-V: Fix the VDSO symbol generaton for binutils-2.35+") Signed-off-by: Nathan Chancellor Reviewed-by: Nick Desaulniers Reviewed-by: Bill Wendling Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin --- 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 cb8f9e4cfcbf8..0cfd6da784f84 100644 --- a/arch/riscv/kernel/vdso/Makefile +++ b/arch/riscv/kernel/vdso/Makefile @@ -44,7 +44,7 @@ SYSCFLAGS_vdso.so.dbg = $(c_flags) $(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) FORCE $(call if_changed,vdsold) SYSCFLAGS_vdso.so.dbg = -shared -s -Wl,-soname=linux-vdso.so.1 \ - -Wl,--build-id -Wl,--hash-style=both + -Wl,--build-id=sha1 -Wl,--hash-style=both # We also create a special relocatable object that should mirror the symbol # table and layout of the linked DSO. With ld --just-symbols we can then -- 2.27.0