How can I learn more about the linker?

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

How can I learn more about the linker?

Postby flickz » Tue Jan 28, 2020 5:05 pm

I'm working on a fork of the main OS X linker, ld, to make it faster. It is currently ~20% faster, which is important when working on a big project (I once had to deal with 30 second linking times). I'd like to make bigger optimizations, but for that I need a deeper understanding of the linker. The ld design document has some information, but it's very high-level. Here are some questions:

- What are some good resources to learn about ld? Volume 1 of the books is helpful, but it doesn't cover ld specifically.
- If not ld, what are some good resources to learn about linkers in general?
- Are there any optimizations you think would be good to put in ld? For example, making it section-based rather than atom-based.

If you have ideas for any of those questions, please let me know!
flickz
 
Posts: 7
Joined: Tue Jan 10, 2017 7:32 pm

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 1 guest

cron