From 799356ac2ab1b9fb9120dac54436057593a07011 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 11 Oct 2007 20:25:36 +0000 Subject: 2007-10-11 Ulrich Weigand * spu/crt0.S: Fix so element one of register one is correctly set when compiled with -mstdmain and -fstack-check. --- libgloss/ChangeLog | 5 +++++ libgloss/spu/crt0.S | 1 + 2 files changed, 6 insertions(+) (limited to 'libgloss') diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 98e8b0b94..82bd48efa 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2007-10-11 Ulrich Weigand + + * 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 * 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 663834ad4..490f6f91d 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. -- cgit v1.2.3