File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 13041304debugging and experimenting with a dynamic linker.
13051305\item The linker gets the list of required libraries from the program ELF header,
13061306maps those libraries to the process address space, and calls their initialization
1307- functions if those exist. All dependencies not set as
1307+ functions if those exist. All dependencies not set as
13081308\emph {lazy } (see page \pageref {DLOPEN }) are mapped recursively via breadth
1309- search.
1309+ first search.
13101310\item The linker's job is done at that point and calls the program
13111311\texttt {main() } function.
13121312\item A process may continue to use the dynamic linker during program execution
13131313via calls like \texttt {dlopen() } etc. See page \pageref {DLOPEN } for more
13141314information.
13151315\end {itemize }
13161316\item Note that the dynamic linker does not run as a separate process (unless
1317- you run it like that) even though it has its own \texttt {main() } function. It is
1318- used within an address space of an executed program. The program, dynamic
1317+ you run it like that) even though it has its own \texttt {main() } function.
1318+ It is used within an address space of an executed program. The program, dynamic
13191319linker, and dynamic libraries constitute a single process.
13201320
13211321\item The following examples \emsl {are from Solaris}. Finding equivalent
You can’t perform that action at this time.
0 commit comments