mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
Blackfin: make sure bss len is multiple of 4 bytes
The Blackfin on-chip BootROM requires that fill operations (which is used for the bss) be aligned to 4 bytes (base addr and total len). Plus, the Blackfin early init asm code assumes the same thing. So rather than making things work for no real gain, make sure the bss len is padded to 4 bytes in the linker script. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
cd97dd4f2c
commit
49508d4c59
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ SECTIONS
|
|||
*(.dynbss)
|
||||
*(.bss .bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(4);
|
||||
} >ram_data
|
||||
__bss_vma = ADDR(.bss);
|
||||
__bss_len = SIZEOF(.bss);
|
||||
|
|
Loading…
Add table
Reference in a new issue