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/i386/sysdep.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'libc/sysdeps/linux/i386/sysdep.h') diff --git a/libc/sysdeps/linux/i386/sysdep.h b/libc/sysdeps/linux/i386/sysdep.h index 79e53a1c6..c15c1b494 100644 --- a/libc/sysdeps/linux/i386/sysdep.h +++ b/libc/sysdeps/linux/i386/sysdep.h @@ -186,17 +186,7 @@ __x86.get_pc_thunk.reg: \ # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ #else -# ifdef RTLD_PRIVATE_ERRNO -# define SYSCALL_ERROR_HANDLER \ -0:SETUP_PIC_REG(cx); \ - addl $_GLOBAL_OFFSET_TABLE_, %ecx; \ - xorl %edx, %edx; \ - subl %eax, %edx; \ - movl %edx, rtld_errno@GOTOFF(%ecx); \ - orl $-1, %eax; \ - jmp L(pseudo_end); - -# elif defined _LIBC_REENTRANT +# if defined _LIBC_REENTRANT # if defined USE___THREAD # ifndef NOT_IN_libc -- cgit v1.2.3