aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunjie Gu <jgu@tensilica.com>2008-06-05 00:24:50 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2008-06-05 00:24:50 +0000
commit9e8c2a98fc3326d1b88912d3158840f757470d94 (patch)
treebddebccce3dd4714bae478c7c02e15426a01ff84
parent9ce312372c4e429c80169f6d1b5a48d9b8c1a981 (diff)
downloadgcc-9e8c2a98fc3326d1b88912d3158840f757470d94.zip
gcc-9e8c2a98fc3326d1b88912d3158840f757470d94.tar.gz
gcc-9e8c2a98fc3326d1b88912d3158840f757470d94.tar.bz2
lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned comparison for frame pointers.
2008-06-04 Junjie Gu <jgu@tensilica.com> * config/xtensa/lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned comparison for frame pointers. From-SVN: r136386
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/xtensa/lib2funcs.S4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 366eb3f..da6197b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/xtensa/lib2funcs.S b/gcc/config/xtensa/lib2funcs.S
index 16d6734..f8bea21 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