Mail Archives: djgpp-workers/2002/06/09/23:18:11
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 <libc/stubs.h>
#include <stdlib.h>
- Raw text -