From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2084 invoked by alias); 29 Sep 2011 09:51:32 -0000 Received: (qmail 2034 invoked by uid 22791); 29 Sep 2011 09:51:31 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SARE_RECV_FREESERVE X-Spam-Check-By: sourceware.org Received: from smtp7.freeserve.com (HELO smtp6.freeserve.com) (80.12.242.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Sep 2011 09:51:06 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3j33.me.freeserve.com (SMTP Server) with ESMTP id 3228B3000133; Thu, 29 Sep 2011 11:51:05 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3j33.me.freeserve.com (SMTP Server) with ESMTP id 2524D3000134; Thu, 29 Sep 2011 11:51:05 +0200 (CEST) Received: from barnowl.buzzard.freeserve.co.uk (unknown [95.148.208.129]) by mwinf3j33.me.freeserve.com (SMTP Server) with ESMTP id 0F27A3000133; Thu, 29 Sep 2011 11:51:05 +0200 (CEST) Received: from [192.168.3.0] (unknown [192.168.3.0]) by barnowl.buzzard.freeserve.co.uk (Postfix) with ESMTP id 887C2C80262; Thu, 29 Sep 2011 10:51:04 +0100 (BST) References: In-Reply-To: Mime-Version: 1.0 (iPad Mail 8L1) Content-Type: text/plain; charset=us-ascii Message-Id: <7466E409-8C17-408C-82C6-E0A1C6AD3D20@buzzard.freeserve.co.uk> Content-Transfer-Encoding: quoted-printable Cc: "binutils@sourceware.org" , "gdb-patches@sourceware.org" , "gcc@gcc.gnu.org" , "aph@redhat.com" From: "Richard Earnshaw (home)" Subject: Re: RFC: Collecting together binary file attributes into a single file. Date: Thu, 29 Sep 2011 10:12:00 -0000 To: Nick Clifton Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00514.txt.bz2 On 29 Sep 2011, at 10:34, "Nick Clifton" wrote: > Hi Guys, >=20 > All I wanted to do was to make GCC's ARM assembler output slightly > easier to read... >=20 > I would like to propose a patch to create a new header file in the > include/ directory. This file would contain enums describing the > attributes that be can found in SHT_GNU_ATTRIBUTES sections. The > purpose of the file is to provide a single place where these values > are defined, and to share the information between GCC, BINUTILS and > GDB. >=20 > The patch also includes an update to readelf to make it use the > enumerated values and an example of a patch to the ARM backend of GCC > to include the attribute names in its assembler output. >=20 >=20 > So - what do people think ? Any objections to this idea ? >=20 I don't think it's a good idea to have the attributes of every CPU we suppo= rt in a single file. That's going to get unmaintainable very quickly. R