From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A201931985C for ; Thu, 7 May 2026 20:40:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778186416; cv=none; b=Igwne8G6GnT49nuoP5Gjmhh83S/R5mML95lwSXTFfndAoGUW95m/5E4c13e5YaQ9VA8k+ly+0eVCLbwYKF/bPjFeXfsKTmhreWwpe225Pnqyts0GHTO38OKmU0J1mXhb1iCT9+BW8cp3D2VWI8uzC9of/g2R8ZxKMk7RMGe73u0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778186416; c=relaxed/simple; bh=gyhl2dDHOhDRfo2EoLm//e3PBy86xHd/L/qSVe14+FQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z2No95Mq/auBSSuAPpV47QFBj2Tjj6mWYQAaW3dYs9k4iW9BFkATqYQpJxPMaViIzrqYuG8qLQD8ju9U1QjLOorsqRQ/whSd3c7ObXeJP6P4DBOYQxXe6ZNZRwVbbfv/7quLnmh3MLYOlZMVSo2b1qbbdNxOTXOcSBtz5320lAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JOGsugJX; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JOGsugJX" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4891c0620bcso9862635e9.1 for ; Thu, 07 May 2026 13:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778186413; x=1778791213; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GsoCp+QEhPQqcC7YciJ1pPB6BZ3pQYi3CKXlL70tQeM=; b=JOGsugJXq6e6VTIZSiJdd+6t8ApBhzYwZQTJ4yl/e7zpQFrG6Pv+gocC9jXnMBBzx0 7TZKHTlJIDu1MyLxlEDbtlQUQB6ldusLPgjpkxvAeKRdKUWQG1fDPek3H8fw8x93qbRk TyFmcHkWrGbO0YPglgGMT3FQWhfJ4aPWJ+QWc1ur5Af7KoX9A/dn/8kg/bJJNuF2b3Nw PCD7lI1X2gEF7eEYcI0KrVAjAjeHh3WfgWCVmaoFhSqH5xVhN55oeNEdiPda8jI/F4gw 3xE6ot7Sy4k4cnbYJ/7IS7cqcP1pr0cAp1/cf+6c6dWyHvJcVw6FyWbXINdzT9J+aMUx mbSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778186413; x=1778791213; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=GsoCp+QEhPQqcC7YciJ1pPB6BZ3pQYi3CKXlL70tQeM=; b=c9ltO/KR/haDI1xQGuvzEfXBkAL1wQ3JGL2vU4iZs6veF27HvDhSiqZmTaFa9Y0QlR GRM2D3c7G/VRBSoeHQyT9IwmDqNAhIfd42HhyZICxeMYFkKwCiOLlujPqHDGKe1I/GZ7 qX092Vv0IHhi5Tk7QxE3gM/wyNOzhYjCL7yPo+xU5ee17hmooyxbJUbAWklBhtaTFwpx jwnx9223bJ9c8TOVteArzR5k4l20CHqHnqVqUGEqviAQhPVUwMkkGE4d9yNqe5NatrQc cBRDPlb6cfzwJg0m2jqEEjBkyxGmU7Du5PcbxFMuS6GCBjJ/GRMBcd6eIV1/u0y0LN+h uHDw== X-Forwarded-Encrypted: i=1; AFNElJ9g9wlzgfvNanUal+GwALAeWucOt0GTqaikwztwcZf73Dkd7QzFc8bmxmqaSVKpZ4FSOIuEsLJtAHmF82+N@vger.kernel.org X-Gm-Message-State: AOJu0YwD2nzEaIHjgxtClGZ5jfaiBSDB/JuQJLuqmcyoTp2WTcn3SQvN 7jM1GmdtFMFP4fb0cdUpWqHnSc99DIXEJ/82nmBGBeLuzXy4B5OUB5Lv X-Gm-Gg: AeBDiesGOwbCyaIhqvgbIjlZKtUp52YEsWKsTGRXlAW6CDmQ6YuXvV40uhmfI+SdHbH 6UPFwDfaoXjaxWsFv37FNOTp5rOeOJkgMFf0MD1QxhUfsQIBKDOTQGwWOiddhI0uuR0VKSTt5e6 jijTHXRuT/uLCxi4hh1oEz3mAsOw6kIcMXH0SYmbFS6O0cPONgCccplVQM/4ZeeELv5yMe9VvzO MfBot4Gr3BISfrT68ysbiAwtv7lsVUexEf0iy7oHEMO6o551uujO77R8UX9TabENRvMHgDLCb20 p+mRvfIxDWGj6as0Qx3tO7e4Z8E2Alqgd/oZU9eGvb/juN186AaCWCs3kOEBS+xuNJ1UCxL5Th0 wUCqAYdz5HSVTek13pE7blWlDUgK45pAZ8pJyDjF6yhULZ62nn/xbPIJLPmGkv8hiHvfJ1X5t+6 HpZoufhdy4/MtyBDG+MSqlcJkaaxMF X-Received: by 2002:a05:600c:4b1a:b0:48e:62ec:f264 with SMTP id 5b1f17b1804b1-48e62ecf39emr25218845e9.17.1778186412677; Thu, 07 May 2026 13:40:12 -0700 (PDT) Received: from [100.82.231.29] ([185.57.101.106]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-48e5382a327sm264367515e9.0.2026.05.07.13.40.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 13:40:12 -0700 (PDT) From: Jim Cromie Date: Thu, 07 May 2026 14:40:06 -0600 Subject: [PATCH v2 2/5] 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: <20260507-asm-generic-1-v2-2-47c52759d268@gmail.com> References: <20260507-asm-generic-1-v2-0-47c52759d268@gmail.com> In-Reply-To: <20260507-asm-generic-1-v2-0-47c52759d268@gmail.com> To: Arnd Bergmann , Jason Baron , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org, Jim Cromie X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1778186409; l=1428; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=gyhl2dDHOhDRfo2EoLm//e3PBy86xHd/L/qSVe14+FQ=; b=t6utUyvNZn1ZWeXFsFAIGqgojpwWZL9SrREnwncMu0uXb4iRfgx3VSU3T5QwWwhNITGOyPGe3 wvb5yUyUMKYDkqRmNde/XUBB6sSRS0nkvSY0QPGoz86guiANeEAopxR X-Developer-Key: i=jim.cromie@gmail.com; a=ed25519; pk=C6E5ODlPQo7ZBynATXH9wg7K6HxP0pIXyf4s38Qw0XE= 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.54.0