Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Resources to learn to build a dynamic linker
3 points by setheron on Oct 13, 2022 | hide | past | favorite | 3 comments
I would love to go through the exercise of building a dynamic linker.

Unfortunately there is so little subject matter on this vs. something like a compiler.

Are there any good learning resources? I have tried auditing glibc or musl but they are either so complex or terse.

Does an implementation for the purpose of learning exist?



"Linkers and Loaders" John R. Levine, https://linker.iecc.com/


Bought the book....kind of shallow.

It's more geared to the user facing side or how to specify compiler command line flags.


Likely just try to build one. The constraining resource is just being able to play with ELF files. The best ELF library we have found is https://github.com/serge1/ELFIO . Very easy to use and works predictably.




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

Search: