diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-10-11 20:25:36 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-10-11 20:25:36 +0000 |
commit | 799356ac2ab1b9fb9120dac54436057593a07011 (patch) | |
tree | 210b7f3ef41511ea739c77e32f53d40404958731 | |
parent | baa0b449388d6022fba8a8d651b0dcec5e4777fa (diff) | |
download | newlib-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.
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/spu/crt0.S | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 98e8b0b..82bd48e 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +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. + 2007-10-02 Markus Deuling <deuling@de.ibm.com> * spu/crt0.S: Initialize __ea_local_store (EA address of the LS) 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. |