2005-07-19 Paul Brook <paul@codesourcery.com>
* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
This commit is contained in:
parent
d551c8583e
commit
108d7dd833
|
@ -1,3 +1,7 @@
|
||||||
|
2005-07-19 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
|
||||||
|
|
||||||
2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
|
2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* testsuite/lib/checkoutput.exp (newlib_check_output): Use test
|
* testsuite/lib/checkoutput.exp (newlib_check_output): Use test
|
||||||
|
|
|
@ -186,6 +186,11 @@ __change_mode:
|
||||||
add r3, #4
|
add r3, #4
|
||||||
b .LC15
|
b .LC15
|
||||||
.LC14:
|
.LC14:
|
||||||
|
/* Ensure doubleword stack alignment. */
|
||||||
|
mov r4, sp
|
||||||
|
mov r5, #7
|
||||||
|
bic r4, r5
|
||||||
|
mov sp, r4
|
||||||
#else
|
#else
|
||||||
add r2, sp, r0, LSL #2 /* End of args */
|
add r2, sp, r0, LSL #2 /* End of args */
|
||||||
mov r3, sp /* Start of args */
|
mov r3, sp /* Start of args */
|
||||||
|
@ -195,6 +200,8 @@ __change_mode:
|
||||||
strhi r5, [r2, #-4]!
|
strhi r5, [r2, #-4]!
|
||||||
strhi r4, [r3], #4
|
strhi r4, [r3], #4
|
||||||
bhi .LC13
|
bhi .LC13
|
||||||
|
/* Ensure doubleword stack alignment. */
|
||||||
|
bic sp, sp, #7
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue