summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nds32/bits/syscalls.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-16 10:03:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-18 04:55:05 +0200
commit74d159ff1283d0e29f02377c351c9cf71e8f5d33 (patch)
tree3fb6e73e7073c4be672cb1370b160e72064b08fe /libc/sysdeps/linux/nds32/bits/syscalls.h
parent1e704165de08072edd3a4d891f371bf4ae5e9f03 (diff)
Revert "nds32: sync with binutils 2.37, gcc 11.2 and linux 5.10.93 changes"
This reverts commit 6b6f51c21dd29685bd1339de0bdffc0929316c63.
Diffstat (limited to 'libc/sysdeps/linux/nds32/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/nds32/bits/syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/nds32/bits/syscalls.h b/libc/sysdeps/linux/nds32/bits/syscalls.h
index 50e30db7d..a5cdda18a 100644
--- a/libc/sysdeps/linux/nds32/bits/syscalls.h
+++ b/libc/sysdeps/linux/nds32/bits/syscalls.h
@@ -37,7 +37,8 @@
#define Y(x) X(x)
#define LIB_SYSCALL __NR_syscall
-#define __issue_syscall(syscall_name) "syscall 0x0;\n"
+#define __issue_syscall(syscall_name) \
+" syscall " Y(syscall_name) "; \n"
#undef INTERNAL_SYSCALL_ERROR_P
#define INTERNAL_SYSCALL_ERROR_P(val, err) ((unsigned int) (val) >= 0xfffff001u)