Hacker News new | past | comments | ask | show | jobs | submit login

ELF does some of this already - relocations can be resolved at load time when compiler emits relocations intended to leverage GOT & PLT. Presumably Mach-O and COFF have an analogous feature.

This is how ELF shared object external references get resolved.

> Update Zig can do something like this.

The mechanism zig uses is indeed leveraging the GOT.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: