x86: Include bss subsections in linker script
authorAlexander Graf <agraf@suse.de>
Mon, 20 Aug 2018 12:17:41 +0000 (14:17 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 20 Aug 2018 12:17:43 +0000 (14:17 +0200)
commit6331cb21650f097d2310de432647b2fbe66935c3
treee1b23793e6e1f52069e87cb79e219f11b28d900a
parent07240da293379cc3e50fef1615b14225d7d583af
x86: Include bss subsections in linker script

When we build with -fdata-sections we may end up with bss subsections. Our
linker script explicitly lists only a single consecutive bss section though.

Adapt the statement to also include subsections.

This fixes booting efi-x86_app_defconfig.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/x86/cpu/u-boot-64.lds
arch/x86/cpu/u-boot.lds
arch/x86/lib/elf_ia32_efi.lds
arch/x86/lib/elf_x86_64_efi.lds