mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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>
This commit is contained in:
parent
1b34719b61
commit
0c6be933ff
@ -8,7 +8,7 @@
|
|||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(32);
|
||||||
.u_boot_list : {
|
.u_boot_list : {
|
||||||
KEEP(*(SORT(.u_boot_list*)));
|
KEEP(*(SORT(.u_boot_list*)));
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(32);
|
||||||
.u_boot_list : {
|
.u_boot_list : {
|
||||||
KEEP(*(SORT(.u_boot_list*)));
|
KEEP(*(SORT(.u_boot_list*)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user