This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: fs register syntax bug?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Quentin Neill <quentin dot neill dot gnu at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 26 Feb 2010 14:51:20 -0800
- Subject: Re: fs register syntax bug?
- References: <1e2421411002261408i4b43d81dt801cada51da5d998@mail.gmail.com>
On Fri, Feb 26, 2010 at 2:08 PM, Quentin Neill
<quentin.neill.gnu@gmail.com> wrote:
> I have some old test code using the FS segment register that used to
> assemble but now doesn't:
>
> === Code:
> .intel_syntax noprefix
> ? ?mov rdi, qword [fs:rsp + rbp + 0x040000000]
>
>
I think this code is invalid. You should use
mov rdi, qword ptr fs:[rsp + rbp + 0x040000000]
--
H.J.