summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlinkers/libc-heap.ini25
-rwxr-xr-xlinkers/libc.ini17
2 files changed, 42 insertions, 0 deletions
diff --git a/linkers/libc-heap.ini b/linkers/libc-heap.ini
new file mode 100755
index 0000000..bb7589a
--- /dev/null
+++ b/linkers/libc-heap.ini
@@ -0,0 +1,25 @@
+;
+; RTEMS C Library Trace Configurations
+;
+[libc-heap]
+headers = libc-heap-headers
+defines = libc-heap-defines
+signatures = libc-heap-signatures
+
+[libc-heap-all]
+trace = malloc
+trace = calloc
+trace = realloc
+trace = free
+
+[libc-heap-headers]
+header = "#include <stdlib.h>"
+
+[libc-heap-defines]
+; Currently empty
+
+[libc-heap-signatures]
+malloc = void*, size_t
+calloc = void*, size_t, size_t
+realloc = void*, void*, size_t
+free = void, void*
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