From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10206100243.AA16587@clio.rice.edu> Subject: malloc/brk namespace fix To: djgpp-workers AT delorie DOT com (DJGPP developers) Date: Sun, 9 Jun 2002 21:43:07 -0500 (CDT) X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com We can't make brk() a stub, since it's already "stubbed" in crt0.S; the define below seems to fix the namespace problem. Of course this probably will be replaced with some new malloc module, but since it was on my list I thought I would pass it out for review. *** malloc.bak Sat Mar 2 16:02:20 2002 --- malloc.c Sun Jun 9 21:43:08 2002 *************** *** 1,2 **** --- 1,3 ---- + /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ *************** *** 5,8 **** --- 6,10 ---- /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */ + #define brk __brk /* Namespace fix; call crt0 code directly */ #include #include