summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/i386/tls.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-12-29 09:19:59 +0000
committerRoland McGrath <roland@gnu.org>2004-12-29 09:19:59 +0000
commit525077e9f6a100e0d90af45f023dfb478a13ba8e (patch)
tree9309b31cfc81c1d691c2af5ff7648f4baa6842ff /nptl/sysdeps/i386/tls.h
parent7d58530341304d403a6626d7f7a1913165fe2f32 (diff)
2004-12-19 Roland McGrath <roland@frob.com>
* gen-unicode-ctype.c (output_tables): Fix email address in output.
Diffstat (limited to 'nptl/sysdeps/i386/tls.h')
-rw-r--r--nptl/sysdeps/i386/tls.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/nptl/sysdeps/i386/tls.h b/nptl/sysdeps/i386/tls.h
index 945a4c71d6..18b038f93e 100644
--- a/nptl/sysdeps/i386/tls.h
+++ b/nptl/sysdeps/i386/tls.h
@@ -397,12 +397,9 @@ union user_desc_init
#define CALL_THREAD_FCT(descr) \
({ void *__res; \
int __ignore1, __ignore2; \
- asm volatile ("pushl %%eax\n\t" \
- "pushl %%eax\n\t" \
- "pushl %%eax\n\t" \
- "pushl %%gs:%P4\n\t" \
+ asm volatile ("pushl %%gs:%P4\n\t" \
"call *%%gs:%P3\n\t" \
- "addl $16, %%esp" \
+ "addl $4, %%esp" \
: "=a" (__res), "=c" (__ignore1), "=d" (__ignore2) \
: "i" (offsetof (struct pthread, start_routine)), \
"i" (offsetof (struct pthread, arg))); \