summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-02 20:40:16 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-11-02 20:40:16 -0800
commit76fab7ab177dc5b519f16aabb484831a0b396f6c (patch)
tree278214353b22cc77f1b48cd3cfc2409d58e6862f
parent81afb49809eb4edb7701bed82a8adc64f4bd5bd2 (diff)
downloadnasm-76fab7ab177dc5b519f16aabb484831a0b396f6c.tar.gz
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 <hpa@zytor.com>
-rw-r--r--doc/nasmdoc.src4
1 files 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,