From mboxrd@z Thu Jan 1 00:00:00 1970 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 7835947208B; Tue, 13 Oct 2026 02:36:38 +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=1791858998; cv=none; b=OZh/36dod5mvnb6pQLDnAtk5NdYirB8Lxd6BOLuuGbPTA73TY+LPbYjIq7V4XLCbRoVA0Iqjufdh0fyvKI0czx12EtFtn1oP72EoE/YlApco4XsMdNQJqHK4OCJ0zyHhACO+n2SoNTL894ellF+3T9L6E+vvEPA0VP7qwR2as7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791858998; c=relaxed/simple; bh=Zv2dPve4Jwtgz2PMMo6A1CxZBGriBvEPz5pHh26Z+S8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=F29TqEptBZbqh83r0ih2XpNxv/4Vplz9yWH+LeQQLCqLoQNM+ouhOzIo3wsbAvJ3sIaVe+wItMeoK9fDZ70lbl/hErE0uwCzizqkPYnaQcaYCD2jIvFMSMRzzSDdhlW/KYsKQdq4U1KUAeje8etAbkLbmQd4pX0zecWW0zvy/U0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kBKkSvDX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kBKkSvDX" Received: by smtp.kernel.org (Postfix) with ESMTPS id 01E80C2BD05; Tue, 13 Oct 2026 02:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791858998; bh=Zv2dPve4Jwtgz2PMMo6A1CxZBGriBvEPz5pHh26Z+S8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=kBKkSvDXG6Og1YGuWFVHlQpsdefBNfb7QsDhLxiu4X/URmBnlmjmnpoI/GjD2wP/o 301d+6HQc+iWoE2cTaut/FE9hSS8ztkDKaii2YClaVrJzrHvFhFXqzy1A8WTgA/2o7 b7OMfs1e5B1S42kTYYlrlOSJYhEHcg4A4xi4z+RJyK/SOw3vfMNphKh3tMmaUQcHGo uWYpaF8hkWf7UGm7rD1o2Fwivd8FrLttvyvK9N9v3SDhTdA1GnrEW62lvaQOo7ROiZ Zcq5PQY0AETas0u3Ra2KX+upeCJrp757deINfA3lwygf7QDyNQus+yAOdd/jfPuRy6 oh8ve+0V3+REg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6277CA9EC5; Tue, 13 Oct 2026 02:36:37 +0000 (UTC) From: Jim Cromie via B4 Relay Date: Mon, 12 Oct 2026 20:36:34 -0600 Subject: [PATCH v12 03/40] vmlinux.lds.h: drop unused HEADERED_SECTION* macros Precedence: bulk X-Mailing-List: linux-modules@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261012-dd-cmap-part2-clean-v12-3-3c8cc5725def@gmail.com> References: <20261012-dd-cmap-part2-clean-v12-0-3c8cc5725def@gmail.com> In-Reply-To: <20261012-dd-cmap-part2-clean-v12-0-3c8cc5725def@gmail.com> To: Jason Baron , Shuah Khan , Andrew Morton , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Arnd Bergmann , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Jonathan Corbet , Greg Kroah-Hartman , Nathan Chancellor , Nicolas Schier , Shuah Khan , Randy Dunlap , "Rafael J. Wysocki" , Pavel Machek , Len Brown , Jonathan Corbet , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org, linux-modules@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-pm@vger.kernel.org, Jim Cromie X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1791858995; l=1428; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=+Qnp7GmBGhxUf7BnWtOhBW1ycfqvD4UBWUm58PMJxJU=; b=5fcx9Luu0wnS8dC1ASCDKwi7vPdaBtgVqZe6JqalzmpEbzS+LGnSwQQsDTREJUfiKz1JYcxY4 lam/j9HCuAxCNJwJUe4M3nHZxgFqpDhVMFxbWYr1xZqP2h0Ole6Cp0K X-Developer-Key: i=jim.cromie@gmail.com; a=ed25519; pk=C6E5ODlPQo7ZBynATXH9wg7K6HxP0pIXyf4s38Qw0XE= X-Endpoint-Received: by B4 Relay for jim.cromie@gmail.com/20260203 with auth_id=958 X-Original-From: Jim Cromie Reply-To: jim.cromie@gmail.com From: Jim Cromie These macros are unused, no point in carrying them any more. NB: these macros were just moved to bounded_sections.lds.h, from vmlinux.lds.h, which is the known entity, and therefore more meaningful in the 1-line summary, so thats what I used as the topic. Signed-off-by: Jim Cromie --- include/asm-generic/bounded_sections.lds.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/asm-generic/bounded_sections.lds.h b/include/asm-generic/bounded_sections.lds.h index 8c29293ca7fb..268cdc34389b 100644 --- a/include/asm-generic/bounded_sections.lds.h +++ b/include/asm-generic/bounded_sections.lds.h @@ -18,19 +18,4 @@ #define BOUNDED_SECTION(_sec) BOUNDED_SECTION_BY(_sec, _sec) -#define HEADERED_SECTION_PRE_LABEL(_sec_, _label_, _BEGIN_, _END_, _HDR_) \ - _HDR_##_label_ = .; \ - KEEP(*(.gnu.linkonce.##_sec_)) \ - BOUNDED_SECTION_PRE_LABEL(_sec_, _label_, _BEGIN_, _END_) - -#define HEADERED_SECTION_POST_LABEL(_sec_, _label_, _BEGIN_, _END_, _HDR_) \ - _label_##_HDR_ = .; \ - KEEP(*(.gnu.linkonce.##_sec_)) \ - BOUNDED_SECTION_POST_LABEL(_sec_, _label_, _BEGIN_, _END_) - -#define HEADERED_SECTION_BY(_sec_, _label_) \ - HEADERED_SECTION_PRE_LABEL(_sec_, _label_, __start, __stop) - -#define HEADERED_SECTION(_sec) HEADERED_SECTION_BY(_sec, _sec) - #endif /* _ASM_GENERIC_BOUNDED_SECTIONS_H */ -- 2.56.0