[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(cvs head) CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK breaks
- Date: Tue, 18 Mar 2008 21:15:53 -0700
- From: strauman at slac.stanford.edu (Till Straumann)
- Subject: (cvs head) CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK breaks
Recently a configuration option (CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK)
had been added. Unfortunately, on BSPs (e.g., the ones using
powerpc/shared/)
which rely on sbrk() to provide the first chunk of memory using sbrk is not
really optional.
IMHO, confdefs.h is the wrong place for conditionally including sbrk
support.
Instead, I'd propose to make this (yet another) variable to be
initialized by the
BSP (could be statically initialized to NULL and overridden by BSP's
bsp_start)
-- Till