Post #1966323
2026-03-14 17:14 UTC
@pervognsen @lenary There must be some cursed linker out there that inspects machine code bytes to make decisions rather than purely using relocations.
Replies (2)
-
@joe@f.duriansoftware.com 2026-03-14 17:15
@zwarich @pervognsen @lenary how about a rosetta-like jit that doesn't change ISAs but just messes with the instructions executed by the host architecture
-
@lenary@types.pl 2026-03-14 18:21
@zwarich @pervognsen let me introduce you to RISC-V Linker Relaxations, which both inspect and modify machine code bytes to change the sequence to better ones (they still use relocations)