wasi-libc/libc-bottom-half/sources
Dan Gohman 410c66070a
Use constructor functions for optional init routines. (#142)
* Use constructor functions for optional init routines.

Instead of using weak symbols, use constructor function attributes for the
environment and preopen initialization routines. This is simpler, uses
less code, and is more LTO-friendly.

* Change the constructor priorities to start at 50.

We don't currently have specific plans for other levels in the reserved
range (0-100), so leave room for both lower and higher priorities.
2019-11-25 14:04:45 -08:00
..
__environ.c Use constructor functions for optional init routines. (#142) 2019-11-25 14:04:45 -08:00
__original_main.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
__wasilibc_fd_renumber.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
__wasilibc_rmdirat.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
__wasilibc_tell.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
__wasilibc_unlinkat.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
errno.c Use consistent style for wasi-libc C source files. (#131) 2019-11-08 11:59:57 -08:00
getentropy.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
isatty.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
LICENSE WASI libc prototype implementation. 2019-03-27 07:59:55 -07:00
pause.c Wasi snapshot preview1 (#140) 2019-11-21 20:06:00 -08:00
sbrk.c Use consistent style for wasi-libc C source files. (#131) 2019-11-08 11:59:57 -08:00
string.c Use the same indentation style as surrounding code. 2019-04-15 09:47:16 -07:00
truncate.c Avoid varargs conventions when calling open (#126) 2019-11-04 16:37:45 -08:00