artiq/artiq/firmware/libdyld
David Nadlinger efbae51f9d runtime: Validate ksupport ELF against hard-coded address ranges
This would have caught the reduction in header padding with LLD 14.
In theory, we could just get rid of the hard-coded kernel CPU address
ranges altogether and use ksupport.elf as the one source of truth; the
code already exists in dyld. The actual base address of the file would
still need to be forwarded to the kernel-side libunwind glue, though,
as there doesn't seem to be a clean way to get the equivalent of
KSUPPORT_HEADER_SIZE through the linker script. I have left this as-is
with the hard-coded KERNELCPU_… constants for now.
2023-08-07 10:10:38 +00:00
..
Cargo.toml firmware: rewrite the dynamic linker in Rust. 2017-02-24 18:57:29 +00:00
elf.rs dyld: check ABI 2021-11-08 16:59:08 +08:00
lib.rs runtime: Validate ksupport ELF against hard-coded address ranges 2023-08-07 10:10:38 +00:00