summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/sparc
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-05-21 15:25:35 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-05-21 15:25:35 -0700
commit9a2837c77c664d32a1fc9860cb193f25e0f3f37e (patch)
tree1928f5cde7c6c070dbd346a59457006c180aad1e /libpthread/nptl/sysdeps/sparc
parentcdf998b99e1f18e5aa549dc46a1f9ef55d934fff (diff)
downloaduClibc-alpine-9a2837c77c664d32a1fc9860cb193f25e0f3f37e.tar.bz2
uClibc-alpine-9a2837c77c664d32a1fc9860cb193f25e0f3f37e.tar.xz
Get sparc64 nptl compiling
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/sparc')
-rw-r--r--libpthread/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h6
1 files changed, 3 insertions, 3 deletions
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 <davem@davemloft.net>, 2005.
+ Contributed by Jakub Jelinek <jakub@redhat.com>, 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)