This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR gas/10637: x86 assembler failed to handle [addr] in Intel mode
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sources dot redhat dot com, jbeulich at novell dot com
- Date: Mon, 14 Sep 2009 15:00:31 -0700
- Subject: Re: PATCH: PR gas/10637: x86 assembler failed to handle [addr] in Intel mode
- References: <20090914213757.GA30320@lucon.org>
On Mon, Sep 14, 2009 at 2:37 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> In Intel mode, [rax + 0x100] is treated as memory while [0x100] is
> treated as immediate value. ?This patch changes [0x100] to memory.
> I'd like to hear the reason why [0x100] shouldn't be treated as memory.
> If there are no objections, I will check it in tomorrow.
>
This is a regression against binutils 2.19. We used to generate
y.s:3: Warning: Treating `[0xEE000F0]' as memory reference
I am checking in my patch. I don't think the warning is necessary
here.
--
H.J.