How does ld.so work?

ld.so does an actual open and mmap of all needed ELF files, both ELF file of your program and ELF files of all neeeded libraries. Also, it fills GOT and PLT tables and does relocations resolving (it writes addresses of functions from libraries to call sites, in many cases with indirect calls).

Sizin İçin Seçtik  Is Microsoft Visual Studio the best?

Leave a Reply

Your email address will not be published. Required fields are marked *