From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AC0791381F3 for ; Sat, 22 Jun 2013 10:04:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D77BE0A87; Sat, 22 Jun 2013 10:04:29 +0000 (UTC) Received: from virtual.dyc.edu (mail.virtual.dyc.edu [67.222.116.22]) by pigeon.gentoo.org (Postfix) with ESMTP id F06A0E0A6C for ; Sat, 22 Jun 2013 10:04:28 +0000 (UTC) Received: from [192.168.3.7] (cpe-69-207-16-110.buffalo.res.rr.com [69.207.16.110]) by virtual.dyc.edu (Postfix) with ESMTPSA id 5AA9C74C02C for ; Sat, 22 Jun 2013 06:04:50 -0400 (EDT) Message-ID: <51C576F4.9030408@opensource.dyc.edu> Date: Sat, 22 Jun 2013 06:05:40 -0400 From: "Anthony G. Basile" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Thunderbird/17.0.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Tool for eliminating non used code or symbols? References: <201306212023.08691.vapier@gentoo.org> In-Reply-To: <201306212023.08691.vapier@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 274ab68b-b7b7-4348-be2c-bcdf3b96fd0e X-Archives-Hash: c6693db846aef0d800d09d64606a82f5 On 06/21/2013 08:23 PM, Mike Frysinger wrote: > On Friday 31 May 2013 14:11:01 Christopher Friedt wrote: >> strip --strip-unneeded > > doesn't removed symbols that are exported in a shared lib > -mike > and shouldn't. How can a shared library know what symbols will be consumed in the future by objects linking against it? -- Anthony G. Basile, Ph. D. Chair of Information Technology D'Youville College Buffalo, NY 14201 (716) 829-8197