summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-26 22:39:39 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-31 12:50:54 +0200
commitd1bf524bae265e54d7695019d23e7416507bbe24 (patch)
treee6e775386eca00c65a3592f1dcbda911fa81761f /libc/sysdeps/linux/x86_64
parentacc7443a4feb0aa098f12207f2da44c21d382e66 (diff)
remove unused code, RTLD_PRIVATE_ERRNO is never defined
Diffstat (limited to 'libc/sysdeps/linux/x86_64')
-rw-r--r--libc/sysdeps/linux/x86_64/sysdep.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/x86_64/sysdep.h b/libc/sysdeps/linux/x86_64/sysdep.h
index a5971d7fa..61d2be8e4 100644
--- a/libc/sysdeps/linux/x86_64/sysdep.h
+++ b/libc/sysdeps/linux/x86_64/sysdep.h
@@ -167,15 +167,6 @@ lose: \
# ifndef __PIC__
# define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
-# elif defined(RTLD_PRIVATE_ERRNO)
-# define SYSCALL_ERROR_HANDLER \
-0: \
- leaq rtld_errno(%rip), %rcx; \
- xorl %edx, %edx; \
- subq %rax, %rdx; \
- movl %edx, (%rcx); \
- orq $-1, %rax; \
- jmp L(pseudo_end);
# elif USE___THREAD
# ifndef NOT_IN_libc
# define SYSCALL_ERROR_ERRNO __libc_errno