Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/349.html
Дата изменения: Thu Mar 23 12:38:03 2000
Дата индексирования: Wed Sep 15 00:53:57 2010
Кодировка:

Поисковые слова: п п п п п р п р п п р п п р п п р п п р п п р п п р п п р п
Loading shared objects - How? The HyperNews Linux KHG Discussion Pages

Question: Loading shared objects - How?

Forum: The Linux Kernel Hackers' Guide
Date: Wed, 12 Aug 1998 19:31:19 GMT
From: Wesley Terpstra <terpstra@unixg.ubc.ca>

Does anyone know where I could find a good document about how shared objects are bound to an ELF executable before runtime? I would like to be able to import symbols from a .so file at runtime based on user input and call the imported symbol (a function). I suspect gdb must do this since it loads shared libraries for programs one debugs and allows one to call the imported functions. I hope to do this as portably as possible. Can anyone out there recommend a document?

Thanks.