diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-26 22:39:39 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-31 12:50:54 +0200 |
commit | d1bf524bae265e54d7695019d23e7416507bbe24 (patch) | |
tree | e6e775386eca00c65a3592f1dcbda911fa81761f /libc/sysdeps/linux/metag | |
parent | acc7443a4feb0aa098f12207f2da44c21d382e66 (diff) |
remove unused code, RTLD_PRIVATE_ERRNO is never defined
Diffstat (limited to 'libc/sysdeps/linux/metag')
-rw-r--r-- | libc/sysdeps/linux/metag/sysdep.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/metag/sysdep.h b/libc/sysdeps/linux/metag/sysdep.h index 8750641b6..3af7131c9 100644 --- a/libc/sysdeps/linux/metag/sysdep.h +++ b/libc/sysdeps/linux/metag/sysdep.h @@ -24,16 +24,6 @@ #if defined NOT_IN_libc # define SYSCALL_ERROR __local_syscall_error -# ifdef RTLD_PRIVATE_ERRNO -# define SYSCALL_ERROR_HANDLER \ -__local_syscall_error: \ - NEG D0Re0, D0Re0; \ - ADDT D1Re0, CPC1, #HI(_rtld_errno); \ - ADD D1Re0, D1Re0, #LO(_rtld_errno) + 4; \ - SETD [D1Re0], D0Re0; \ - NEG D0Re0, #0x1; \ - MOV PC, D1RtP; -# else # define SYSCALL_ERROR_HANDLER \ __local_syscall_error: \ MOV D1Re0, D1RtP; \ @@ -46,7 +36,6 @@ __local_syscall_error: \ GETD D1RtP, [A0StP+#-4]; \ SUB A0StP, A0StP, #0x8; \ MOV PC, D1RtP; -# endif #else # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ # define SYSCALL_ERROR ___syscall_error |