diff options
| author | Nathan Chancellor <[email protected]> | 2024-02-07 17:15:01 -0700 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2024-02-14 13:50:53 +0100 |
| commit | c0f98ea0e7eafb3ca5ea4a178de6d0ce36333ae7 (patch) | |
| tree | f3fc1eb57da6dcecf65829aadf3ff2c1dca608a1 /tools/perf/scripts/python/bin | |
| parent | 6a4d37c886c1324c10452c06192bf6d7ebb7c8af (diff) | |
s390/boot: vmlinux.lds.S: handle commonly discarded sections
When building with CONFIG_LD_ORPHAN_WARN after selecting
CONFIG_ARCH_HAS_LD_ORPHAN_WARN, there are several series of warnings
from the various discardable sections that the kernel adds for build
purposes that are not needed at runtime:
s390-linux-ld: warning: orphan section `.export_symbol' from `arch/s390/boot/decompressor.o' being placed in section `.export_symbol'
s390-linux-ld: warning: orphan section `.discard.addressable' from `arch/s390/boot/decompressor.o' being placed in section `.discard.addressable'
s390-linux-ld: warning: orphan section `.modinfo' from `arch/s390/boot/decompressor.o' being placed in section `.modinfo'
include/asm-generic/vmlinux.lds.h has a macro for easily discarding
these sections across the kernel named COMMON_DISCARDS, use it to clear
up the warnings.
Signed-off-by: Nathan Chancellor <[email protected]>
Tested-by: Justin Stitt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions