mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
stm32h7: set 8-byte alignment on main and irq stack
Explicitly set 8-byte alignment as per the AAPCS, which says the stack should be 8-byte aligned at a public ABI boundary. Change-Id: Ie60b664718119ea576e7c6b5efaac011eb907531
This commit is contained in:
parent
e1d10c938a
commit
2b09078b92
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ SECTIONS
|
|||
*(.icode*);
|
||||
} > ITCM
|
||||
|
||||
.stack (NOLOAD) :
|
||||
.stack (NOLOAD) : ALIGN(8)
|
||||
{
|
||||
irqstackbegin = .;
|
||||
. += 0x400;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ SECTIONS
|
|||
_bssend = .;
|
||||
} > SRAM_AXI
|
||||
|
||||
.stack (NOLOAD) : ALIGN(4)
|
||||
.stack (NOLOAD) : ALIGN(8)
|
||||
{
|
||||
irqstackbegin = .;
|
||||
. += 0x400;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue