ref: 08f54b63417d00eff3ca95469a436888add76741
parent: 3c6c5a02710e4d7a3da6121e9bfb8d2bc0d786dd
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue May 17 15:35:59 EDT 2022
libc: Fix _Exit() in arm and arm64 Long time ago we were using _Exit like the name of the syscall but we moved to use _exit and having a generic wrapper in stdlib.h, but arm and arm64 remained the all names in the syscall and it would drive to an unresolved symbol because _exit was not defined in anyplace for these architectures in linux.
--- a/src/libc/arch/arm/linux/syscall.lst
+++ b/src/libc/arch/arm/linux/syscall.lst
@@ -4,7 +4,7 @@
6 _close
3 _read
4 _write
-1 _Exit
+1 _exit
20 _getpid
37 _kill
19 _lseek
--- a/src/libc/arch/arm64/linux/syscall.lst
+++ b/src/libc/arch/arm64/linux/syscall.lst
@@ -4,7 +4,7 @@
62 _lseek
63 _read
64 _write
-93 _Exit
+93 _exit
129 _kill
134 __sigaction
172 _getpid