diff options
author | Alexey Neyman <stilor@att.net> | 2016-11-28 23:40:37 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-11-29 00:33:52 -0800 |
commit | 5e491661402db061dc8c2f276ea7b895ef589592 (patch) | |
tree | cc19b94c869dd942b1d230b7ccc94e2377673093 /config/debug | |
parent | 2091c5dd2dc01d7462ced6a8617d1f5227764f1b (diff) | |
download | crosstool-ng-5e491661402db061dc8c2f276ea7b895ef589592.tar.gz crosstool-ng-5e491661402db061dc8c2f276ea7b895ef589592.tar.bz2 crosstool-ng-5e491661402db061dc8c2f276ea7b895ef589592.zip |
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')
-rw-r--r-- | config/debug/dmalloc.in | 1 | ||||
-rw-r--r-- | config/debug/duma.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/debug/dmalloc.in b/config/debug/dmalloc.in index fd3b49aa..aae0e6ed 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... diff --git a/config/debug/duma.in b/config/debug/duma.in index 35f9e091..5f08087e 100644 --- a/config/debug/duma.in +++ b/config/debug/duma.in @@ -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. |