summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/i386/tls.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-07-05 22:49:41 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-07-05 22:49:41 +0200
commit482d023e516bc88a10d8ab31f389f2b47b1a71d1 (patch)
tree58debda064ace5716fe1f23abd9b1d29b4f4bf7b /libpthread/nptl/sysdeps/i386/tls.h
parentdc7ad97385c940c0a0d67b924c1b78159da5549d (diff)
Remove CALL_THREAD_FCT macro
Following glibc commit a358c805300e358e30d4788a6f19c69988623a5c
Diffstat (limited to 'libpthread/nptl/sysdeps/i386/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/i386/tls.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libpthread/nptl/sysdeps/i386/tls.h b/libpthread/nptl/sysdeps/i386/tls.h
index f283a40f0..17c80e5fc 100644
--- a/libpthread/nptl/sysdeps/i386/tls.h
+++ b/libpthread/nptl/sysdeps/i386/tls.h
@@ -422,22 +422,6 @@ union user_desc_init
abort (); })
-/* Call the user-provided thread function. */
-#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" \
- "call *%%gs:%P3\n\t" \
- "addl $16, %%esp" \
- : "=a" (__res), "=c" (__ignore1), "=d" (__ignore2) \
- : "i" (offsetof (struct pthread, start_routine)), \
- "i" (offsetof (struct pthread, arg))); \
- __res; })
-
-
/* Set the stack guard field in TCB head. */
#define THREAD_SET_STACK_GUARD(value) \
THREAD_SETMEM (THREAD_SELF, header.stack_guard, value)