[driver-core-next] vmlinux.lds.h fix

From: Jim Cromie
Date: Wed Nov 16 2022 - 19:20:31 EST


hi Greg,

You recently applied to driver-core-next: 2 vmlinux.lds.h patches from
me. The 2nd has a subtle error, placing the optional header KEEP in
with the data.

1st patch fixes it by dropping the extra KEEP, restoring basic behavior.

2nd redoes the HEADERD_SECTION idea with separate macros, so it cant
affect the basic case. HEADERD_SECTION is not the name in code, maybe
it should be ?

Also, 2nd is NOT in real/purposeful use yet.

I should have stared at this patchset longer before sending.
sorry about that.

Jim Cromie (2):
vmlinux.lds.h: fix BOUNDED_SECTION_(PRE|POST)_LABEL macros
vmlinux.lds.h: add BOUNDED_SECTION_(PRE|POST)_LABEL_HDR macros

include/asm-generic/vmlinux.lds.h | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)

--
2.38.1