diff options
author | mycroft <mycroft@pkgsrc.org> | 2000-10-27 04:38:27 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2000-10-27 04:38:27 +0000 |
commit | f0391e4daa51a0e6efbaf6aa57795906806b6ddb (patch) | |
tree | cc96eb8213162cbb23ba3e49fa2444232ead7d57 | |
parent | 8f38d445db9400193b6bd1b08f5b1b7c7a9d4cd3 (diff) | |
download | pkgsrc-f0391e4daa51a0e6efbaf6aa57795906806b6ddb.tar.gz |
Minor fix for Alpha: We have to set t12 to the beginning of the PIC function
we're entering.
NSPR works on Alpha now.
-rw-r--r-- | www/mozilla/files/patch-sum | 4 | ||||
-rw-r--r-- | www/mozilla/patches/patch-ad | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum index 3e248437907..38d678a9011 100644 --- a/www/mozilla/files/patch-sum +++ b/www/mozilla/files/patch-sum @@ -1,8 +1,8 @@ -$NetBSD: patch-sum,v 1.17 2000/10/26 07:49:59 mycroft Exp $ +$NetBSD: patch-sum,v 1.18 2000/10/27 04:38:27 mycroft Exp $ MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d MD5 (patch-ac) = e06e6cb1261f97e6fec8b04cdf4cb0a1 -MD5 (patch-ad) = 44e9a9ababd47fdb7fbdfb447575cbad +MD5 (patch-ad) = 6b1244e070c60c2030e0520552df31e9 MD5 (patch-ae) = 925a6dc3b7354f0c82a7e2411463617e MD5 (patch-af) = 919c4da464918e676c90349ca9bb3b1d diff --git a/www/mozilla/patches/patch-ad b/www/mozilla/patches/patch-ad index e26afb89b96..14d820e8008 100644 --- a/www/mozilla/patches/patch-ad +++ b/www/mozilla/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.12 2000/10/26 07:50:00 mycroft Exp $ +$NetBSD: patch-ad,v 1.13 2000/10/27 04:38:27 mycroft Exp $ --- nsprpub/pr/include/md/_netbsd.h.orig Thu Jul 6 20:46:02 2000 +++ nsprpub/pr/include/md/_netbsd.h Thu Oct 26 07:32:35 2000 -@@ -70,39 +70,86 @@ +@@ -70,39 +70,87 @@ #define CONTEXT(_th) ((_th)->md.context) @@ -83,13 +83,14 @@ $NetBSD: patch-ad,v 1.12 2000/10/26 07:50:00 mycroft Exp $ +} +#define _MD_GET_SP(_thread) CONTEXT(_thread)[23] +#endif -+#ifdef __alpha__ /* XXX UNTESTED */ ++#ifdef __alpha__ +#define _MD_INIT_CONTEXT(_thread, _sp, _main, status) \ +{ \ + sigsetjmp(CONTEXT(_thread), 1); \ + CONTEXT(_thread)[34] = (unsigned char*) ((_sp) - 128); \ + CONTEXT(_thread)[2] = (long) _main; \ + CONTEXT(_thread)[30] = (long) _main; \ ++ CONTEXT(_thread)[31] = (long) _main; \ + *status = PR_TRUE; \ +} +#define _MD_GET_SP(_thread) CONTEXT(_thread)[34] |