[U-Boot] [PATCH 1/3] x86: Include bss subsections in linker script

Bin Meng bmeng.cn at gmail.com
Tue Aug 21 08:34:10 UTC 2018


On Mon, Aug 20, 2018 at 8:32 PM, Alexander Graf <agraf at suse.de> wrote:
> 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 at suse.de>
> ---
>  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 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list