]> git.dujemihanovic.xyz Git - u-boot.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)
commit4bba71ff83e2b2a1607c5b3b9995767691242b29
treeb300b0210942482ba87e61b14e20ea8199fcaed6
parent06d514d77c3700ec6166457f58d37652791038d0
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