From owner-freebsd-stable@FreeBSD.ORG Tue Jun 17 08:42:11 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC24837B401; Tue, 17 Jun 2003 08:42:11 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C5A543F3F; Tue, 17 Jun 2003 08:42:10 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5HFg8DZ055346; Tue, 17 Jun 2003 08:42:08 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5HFg8st000673; Tue, 17 Jun 2003 08:42:08 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h5HFg8LD000672; Tue, 17 Jun 2003 08:42:08 -0700 (PDT) (envelope-from marcel) Date: Tue, 17 Jun 2003 08:42:08 -0700 From: Marcel Moolenaar To: Joe Kelsey Message-ID: <20030617154208.GA584@dhcp01.pn.xcllnt.net> References: <3EEE4717.2090409@mail.flyingcroc.net> <1055804020.79093.2.camel@rushlight.kf8nh.apk.net> <3EEF19D5.9040706@mail.flyingcroc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EEF19D5.9040706@mail.flyingcroc.net> User-Agent: Mutt/1.5.4i cc: stable@freebsd.org cc: questions@freebsd.org Subject: Re: Tools to modify shared libraries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 15:42:12 -0000 On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: > > Basically, what I want to do is remove several entries from the *front* > of the dynamic section. Actually, I would settle for just removing all > of a certain tag (such as DT_NEEDED) from the dynamic section. It's more constructive to fix the linker than it is to patch the ELF files created by it. The linker knows which libraries are really needed and should be able to create the minimal list of (true) dependencies. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net