mes/lib/linux
Jan Nieuwenhuizen 0f7af7ac61
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/gnu.c (mmap, munmap): New function.
* 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.
2019-02-10 19:29:52 +01:00
..
x86-mes mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
x86-mes-gcc mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
x86_64-mes mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
x86_64-mes-gcc mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
clock_gettime.c core: Support time functions. 2018-10-20 14:18:04 +02:00
gettimeofday.c core: String as array of bytes. 2018-11-11 16:25:36 +01:00
gnu.c mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
libc-mini.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
libc.c mescc: Mes C Library: Support GNU Sed: Fix ungetc. 2019-02-08 19:34:47 +01:00
tcc.c mescc: Mes C Library: Support GNU Sed: Fix ungetc. 2019-02-08 19:34:47 +01:00
time.c core: Support time functions. 2018-10-20 14:18:04 +02:00