projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29defa
)
2002-10-11 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Fri, 11 Oct 2002 09:17:49 +0000
(09:17 +0000)
committer
Roland McGrath
<roland@gnu.org>
Fri, 11 Oct 2002 09:17:49 +0000
(09:17 +0000)
* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
proper set of no-op insn prefixes.
elf/tls-macros.h
patch
|
blob
|
history
diff --git
a/elf/tls-macros.h
b/elf/tls-macros.h
index 846da91080d9df166c3580fb21885862e3b20088..e8ed56c996181ad788f8d902c10cfcf3ca40b75e 100644
(file)
--- a/
elf/tls-macros.h
+++ b/
elf/tls-macros.h
@@
-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"); \