diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-02-26 22:24:07 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-02-28 14:39:27 +0100 |
| commit | 3b3d61df3b2b31b0491c67090a30cd67e44c342a (patch) | |
| tree | 8b2039707670a718d3047cdd99b4be3607ad05b5 | |
| parent | ee446e15fb3da69076dcef1e14bf5d8e4c7a6218 (diff) | |
arm: page align EFI binary section
Change the alignment of the relocation code in EFI binaries to match page
boundaries.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
| -rw-r--r-- | arch/arm/lib/crt0_arm_efi.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib/crt0_arm_efi.S b/arch/arm/lib/crt0_arm_efi.S index d67ee0c8953..b45c034c23c 100644 --- a/arch/arm/lib/crt0_arm_efi.S +++ b/arch/arm/lib/crt0_arm_efi.S @@ -119,14 +119,14 @@ section_table: .short 0 /* NumberOfLineNumbers (0 for executables) */ .long 0xe0500020 /* Characteristics (section flags) */ - .align 9 + .align 12 _start: stmfd sp!, {r0-r2, lr} adr r1, .L_DYNAMIC ldr r0, [r1] add r1, r0, r1 - adr r0, image_base + adrl r0, image_base bl _relocate teq r0, #0 bne 0f |
