From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3457 invoked by alias); 8 Nov 2004 08:46:42 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 3426 invoked from network); 8 Nov 2004 08:46:37 -0000 Received: from unknown (HELO relay2.mail.uk.clara.net) (80.168.70.142) by sourceware.org with SMTP; 8 Nov 2004 08:46:37 -0000 Received: from adsl-2-solo-173-195.claranet.co.uk ([80.168.173.195] helo=[172.31.0.98]) by relay2.mail.uk.clara.net with esmtp (Exim 4.34) id 1CR5AW-000BGE-BY; Mon, 08 Nov 2004 08:46:32 +0000 Message-ID: <418F332D.4060007@redhat.com> Date: Mon, 08 Nov 2004 08:46:00 -0000 From: Nick Clifton User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803) MIME-Version: 1.0 To: jbeniston@compxs.com CC: 'Dave Korn' , binutils@sources.redhat.com Subject: Re: MEMORY commands in link scripts References: <001001c4c33b$12da7510$0bbda8c0@Kindrogan> In-Reply-To: <001001c4c33b$12da7510$0bbda8c0@Kindrogan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00128.txt.bz2 Hi Jon, > I still think it might be useful have ORIGIN() and LENGTH() functions. If I > were to create a patch to implement this, is it likely to be accepted? Yes, provided that a) it worked, b) it was tested and c) you had a copyright assignment on file with the FSF. >Would overloading the ADDR() and SIZEOF() functions be more approriate? No, definitely not. Keep things simple. :-) Cheers Nick