summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-11-16 23:39:10 +0000
committerwtc%netscape.com <devnull@localhost>1998-11-16 23:39:10 +0000
commit7e34aa3a8a5fa68e54bb02b4c82c0fb2859bd609 (patch)
treeafa0f7395615b8eadf3641cd51fb9b7a546f5fd2
parent5a3cad0e72d7f1f683e597d64ee852c76f9beaa3 (diff)
downloadnspr-hg-7e34aa3a8a5fa68e54bb02b4c82c0fb2859bd609.tar.gz
Added Alec Flett's comments on the version of glibc2/sparc whose
setjmp/longjmp works.
-rw-r--r--pr/include/md/_linux.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h
index 211ecaad..10e64de5 100644
--- a/pr/include/md/_linux.h
+++ b/pr/include/md/_linux.h
@@ -150,15 +150,9 @@ extern void _MD_CleanupBeforeExit(void);
/* Sparc */
#if defined(__GLIBC__) && __GLIBC__ >= 2
/*
- * FIXME: The setjmp/longjmp approach works in Red Hat 4.2 but
- * not in Red Hat 5.1 for Linux/Sparc. We should talk to the
- * maintainer of Linux/Sparc glibc2 about this. Or we can write
- * assembly code to save and restore thread contexts. Before
- * this problem is solved, you can build the pthreads version.
- * Set the environment variable USE_PTHREADS to 1 before you
- * build.
+ * You need glibc2-2.0.7-25 or later. The libraries that came with
+ * Red Hat 5.1 are not new enough, but they are in 5.2.
*/
-#error "Please see comments in pr/include/md/_linux.h"
#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP]
#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[JB_FP] = val)
#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))