diff options
Diffstat (limited to 'arch/arm/cpu/armv8/u-boot-spl.lds')
| -rw-r--r-- | arch/arm/cpu/armv8/u-boot-spl.lds | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm/cpu/armv8/u-boot-spl.lds b/arch/arm/cpu/armv8/u-boot-spl.lds index b732133ce76..39020a1fddd 100644 --- a/arch/arm/cpu/armv8/u-boot-spl.lds +++ b/arch/arm/cpu/armv8/u-boot-spl.lds @@ -49,12 +49,6 @@ SECTIONS } >.sram #endif - __u_boot_list : { - . = ALIGN(8); - KEEP(*(SORT(__u_boot_list*))); - . = ALIGN(8); - } >.sram - .binman_sym_table : { . = ALIGN(8); __binman_sym_start = .; @@ -63,6 +57,12 @@ SECTIONS . = ALIGN(8); } > .sram + __u_boot_list : { + . = ALIGN(8); + KEEP(*(SORT(__u_boot_list*))); + . = ALIGN(8); + } >.sram + __image_copy_end = .; _end = .; _image_binary_end = .; @@ -75,7 +75,7 @@ SECTIONS __bss_end = .; } >.sdram #else - .bss (NOLOAD) : { + .bss _image_binary_end (OVERLAY) : { __bss_start = .; *(.bss*) . = ALIGN(8); @@ -99,5 +99,6 @@ SECTIONS ASSERT(_image_binary_end % 8 == 0, \ "_image_binary_end must be 8-byte aligned for device tree"); + ASSERT(ADDR(.bss) % 8 == 0, \ ".bss must be 8-byte aligned"); |
