diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-17 05:26:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-17 05:26:18 +0000 |
commit | ebb0a88c81214bdade4c9c62af0c265f548df3fb (patch) | |
tree | 23da8fd1a1f55ba8fd3ccc872cdaa38ff95d63e3 | |
parent | 5c9b710b7b0829911edf9765ad33e4c0b2abbe1f (diff) |
we want to compare the register value itself, not the address of the variable holding the register value
-rw-r--r-- | libc/sysdeps/linux/microblaze/bits/setjmp.h | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/sh/bits/setjmp.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/v850/bits/setjmp.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/microblaze/bits/setjmp.h b/libc/sysdeps/linux/microblaze/bits/setjmp.h index 09f9c9666..c3e218955 100644 --- a/libc/sysdeps/linux/microblaze/bits/setjmp.h +++ b/libc/sysdeps/linux/microblaze/bits/setjmp.h @@ -38,6 +38,6 @@ typedef struct /* 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 */ diff --git a/libc/sysdeps/linux/sh/bits/setjmp.h b/libc/sysdeps/linux/sh/bits/setjmp.h index c9d7d8fcd..6458dfefd 100644 --- a/libc/sysdeps/linux/sh/bits/setjmp.h +++ b/libc/sysdeps/linux/sh/bits/setjmp.h @@ -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 @@ typedef struct /* 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 */ diff --git a/libc/sysdeps/linux/v850/bits/setjmp.h b/libc/sysdeps/linux/v850/bits/setjmp.h index 97cb11784..93395ade4 100644 --- a/libc/sysdeps/linux/v850/bits/setjmp.h +++ b/libc/sysdeps/linux/v850/bits/setjmp.h @@ -37,6 +37,6 @@ typedef struct /* 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 */ |