head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.44 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.42 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.40 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.38 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.36 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.34 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.32 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.30 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.28 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.26 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.24 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.22 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.20 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.18 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.16 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.14 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.12 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.10 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2005.02.04.23.25.50; author adrianp; state dead; branches; next 1.2; 1.2 date 2004.04.22.09.18.36; author tron; state Exp; branches; next 1.1; 1.1 date 2003.06.23.20.15.18; author jtb; state Exp; branches; next ; desc @@ 1.3 log @remove obsolete patches for recent update @ text @$NetBSD: patch-af,v 1.2 2004/04/22 09:18:36 tron Exp $ --- asmrun/signals.c.orig Mon May 6 14:02:26 2002 +++ asmrun/signals.c Thu Apr 22 10:34:37 2004 @@@@ -162,6 +162,8 @@@@ void handle_signal(int sig, struct sigcontext * context) #elif defined(TARGET_power) && defined(SYS_rhapsody) void handle_signal(int sig, int code, struct sigcontext * context) +#elif defined(TARGET_power) && defined(SYS_bsd) +void handle_signal(int sig, int code, struct sigcontext * context) #else void handle_signal(int sig) #endif @@@@ -205,6 +207,10 @@@@ /* Cached in register 30 */ CONTEXT_GPR(context, 30) = (unsigned long) young_limit; #endif +#if defined(TARGET_power) && defined(SYS_bsd) + /* Cached in register 30 */ + context->sc_frame.fixreg[30] = (unsigned long) young_limit; +#endif } } } @@@@ -442,6 +448,17 @@@@ array_bound_error(); } #endif + +#if defined(TARGET_power) && defined(SYS_bsd) +static void trap_handler(int sig, int code, struct sigcontext * context) +{ + /* Recover young_ptr and caml_exception_pointer from registers 31 and 29 */ + caml_exception_pointer = (char *) context->sc_frame.fixreg[29]; + young_ptr = (char *) context->sc_frame.fixreg[31]; + array_bound_error(); +} +#endif + /* Machine- and OS-dependent handling of stack overflow */ @ 1.2 log @Fix various issues with this package: - split patches files - always enable threading which has various advantages - it fixes the build of the Tk library - it greatly simplifies the package list handling - it provides threading support under NetBSD 1.6/1.6.x - correct default dependence in "buildlink2.mk" to "build" Bump package revision because of all these changes. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Enable native code compilers on powerpc and sparc. Bump PKGREVISION. @ text @d3 37 a39 5 --- asmrun/sparc.S.orig +++ asmrun/sparc.S @@@@ -16,9 +16,9 @@@@ /* Asm part of the runtime system for the Sparc processor. */ /* Must be preprocessed by cpp */ d41 1 a41 7 -/* SunOS 4 and BSD prefix identifiers with _, Solaris and Linux do not */ +/* SunOS 4 prefixes identifiers with _ */ -#if defined(SYS_sunos) || defined(SYS_bsd) +#if defined(SYS_sunos) .common _caml_required_size, 4, "bss" @