This is the mail archive of the binutils@sources.redhat.com 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: [js@convergence.de: binutils-2.11.92.0.12.3 gas MIPS bug: nested parens in %hi]


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.


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