From d1bf524bae265e54d7695019d23e7416507bbe24 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 26 Jul 2016 22:39:39 +0200 Subject: remove unused code, RTLD_PRIVATE_ERRNO is never defined --- libc/sysdeps/linux/x86_64/sysdep.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libc/sysdeps/linux/x86_64') 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 -- cgit v1.2.3