svn commit: trunk/uClibc/libc/sysdeps/linux: microblaze/bits sh/bits v850/bits

vapier at uclibc.org vapier at uclibc.org
Thu Nov 17 05:26:33 UTC 2005


Author: vapier
Date: 2005-11-16 21:26:18 -0800 (Wed, 16 Nov 2005)
New Revision: 12385

Log:
we want to compare the register value itself, not the address of the variable holding the register value

Modified:
   trunk/uClibc/libc/sysdeps/linux/microblaze/bits/setjmp.h
   trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h
   trunk/uClibc/libc/sysdeps/linux/v850/bits/setjmp.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/microblaze/bits/setjmp.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/microblaze/bits/setjmp.h	2005-11-17 05:25:27 UTC (rev 12384)
+++ trunk/uClibc/libc/sysdeps/linux/microblaze/bits/setjmp.h	2005-11-17 05:26:18 UTC (rev 12385)
@@ -38,6 +38,6 @@
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
 #define _JMPBUF_UNWINDS(jmpbuf, address) \
-  ((void *) (address) < (void *) &(jmpbuf)[0].__sp)
+  ((void *) (address) < (void *) (jmpbuf)[0].__sp)
 
 #endif	/* bits/setjmp.h */

Modified: trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h	2005-11-17 05:25:27 UTC (rev 12384)
+++ trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h	2005-11-17 05:26:18 UTC (rev 12385)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -51,6 +51,6 @@
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
 #define _JMPBUF_UNWINDS(jmpbuf, address) \
-  ((void *) (address) < (void *) &(jmpbuf)[0].__regs[7])
+  ((void *) (address) < (void *) (jmpbuf)[0].__regs[7])
 
 #endif	/* bits/setjmp.h */

Modified: trunk/uClibc/libc/sysdeps/linux/v850/bits/setjmp.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/v850/bits/setjmp.h	2005-11-17 05:25:27 UTC (rev 12384)
+++ trunk/uClibc/libc/sysdeps/linux/v850/bits/setjmp.h	2005-11-17 05:26:18 UTC (rev 12385)
@@ -37,6 +37,6 @@
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
 #define _JMPBUF_UNWINDS(jmpbuf, address) \
-  ((void *) (address) < (void *) &(jmpbuf)[0].__sp)
+  ((void *) (address) < (void *) (jmpbuf)[0].__sp)
 
 #endif	/* bits/setjmp.h */




More information about the uClibc-cvs mailing list