summaryrefslogtreecommitdiff
path: root/linkers/libc.ini
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-12-18 15:07:59 +1100
committerChris Johns <chrisj@rtems.org>2014-12-18 15:07:59 +1100
commit7fc1edba20d5f54c9517071a2b999c492a69ee83 (patch)
tree624f260161ac7171badc0683bd42c5413e829b48 /linkers/libc.ini
parentd8a82fdf2e92e69c6d262e084337a76c81524f6f (diff)
rtems-tld: Add configuration support for libc head tracing.
These files allow you to trace malloc, calloc, realloc and free. With a simple script you can see what is allocated and never freed.
Diffstat (limited to '')
-rwxr-xr-xlinkers/libc.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/linkers/libc.ini b/linkers/libc.ini
new file mode 100755
index 0000000..012f82e
--- /dev/null
+++ b/linkers/libc.ini
@@ -0,0 +1,17 @@
+;
+; RTEMS C Library Trace Configurations
+;
+[libc]
+headers = libc-headers
+defines = libc-defines
+; Heap
+include = libc-heap.ini
+signatures = libc-heap-signatures
+
+[libc-headers]
+header = "#include <stddef.h>"
+header = "#include <stdlib.h>"
+header = "#include <stdio.h>"
+
+[libc-defines]
+; Currently empty