Skip to content
Commit 2151fd9a authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Heiko Carstens
Browse files

s390/boot: add support for CONFIG_LD_ORPHAN_WARN



arch/s390/boot/vmlinux uses a different linker script and build rules
than the main vmlinux, so the '--orphan-handling' flag is not applied to
it. Add support for '--orphan-handling' so that all sections are
properly described in the linker script, which helps eliminate bugs
between linker implementations having different orphan section
heuristics.

Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
Tested-by: default avatarJustin Stitt <justinstitt@google.com>
Link: https://lore.kernel.org/r/20240207-s390-lld-and-orphan-warn-v1-1-8a665b3346ab@kernel.org


Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 340750c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment