git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5662cd3
)
sparc32-no-getcontext-20070716
author
Derrick Brashear
<shadow@dementia.org>
Tue, 17 Jul 2007 04:10:18 +0000 (
04:10
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 17 Jul 2007 04:10:18 +0000 (
04:10
+0000)
implement ptr_mangle for sparc32
src/lwp/process.c
patch
|
blob
|
history
diff --git
a/src/lwp/process.c
b/src/lwp/process.c
index
d93ef8f
..
b5537f8
100644
(file)
--- a/
src/lwp/process.c
+++ b/
src/lwp/process.c
@@
-151,7
+151,11
@@
static jmp_buf_type *jmpBuffer;
#ifdef __GLIBC__
#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
-#ifdef AFS_SPARC64_LINUX24_ENV
+#if defined(AFS_SPARC64_LINUX24_ENV) || defined(AFS_SPARC_LINUX24_ENV)
+/* technically we should use POINTER_GUARD
+ * ( == offsetof (tcbhead_t, pointer_guard) )
+ * instead of 0x18
+ */
#undef ptr_mangle
static int ptr_mangle(int p)
{