mes/lib
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
..
ctype mescc: Mes C Library: Support GNU Awk: Add isgraph. 2019-09-09 18:33:21 +02:00
dirent build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
linux mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-09-09 18:33:25 +02:00
math mescc: Mes C Library: Support gcc-4.6.4: Add labs. 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
posix mescc: Mes C Library: Support GNU Tar: Add execlp. 2019-09-09 18:33:21 +02:00
stdio mescc: Mes C Library: Support gcc-4.6.4: Implement rewind. 2019-09-09 18:33:25 +02:00
stdlib mescc: Mes C Library: Support gcc-4.6.4: atexit: return 0. 2019-09-09 18:33:25 +02:00
string mescc: Mes C Library: Fix compile warnings. 2019-09-09 18:33:14 +02:00
stub mescc: Mes C Library: Support gcc-4.6.4: Implement rewind. 2019-09-09 18:33:25 +02:00
tests mescc: Mes C Library: vfprintf, vsnprintf: Pad floats with space. 2019-09-09 18:33:24 +02:00
x86-mes mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-09-09 18:33:25 +02:00
x86-mes-gcc porting: Add x86 scaffold: exit and write in assembly. 2019-06-13 14:19:59 +02:00
x86-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
x86_64-mes mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-09-09 18:33:25 +02:00
x86_64-mes-gcc porting: Add x86_64 scaffold: exit and write in assembly. 2019-06-23 21:23:34 +02:00
x86_64-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
libtcc1.c mescc: Support tcc: libtcc1 build fixes. 2019-07-23 20:38:29 +02:00