aboutsummaryrefslogtreecommitdiffstats
path: root/man2/syscall.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-09-09 10:50:11 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-09-10 12:45:14 +0200
commitfec82988e77c9de130d01c59b474e10fa21261cc (patch)
tree660dc43f87a7f4df56d80328e77ae17d5590f936 /man2/syscall.2
parentb5e1b804f95e37de584edd7a9d4093d17174873f (diff)
downloadman-pages-fec82988e77c9de130d01c59b474e10fa21261cc.tar.gz
syscall.2: Update name of syscall instruction for riscv
As reported by Florin: In the first table, for the riscv Arch/ABI, the instruction should be ecall instead of scall. According the official manual, the instruction has been renamed. https://content.riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf "The SCALL and SBREAK instructions have been renamed to ECALL and EBREAK, respectively. Their encoding and functionality are unchanged." Reported-by: Florin Blanaru <florin.blanaru96@gmail.com> Reviewed-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/syscall.2')
-rw-r--r--man2/syscall.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/syscall.2 b/man2/syscall.2
index 77e6bccddd..33e5ea6558 100644
--- a/man2/syscall.2
+++ b/man2/syscall.2
@@ -196,7 +196,7 @@ mips syscall v0 v0 v1 a3 1, 6
nios2 trap r2 r2 - r7
parisc ble 0x100(%sr2, %r0) r20 r28 - -
powerpc sc r0 r3 - r0 1
-riscv scall a7 a0 a1 -
+riscv ecall a7 a0 a1 -
s390 svc 0 r1 r2 r3 - 3
s390x svc 0 r1 r2 r3 - 3
superh trap #0x17 r3 r0 r1 - 4, 6