Skip to content

Commit 0c6be93

Browse files
sjg20trini
authored andcommitted
sandbox: Align linker lists to a 32-byte boundary
Use this larger boundary to ensure that linker lists at least start on the maximum possible alignment boundary. See also the CONFIG_LINKER_LIST_ALIGN setting, but that is host-arch-specific, so it seems better to use the largest value for every host architecture. Signed-off-by: Simon Glass <sjg@chromium.org>
1 parent 1b34719 commit 0c6be93

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arch/sandbox/cpu/u-boot-spl.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SECTIONS
99
{
1010

11-
. = ALIGN(4);
11+
. = ALIGN(32);
1212
.u_boot_list : {
1313
KEEP(*(SORT(.u_boot_list*)));
1414
}

arch/sandbox/cpu/u-boot.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SECTIONS
99
{
1010

11-
. = ALIGN(4);
11+
. = ALIGN(32);
1212
.u_boot_list : {
1313
KEEP(*(SORT(.u_boot_list*)));
1414
}

0 commit comments

Comments
 (0)