diff options
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/aarch64/sysdep.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/i386/sysdep.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/sh/sysdep.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/sysdep.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/xtensa/sysdep.h | 4 |
5 files changed, 0 insertions, 20 deletions
diff --git a/libc/sysdeps/linux/aarch64/sysdep.h b/libc/sysdeps/linux/aarch64/sysdep.h index 82790be6d..177b0f15f 100644 --- a/libc/sysdeps/linux/aarch64/sysdep.h +++ b/libc/sysdeps/linux/aarch64/sysdep.h @@ -114,11 +114,7 @@ END (name) #if defined _LIBC_REENTRANT # if defined USE___THREAD -# ifndef NOT_IN_libc -# define SYSCALL_ERROR_ERRNO __libc_errno -# else # define SYSCALL_ERROR_ERRNO errno -# endif # endif #endif diff --git a/libc/sysdeps/linux/i386/sysdep.h b/libc/sysdeps/linux/i386/sysdep.h index c15c1b494..0866894c3 100644 --- a/libc/sysdeps/linux/i386/sysdep.h +++ b/libc/sysdeps/linux/i386/sysdep.h @@ -189,11 +189,7 @@ __x86.get_pc_thunk.reg: \ # if defined _LIBC_REENTRANT # if defined USE___THREAD -# ifndef NOT_IN_libc -# define SYSCALL_ERROR_ERRNO __libc_errno -# else # define SYSCALL_ERROR_ERRNO errno -# endif # define SYSCALL_ERROR_HANDLER \ 0:SETUP_PIC_REG (cx); \ addl $_GLOBAL_OFFSET_TABLE_, %ecx; \ diff --git a/libc/sysdeps/linux/sh/sysdep.h b/libc/sysdeps/linux/sh/sysdep.h index 56fa3f7b1..42dc00e34 100644 --- a/libc/sysdeps/linux/sh/sysdep.h +++ b/libc/sysdeps/linux/sh/sysdep.h @@ -134,11 +134,7 @@ # if defined USE___THREAD -# ifndef NOT_IN_libc -# define SYSCALL_ERROR_ERRNO __libc_errno -# else # define SYSCALL_ERROR_ERRNO errno -# endif # define SYSCALL_ERROR_HANDLER \ neg r0,r1; \ mov r12,r2; \ diff --git a/libc/sysdeps/linux/x86_64/sysdep.h b/libc/sysdeps/linux/x86_64/sysdep.h index 61d2be8e4..34c04351b 100644 --- a/libc/sysdeps/linux/x86_64/sysdep.h +++ b/libc/sysdeps/linux/x86_64/sysdep.h @@ -168,11 +168,7 @@ lose: \ # ifndef __PIC__ # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ # elif USE___THREAD -# ifndef NOT_IN_libc -# define SYSCALL_ERROR_ERRNO __libc_errno -# else # define SYSCALL_ERROR_ERRNO errno -# endif # define SYSCALL_ERROR_HANDLER \ 0: \ movq SYSCALL_ERROR_ERRNO@GOTTPOFF(%rip), %rcx;\ diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h index 8d1bfcfdf..0671f0783 100644 --- a/libc/sysdeps/linux/xtensa/sysdep.h +++ b/libc/sysdeps/linux/xtensa/sysdep.h @@ -150,11 +150,7 @@ #if defined _LIBC_REENTRANT # if defined USE___THREAD -# ifndef NOT_IN_libc -# define SYSCALL_ERROR_ERRNO __libc_errno -# else # define SYSCALL_ERROR_ERRNO errno -# endif # define SYSCALL_ERROR_HANDLER \ 0: rur a4, THREADPTR; \ movi a3, SYSCALL_ERROR_ERRNO@TPOFF; \ |