From 9a2837c77c664d32a1fc9860cb193f25e0f3f37e Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Thu, 21 May 2009 15:25:35 -0700 Subject: Get sparc64 nptl compiling Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpthread/nptl/sysdeps/sparc') diff --git a/libpthread/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h b/libpthread/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h index 77321aad3..5cef8b1cf 100644 --- a/libpthread/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h +++ b/libpthread/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h @@ -1,6 +1,6 @@ -/* Copyright (C) 2005 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. - Contributed by David S. Miller , 2005. + Contributed by Jakub Jelinek , 2003. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -25,7 +25,7 @@ _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)[JB_SP] - (_adj)) /* We use the normal lobngjmp for unwinding. */ #define __libc_unwind_longjmp(buf, val) __libc_longjmp (buf, val) -- cgit v1.2.3