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

@@ -585,7 +585,7 @@ startup_stack_top:
# Main stack area.
.section "stacks", "aw", @progbits
.align 256
.align 16
. = . + STACKS_SIZE

View File

@@ -621,7 +621,7 @@ startup_stack_top:
# Main stack area.
.section ".stacks", "aw", @nobits
.align 256
.align 16
. = . + STACKS_SIZE