3 ms·
Can anyone recommend a resource on how linkers work other than the "Linkers and Loaders" book? Maybe a linker repo that is easier to read through, or a more mod
by sunday_serif 3y ago
Can anyone recommend a resource on how linkers work other than the "Linkers and Loaders" book? Maybe a linker repo that is easier to read through, or a more modern book or series of articles on the topic?
No shame on the book, it is a classic, but it is certainly a bit long in the tooth.
I am very interested in linkers, but find them a bit inaccessible to learn about.
- canucker2016 3y agoLook at Gold and Mold Gold blog posts: https://www.airs.com/blog/archives/38 https://www.airs.com/blog/archives/38 and https://en.wikipedia.org/wiki/Gold_(linker) https://en.wikipedia.org/wiki/Gold_(linker) Design and implementation of Mold: https://github.com/rui314/mold/blob/main/docs/design.md https://github.com/rui314/mold/blob/main/docs/design.md
- jjtheblunt 3y agoyou might get good mileage out of web pages for ld and dl_open and related commands and functions.
- zzzred 3y agohttps://opensource.apple.com/source/ld64/ld64-136/doc/design/linker.html https://opensource.apple.com/source/ld64/ld64-136/doc/design...