[U-Boot] [PATCH 0/3] efi_loader: Fix -fdata-section fallout with bss
Alexander Graf
agraf at suse.de
Mon Aug 20 12:32:17 UTC 2018
While trying to fix efi_loader problems that could only be resolved by enabling
individual function and data sections (commit 7e21fbca26d18 "efi_loader: Rename
sections to allow for implicit data") some cases where .bss was included in
the linker scripts slipped through.
This lead to random breakage when .bss contents were accessed, because the
respective regions were not initialized properly.
With this patch set, all those should be resolved now.
Alex
Alexander Graf (3):
x86: Include bss subsections in linker script
x86: Enable -fdata-sections always
riscv: Include bss subsections in linker script
arch/riscv/cpu/ax25/u-boot.lds | 2 +-
arch/x86/config.mk | 4 +---
arch/x86/cpu/u-boot-64.lds | 2 +-
arch/x86/cpu/u-boot.lds | 2 +-
arch/x86/lib/elf_ia32_efi.lds | 2 +-
arch/x86/lib/elf_x86_64_efi.lds | 2 +-
6 files changed, 6 insertions(+), 8 deletions(-)
--
2.12.3
More information about the U-Boot
mailing list