This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch: [z80] solve PR gas/12269
Op maandag 6 december 2010, schreef Arnold Metselaar:
> Op maandag 6 december 2010, schreef u:
> > On Dec 5, 2010, at 10:55 PM, Arnold Metselaar wrote:
> > > Hello,
> > >
> > > I have applied the attached patch to solve bug 12269.
> > > The ChangeLog entry is below.
> > > Maybe the fix should go into the 2.21 branch as well.
> >
> > Ok, but please commit it quickly as I plan to do the release very
> > soon.
> >
> > Tristan.
>
> I'd love to, but so far I have failed to figure out how can check
> out the 2.21 branch, maybe someone else can do it for me.
>
> Arnold
>
I just found out I what my problem was, and I have now committed the
patch to so the 2.21 branch now.
I needed to specify "CFLAGS=-Wno-shadow" to get it to compile, do you
want me to rename a variable in the branch to suppress the warning
about a shadowed variable?
Arnold
> > > Arnold
> > >
> > > gas/ChangeLog:
> > > PR gas/12269
> > > * config/tc-z80.c (emit_mx, emit_ldxhl): Do not use
> > > symbol_get_value_expression on a symbol that may not yet have
> > > a value.
> > > * testsuite/gas/z80/atend.s: New file, test case for bug
> > > 12269, provided by Chris Smith.
> > > * testsuite/gas/z80/atend.d: New file, expected results for
> > > atend.s. * testsuite/gas/z80/z80.exp: Run new test case.
> > >
> > > <bug12269.patch>