Disallow dmalloc for bare metal.

In case of bare metal, newlib is built without any syscalls,
and dmalloc fails to link with undefined references to _exit,
fstat, open, sbrk and so on.

Same for DUMA: depends on <memory.h>, not available with newlib.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2016-11-28 23:40:37 -08:00
parent 2091c5dd2d
commit 5e49166140
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# dmalloc debug facility
## depends on ! BACKEND
## depends on ! BARE_METAL
##
## help dmalloc helps tracking memory allocation mis-usage
## help such as double-free, use-after-free...

View File

@ -1,6 +1,7 @@
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
## depends on ! BACKEND
## depends on ! BARE_METAL
## help D.U.M.A. - Detect Unintended Memory Access
## help A memory bound checker, with additional features.