This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][GAS/ARM] Better handling of difference between a symbol and an undefined symbol.


On Wed, Mar 16, 2011 at 02:31:44PM -0700, H.J. Lu wrote:
> On Tue, Sep 28, 2010 at 11:49 PM, Alan Modra <amodra@gmail.com> wrote:
> > gas/
> > ? ? ? ?* expr.c (expr): Correct returned segment value.
> > gas/testsuite/
> > ? ? ? ?* gas/all/fwdexp.d, * gas/all/fwdexp.s: New test.
> > ? ? ? ?* gas/all/gas.exp: Run it.
> 
> This caused:
> 
> http://www.sourceware.org/bugzilla/show_bug.cgi?id=12589

I think the above patch is correct.  Do you see a problem with it?

What it does do is expose other bugs in gas, in this case that
read.c:pseudo_set throws away the correct segment returned from expr()
and instead replaces it with expr_section.  Trouble is, looks like
using the correct segment there exposes yet more problems.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]