mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
mips: require 8-byte stack alignment
The o32 ABI requires at least 8-byte alignment. This fixes the float formatting weirdness seen in quake (FS#13821). Change-Id: I4b587946884d7b35cef420e607c7e127664849e2
This commit is contained in:
parent
2690418551
commit
80e3c0b065
1 changed files with 4 additions and 2 deletions
|
|
@ -266,8 +266,10 @@ static inline void cpu_boost_unlock(void)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/* ARM ABIs generally require 8-byte stack alignment */
|
||||
#ifdef CPU_ARM
|
||||
/*
|
||||
* ARM and MIPS ABIs generally require 8-byte stack alignment.
|
||||
*/
|
||||
#if defined(CPU_ARM) || defined(CPU_MIPS)
|
||||
#define MIN_STACK_ALIGN 8
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue