From 3c36f513532d28ac101fb057e845ce66b8e6da1b Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Tue, 29 Sep 2026 11:17:30 -0700 Subject: add a constant string "boot-source" which is run at startup this will allow us to have compiled-in code that wouldn't run under the transforms, though we don't add anything of substance just yet this strategy was used early in bring-up, in the historical flatassembler version of Evocation, so the design space of it is already well-explored in Irenes' head. how pleasant. :) Force-Push: yes Change-Id: I722cddb77657df9ca518c0d9841aa587bf63feb3 --- evoke.e | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'evoke.e') diff --git a/evoke.e b/evoke.e index 1b1453b..cade5e4 100644 --- a/evoke.e +++ b/evoke.e @@ -30,7 +30,10 @@ s" compilation/execution.e" include s" language/dynamic/linux.e" pack-file-contents s" language/dynamic/files.e" pack-file-contents 0 pack8 8 packalign here ! - s" source-to-copy-to-log" variable ; + s" source-to-copy-to-log" variable + + s" relink-main-input-buffer-to-stdin" + s" source-to-textually-include" variable ; read-inputs @@ -56,8 +59,15 @@ read-inputs elf-program-header output-cold-start - source-to-copy-to-log output-warm-start + + output-warm-start-header + source-to-copy-to-log log-load-transform + output-warm-start-post-log-load-transform + output-warm-start-attach-boot-source + output-warm-start-footer + source-to-precompile label-transform + source-to-textually-include output-boot-source ~ If we wanted words in the log to be able to call statically-linked ~ words, we could set this to something nonzero. We don't, so we leave it -- cgit 1.4.1