diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 60720f617..4978e95cf 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,11 +1,16 @@ 2006-12-13 Joel Schopp - * newlib/include/alloca.h: add undef alloca to work with xlc + * libc/machine/spu/setjmp.S: Fix to handle registers past 115 + correctly. + +2006-12-13 Joel Schopp + + * libc/include/alloca.h: Add undef alloca to work with xlc. 2006-12-12 Joel Schopp * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for - cell spu + cell spu. 2006-12-04 Kazunori Asayama diff --git a/newlib/libc/machine/spu/setjmp.S b/newlib/libc/machine/spu/setjmp.S index 67e70b040..dfa1bd0c4 100644 --- a/newlib/libc/machine/spu/setjmp.S +++ b/newlib/libc/machine/spu/setjmp.S @@ -72,23 +72,23 @@ setjmp: stqd $112, 34*16($3) stqd $113, 35*16($3) stqd $114, 36*16($3) - stqd $115, 36*16($3) - stqd $116, 37*16($3) - stqd $117, 38*16($3) - stqd $118, 39*16($3) - stqd $119, 40*16($3) + stqd $115, 37*16($3) + stqd $116, 38*16($3) + stqd $117, 39*16($3) + stqd $118, 40*16($3) + stqd $119, 41*16($3) hbr setjmp_ret, $0 lnop # pipe1 bubble added for instruction fetch - stqd $120, 41*16($3) - stqd $121, 42*16($3) - stqd $122, 43*16($3) - stqd $123, 44*16($3) - stqd $124, 45*16($3) - stqd $125, 46*16($3) - stqd $126, 47*16($3) - stqd $127, 48*16($3) + stqd $120, 42*16($3) + stqd $121, 43*16($3) + stqd $122, 44*16($3) + stqd $123, 45*16($3) + stqd $124, 46*16($3) + stqd $125, 47*16($3) + stqd $126, 48*16($3) + stqd $127, 49*16($3) stqd $0, 0*16($3) stqd $1, 1*16($3)