Set stack alignment to 16 bytes.

This needs to be done in the ldscripts.
This commit is contained in:
Martin Whitaker
2022-02-02 18:23:23 +00:00
parent 1888f5c611
commit e37fbbd429
4 changed files with 4 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ SECTIONS {
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(16);
_stacks = .;
*(.stacks)
/* _end must be at least 256 byte aligned */