From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27580 invoked by alias); 6 Apr 2005 14:06:33 -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 27440 invoked from network); 6 Apr 2005 14:06:19 -0000 Received: from unknown (205.217.158.180) by sourceware.org with QMTP; 6 Apr 2005 14:06:19 -0000 Received: (qmail 31844 invoked by uid 10); 6 Apr 2005 14:06:18 -0000 Received: (qmail 10688 invoked by uid 500); 6 Apr 2005 14:06:10 -0000 Mail-Followup-To: binutils@sources.redhat.com, amodra@bigpond.net.au To: Alan Modra Cc: binutils@sources.redhat.com Subject: Re: Fix PR gas/827 References: <20050406081146.GF29412@bubble.modra.org> From: Ian Lance Taylor Date: Wed, 06 Apr 2005 14:06:00 -0000 In-Reply-To: <20050406081146.GF29412@bubble.modra.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-04/txt/msg00167.txt.bz2 Alan Modra writes: > While poking at pseudo_set, I noticed that assignment to section symbols > is only prevented when assigning some other symbol to the section > symbol. This seemed odd to me, so I modified the code to give an error > on any assignment to section symbols. Another oddity is special casing > sym1 = sym2 + const for const == 0. When const != 0, the old code > created an expression symbol, and I can't see the reason for that. Ian, > do you know why this was done? No, I don't. It's particularly odd since the subsequent code is careful to add in exp.X_add_number. I've often wished that I had taken a copy of the Cygnus CVS repository when I left. I had access for a long time after I left, then I suddenly lost it. Ian