summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/bits/syscalls.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-05-23 00:47:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-05-24 20:44:04 +0200
commit228f76d4dfe9a8a9b50e4c5ac8161a991fc8107c (patch)
treef739b8221a0392b73e8696d080c3bfc87c397b49 /libc/sysdeps/linux/sparc/bits/syscalls.h
parent383122dd2e2fb78854ed420c5e819a3007b4f256 (diff)
sparc: cleanup sparc64 bits and unused soft-fp
Remove a lot of unused 64 Bit header stuff.
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/sparc/bits/syscalls.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/syscalls.h b/libc/sysdeps/linux/sparc/bits/syscalls.h
index 948c2fa3e..75af7a157 100644
--- a/libc/sysdeps/linux/sparc/bits/syscalls.h
+++ b/libc/sysdeps/linux/sparc/bits/syscalls.h
@@ -4,25 +4,14 @@
# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
-#include <bits/wordsize.h>
-
#ifndef __ASSEMBLER__
-#if __WORDSIZE == 32
-# define __SYSCALL_STRING \
+#define __SYSCALL_STRING \
"t 0x10\n\t" \
"bcc 1f\n\t" \
"mov %%o0, %0\n\t" \
"sub %%g0, %%o0, %0\n\t" \
"1:\n\t"
-#elif __WORDSIZE == 64
-# define __SYSCALL_STRING \
- "t 0x6d\n\t" \
- "sub %%g0, %%o0, %0\n\t" \
- "movcc %%xcc, %%o0, %0\n\t"
-#else
-# error unknown __WORDSIZE
-#endif
#define __SYSCALL_CLOBBERS "cc", "memory"