в самом начале базы данных, созданной IDA для загрузчика ld.so, написано из каких исходных файлов он скомпилирован:
Код:
.....
LOAD:0000000000000000                                                 ; Compiler     : GNU C++
LOAD:0000000000000000                                                 ; File Name   : /usr/lib64/unipatch_ld
LOAD:0000000000000000                                                 ; Format      : ELF64 for x86-64 (Shared object)
LOAD:0000000000000000                                                 ; Shared Name 'ld-linux-x86-64.so.2'
LOAD:0000000000000000                                                 ;
LOAD:0000000000000000                                                 ; Source File : 'rtld.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-load.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-lookup.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-object.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-reloc.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-deps.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-hwcaps.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-runtime.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-error.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-init.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-fini.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-debug.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-misc.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-version.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-profile.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-conflict.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-tls.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-origin.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-scope.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-execstack.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-caller.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-open.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-close.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-cache.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-tunables.c'
LOAD:0000000000000000                                                 ; Source File : 'tlsdesc.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-get-cpu-features.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-sysdep.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-environ.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-minimal.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-brk.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-sbrk.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-getcwd.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-openat64.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-opendir.c'
LOAD:0000000000000000                                                 ; Source File : 'dl-fxstatat64.c'
LOAD:0000000000000000                                                 ; Source File : 'check_fds.c'
LOAD:0000000000000000                                                 ; Source File : 'errno.c'
LOAD:0000000000000000                                                 ; Source File : 'closedir.c'
LOAD:0000000000000000                                                 ; Source File : 'readdir.c'
LOAD:0000000000000000                                                 ; Source File : 'rewinddir.c'
LOAD:0000000000000000                                                 ; Source File : 'getdents.c'
LOAD:0000000000000000                                                 ; Source File : 'fdopendir.c'
LOAD:0000000000000000                                                 ; Source File : 'profil.c'
LOAD:0000000000000000                                                 ; Source File : 'prof-freq.c'
LOAD:0000000000000000                                                 ; Source File : 'xstat.c'
LOAD:0000000000000000                                                 ; Source File : 'fxstat.c'
LOAD:0000000000000000                                                 ; Source File : 'lxstat.c'
LOAD:0000000000000000                                                 ; Source File : 'fcntl.c'
LOAD:0000000000000000                                                 ; Source File : 'mmap.c'
LOAD:0000000000000000                                                 ; Source File : '_exit.c'
LOAD:0000000000000000                                                 ; Source File : 'getpid.c'
LOAD:0000000000000000                                                 ; Source File : 'environ.c'
LOAD:0000000000000000                                                 ; Source File : 'sigaction.c'
LOAD:0000000000000000                                                 ; Source File : 'strdup.c'
LOAD:0000000000000000                                                 ; Source File : 'rtld-strncmp.c'
LOAD:0000000000000000                                                 ; Source File : 'rtld-memcmp.c'
LOAD:0000000000000000                                                 ; Source File : 'memmove.c'
LOAD:0000000000000000                                                 ; Source File : 'wordcopy.c'
LOAD:0000000000000000                                                 ; Source File : 'strstr-c.c'