mes/include
Jan Nieuwenhuizen bf670b2c73
mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap.
* include/linux/x86/syscall.h (SYS_mmap, SYS_munmap): New macro.
* include/linux/x86_64/syscall.h (SYS_mmap, SYS_munmap): New macro.
* include/sys/mman.h (MAP_SHARED, MAP_PRIVATE, MAP_ANONYMOUS,
MAP_POPULATE, MAP_ANON, MAP_FAILED): New macro.
(mmap, munmap): Declare.
* lib/linux/x86-mes-gcc/mes.c (_sys_call6): New function.
* lib/linux/x86-mes/mes.c (__sys_call6): New function.
(_sys_call6): New function.
* lib/linux/x86_64-mes-gcc/mes.c (_sys_call6): New function.
* lib/linux/x86_64-mes/mes.c (__sys_call): Cater for 6 syscall parameters.
(_sys_call6): New function.
* lib/x86-mes/x86.M1 (pop____%ebp): New macro.
* lib/x86_64-mes/x86_64.M1 (mov____0x8(%rbp),%r9): New macro.
* lib/linux/mmap.c: New file.
* lib/linux/munmap.c: New file.
* build-aux/configure-lib.sh (libc_gnu_SOURCES): Add them.
2019-09-09 18:33:25 +02:00
..
linux mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-09-09 18:33:25 +02:00
mes mescc: Mes C Library: Support GNU Awk: Add dtoab, %f in vfprintf, vsnprintf. 2019-09-09 18:33:22 +02:00
sys mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-09-09 18:33:25 +02:00
alloca.h mescc: Mes C Library: Avoid type/size_t conflicts. 2019-06-01 08:44:18 +02:00
ar.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argz.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
assert.h build: Simplify. 2019-06-08 15:36:22 +02:00
ctype.h mescc: Mes C Library: Support GNU Awk: Do not flush std files. 2019-09-09 18:33:21 +02:00
dirent.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirstream.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
dlfcn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
endian.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
errno.h mescc: Mes C Library: Support GNU Tar: Add missing defines. 2019-09-09 18:33:22 +02:00
fcntl.h mescc: Mes C Library: Support GNU Tar: Add creat, mknod. 2019-09-09 18:33:22 +02:00
features.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
float.h mescc: Mes C Library: Support gcc-4.6.4: Add float macros. 2019-09-09 18:33:24 +02:00
getopt.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
grp.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
inttypes.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
libgen.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
limits.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
locale.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
math.h mescc: Mes C Library: Support gcc-4.6.4: Add labs. 2019-09-09 18:33:25 +02:00
memory.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
pwd.h build: Simplify. 2019-06-08 15:36:22 +02:00
setjmp.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
signal.h Fix "struct sigaction" structure for rt_sigaction. 2019-09-09 16:04:14 +02:00
stdarg.h mescc: Mes C Library: Support gcc-4.6.4: Add fscanf, vfscanf. 2019-09-09 18:33:24 +02:00
stdbool.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stddef.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdint.h mescc: Mes C Library: Support gcc-4.6.4: Add SSIZE_MAX macro. 2019-09-09 18:33:24 +02:00
stdio.h mescc: Mes C Library: Support gcc-4.6.4: Implement rewind. 2019-09-09 18:33:25 +02:00
stdlib.h mescc: Mes C Library: Fix compile warnings. 2019-09-09 18:33:14 +02:00
stdnoreturn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
string.h build: Simplify. 2019-06-08 15:36:22 +02:00
strings.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
termio.h mescc: Mes C Library: Support GNU Bash: Add struct winsize. 2019-09-09 18:33:22 +02:00
time.h mescc: Mes C Library: Support gcc-4.6.4: Add asctime stub. 2019-09-09 18:33:25 +02:00
unistd.h mescc: Mes C Library: Support GNU Awk: Add getpgid, getpgrp stubs. 2019-09-09 18:33:23 +02:00