From owner-freebsd-hackers Sun Jan 25 17:21:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA12698 for hackers-outgoing; Sun, 25 Jan 1998 17:21:03 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA12597 for ; Sun, 25 Jan 1998 17:20:54 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id RAA16719; Sun, 25 Jan 1998 17:20:39 -0800 (PST) (envelope-from jdp) Message-Id: <199801260120.RAA16719@austin.polstra.com> To: hasty@rah.star-gate.com Subject: Re: gdb which supports elf? In-Reply-To: <199801182249.OAA20045@rah.star-gate.com> References: <199801182249.OAA20045@rah.star-gate.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Date: Sun, 25 Jan 1998 17:20:39 -0800 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk In article <199801182249.OAA20045@rah.star-gate.com>, Amancio Hasty wrote: > > Howdy, > I dowloaded John's elfkit and it seems to work rather nicely. > Made a minor mod to rtld.c, got rid of this: > > assert(!obj_rtld.textrel); > > When loading a shared binary the assert was being triggered > and from the looks of it obj_rtld.textrel was set to 1 meaning > that the text region is relocatable. You shouldn't delete the assert. It means something is wrong with the way you built the dynamic linker or with the tools you used to build it. There should _not_ be any text relocations in the dynamic linker. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth