X86_64 LINUX RUNTIME
RAW SOURCE · LINUX_RUNTIME.md
SHA-256 · f652ee08e8708cd5f1a1e73fc800c9f9ac49d4aea9e048208bf06cd2be97c8d9
(v12.2 draft) in the title while its Status: line declares the document a normative v12.2.0 release contract. The raw file is preserved byte-for-byte.X86_64 Linux Runtime (v12.2 draft)§
Status: normative release contract for v12.2.0.
x86_64-dbyte-linux produces a static ELF64 executable with an internal
_start. Entry supports main() and the checked three-argument
main(argc, argv, envp) form. The return status reaches the Linux exit
system call without libc or a dynamic loader.
Versioned runtime capabilities cover exit, read, write, mmap, munmap,
openat, close, and clock_gettime. Raw syscall emission is restricted to
the canonical runtime capability surface. Ordinary source uses checked runtime
wrappers and cannot request arbitrary syscall numbers.
SystemAllocator uses mmap/munmap. Resize allocates replacement storage,
copies the bounded common prefix, and unmaps the old allocation only after the
replacement succeeds. Failure preserves the original allocation. The runtime
does not import libc, compiler-rt, or host allocation machinery.
extern "C" uses SysV AMD64. C fixture objects may be produced by the pinned
Clang command but are consumed by DByte's ELF64 parser, archive extractor, and
linker. The final image remains static and DByte-linked.