]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: make .data section of *_efi.so files RW
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 4 Jan 2023 22:43:08 +0000 (23:43 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 6 Jan 2023 21:27:30 +0000 (22:27 +0100)
commita01e2e30e3cd95ab421144d6fa9c2fed4239c427
treeb300b0210942482ba87e61b14e20ea8199fcaed6
parent24e70e30d5c05dced6c1d965cf374dea9defa92f
efi_loader: make .data section of *_efi.so files RW

When building with binutils 2.39 warnings

    *_efi.so has a LOAD segment with RWX permissions

occur.

Use SHF_WRITE | SHF_ALLOC as section flags for the .data section.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/arm/lib/elf_aarch64_efi.lds