efi_loader: Fix -fdata-section fallout with bss
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: Include bss subsections in linker scriptarch/ arch/ arch/ +1 more | +4 | 1 reply | |
| 2/3 | x86: Enable -fdata-sections alwaysarch/ | +1 | 1 reply | |
| 3/3 | riscv: Include bss subsections in linker scriptarch/ | +1 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng |
|---|---|
| 1/3 | R-b T-b |
| 2/3 | R-b T-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/3] efi_loader: Fix -fdata-section fallout with bss
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(-)
Signature · 1 line
2.12.3