This question is unlikely to surprise people anymore.

Noted by:	alfred
Approved by:	bcr (mentor, implicit)
This commit is contained in:
Eitan Adler 2013-02-08 00:22:49 +00:00
parent a30cebc5e2
commit f6e5ace469
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40911

View file

@ -8324,27 +8324,6 @@ panic: page fault</programlisting>
</answer>
</qandaentry>
<qandaentry>
<question id="dlsym-failure">
<para>Why has <function>dlsym()</function> stopped working for
ELF executables?</para>
</question>
<answer>
<para>The ELF toolchain does not, by default, make the symbols
defined in an executable visible to the dynamic linker.
Consequently <function>dlsym()</function> searches on
handles obtained from calls to <function>dlopen(NULL,
flags)</function> will fail to find such symbols.</para>
<para>If you want to search, using
<function>dlsym()</function>, for symbols present in the
main executable of a process, you need to link the
executable using the <option>--export-dynamic</option>
option to the ELF linker (&man.ld.1;).</para>
</answer>
</qandaentry>
<qandaentry>
<question id="change-kernel-address-space">
<para>How can I increase or reduce the kernel address space on