diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-07-05 22:49:41 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-07-05 22:49:41 +0200 |
commit | 482d023e516bc88a10d8ab31f389f2b47b1a71d1 (patch) | |
tree | 58debda064ace5716fe1f23abd9b1d29b4f4bf7b /libpthread/nptl/sysdeps/x86_64 | |
parent | dc7ad97385c940c0a0d67b924c1b78159da5549d (diff) |
Remove CALL_THREAD_FCT macro
Following glibc commit a358c805300e358e30d4788a6f19c69988623a5c
Diffstat (limited to 'libpthread/nptl/sysdeps/x86_64')
-rw-r--r-- | libpthread/nptl/sysdeps/x86_64/tls.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libpthread/nptl/sysdeps/x86_64/tls.h b/libpthread/nptl/sysdeps/x86_64/tls.h index b450c1745..d8b82ede9 100644 --- a/libpthread/nptl/sysdeps/x86_64/tls.h +++ b/libpthread/nptl/sysdeps/x86_64/tls.h @@ -349,18 +349,6 @@ typedef struct abort (); }) -# define CALL_THREAD_FCT(descr) \ - ({ void *__res; \ - __asm__ __volatile__ ("movq %%fs:%P2, %%rdi\n\t" \ - "callq *%%fs:%P1" \ - : "=a" (__res) \ - : "i" (offsetof (struct pthread, start_routine)), \ - "i" (offsetof (struct pthread, arg)) \ - : "di", "si", "cx", "dx", "r8", "r9", "r10", "r11", \ - "memory", "cc"); \ - __res; }) - - /* Set the stack guard field in TCB head. */ # define THREAD_SET_STACK_GUARD(value) \ THREAD_SETMEM (THREAD_SELF, header.stack_guard, value) |