summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-05-08 08:47:31 +1000
committerChris Johns <chrisj@rtems.org>2012-05-08 08:47:31 +1000
commitb78c02ab55ae3c0a932901896051617e1a212952 (patch)
treed8ce5cd954bc7d6a830d49f4e6abc210c77fefab /wscript
parent7f7cdc2de97f006def935f3b2788a24dd25248eb (diff)
Add RTL allocator.
Add a custom allocator that can be hooked. The default heap allocator in this code does nothing more than wrap the libc heap allocator. Fix up the RTL initialise to better handle the locking and initialisation of internal structures.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 7baaa0f..c2c7f80 100644
--- a/wscript
+++ b/wscript
@@ -53,6 +53,8 @@ def rtl_source(bld, arch):
source = ['dlfcn.c',
'dlfcn-shell.c',
'rtl.c',
+ 'rtl-alloc-heap.c',
+ 'rtl-allocator.c',
'rtl-chain-iterator.c',
'rtl-debugger.c',
'rtl-elf.c',
@@ -60,6 +62,7 @@ def rtl_source(bld, arch):
'rtl-obj.c',
'rtl-obj-cache.c',
'rtl-shell.c',
+ 'rtl-string.c',
'rtl-sym.c',
'rtl-trace.c',
'rtl-mdreloc-' + arch + '.c'])