mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
Add 16-byte alignment for ppc (required by eabi too)
svn path=/trunk/; revision=28811
This commit is contained in:
Vendored
+3
@@ -222,6 +222,9 @@ __mingw_CRTStartup (void)
|
||||
#elif defined(__mips__)
|
||||
/* Align the stack to 16 bytes */
|
||||
asm __volatile__ ("andi %sp,%sp,-16" : : : "%sp");
|
||||
#elif defined(__PowerPC__)
|
||||
/* Align the stack to 16 bytes */
|
||||
asm __volatile__ ("li 0,15\n\tandc 1,1,0" : : : "r1");
|
||||
#else
|
||||
#error Unsupported architecture
|
||||
#endif
|
||||
|
||||
Vendored
+3
@@ -223,6 +223,9 @@ __mingw_wCRTStartup (void)
|
||||
#elif defined(__mips__)
|
||||
/* Align the stack to 16 bytes */
|
||||
asm __volatile__ ("andi %sp,%sp,-16" : : : "%sp");
|
||||
#elif defined(__PowerPC__)
|
||||
/* Align the stack to 16 bytes */
|
||||
asm __volatile__ ("li 0,15\n\tandc 1,1,0" : : : "r1");
|
||||
#else
|
||||
#error Unsupported architecture
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user