Spec M16 — Linux arm64: ELF64 relocatable objects, Linux system layer, external linker

Goal: [target] os = "linux" in mc.toml makes mc build emit an ELF64 .o, invoke the configured linker (ld.lld) against musl (or no libc), and the result runs in Docker linux/arm64. Nothing in stage0 changes; the ELF writer is a backend in .mc.

ELF64 relocatable writer (src/backend_elf.mc, backend name elf-obj) #

Linux system layer #

Driver #

Tests #

Edit this page