commit 96e7372de40338658840f443b37ccb575dfd54bc
parent 4610b31fd38e17ea74c44bc962899c523508aea7
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 7 Feb 2021 10:07:58 -0500
stdlib: update rt
Diffstat:
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/gen-stdlib b/gen-stdlib
@@ -16,12 +16,15 @@ eval ". $srcdir/mk/gen-stdlib.sh"
gensrcs_rt() {
gen_srcs rt \
+ '$(PLATFORM)/arch$(ARCH).ha' \
'$(PLATFORM)/env.ha' \
'$(PLATFORM)/errno.ha' \
+ '$(PLATFORM)/segmalloc.ha' \
'$(PLATFORM)/start.ha' \
+ '$(PLATFORM)/stat.ha' \
'$(PLATFORM)/syscallno$(ARCH).ha' \
'$(PLATFORM)/syscalls.ha' \
- '$(PLATFORM)/segmalloc.ha' \
+ '$(PLATFORM)/types.ha' \
'$(ARCH)/jmp.ha' \
ensure.ha \
jmp.ha \
diff --git a/mk/stdlib.mk b/mk/stdlib.mk
@@ -3,12 +3,15 @@
# rt
rtscript=$(STDLIB)/rt/hare.sc
stdlib_rt_srcs= \
+ $(STDLIB)/rt/$(PLATFORM)/arch$(ARCH).ha \
$(STDLIB)/rt/$(PLATFORM)/env.ha \
$(STDLIB)/rt/$(PLATFORM)/errno.ha \
+ $(STDLIB)/rt/$(PLATFORM)/segmalloc.ha \
$(STDLIB)/rt/$(PLATFORM)/start.ha \
+ $(STDLIB)/rt/$(PLATFORM)/stat.ha \
$(STDLIB)/rt/$(PLATFORM)/syscallno$(ARCH).ha \
$(STDLIB)/rt/$(PLATFORM)/syscalls.ha \
- $(STDLIB)/rt/$(PLATFORM)/segmalloc.ha \
+ $(STDLIB)/rt/$(PLATFORM)/types.ha \
$(STDLIB)/rt/$(ARCH)/jmp.ha \
$(STDLIB)/rt/ensure.ha \
$(STDLIB)/rt/jmp.ha \
@@ -205,12 +208,15 @@ $(HARECACHE)/types/types.ssa: $(stdlib_types_srcs) $(stdlib_rt)
# rt
testlib_rt_srcs= \
+ $(STDLIB)/rt/$(PLATFORM)/arch$(ARCH).ha \
$(STDLIB)/rt/$(PLATFORM)/env.ha \
$(STDLIB)/rt/$(PLATFORM)/errno.ha \
+ $(STDLIB)/rt/$(PLATFORM)/segmalloc.ha \
$(STDLIB)/rt/$(PLATFORM)/start.ha \
+ $(STDLIB)/rt/$(PLATFORM)/stat.ha \
$(STDLIB)/rt/$(PLATFORM)/syscallno$(ARCH).ha \
$(STDLIB)/rt/$(PLATFORM)/syscalls.ha \
- $(STDLIB)/rt/$(PLATFORM)/segmalloc.ha \
+ $(STDLIB)/rt/$(PLATFORM)/types.ha \
$(STDLIB)/rt/$(ARCH)/jmp.ha \
$(STDLIB)/rt/ensure.ha \
$(STDLIB)/rt/jmp.ha \