From 6a0041848ea21ce4e245cecaabbdccf2aee5eb39 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Wed, 5 Aug 1992 02:49:29 +0000 Subject: [PATCH] The alpha uses alpha_heap_malloc to allocate the heap in order to change its protection to make it R+W+X, instead of just R+W. --- v7/src/microcode/config.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/config.h b/v7/src/microcode/config.h index c4ca418c7..a3b6c0aa7 100644 --- a/v7/src/microcode/config.h +++ b/v7/src/microcode/config.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/config.h,v 9.73 1992/07/30 15:08:48 jinx Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/config.h,v 9.74 1992/08/05 02:49:29 jinx Exp $ Copyright (c) 1987-1992 Massachusetts Institute of Technology @@ -467,6 +467,12 @@ typedef unsigned long SCHEME_OBJECT; #define HAS_FLOOR /* #define HAS_FREXP */ #define HAS_MODF + +#ifdef HAS_COMPILER_SUPPORT +extern void * alpha_heap_malloc (long); +# define HEAP_MALLOC alpha_heap_malloc +#endif + #endif /* __alpha */ /* These (pdp10, nu) haven't worked in a while. -- 2.25.1