summaryrefslogtreecommitdiff
path: root/src/arch-x32-syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch-x32-syscalls.c')
-rw-r--r--src/arch-x32-syscalls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch-x32-syscalls.c b/src/arch-x32-syscalls.c
index a0b4247..66a58a1 100644
--- a/src/arch-x32-syscalls.c
+++ b/src/arch-x32-syscalls.c
@@ -26,7 +26,7 @@
#include "arch.h"
#include "arch-x32.h"
-/* NOTE: based on Linux 3.19 */
+/* NOTE: based on Linux 4.2-rc5 */
const struct arch_syscall_def x32_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", __PNR__newselect },
@@ -387,6 +387,7 @@ const struct arch_syscall_def x32_syscall_table[] = { \
{ "swapcontext", __PNR_swapcontext },
{ "swapoff", (X32_SYSCALL_BIT + 168) },
{ "swapon", (X32_SYSCALL_BIT + 167) },
+ { "switch_endian", __PNR_switch_endian },
{ "symlink", (X32_SYSCALL_BIT + 88) },
{ "symlinkat", (X32_SYSCALL_BIT + 266) },
{ "sync", (X32_SYSCALL_BIT + 162) },