From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22572 invoked by alias); 3 Dec 2012 16:54:13 -0000 Received: (qmail 22552 invoked by uid 22791); 3 Dec 2012 16:54:10 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from cheddar.halon.org.uk (HELO cheddar.halon.org.uk) (217.10.144.130) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Dec 2012 16:54:03 +0000 Received: from bsmtp by cheddar.halon.org.uk with local-bsmtp (Exim 4.72) (envelope-from ) id 1TfZHO-0006Pr-Fu; Mon, 03 Dec 2012 16:54:02 +0000 Received: from stemci01 by e102122-lin with local (Exim 4.76) (envelope-from ) id 1TfZGl-0004FO-Le; Mon, 03 Dec 2012 16:53:23 +0000 Date: Mon, 03 Dec 2012 16:54:00 -0000 From: Steve McIntyre To: "Joseph S. Myers" Cc: libc-ports@sourceware.org, Carlos O'Donell , Marcus Shawcroft Subject: Re: [PATCH] ARM: Identify the hard-float ABI in older ARM binaries Message-ID: <20121203165323.GH12778@linaro.org> References: <20121203153446.GD22509@einval.com> <20121203153747.GE22509@einval.com> <20121203154154.GF22509@einval.com> <20121203164354.GJ22509@einval.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-attached: none User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00015.txt.bz2 On Mon, Dec 03, 2012 at 04:49:06PM +0000, Joseph S. Myers wrote: >On Mon, 3 Dec 2012, Steve McIntyre wrote: > >> >As previously explained, it's not appropriate for the dynamic linker to >> >examine the section view of the ELF file this way; the use of ELF header >> >flags is the right approach. >> >> Does that apply to ldconfig as well as ld.so? > >I think so, yes; I'm not aware of any existing use of the section view of >the file in ldconfig, although efficiency issues don't really apply there. OK... So is there a good reason not to do this beyond "we've not done this before", then? (*not* trying to argue, but some clarity here would be appreciated!) Cheers, -- Steve McIntyre steve.mcintyre@linaro.org Linaro.org | Open source software for ARM SoCs