Skip to content
Snippets Groups Projects
Commit 3b3d61df authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon:
Browse files

arm: page align EFI binary section


Change the alignment of the relocation code in EFI binaries to match page
boundaries.

Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent ee446e15
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment