diff options
author | Alexander Graf <agraf@suse.de> | 2018-08-20 14:17:41 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-08-20 14:17:43 +0200 |
commit | 6331cb21650f097d2310de432647b2fbe66935c3 (patch) | |
tree | e1b23793e6e1f52069e87cb79e219f11b28d900a /arch/x86/lib | |
parent | 07240da293379cc3e50fef1615b14225d7d583af (diff) |
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>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/elf_ia32_efi.lds | 2 | ||||
-rw-r--r-- | arch/x86/lib/elf_x86_64_efi.lds | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/elf_ia32_efi.lds b/arch/x86/lib/elf_ia32_efi.lds index 983fabbc4d..aad61e7f81 100644 --- a/arch/x86/lib/elf_ia32_efi.lds +++ b/arch/x86/lib/elf_ia32_efi.lds @@ -46,7 +46,7 @@ SECTIONS *(.sbss) *(.scommon) *(.dynbss) - *(.bss) + *(.bss*) *(COMMON) /* U-Boot lists and device tree */ diff --git a/arch/x86/lib/elf_x86_64_efi.lds b/arch/x86/lib/elf_x86_64_efi.lds index 7cad70a2e4..b436429b33 100644 --- a/arch/x86/lib/elf_x86_64_efi.lds +++ b/arch/x86/lib/elf_x86_64_efi.lds @@ -44,7 +44,7 @@ SECTIONS *(.sbss) *(.scommon) *(.dynbss) - *(.bss) + *(.bss*) *(COMMON) *(.rel.local) |