mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 08:11:08 +00:00
2002-10-11 Roland McGrath <roland@redhat.com>
* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the proper set of no-op insn prefixes.
This commit is contained in:
parent
c29defa319
commit
cfd8a63a1d
@ -122,8 +122,10 @@
|
||||
|
||||
# define TLS_GD(x) \
|
||||
({ int *__l, __c, __d; \
|
||||
asm (".long 0x66666666\n\t" \
|
||||
asm (".byte 0x66\n\t" \
|
||||
"leaq " #x "@tlsgd(%%rip),%%rdi\n\t" \
|
||||
".word 0x6666\n\t" \
|
||||
"rex64\n\t" \
|
||||
"call __tls_get_addr@plt" \
|
||||
: "=a" (__l), "=&c" (__c), "=&d" (__d) \
|
||||
: : "rdi", "rsi", "r8", "r9", "r10", "r11"); \
|
||||
|
Loading…
Reference in New Issue
Block a user