From d44b3cb4f0220f5ddb8ac85d193bf09093328ed9 Mon Sep 17 00:00:00 2001 From: cracauer <cracauer> Date: Thu, 20 Mar 2003 23:56:14 +0000 Subject: [PATCH] Add the symbols for the glibc malloc hooks to the stubs. That is neccessary to make the hooks work from C code loaded into CMUCL. Tested: enables malloc hook (debugging etc.) in the ITA builds. --- lisp/linux-stubs.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/linux-stubs.S b/lisp/linux-stubs.S index b2c51659f..63faf7133 100644 --- a/lisp/linux-stubs.S +++ b/lisp/linux-stubs.S @@ -1,6 +1,6 @@ /* linux-stubs.S - $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/linux-stubs.S,v 1.15 2003/03/08 17:51:52 pmai Exp $ + $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/linux-stubs.S,v 1.16 2003/03/20 23:56:14 cracauer Exp $ These are needed because the locations of the libraries are filled in by ld.so at runtime. @@ -104,6 +104,9 @@ PVE_stub_ ## fct: ;\ doe(lseek) doe(lstat) doe(malloc) + doe(__malloc_hook) + doe(__realloc_hook) + doe(__free_hook) doe(mkdir) doe(open) doe(opendir) -- GitLab