mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Commitd50f210913("kbuild: align modinfo section for Secureboot Authenticode EDK2 compat") aligned .modinfo because it appeared in the x86_64 compressed kernel image after commit3e86e4d74c("kbuild: keep .modinfo section in vmlinux.unstripped"), breaking boot. Commit8678591b47("kbuild: Split .modinfo out from ELF_DETAILS") properly addresses .modinfo appearing in unexpected contexts like compressed images by moving it out of ELF_DETAILS and explicitly specifying its location in every architecture's vmlinux linker script or discarding it where it may appear elsewhere. Effectively revert commitd50f210913("kbuild: align modinfo section for Secureboot Authenticode EDK2 compat") and its follow up fix, commita26a6c93ed("kbuild: Strip trailing padding bytes from modules.builtin.modinfo"), as they are no longer necessary in the current tree. This simplifies future cleanups. Reviewed-by: Nicolas Schier <[email protected]> Link: https://patch.msgid.link/20260918005142.GA1585590@ax162/ Signed-off-by: Nathan Chancellor <[email protected]>