mirror of https://github.com/mkerrisk/man-pages
dlopen.3: ffix
This commit is contained in:
parent
27a61e8622
commit
1d2c48b3a7
|
@ -436,7 +436,8 @@ section of the original object (which dispatches the call after
|
|||
asking the dynamic linker to resolve the symbol).
|
||||
To work this around, you can try to compile the code to be
|
||||
position-independent
|
||||
.RI ( "cc -fPIC" ): then, the compiler cannot prepare the pointer
|
||||
.RI ( "cc -fPIC" ):
|
||||
then, the compiler cannot prepare the pointer
|
||||
at compile time anymore and today's
|
||||
.BR gcc (1)
|
||||
will just load the final symbol address from the
|
||||
|
|
Loading…
Reference in New Issue