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
This commit is contained in:
Junjie Gu 2008-06-05 00:24:50 +00:00 committed by Bob Wilson
parent 9ce312372c
commit 9e8c2a98fc
2 changed files with 7 additions and 2 deletions

View 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

View 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