From ae11e4128c9a209c62c1c79532318f1ea0ab76f8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Jan 2006 19:35:10 +0000 Subject: * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): Add stack bias to mc_ftp field. --- nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h') diff --git a/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h b/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h index 92c296b0cf..efb6918c14 100644 --- a/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h +++ b/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h @@ -25,7 +25,8 @@ _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj) #define _JMPBUF_UNWINDS_ADJ(_jmpbuf, _address, _adj) \ - ((uintptr_t) (_address) - (_adj) < (uintptr_t) (_jmpbuf)[0].uc_mcontext.mc_fp - (_adj)) + ((uintptr_t) (_address) - (_adj) \ + < (uintptr_t) (_jmpbuf)[0].uc_mcontext.mc_fp + 2047 - (_adj)) /* We use the normal lobngjmp for unwinding. */ #define __libc_unwind_longjmp(buf, val) __libc_longjmp (buf, val) -- cgit 1.4.1