summaryrefslogtreecommitdiff
path: root/arch/x32/bits
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-05-12 00:30:51 -0500
committerBobby Bingham <koorogi@koorogi.info>2016-05-12 00:30:51 -0500
commit622fe8b5cf15858b6cbb8346fb3d7c388f635849 (patch)
treee9e7848d89349a76cd84258b4689cf88f2a3a9e3 /arch/x32/bits
parent49631b7b6c8b8c055aae5b6948930c219b95fdef (diff)
downloadmusl-622fe8b5cf15858b6cbb8346fb3d7c388f635849.tar.gz
x32: remove arch-specific syscall remapping
These system calls are already all remapped in an arch-agnostic manner in src/internal/syscall.h
Diffstat (limited to 'arch/x32/bits')
-rw-r--r--arch/x32/bits/syscall.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h
index bd5ab3b4..654dfcdf 100644
--- a/arch/x32/bits/syscall.h
+++ b/arch/x32/bits/syscall.h
@@ -317,16 +317,6 @@
#define __NR_io_submit (__X32_SYSCALL_BIT + 544)
#define __NR_execveat (__X32_SYSCALL_BIT + 545)
-#undef __NR_fstatat
-#undef __NR_pread
-#undef __NR_pwrite
-#undef __NR_getdents
-#define __NR_fstatat __NR_newfstatat
-#define __NR_pread __NR_pread64
-#define __NR_pwrite __NR_pwrite64
-#define __NR_getdents __NR_getdents64
-#define __NR_fadvise __NR_fadvise64
-
/* Repeat with SYS_ prefix */
@@ -651,13 +641,3 @@
#define SYS_io_setup __NR_io_setup
#define SYS_io_submit __NR_io_submit
#define SYS_execveat __NR_execveat
-
-#undef SYS_fstatat
-#undef SYS_pread
-#undef SYS_pwrite
-#undef SYS_getdents
-#define SYS_fstatat SYS_newfstatat
-#define SYS_pread SYS_pread64
-#define SYS_pwrite SYS_pwrite64
-#define SYS_getdents SYS_getdents64
-#define SYS_fadvise SYS_fadvise64