From 4b0979f1a89440584d057e81e94ff7919fabf778 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Sat, 9 Jun 2001 19:52:18 +0000 Subject: [PATCH] Bugzilla bug #40941: Checked in Linux/ia64 patch from Bill Nottingham . It is for NSPR local threads, which we no longer use now that we have pthreads. I don't know if it works, but I check it in anyway so that it is not lost. git-svn-id: svn://10.0.0.236/trunk@96788 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/include/md/_linux.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/nsprpub/pr/include/md/_linux.h b/mozilla/nsprpub/pr/include/md/_linux.h index ca461bd96c1..f53a4a5c685 100644 --- a/mozilla/nsprpub/pr/include/md/_linux.h +++ b/mozilla/nsprpub/pr/include/md/_linux.h @@ -177,6 +177,16 @@ extern void _MD_CleanupBeforeExit(void); /* XXX not sure if this is correct, or maybe it should be 17? */ #define PR_NUM_GCREGS 9 +#elif defined(__ia64__) + +#define _MD_GET_SP(_t) ((long *)((_t)->md.context[0].__jmpbuf)[0]) +#define _MD_SET_FP(_t, val) +#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t)) +#define _MD_GET_FP_PTR(_t) ((void *) 0) +#define _MD_SP_TYPE long int + +#define PR_NUM_GCREGS _JBLEN + #elif defined(__mc68000__) /* m68k based Linux */