From 76fab7ab177dc5b519f16aabb484831a0b396f6c Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 2 Nov 2008 20:40:16 -0800 Subject: [PATCH] doc: minor edit to the TLS documentation examples. Minimize the TLS documentation examples (we don't need "dword" in a mov from ebx, for example.) This is just to avoid user confusion. Signed-off-by: H. Peter Anvin --- doc/nasmdoc.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index a79a3184..14ec2c10 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -5404,7 +5404,7 @@ offset of the symbol within the TLS block, so you can access the value of the symbol with code such as: \c mov eax,[tid wrt ..tlsie] -\c mov dword [gs:eax],ebx +\c mov [gs:eax],ebx \b In ELF64 mode, referring to an external or global symbol using @@ -5414,7 +5414,7 @@ offset of the symbol within the TLS block, so you can access the value of the symbol with code such as: \c mov rax,[rel tid wrt ..gottpoff] -\c mov rcx, [fs:rax] +\c mov rcx,[fs:rax] \S{elfglob} \c{elf} Extensions to the \c{GLOBAL} Directive\I{GLOBAL, -- 2.11.4.GIT