summaryrefslogtreecommitdiff
path: root/config/debug/dmalloc.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-11-29 07:40:37 (GMT)
committerAlexey Neyman <stilor@att.net>2016-11-29 08:33:52 (GMT)
commit5e491661402db061dc8c2f276ea7b895ef589592 (patch)
treecc19b94c869dd942b1d230b7ccc94e2377673093 /config/debug/dmalloc.in
parent2091c5dd2dc01d7462ced6a8617d1f5227764f1b (diff)
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>
Diffstat (limited to 'config/debug/dmalloc.in')
-rw-r--r--config/debug/dmalloc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/debug/dmalloc.in b/config/debug/dmalloc.in
index fd3b49a..aae0e6e 100644
--- a/config/debug/dmalloc.in
+++ b/config/debug/dmalloc.in
@@ -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...