[PATCH 0/2] vmlinux.lds.h tweaks

From: Jim Cromie
Date: Sat Oct 22 2022 - 18:54:19 EST


hi Greg,

These 2 patches are "no functional change", but they are a simple step
towards de-duplicating the repetitive columms in the __dyndbg section.

For a DYNAMIC_DEBUG=y kernel with 5k pr_debugs/drm.debugs, the
footprint reduction should be ~100 KiB

Jim Cromie (2):
vmlinux.lds.h: add BOUNDED_SECTION* macros
vmlinux.lds.h: place optional header space in BOUNDED_SECTION

include/asm-generic/vmlinux.lds.h | 221 +++++++++++-------------------
1 file changed, 81 insertions(+), 140 deletions(-)

CC: Suren Baghdasaryan <surenb@xxxxxxxxxx>
CC: Kent Overstreet <kent.overstreet@xxxxxxxxx>
Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>

--
2.37.3