aboutsummaryrefslogtreecommitdiff
path: root/libgloss/spu
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2007-10-11 20:25:36 +0000
committerJeff Johnston <jjohnstn@redhat.com>2007-10-11 20:25:36 +0000
commit799356ac2ab1b9fb9120dac54436057593a07011 (patch)
tree210b7f3ef41511ea739c77e32f53d40404958731 /libgloss/spu
parentbaa0b449388d6022fba8a8d651b0dcec5e4777fa (diff)
downloadnewlib-799356ac2ab1b9fb9120dac54436057593a07011.zip
newlib-799356ac2ab1b9fb9120dac54436057593a07011.tar.gz
newlib-799356ac2ab1b9fb9120dac54436057593a07011.tar.bz2
2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
* spu/crt0.S: Fix so element one of register one is correctly set when compiled with -mstdmain and -fstack-check.
Diffstat (limited to 'libgloss/spu')
-rw-r--r--libgloss/spu/crt0.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgloss/spu/crt0.S b/libgloss/spu/crt0.S
index 663834a..490f6f9 100644
--- a/libgloss/spu/crt0.S
+++ b/libgloss/spu/crt0.S
@@ -138,6 +138,7 @@ _start:
*/
ila $3,_end
sf $3,$3,$SP
+ rotqbyi $3,$3,12
/* The BE Linux ABI passes the stack size in $2, or use
* the default if $2 == 0.