From owner-svn-doc-all@FreeBSD.ORG Fri Feb 8 13:20:52 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 20AD76B5; Fri, 8 Feb 2013 13:20:52 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1355062E; Fri, 8 Feb 2013 13:20:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r18DKpbt004007; Fri, 8 Feb 2013 13:20:51 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r18DKpnW004006; Fri, 8 Feb 2013 13:20:51 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201302081320.r18DKpnW004006@svn.freebsd.org> From: Eitan Adler Date: Fri, 8 Feb 2013 13:20:51 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40914 - head/en_US.ISO8859-1/books/faq X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 13:20:52 -0000 Author: eadler Date: Fri Feb 8 13:20:51 2013 New Revision: 40914 URL: http://svnweb.freebsd.org/changeset/doc/40914 Log: Restore dlsym-failure as this question appears to still be an FAQ. Requested by: kib Approved by: bcr (mentor, implicit) Modified: head/en_US.ISO8859-1/books/faq/book.xml Modified: head/en_US.ISO8859-1/books/faq/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/faq/book.xml Fri Feb 8 10:23:03 2013 (r40913) +++ head/en_US.ISO8859-1/books/faq/book.xml Fri Feb 8 13:20:51 2013 (r40914) @@ -8325,6 +8325,27 @@ panic: page fault + + Why has dlsym() stopped working for + ELF executables? + + + + The ELF toolchain does not, by default, make the symbols + defined in an executable visible to the dynamic linker. + Consequently dlsym() searches on + handles obtained from calls to dlopen(NULL, + flags) will fail to find such symbols. + + If you want to search, using + dlsym(), for symbols present in the + main executable of a process, you need to link the + executable using the + option to the ELF linker (&man.ld.1;). + + + + How can I increase or reduce the kernel address space on i386?