Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp288828lqp; Mon, 10 Jun 2024 04:27:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWfVFl7EQrruHeUzldvRHWevNxoNykf2ia5rLLAn4An7OZsA2on0x5bCibpseirqAFmB7cUJfSX16HWjitsFrB8bf3kCRw6yv2MuOdDQ== X-Google-Smtp-Source: AGHT+IEZOOD7M4TsyxA9KrMKccbzq3bcvNqv+aPBxFcwLmDbK31ujT4g4SStGX8w+I1JnMDLOE5D X-Received: by 2002:a05:6358:248f:b0:19f:49be:7f9e with SMTP id e5c5f4694b2df-19f49be88bcmr300390155d.18.1718018848616; Mon, 10 Jun 2024 04:27:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718018848; cv=pass; d=google.com; s=arc-20160816; b=riqEKG7OxTCHWSJP579PrO/AfjPMWWDI086QB763FNvrAV72x3J6vqdjHjU9OPlX9S o1fRe6pTR7GlYfYUSUi/VAbDRkFzOexJs3R0g/3/TKmLa61Uoh13Nuuleqcm+d4yDQdx 37GF8iB9LP0ZVPf+vf/om4XQBSIhEwxs8HQkdEWhNB+5454DkewK1j5qCpdafENXVU7c fU3bKVSmL118Y6L7x8PR2QEf7Mm7myVOkWvTlQ3DoccH47wdryvJhIqqBlJC97hL9V8l cj0HxtCwdWDhU9U8pEDiGrDD5OufshJaeLpBcTrUi/DJV6OMiK2+8g8vKYnOBU816VHY 9bGw== 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=N8zgI+hPlcokGXgbcGKX3ZALDjdnfLdzNX6IvhXuj3Y=; fh=G9ryFZCU2yD8YTc7nD0iMe2JyWyJElU6TX9j1wJvLrk=; b=nyg0CokpAsSlmSmTlf0CIaXQPmBy6nIGirdsQXh0njzH4ychiz299fi99hS4Tk5GXB +Ttk9iak2JAgkaMDj8XsvQq0RVGYCVSK2BJ8h+S/Zpe140r2iEvI1ewXz9R+E9xSVZnG x2eVi0b02Hze7Unl9KAA70QvSJ3YBZrH2aJbb2KiYxa633bCDtSIRU6ITY6ZHhYIddDu 74TRxBxmczGquQJYv2MTMlcLQyi6rfA6amTucHQSfJDDhrD6/xJ8yHSiZ+hQxSlA+WAs WTnU+JHSiVC5u/+mcpdOpAfXIh0fLXEa0lBIfVoG2cESDfyXE2z1IENOjKY/YLBXnz/0 wmIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yvv3VKFX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208075-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de261cae2esi3196175a12.277.2024.06.10.04.27.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 04:27:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yvv3VKFX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208075-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 0E4D4282DCA for ; Mon, 10 Jun 2024 11:27:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 418FE7D071; Mon, 10 Jun 2024 11:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Yvv3VKFX" 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 43A9EFC01; Mon, 10 Jun 2024 11:27:03 +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=1718018824; cv=none; b=enSItMmHsmceH8zRWNkq4FKx+SQGmLA0oLu0dv5UBB5iRPcTbyE4pmn/xN8VVDcRs2S3X/+DJw/FByT6mmO2hvokv20OI72hjtSR68OLtZUxCLuDXjeD39qE2y6V2DucFZEdXBQH39/4uNPFTrC7Bzd5C6ZgmGfV6WNEjtNnYQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718018824; c=relaxed/simple; bh=Zj7me7gZBaXpkbOCnvwgreuP5Tx8hWvjy2At9j5lGHk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OL7+nWtRlCJjLZf+27EGzA74l8Sl+QhLvBRxoYb7wTw/jSGs/AlkfvnXnIOvjfnZkbLdS/DK+MauV6YEssX2PG6ZXXcRbH1+er3FJF1zPgNAMi8tWuKsO9aamtyYjTaC7wQ8A+8yLrdrGVzO4nFc7O1L4r2fjs3IUeVsskD4wr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Yvv3VKFX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2676C2BBFC; Mon, 10 Jun 2024 11:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718018823; bh=Zj7me7gZBaXpkbOCnvwgreuP5Tx8hWvjy2At9j5lGHk=; h=From:To:Cc:Subject:Date:From; b=Yvv3VKFXHSY1XZG0ppooSoMDp3H70bNoH74uPMfaQM2cJJ/186kLRBVZCnX0OpVFj EKujvHGV/RANpBc7lzjdwPXveEtJnaRHH+3BN0ePXcbrnblOWGAUH6DEA/E4SjFNjv LXIxZ/Gv3iJENigFnFkFkV5OmjLIvLSOP7oDfx99MhSJgU1dXp41jx5P+tQntPZ5sd yP69TR2JPvOnEqWbcgRWsMDeqtN0WNJ/B2r0RUiSv+UkEuuSECytHUK2DPmz87tEyH nMk/eog8FkQCbMOnoMAA5SGTEGQrX6xUKazBaROlxgWmssJjhmIJ/XTSi6ZIq86LTJ UqO6dT+BKzEcw== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Arnd Bergmann , Nathan Chancellor , Nicolas Schier , linux-arch@vger.kernel.org Subject: [PATCH v3 0/3] kbuild: remove PROVIDE() and refactor vmlinux_link steps Date: Mon, 10 Jun 2024 20:25:15 +0900 Message-ID: <20240610112657.602958-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.43.0 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 temporary vmlinux for BTF and kallsyms include/asm-generic/vmlinux.lds.h | 19 ------ kernel/kallsyms_internal.h | 5 -- scripts/kallsyms.c | 6 -- scripts/link-vmlinux.sh | 101 +++++++++++++++++------------- 4 files changed, 58 insertions(+), 73 deletions(-) -- 2.43.0