From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 19 17:22:33 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4E0216A420; Sun, 19 Feb 2006 17:22:33 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from hydra.bec.de (www.ostsee-abc.de [62.206.222.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4338143D45; Sun, 19 Feb 2006 17:22:33 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (unknown [139.30.252.72]) by hydra.bec.de (Postfix) with ESMTP id 9C58535707; Sun, 19 Feb 2006 18:22:27 +0100 (CET) Received: by britannica.bec.de (Postfix, from userid 1000) id 0BA1C6C771; Sun, 19 Feb 2006 18:22:23 +0100 (CET) Date: Sun, 19 Feb 2006 18:22:23 +0100 From: joerg@britannica.bec.de To: freebsd-hackers@freebsd.org, hackers@freebsd.org Message-ID: <20060219172223.GA12772@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org, hackers@freebsd.org References: <1140368387.28785.63.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1140368387.28785.63.camel@localhost> User-Agent: Mutt/1.5.11 Cc: Subject: Re: dladdr in executable and shared object X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 17:22:33 -0000 On Sun, Feb 19, 2006 at 05:59:47PM +0100, Andreas Bachmann wrote: > I think the whole dynamic linking functions are buggy. First of all, calm down. Second, do your home work. By default the necessary dynamic linkage section is not present in executables, only shared libraries. Try -Wl,-E instead. Joerg