56 Commits (0cc57ac7b4c0e48a9e4a99e52538c793f2516f31)

Author SHA1 Message Date
Dan Gohman d9066a87c0 Add support for `__main_argc_argv`. 5 years ago
Dan Gohman 575e1579a4 Update to musl 1.2.0. 5 years ago
Dan Gohman 79a9b40837 Update to musl 1.1.24. 5 years ago
Dan Gohman dd010beea5
Avoid using cast expressions in WASI API constants. (#148) 5 years ago
Sam Clegg f645f498df Update signal macros after upgrade to snapshot1 (#144) 5 years ago
Dan Gohman 410c66070a
Use constructor functions for optional init routines. (#142) 5 years ago
Dan Gohman 446cb3f1aa
Wasi snapshot preview1 (#140) 5 years ago
Dan Gohman 70099d4d1c
Don't link in libpreopen initialization code when it isn't needed. (#127) 5 years ago
Dan Gohman ec4549dabc
Temporarily disable the use of `__heap_base`. (#132) 5 years ago
vms a214f1c0b1 Use __heap_base by dlmalloc (#114) 5 years ago
Dan Gohman a94d2d04e7
Avoid varargs conventions when calling open (#126) 5 years ago
Dan Gohman 7fcc4f29df
Revamp and simplify the libpreopen code. (#110) 5 years ago
Dan Gohman eb7230cf94
Remove more unsupported headers. (#123) 5 years ago
Dan Gohman 8048aeb500
Don't build bind_textdomain_codeset.c (#122) 5 years ago
Dan Gohman afbf94c39e
Call `populate_args` only if we actually need command-line arguments (#112) 5 years ago
Dan Gohman bdfbb54520
Call `populate_environ` only if we actually need environment variables. (#109) 5 years ago
Dan Gohman b59b83cbc2
Miscellaneous cleanups (#113) 5 years ago
Dan Gohman 472b213bb6 Don't define readdir64_r. 5 years ago
Dan Gohman 33e8b5189b Omit musl's stdarg.h and stddef.h from the sysroot. 6 years ago
Sam Clegg c35f0f5dd6 When checking undefined symbol list, ignore certain llvm buildins 5 years ago
Dan Gohman b7ae2fe33b WASI libc's dirent does have t_type, so define _DIRENT_HAVE_D_TYPE. 5 years ago
Dan Gohman d4db3fa212 Update to musl 1.1.23. 5 years ago
Dan Gohman 84a2343ce4 Don't install <sys/xattr.h>, which isn't supported on WASI. 6 years ago
Dan Gohman 0a738e8fd6 Remove more declarations for symbols that aren't defined. 6 years ago
Dan Gohman 6cddc9250b Implement truncate(2). 6 years ago
Dan Gohman 5067fefb25 Implement more functions, remove more unimplemented headers. 6 years ago
Dan Gohman 256081f628 Move the mode_t macros into their own header. 6 years ago
Dan Gohman 861f0d2ec8 Define O_TTY_INIT. 6 years ago
Dan Gohman 288738d194 Use the compiler's real/imag operators instead of union type punning. 6 years ago
Dan Gohman 900b8032b4 Remove __fpclassify and __signbit definitions. 6 years ago
Dan Gohman 1dd59d8506 Use the compiler builtins for isless etc. 6 years ago
Dan Gohman 60cba39d11 Move the SEEK_* macros into their own header and use it from fcntl.h. 6 years ago
Dan Gohman 1db93d1169 Switch from the cloudlibc inet_pton etc. to the musl versions. 6 years ago
Dan Gohman 382b944a2e Rename __wasilibc_rmfileat to __wasilibc_unlinkat. 6 years ago
vms 5ae626e99d delete a space in predefined-macros.txt 6 years ago
vms a64f654488 replace some macros with its builtins analogs 6 years ago
vms 2be6428b21 rename printf_no_Lf to __small_printf 6 years ago
Dan Gohman 51969495ee Define TIME_UTC to be 1. 6 years ago
Dan Gohman 1bdb356bef Define CLOCKS_PER_SEC to have type clock_t. 6 years ago
Dan Gohman cf366c06d1 Optimize lseek in the `tell` case. 6 years ago
Dan Gohman 401012952d Declare getentropy in <sys/random.h> 6 years ago
Dan Gohman 1cbedc6d7e Implement FD_SET, FD_CLR, etc. 6 years ago
Dan Gohman ad03c82d65 Implement reallocarray. 6 years ago
Jakub Konka 5ce487a789 Add missing asctime symbol 6 years ago
Dan Gohman 29d45024c7 Remove the Linux-specific <sys/signalfd.h> header. 6 years ago
Jakub Konka 03a1adbf2b Fixes #20 6 years ago
Dan Gohman f41256b602 Update to musl 1.1.22. 6 years ago
Dan Gohman e18d69c801 Remove socket.c, which was a stub that always failed with ENOSYS. 6 years ago
Dan Gohman 7ba6adfc61 Fix miscellaneous lint warnings. 6 years ago
Dan Gohman 4646d29abc Make basics include guard names more consistent. 6 years ago