From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754844AbYKZRlr (ORCPT ); Wed, 26 Nov 2008 12:41:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752376AbYKZRlj (ORCPT ); Wed, 26 Nov 2008 12:41:39 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:58268 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894AbYKZRli (ORCPT ); Wed, 26 Nov 2008 12:41:38 -0500 Date: Wed, 26 Nov 2008 18:39:35 +0100 From: Sam Ravnborg To: Steven Rostedt Cc: Paul Mundt , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: Detecting endianness in scripts/recordmcount.pl? Message-ID: <20081126173935.GA29692@uranus.ravnborg.org> References: <20081126083905.GA20472@linux-sh.org> <20081126135441.GB28170@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > > > > The CONFIG_64BIT test could likewise be adopted for testing endianness, but > > > not all architectures have config options for endian selections. > > But we could add this - no? > > Much better than executing objdump one thousand times. > > Adding a parameter would be better. Which moves the problem to the caller which is OK. And then we are back to the same discussion and again we should introduce a CONFIG_ symbol for it. Sam