Skip to content

Commit 0b7b293

Browse files
committed
mention relocation entries
1 parent 0ce62e1 commit 0b7b293

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

intro.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,9 @@
13151315
functions if those exist. All dependencies not set as
13161316
\emph{lazy} (see page \pageref{DLOPEN}) are mapped recursively via breadth
13171317
first search.
1318+
\item The runtime linker also processes relocation entries in the libraries.
1319+
This allows for the position independent (w.r.t. virtual addresses within the
1320+
address space of the process) code to work.
13181321
\item The linker's job is done at that point and calls the program
13191322
\texttt{main()} function.
13201323
\item A process may continue to use the dynamic linker during program execution
@@ -1325,7 +1328,6 @@
13251328
you run it like that) even though it has its own \texttt{main()} function.
13261329
It is used within an address space of an executed program. The program, dynamic
13271330
linker, and dynamic libraries constitute a single process.
1328-
13291331
\item The following examples \emsl{are from Solaris}. Finding equivalent
13301332
commands and/or options on Linux is left as an exercise to the reader.
13311333
\begin{itemize}

0 commit comments

Comments
 (0)