From 9c2d364fbff90891d986f7f6fb11b6ec632e5717 Mon Sep 17 00:00:00 2001 From: bad Date: Wed, 3 Feb 1999 22:18:39 +0000 Subject: Track recent symbol renaming in . --- devel/mit-pthreads/patches/patch-bb | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'devel/mit-pthreads/patches') diff --git a/devel/mit-pthreads/patches/patch-bb b/devel/mit-pthreads/patches/patch-bb index 219ca523a29..40e27718987 100644 --- a/devel/mit-pthreads/patches/patch-bb +++ b/devel/mit-pthreads/patches/patch-bb @@ -1,8 +1,8 @@ -$NetBSD: patch-bb,v 1.1 1998/12/28 22:22:03 bad Exp $ +$NetBSD: patch-bb,v 1.2 1999/02/03 22:18:39 bad Exp $ ---- /dev/null Sun Oct 25 03:15:17 1998 -+++ machdep/engine-arm32-netbsd-1.3.c Sun Oct 25 18:38:54 1998 -@@ -0,0 +1,195 @@ +--- /dev/null Wed Feb 3 11:06:48 1999 ++++ machdep/engine-arm32-netbsd-1.3.c Wed Feb 3 22:33:58 1999 +@@ -0,0 +1,203 @@ +/* ==== machdep.c ============================================================ + * Copyright (c) 1993, 1994 Chris Provenzano, proven@athena.mit.edu + * @@ -16,7 +16,7 @@ $NetBSD: patch-bb,v 1.1 1998/12/28 22:22:03 bad Exp $ + */ + +#ifndef lint -+static const char rcsid[] = "$Id: patch-bb,v 1.1 1998/12/28 22:22:03 bad Exp $"; ++static const char rcsid[] = "$Id: patch-bb,v 1.2 1999/02/03 22:18:39 bad Exp $"; +#endif + +#include @@ -27,6 +27,14 @@ $NetBSD: patch-bb,v 1.1 1998/12/28 22:22:03 bad Exp $ +#include +#include + ++#if defined(_JB_REG_R13) ++#define REG_LR _JB_REG_R14 ++#define REG_SP _JB_REG_R13 ++#else ++#define REG_LR JMPBUF_REG_R14 ++#define REG_SP JMPBUF_REG_R13 ++#endif ++ +/* ========================================================================== + * machdep_save_state() + */ @@ -152,10 +160,10 @@ $NetBSD: patch-bb,v 1.1 1998/12/28 22:22:03 bad Exp $ + * returned from a longjmp() to the beginning of + * machdep_pthread_start(). + */ -+ machdep_pthread->machdep_state[JMPBUF_REG_R14] = (int)machdep_pthread_start; ++ machdep_pthread->machdep_state[REG_LR] = (int)machdep_pthread_start; + + /* Stack starts high and builds down. */ -+ machdep_pthread->machdep_state[JMPBUF_REG_R13] = ++ machdep_pthread->machdep_state[REG_SP] = + (int)machdep_pthread->machdep_stack + stack_size; +} + -- cgit v1.2.3