From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) (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 5E90C3630AE for ; Wed, 8 Apr 2026 20:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775678543; cv=none; b=pJyXMEB0//JzANZbrxItcwNFw2tOenylPF3/qujnljMe+iGV7PFFmwwkS2pT5E0AFWAxdB0ZdoD1a22WYBShf2jZjpKzGdz45JHRIQ8yvF4lcnq1w6q4LvI8TsmZx5wp99dA0iDzZ8Z5xLnounFWyIcZuup0UBClRzwAfr7SHwg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775678543; c=relaxed/simple; bh=Rpykejp+/jHMXqcimX2Kxzi0M6+Sc3B0AXTd2qBRqns=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d0V4HU9AUC+DsywqOk8o4me0P7Laa0yZPuxICEDJw93CZJJS68G9KIo5pyjhF+Pn+iSC4Y7LquQNitIfPzIDR2kvj2MHnpRGyTjzKBmdetVr+LFPIWxSDAMtOD/PjpfqqAbTjmLYwiJjqA9EzBp2RJPZdIIgdyIEZDNH2zKjzL8= 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=sjuzUYZy; arc=none smtp.client-ip=209.85.161.51 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="sjuzUYZy" Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-688a8e5fc2eso102121eaf.0 for ; Wed, 08 Apr 2026 13:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775678541; x=1776283341; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TvJTZGwFnKZj+neDJ4vh0DEg0/Ks/7VePFt3kMjVxDw=; b=sjuzUYZyA6OASE8qo1oosU9BSLSnAfEI46AIanTsb3rmu1N8WalNzHWMXFjv5SYQPH XG/LusySwm6CWZwCdkUGacsFlblWeWjijBz/VY0ZZ8U4WibD/ycNZR6C1NncB9xleIwP RRV9ZdNDPL2LRQo1lprcyeSGGvrAGyQxi/IxMHz0I8cOFbHi5ntvRYwwegKKWfs6l3O7 edZoOkL6/6I75eCP24Hoz8sO6zMN+3BQpUu22gIfhIYgsc4NbDyYUTJnkXgWY0iYufm+ QR00tgJLlewtbjKoNE087QRvtZgNaxnSBvkPc5XeOr9SsabXmYzjbLJgFMmfh3McZymG HSaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775678541; x=1776283341; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TvJTZGwFnKZj+neDJ4vh0DEg0/Ks/7VePFt3kMjVxDw=; b=s9wl+8xyC5rLhunm7R+IrFzegeRR8WAu68AI/5BdDrz1091/zEvrPV/v+wB9PUNWjJ 2j4zTjkqTp/L3nGq982xcuL5Nu6nJ9APd7WIY0BpiOuyLtJ/8V+pycx1PwMi5DAYqdVF 9sIckhn2U4UacMtgdpCS6InOMepoJbdkF5JAjGEgKnANYU+EAeTnBfU/QgH4BPoARHo3 uUPFeegMOCXBCkQgczso6c5WAndDScRfLo9d5DF1XZc96yJo5IvgUqyr8ZOHIvdmIepZ E1h5gDYt+Vmv/8BL4eH/yMcvokOv1+OipOAV6t5p+BHve+CTI9Kdcfuq6J67YyfjN+7W KPwA== X-Gm-Message-State: AOJu0YzimSy0auH4vQvG8KENurLYfRtVLNMHXQVOXfAVmuc6LxzS5Xs8 6ahLGvXENnm9zn06q8MyyZhgmLOU6EVOHqiU+S31LwTz1KqFbFrbFQ3/G1yO/g== X-Gm-Gg: AeBDiesmSGRonXuLBY3xacJcF1tDnVvUoMp+wn0OvdemnHU+PL1ymq5J1CVnE9stTT6 ST3VZjYoccVxYbc+JwjUE0gJSL9M4vAsSwFdHM2HoLGkAKK75DbTume/OOj8e1mAlVCoaGNfZQT FY6I7BzqvrRAMKfZNHnC2usWMjm9ZcV0sTm7gW17CBXsHd9ARka4GBWB6peek7NQNIgyGt6Yhbr 6F35mPP/qtAXhGyHH2t1UjDuDlGeQJnnZBldqliNk9toHeLVpyWXVnmalKcn+qoXvMi7vVTBWQN 5Y7/mjPfxIrLwMxkDC3ab4dtr2+2qG8LeLEzDbgvbgaQaiAy9/YVEu1e+wMBdZAykfpFLBv5cy6 rPyC2gHcJMqLZTb4dpsHVSOJ36E+rosR2nZzgnlPHmr5Ae0dvA2ZDvOfaFu4KNGWhuu8yYxxOD9 472S3eUztyILyTTvSSZJCltCog5ogSbW99jNuiC6Y99cvY8pKnoA/7bhGw1BtAH2Uzndy9+rhvt 78= X-Received: by 2002:a05:6820:f08:b0:684:dd1d:5b8f with SMTP id 006d021491bc7-684dd1d6029mr8584556eaf.0.1775678541058; Wed, 08 Apr 2026 13:02:21 -0700 (PDT) Received: from frodo.raven-morpho.ts.net (c-98-38-17-99.hsd1.co.comcast.net. [98.38.17.99]) by smtp.googlemail.com with ESMTPSA id 006d021491bc7-680a63c7fd1sm12254208eaf.8.2026.04.08.13.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2026 13:02:20 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, jbaron@akamai.com, louis.chauvet@bootlin.com, Jim Cromie Subject: [PATCH v13 04/36] vmlinux.lds.h: drop unused HEADERED_SECTION* macros Date: Wed, 8 Apr 2026 14:01:39 -0600 Message-ID: <20260408200211.43821-5-jim.cromie@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260408200211.43821-1-jim.cromie@gmail.com> References: <20260408200211.43821-1-jim.cromie@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 280a893bbe29..416b2e6f6788 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.53.0