diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 366eb3fb7fb..da6197bd888 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-04 Junjie Gu + + * config/xtensa/lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned + comparison for frame pointers. + 2008-06-04 Andy Hutchinson PR target/27386 diff --git a/gcc/config/xtensa/lib2funcs.S b/gcc/config/xtensa/lib2funcs.S index 16d6734c277..f8bea21c6a3 100644 --- a/gcc/config/xtensa/lib2funcs.S +++ b/gcc/config/xtensa/lib2funcs.S @@ -1,5 +1,5 @@ /* Assembly functions for libgcc2. - Copyright (C) 2001, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2001, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica. This file is part of GCC. @@ -105,7 +105,7 @@ __xtensa_nonlocal_goto: addi a6, a7, -16 /* advance cur */ .Lfirstframe: l32i a7, a6, 4 /* a7 = next */ - bge a2, a7, .Lnextframe + bgeu a2, a7, .Lnextframe /* At this point, prev (a5) points to the save area with the saved values of a0-a3. Copy those values into the save area at the