This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [js@convergence.de: binutils-2.11.92.0.12.3 gas MIPS bug: nested parens in %hi]
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 9 Jan 2002 14:06:28 -0800
- Subject: Re: [js@convergence.de: binutils-2.11.92.0.12.3 gas MIPS bug: nested parens in %hi]
- References: <20020108141009.A29041@lucon.org> <20020108163458.A29822@redhat.com>
On Tue, Jan 08, 2002 at 04:34:58PM -0800, Richard Henderson wrote:
> On Tue, Jan 08, 2002 at 02:10:09PM -0800, H . J . Lu wrote:
> > lui t0, %hi((0xa0000000 + 0x10001000))
>
> Correct solution is for %hi to remove the first parenthesis,
> call expr to read the inner expression, then check for the
> final close parenthesis.
It is a generic problem, at least for mips. The current assembler
doesn't support nested () at all.
H.J.