Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp284504lqp; Wed, 22 May 2024 04:48:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7g9P+ND5gf1NU4n1BtD3blUMV167kqMdt+t/0HPoT8p0zrnkVf/PB69S6G9+Ha13ieV7sb54FKgITsJ1pfBbYSvz65fmY95IGf6aD4Q== X-Google-Smtp-Source: AGHT+IHp9kTo/Z+Nlsq0Cji5l8lF2W4vnO2YA3yd2Z7WdL2RnaCXF78r5r2Dx/yjDArImPcGwbOg X-Received: by 2002:a05:6a20:3ca6:b0:1b1:f6a9:6b0b with SMTP id adf61e73a8af0-1b1f8a8081fmr2658848637.51.1716378495481; Wed, 22 May 2024 04:48:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716378495; cv=pass; d=google.com; s=arc-20160816; b=Hl8izG3GVzlbJ0yRTozJU19Dr+dXcBBqTb6Gvac0+yLgXoSY/nMK87YrR+G2cs6HKV 72ngHZBaNTwz+dypswCMd1GplUxRxeWh0ArALIdqQDubgIufOHHfkjGtYx03xZnxjocD NmCvPoJU0W9XD67FVpvdpuSBlt3n3rk9wYmkodMIkUCIQ4B4KWd3Qt6URtSZHRutoXtr YpZVCN4c8s2YonLtgJmnNZnh6EERXd4JwLB00MjhXoT63sNqg4Ot8E19LAxoRNjyDEbM vrlK1JKJfudD9YuutkVcwWEIYyzLBfpAWnoTNqijVk4ojCavWUMWGGIa/revatHPW1W8 O2kw== 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:dkim-signature; bh=CoSXCa33ZiRSmMcbI07348XLwHQ7r33ZrwYk2hJaQfs=; fh=ESAaLsPrtAMdh8W0aCD8DPFLgZahxA0F8cA656nY/IQ=; b=u3zwY5S6h+QmWiLC0D7LLlnRiOrsRs2OGTatZwoxX4e/bi8XAB4edcp4xoZh07gUB/ R38RN/ooSKmRdDXMGjKq2niHAN2/ix2hy3DL1iXm4JJGc5GrXCOScvQyKHZtoJY1j70q Yg7wTKyXTitHW4viREMDHMDgYnq9BJTXRahoRPRzhx1TJXjRuYRCCJ4VcKDTZTsT4rJr DhN5fHdbkMUkEIIWA6pxOwgkqwwFfRbW2f1clrs4cZsANZtbagZSizFqFOU4kePH1guH j9PN7P8VwP12N7S5omiJLIzxV1zKUMjRBuBayNQFMQMjpCkSILUqlz4kzphGeCezgy0I DiQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Uz/hrVa2"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186166-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186166-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b6288655ebsi27625569a91.16.2024.05.22.04.48.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 04:48:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186166-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Uz/hrVa2"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186166-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186166-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6D5802845A2 for ; Wed, 22 May 2024 11:48:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 251A313D537; Wed, 22 May 2024 11:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Uz/hrVa2" 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 415FA7E765; Wed, 22 May 2024 11:48:04 +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=1716378485; cv=none; b=j+IvIXMHRgZiNsBrrZwNnuoRfJVxM9D+dC493lqi9ujQC7ALsChOiSPmywrapngVw7xSfSIm4AXc7RYFuGbS/+06jBkFPlmhe5I+RQ18GpvmQHTxYv5ToJXDx7ld7nnaJYks1W7fmF7Cx7gti90ZEh6UmocMEP8ZQ47h6w9Ar3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716378485; c=relaxed/simple; bh=D9GU2oEZ+MO6Z/F1dykmdDtuO+LLYvTayhZZTswjnyk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=cufVCe7uCL74QJaZ5+7zmdfOngjKluMI3q9Q+MnDBBr7Sau1zPPOOyZ/72leMDyEYvzzZU7rupeSccfF7zmOgXeqCr0JoY2lLQDtChKgU4gssx5CHRcsO3RYzlGhYRROocaw/1NSy/ggpzZjdGA4OsDnhlwvPgq/oac2kfkBvyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Uz/hrVa2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EA28C2BD11; Wed, 22 May 2024 11:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716378484; bh=D9GU2oEZ+MO6Z/F1dykmdDtuO+LLYvTayhZZTswjnyk=; h=From:To:Cc:Subject:Date:From; b=Uz/hrVa21BzwAvZzMQkhLeTq6QGj80Y61mqTHXlYeZQcEAYAxfBXtrJKisg05yaif SKf6amn2ov5wsKxE5eh7nKA25o8IQV7nE0kf9FlguOhpbfkuZISTr2C9xSEFp3LXP7 cK0U0n4E8CXolAyFYG0Nuur6wS9/yfFM1xP3wYc3jR9R7PHtuT+AHMTxnHBMMit7jm MtefE5TPgpiZ6aM8cG4tZiNFT91BpjdKh+VWUiowA84kHU2vW+59hNFLKl8u2C7pvt dJ/7VvKIy22bx5ER6ZxnL0T1uyDthaBXaTVJdSLQ0kXlURhHkrPNG47XdvvaSngQI3 zTzr8PZB+Ezpw== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Ard Biesheuvel , Masahiro Yamada , Arnd Bergmann , Nathan Chancellor , Nicolas Schier , linux-arch@vger.kernel.org Subject: [PATCH 0/3] kbuild: remove PROVIDE() and refactor vmlinux_link steps Date: Wed, 22 May 2024 20:47:52 +0900 Message-Id: <20240522114755.318238-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.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 - Remove PROVIDE() in the linker script - Merge temporary vmlinux link steps for BTF and kallsyms Masahiro Yamada (3): kbuild: refactor variables in scripts/link-vmlinux.sh kbuild: remove PROVIDE() for kallsyms symbols kbuild: merge temp vmlinux for CONFIG_DEBUG_INFO_BTF and CONFIG_KALLSYMS include/asm-generic/vmlinux.lds.h | 19 ------- kernel/kallsyms_internal.h | 5 -- scripts/kallsyms.c | 6 --- scripts/link-vmlinux.sh | 87 ++++++++++++++++--------------- 4 files changed, 45 insertions(+), 72 deletions(-) -- 2.40.1