2008-06-04 Junjie Gu <jgu@tensilica.com>
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jun 2008 00:24:50 +0000 (00:24 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jun 2008 00:24:50 +0000 (00:24 +0000)
* config/xtensa/lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned
comparison for frame pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136386 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/xtensa/lib2funcs.S

index 366eb3f..da6197b 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-04  Junjie Gu <jgu@tensilica.com>
+
+       * config/xtensa/lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned
+       comparison for frame pointers.
+
 2008-06-04  Andy Hutchinson  <hutchinsonandy@aim.com>
 
        PR target/27386
index 16d6734..f8bea21 100644 (file)
@@ -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