Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building a linker

There is a lot of information out there about designing and implementing a compiler, but i can't find anything about linkers.

I'm very interested in these subjects but I can't find any information about linkers. Does anyone know a tutorial, book, etc. about linker design and implementation?

like image 646
Marnix v. R. Avatar asked Dec 20 '11 15:12

Marnix v. R.


1 Answers

The classic book on linkers: Linkers and Loaders. A draft of it is available online.

Ian Lance Taylor recently implemented a new ELF linker (gold). He wrote a series of blog posts explaining a lot of details. Start here.

like image 114
Employed Russian Avatar answered Oct 06 '22 19:10

Employed Russian