loading of shared objects and executables

Bolshakov, Roman Roman.Bolshakov@emc.com
Mon Oct 22 16:54:00 GMT 2012


Hi, Mike.

I also studied that in the spring. You can find a lot of details on the page: http://www.acsu.buffalo.edu/~charngda/elf.html


Dynamic linker is loaded by kernel after the kernel reads ELF headers. Then it passes control to the entry point of the linker. If you use glibc the entry point is named _dl_start. So, in general, you need to make breakpoint on _dl_start.

Roman


More information about the Gcc-help mailing list