diff --git a/man8/ld.so.8 b/man8/ld.so.8 index f7c8813f8..56b47e19c 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -94,7 +94,9 @@ linker option, this step is skipped. .SS Rpath token expansion .PP .B ld.so -understands certain strings in an rpath specification (DT_RPATH or DT_RUNPATH); those strings are substituted as follows +understands certain token strings in an rpath specification +(DT_RPATH or DT_RUNPATH). +Those strings are substituted as follows: .TP .IR $ORIGIN " (or equivalently " ${ORIGIN} ) This expands to @@ -270,7 +272,7 @@ This variable is ignored in secure-execution mode. Within the pathnames specified in .BR LD_LIBRARY_PATH , -the dynamic linker expands the strings +the dynamic linker expands the tokens .IR $ORIGIN , .IR $LIB , and @@ -288,9 +290,9 @@ subdirectory below the directory containing the program to be executed: $ \fBLD_LIBRARY_PATH='$ORIGIN/$LIB' prog\fP (Note the use of single quotes, which prevent expansion of -.I ORIGIN +.I $ORIGIN and -.I LIB +.I $LIB as shell variables!) .TP .B LD_PRELOAD @@ -307,7 +309,7 @@ have the set-user-ID mode bit enabled are loaded. Within the names specified in the .BR LD_PRELOAD -list, the dynamic linker understands the strings +list, the dynamic linker understands the tokens .IR $ORIGIN , .IR $LIB , and @@ -355,7 +357,7 @@ in the chapter Within the names specified in the .BR LD_AUDIT -list, the dynamic linker understands the strings +list, the dynamic linker understands the tokens .IR $ORIGIN , .IR $LIB , and