mirror of https://github.com/mkerrisk/man-pages
dlopen.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
41932d348d
commit
82bd66b8b6
|
@ -498,6 +498,21 @@ can be used to register an exit handler that is automatically
|
|||
called when a shared object is unloaded.
|
||||
.SS History
|
||||
These functions are part of the dlopen API, derived from SunOS.
|
||||
.SH BUGS
|
||||
As at glibc 2.21, specifying the
|
||||
.BR RTLD_GLOBAL
|
||||
flag when calling
|
||||
.BR dlmopen ()
|
||||
.\" dlerror(): "invalid mode"
|
||||
generates an error.
|
||||
Furthermore, specifying
|
||||
.BR RTLD_GLOBAL
|
||||
when calling
|
||||
.BR dlopen ()
|
||||
results in a program crash
|
||||
.RB ( SIGSEGV )
|
||||
if the call is made from any object loaded in a
|
||||
namespace other than the initial namespace.
|
||||
.SH EXAMPLE
|
||||
The program below loads the (glibc) math library,
|
||||
looks up the address of the
|
||||
|
@ -567,21 +582,6 @@ main(void)
|
|||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
.fi
|
||||
.SH BUGS
|
||||
As at glibc 2.21, specifying the
|
||||
.BR RTLD_GLOBAL
|
||||
flag when calling
|
||||
.BR dlmopen ()
|
||||
.\" dlerror(): "invalid mode"
|
||||
generates an error.
|
||||
Furthermore, specifying
|
||||
.BR RTLD_GLOBAL
|
||||
when calling
|
||||
.BR dlopen ()
|
||||
results in a program crash
|
||||
.RB ( SIGSEGV )
|
||||
if the call is made from any object loaded in a
|
||||
namespace other than the initial namespace.
|
||||
.SH SEE ALSO
|
||||
.BR ld (1),
|
||||
.BR ldd (1),
|
||||
|
|
Loading…
Reference in New Issue