commit | 9e892499d9cb5f42ee44cfb3544441baf26c2ac0 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Apr 08 16:32:25 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Mon Apr 08 16:32:25 2024 +0000 |
tree | 0d802fa11b9a72cca466dd70706c3720c4cf6622 | |
parent | b97459693eefb6c8e39e560cd1febef6177afd82 [diff] [blame] |
riscv64: use L() in the handful of places we didn't already. Change-Id: If34ae7a0eb3f7d0bd84018de4b987fd437decf58
diff --git a/libc/arch-riscv64/bionic/syscall.S b/libc/arch-riscv64/bionic/syscall.S index 1a6e60a..ca735c7 100644 --- a/libc/arch-riscv64/bionic/syscall.S +++ b/libc/arch-riscv64/bionic/syscall.S
@@ -44,10 +44,10 @@ // Did it fail? li a7, -MAX_ERRNO - bgtu a0, a7, 1f - + bgtu a0, a7, L(failure) ret -1: + +L(failure): neg a0, a0 tail __set_errno_internal END(syscall)