Skip to content
Commit 97da9aea authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

arm: separate .data and .text sections of EFI binaries



EFI binaries should not contain sections that are both writable and
executable. Separate the RX .text section from the RW .data section.

We currently don't created relocation sections (.rel.*) for our EFI
binaries. Anyway these would have to be converted to PE/COFF relocations.
Enumerate them under DISCARD and add a comment.

Correct the characteristics of the sections.

Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 3b3d61df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment