2010-07-10 Joel Sherrill <joel.sherrilL@OARcorp.com>

* libcsupport/Makefile.am: Remove these files as they are uused.
	* libcsupport/src/__brk.c, libcsupport/src/__sbrk.c: Removed.
This commit is contained in:
Joel Sherrill
2010-07-10 14:30:26 +00:00
parent b64f201f78
commit dc6b394df0
4 changed files with 6 additions and 63 deletions

View File

@@ -1,3 +1,8 @@
2010-07-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libcsupport/Makefile.am: Remove these files as they are uused.
* libcsupport/src/__brk.c, libcsupport/src/__sbrk.c: Removed.
2010-07-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__times.c: Formatting.

View File

@@ -86,7 +86,7 @@ ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
src/realloc.c src/_calloc_r.c src/_malloc_r.c \
src/free.c src/freenode.c src/_free_r.c \
src/_realloc_r.c src/__brk.c src/__sbrk.c src/mallocfreespace.c \
src/_realloc_r.c src/mallocfreespace.c \
src/mallocinfo.c src/malloc_walk.c src/malloc_get_statistics.c \
src/malloc_report_statistics.c src/malloc_report_statistics_plugin.c \
src/malloc_statistics_helpers.c src/posix_memalign.c \

View File

@@ -1,31 +0,0 @@
/*
* RTEMS "Broken" __brk Implementation
*
* NOTE: sbrk() is provided by each BSP.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#if defined(RTEMS_NEWLIB) && !defined(HAVE___BRK)
#include <errno.h>
#include <rtems/seterr.h>
int __brk(
const void *endds __attribute__((unused))
)
{
rtems_set_errno_and_return_minus_one( EINVAL );
}
#endif

View File

@@ -1,31 +0,0 @@
/*
* RTEMS "Broken" __sbrk Implementation
*
* NOTE: sbrk is provided by the BSP.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#if defined(RTEMS_NEWLIB) && !defined(HAVE___SBRK)
#include <errno.h>
void * __sbrk(
int incr __attribute__((unused))
)
{
errno = EINVAL;
return (void *)0;
}
#endif