This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix PR gas/827
- From: Ian Lance Taylor <ian at airs dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: 06 Apr 2005 10:06:10 -0400
- Subject: Re: Fix PR gas/827
- References: <20050406081146.GF29412@bubble.modra.org>
Alan Modra <amodra@bigpond.net.au> 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