mes/lib/stub
Jan (janneke) Nieuwenhuizen 96e6ecaf7d
core: Add abort.
* lib/stub/__raise.c: New file.
* kaem.run: Use it.
* src/posix.c (__raise)[SYSTEM_LIBC]: New macro.
 (abort_): New function: possibly use it.
* include/mes/builtins.h: Declare it.
* src/builtins.c (mes_builtins): Register it.
2019-11-10 16:04:25 +01:00
..
__cleanup.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
__raise.c core: Add abort. 2019-11-10 16:04:25 +01:00
_getcwd.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
_open3.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
access.c mescc: Mes C Library: Fix access stub. 2019-12-13 21:52:31 +01:00
atan2.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
brk.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
bsearch.c build: Simplify. 2019-06-08 15:36:22 +02:00
chmod.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
chown.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
clock_gettime.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
close.c hurd: Add stubs for missing libc+tcc functions. 2019-12-13 21:52:30 +01:00
cos.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
ctime.c mescc: Mes C Library: Support gcc-4.6.4: Fix ctime stub. 2019-11-23 21:35:05 +01:00
dup.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
dup2.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
execve.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
exp.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
fork.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
fpurge.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
freadahead.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
frexp.c mescc: Mes C Library: Fix compile warnings. 2019-06-12 15:59:06 +02:00
getgrgid.c build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
getgrnam.c build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
getlogin.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
getpgid.c build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
getpgrp.c build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
getpwnam.c mescc: Mes C Library: Support GNU Tar: Fix getpwnam, getpwuid stubs. 2019-07-31 12:25:43 +02:00
getpwuid.c mescc: Mes C Library: Support GNU Tar: Fix getpwnam, getpwuid stubs. 2019-07-31 12:25:43 +02:00
gettimeofday.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
gmtime.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
ioctl.c Mes C Library: m2/ioctl.c: Remove specialization. 2020-12-29 18:41:45 +01:00
ioctl3.c Mes C Library: m2/ioctl.c: Remove specialization. 2020-12-29 18:41:45 +01:00
ldexp.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
localtime.c mescc: Mes C Library: Support GNU Tar: Add mktime stub, fix localtime stub. 2019-07-15 11:58:21 +02:00
log.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
lseek.c hurd: Add stubs for missing libmes functions. 2019-12-13 21:52:30 +01:00
mktime.c build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
modf.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
mprotect.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
pclose.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
popen.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
pow.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
rand.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
rewind.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
rmdir.c hurd: Add stubs for missing libc+tcc functions. 2019-12-13 21:52:30 +01:00
setbuf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
setgrent.c build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
setlocale.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
setvbuf.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
sigaction.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
sigaddset.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
sigblock.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
sigdelset.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
sigemptyset.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
sigsetmask.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
sin.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
sqrt.c mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
stat.c hurd: Add stubs for missing libc+tcc functions. 2019-12-13 21:52:30 +01:00
strftime.c build: Simplify. 2019-06-08 15:36:22 +02:00
sys_siglist.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
system.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
time.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
times.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ttyname.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
umask.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
unlink.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
utime.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
waitpid.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00