From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 903 invoked by alias); 29 Jun 2005 15:37:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 805 invoked by uid 22791); 29 Jun 2005 15:37:21 -0000 Received: from www.amconsult.com (HELO www.evcohs.com) (66.17.141.91) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 15:37:21 +0000 Received: (qmail 23560 invoked from network); 29 Jun 2005 15:37:19 -0000 Received: from unknown (HELO ?10.0.1.12?) (66.180.104.54) by www.amconsult.com with SMTP; 29 Jun 2005 15:37:19 -0000 Message-ID: <42C2BFCE.9010304@evcohs.com> Date: Wed, 29 Jun 2005 15:37:00 -0000 From: "E. Weddington" User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Martin Koegler CC: =?ISO-8859-1?Q?Bj=F6rn_Haase?= , gcc@gcc.gnu.org Subject: Re: named address spaces (update) References: <20050629084740.GA8315@ahab.auto.tuwien.ac.at> In-Reply-To: <20050629084740.GA8315@ahab.auto.tuwien.ac.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg01259.txt.bz2 Martin Koegler wrote: >I continued to work on the support for named address spaces in GCC. I >managed to move much of the managing code for the namespace attribute >into the create funtions of tree nodes, so in most cases, only the >language frontends need to assign and check the named address spaces. > >I moved to creation of the namespace list to the gen-modes program >(all examples are taken out of my m68hc05 GCC port >http://www.auto.tuwien.ac.at/~mkoegler/index.php/gcc ). A named >address space is allocated with NAMESPACE(name) in the mode definition >file of the port, eg: > >NAMESPACE(EEPROM); >NAMESPACE(LORAM); > >(I know, that the NAMESPACE is not the correct naming, but named >address space is a bit too long. Any suggestions?) > > Because it's a space of addresses (as opposed to a space of names), how about this?: ADDRESSSPACE (EEPROM); ADDRESSSPACE (LORAM); Eric