mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-19 18:00:23 +08:00
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>
This commit is contained in:
parent
81afb49809
commit
76fab7ab17
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user