qemu-intel64/qemu.ld: align _ebss to 16
Align _ebss to 16, otherwise g_idle_topstack is not correctly aligned. For some reason the previous alignment worked with make buit but in case of cmake with optimization enabled, the IDLE stack was misaligned which caused vector instruction misalignment exception. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
parent
16e47d6c8b
commit
53fcaede28
@ -98,7 +98,7 @@ SECTIONS
|
||||
*(.bss .bss.*)
|
||||
*(.gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(4);
|
||||
. = ALIGN(16);
|
||||
_ebss = ABSOLUTE(.);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user