summaryrefslogtreecommitdiff
path: root/bsp/libwrap/stdlib
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-03-07 09:27:31 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-03-07 09:27:31 -0800
commitf695df295da82c8ef801906ad8b00b0e8afa7502 (patch)
treecb0a9be10abe32a014baf2fa7903b9070461a7ad /bsp/libwrap/stdlib
parent90ab2c8561eb532b382206c8bf3ec1af74f18257 (diff)
Remove legacy BSP
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'bsp/libwrap/stdlib')
-rw-r--r--bsp/libwrap/stdlib/malloc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/bsp/libwrap/stdlib/malloc.c b/bsp/libwrap/stdlib/malloc.c
deleted file mode 100644
index 8f4f432..0000000
--- a/bsp/libwrap/stdlib/malloc.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* See LICENSE for license details. */
-
-/* These functions are intended for embedded RV32 systems and are
- obviously incorrect in general. */
-
-void* __wrap_malloc(unsigned long sz)
-{
- extern void* sbrk(long);
- void* res = sbrk(sz);
- if ((long)res == -1)
- return 0;
- return res;
-}
-
-void __wrap_free(void* ptr)
-{
-}