diff options
Diffstat (limited to '')
-rw-r--r-- | expected/wasm32-wasip1-threads/defined-symbols.txt (renamed from expected/wasm32-wasi-threads/defined-symbols.txt) | 8 | ||||
-rw-r--r-- | expected/wasm32-wasip1-threads/include-all.c (renamed from expected/wasm32-wasi-threads/include-all.c) | 3 | ||||
-rw-r--r-- | expected/wasm32-wasip1-threads/predefined-macros.txt (renamed from expected/wasm32-wasi-threads/predefined-macros.txt) | 27 | ||||
-rw-r--r-- | expected/wasm32-wasip1-threads/undefined-symbols.txt (renamed from expected/wasm32-wasi-threads/undefined-symbols.txt) | 1 | ||||
-rw-r--r-- | expected/wasm32-wasip1/defined-symbols.txt (renamed from expected/wasm32-wasi/defined-symbols.txt) | 7 | ||||
-rw-r--r-- | expected/wasm32-wasip1/include-all.c (renamed from expected/wasm32-wasi/include-all.c) | 3 | ||||
-rw-r--r-- | expected/wasm32-wasip1/predefined-macros.txt (renamed from expected/wasm32-wasi/predefined-macros.txt) | 27 | ||||
-rw-r--r-- | expected/wasm32-wasip1/undefined-symbols.txt (renamed from expected/wasm32-wasi/undefined-symbols.txt) | 1 |
8 files changed, 73 insertions, 4 deletions
diff --git a/expected/wasm32-wasi-threads/defined-symbols.txt b/expected/wasm32-wasip1-threads/defined-symbols.txt index c913f16..ea52ecc 100644 --- a/expected/wasm32-wasi-threads/defined-symbols.txt +++ b/expected/wasm32-wasip1-threads/defined-symbols.txt @@ -395,6 +395,7 @@ __wasilibc_pthread_self __wasilibc_register_preopened_fd __wasilibc_rename_newat __wasilibc_rename_oldat +__wasilibc_reset_preopens __wasilibc_rmdirat __wasilibc_stat __wasilibc_tell @@ -511,6 +512,7 @@ cexp cexpf cexpl chdir +chmod cimag cimagf cimagl @@ -607,6 +609,8 @@ fabs fabsf fabsl faccessat +fchmod +fchmodat fclose fcntl fcvt @@ -702,6 +706,7 @@ fsetpos fsetpos64 fstat fstatat +fstatvfs fsync ftell ftello @@ -1006,6 +1011,7 @@ pthread_condattr_setpshared pthread_create pthread_detach pthread_equal +pthread_getattr_np pthread_getspecific pthread_join pthread_key_create @@ -1080,6 +1086,7 @@ readlinkat readv realloc reallocarray +realpath recv regcomp regerror @@ -1162,6 +1169,7 @@ srand48 srandom sscanf stat +statvfs stderr stdin stdout diff --git a/expected/wasm32-wasi-threads/include-all.c b/expected/wasm32-wasip1-threads/include-all.c index 0b43b07..5073374 100644 --- a/expected/wasm32-wasi-threads/include-all.c +++ b/expected/wasm32-wasip1-threads/include-all.c @@ -60,6 +60,7 @@ #include <__typedef_suseconds_t.h> #include <__typedef_time_t.h> #include <__typedef_uid_t.h> +#include <__wasi_snapshot.h> #include <alloca.h> #include <ar.h> #include <arpa/ftp.h> @@ -75,6 +76,7 @@ #include <crypt.h> #include <ctype.h> #include <dirent.h> +#include <dlfcn.h> #include <endian.h> #include <err.h> #include <errno.h> @@ -141,6 +143,7 @@ #include <sys/select.h> #include <sys/socket.h> #include <sys/stat.h> +#include <sys/statvfs.h> #include <sys/stropts.h> #include <sys/syscall.h> #include <sys/sysinfo.h> diff --git a/expected/wasm32-wasi-threads/predefined-macros.txt b/expected/wasm32-wasip1-threads/predefined-macros.txt index 820f849..ec33b41 100644 --- a/expected/wasm32-wasi-threads/predefined-macros.txt +++ b/expected/wasm32-wasip1-threads/predefined-macros.txt @@ -181,6 +181,7 @@ #define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM #define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK #define DT_REG __WASI_FILETYPE_REGULAR_FILE +#define DT_SOCK 20 #define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN #define D_FMT 0x20029 #define D_T_FMT 0x20028 @@ -1499,6 +1500,14 @@ #define RRFIXEDSZ NS_RRFIXEDSZ #define RRQ 01 #define RS_HIPRI 0x01 +#define RTLD_DEFAULT ((void *)0) +#define RTLD_GLOBAL 256 +#define RTLD_LAZY 1 +#define RTLD_LOCAL 8 +#define RTLD_NEXT ((void *)-1) +#define RTLD_NODELETE 4096 +#define RTLD_NOLOAD 4 +#define RTLD_NOW 2 #define RUSAGE_CHILDREN 2 #define RUSAGE_SELF 1 #define R_OK (4) @@ -1663,6 +1672,18 @@ #define STRU_F 1 #define STRU_P 3 #define STRU_R 2 +#define ST_APPEND 256 +#define ST_IMMUTABLE 512 +#define ST_MANDLOCK 64 +#define ST_NOATIME 1024 +#define ST_NODEV 4 +#define ST_NODIRATIME 2048 +#define ST_NOEXEC 8 +#define ST_NOSUID 2 +#define ST_RDONLY 1 +#define ST_RELATIME 4096 +#define ST_SYNCHRONOUS 16 +#define ST_WRITE 128 #define SUN_LEN(s) (2+strlen((s)->sun_path)) #define SUSP 237 #define SYMLOOP_MAX 40 @@ -1677,7 +1698,7 @@ #define S_IFBLK (0x6000) #define S_IFCHR (0x2000) #define S_IFDIR (0x4000) -#define S_IFIFO (0xc000) +#define S_IFIFO (0x1000) #define S_IFLNK (0xa000) #define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK) #define S_IFREG (0x8000) @@ -2044,6 +2065,7 @@ #define _Complex_I (0.0f+1.0fi) #define _DIRENT_H #define _DIRENT_HAVE_D_TYPE +#define _DLFCN_H #define _ENDIAN_H #define _ERRNO_H #define _ERR_H @@ -2351,6 +2373,7 @@ #define _SYS_REG_H #define _SYS_SELECT_H #define _SYS_SOCKET_H +#define _SYS_STATVFS_H #define _SYS_STAT_H #define _SYS_SYSCALL_H #define _SYS_SYSINFO_H @@ -3176,6 +3199,7 @@ #define fsfilcnt64_t fsfilcnt_t #define fstat64 fstat #define fstatat64 fstatat +#define fstatvfs64 fstatvfs #define ftello64 ftello #define ftruncate64 ftruncate #define getdents64 getdents @@ -3362,6 +3386,7 @@ #define st_mtime st_mtim.tv_sec #define stat64 stat #define static_assert _Static_assert +#define statvfs64 statvfs #define stderr (stderr) #define stdin (stdin) #define stdout (stdout) diff --git a/expected/wasm32-wasi-threads/undefined-symbols.txt b/expected/wasm32-wasip1-threads/undefined-symbols.txt index c04b5f7..1972163 100644 --- a/expected/wasm32-wasi-threads/undefined-symbols.txt +++ b/expected/wasm32-wasip1-threads/undefined-symbols.txt @@ -62,7 +62,6 @@ __imported_wasi_snapshot_preview1_sock_shutdown __imported_wasi_thread_spawn __letf2 __lttf2 -__main_argc_argv __netf2 __stack_pointer __subtf3 diff --git a/expected/wasm32-wasi/defined-symbols.txt b/expected/wasm32-wasip1/defined-symbols.txt index 6e74322..61ee95b 100644 --- a/expected/wasm32-wasi/defined-symbols.txt +++ b/expected/wasm32-wasip1/defined-symbols.txt @@ -333,6 +333,7 @@ __wasilibc_populate_preopens __wasilibc_register_preopened_fd __wasilibc_rename_newat __wasilibc_rename_oldat +__wasilibc_reset_preopens __wasilibc_rmdirat __wasilibc_stat __wasilibc_tell @@ -447,6 +448,7 @@ cexp cexpf cexpl chdir +chmod cimag cimagf cimagl @@ -543,6 +545,8 @@ fabs fabsf fabsl faccessat +fchmod +fchmodat fclose fcntl fcvt @@ -637,6 +641,7 @@ fsetpos fsetpos64 fstat fstatat +fstatvfs fsync ftell ftello @@ -937,6 +942,7 @@ readlinkat readv realloc reallocarray +realpath recv regcomp regerror @@ -1012,6 +1018,7 @@ srand48 srandom sscanf stat +statvfs stderr stdin stdout diff --git a/expected/wasm32-wasi/include-all.c b/expected/wasm32-wasip1/include-all.c index 86297f3..cd3b817 100644 --- a/expected/wasm32-wasi/include-all.c +++ b/expected/wasm32-wasip1/include-all.c @@ -60,6 +60,7 @@ #include <__typedef_suseconds_t.h> #include <__typedef_time_t.h> #include <__typedef_uid_t.h> +#include <__wasi_snapshot.h> #include <alloca.h> #include <ar.h> #include <arpa/ftp.h> @@ -75,6 +76,7 @@ #include <crypt.h> #include <ctype.h> #include <dirent.h> +#include <dlfcn.h> #include <endian.h> #include <err.h> #include <errno.h> @@ -140,6 +142,7 @@ #include <sys/select.h> #include <sys/socket.h> #include <sys/stat.h> +#include <sys/statvfs.h> #include <sys/stropts.h> #include <sys/syscall.h> #include <sys/sysinfo.h> diff --git a/expected/wasm32-wasi/predefined-macros.txt b/expected/wasm32-wasip1/predefined-macros.txt index 2f2ca8f..2d21ab0 100644 --- a/expected/wasm32-wasi/predefined-macros.txt +++ b/expected/wasm32-wasip1/predefined-macros.txt @@ -181,6 +181,7 @@ #define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM #define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK #define DT_REG __WASI_FILETYPE_REGULAR_FILE +#define DT_SOCK 20 #define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN #define D_FMT 0x20029 #define D_T_FMT 0x20028 @@ -1467,6 +1468,14 @@ #define RRFIXEDSZ NS_RRFIXEDSZ #define RRQ 01 #define RS_HIPRI 0x01 +#define RTLD_DEFAULT ((void *)0) +#define RTLD_GLOBAL 256 +#define RTLD_LAZY 1 +#define RTLD_LOCAL 8 +#define RTLD_NEXT ((void *)-1) +#define RTLD_NODELETE 4096 +#define RTLD_NOLOAD 4 +#define RTLD_NOW 2 #define RUSAGE_CHILDREN 2 #define RUSAGE_SELF 1 #define R_OK (4) @@ -1629,6 +1638,18 @@ #define STRU_F 1 #define STRU_P 3 #define STRU_R 2 +#define ST_APPEND 256 +#define ST_IMMUTABLE 512 +#define ST_MANDLOCK 64 +#define ST_NOATIME 1024 +#define ST_NODEV 4 +#define ST_NODIRATIME 2048 +#define ST_NOEXEC 8 +#define ST_NOSUID 2 +#define ST_RDONLY 1 +#define ST_RELATIME 4096 +#define ST_SYNCHRONOUS 16 +#define ST_WRITE 128 #define SUN_LEN(s) (2+strlen((s)->sun_path)) #define SUSP 237 #define SYMLOOP_MAX 40 @@ -1643,7 +1664,7 @@ #define S_IFBLK (0x6000) #define S_IFCHR (0x2000) #define S_IFDIR (0x4000) -#define S_IFIFO (0xc000) +#define S_IFIFO (0x1000) #define S_IFLNK (0xa000) #define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK) #define S_IFREG (0x8000) @@ -2010,6 +2031,7 @@ #define _Complex_I (0.0f+1.0fi) #define _DIRENT_H #define _DIRENT_HAVE_D_TYPE +#define _DLFCN_H #define _ENDIAN_H #define _ERRNO_H #define _ERR_H @@ -2314,6 +2336,7 @@ #define _SYS_REG_H #define _SYS_SELECT_H #define _SYS_SOCKET_H +#define _SYS_STATVFS_H #define _SYS_STAT_H #define _SYS_SYSCALL_H #define _SYS_SYSINFO_H @@ -3137,6 +3160,7 @@ #define fsfilcnt64_t fsfilcnt_t #define fstat64 fstat #define fstatat64 fstatat +#define fstatvfs64 fstatvfs #define ftello64 ftello #define ftruncate64 ftruncate #define getdents64 getdents @@ -3320,6 +3344,7 @@ #define st_mtime st_mtim.tv_sec #define stat64 stat #define static_assert _Static_assert +#define statvfs64 statvfs #define stderr (stderr) #define stdin (stdin) #define stdout (stdout) diff --git a/expected/wasm32-wasi/undefined-symbols.txt b/expected/wasm32-wasip1/undefined-symbols.txt index 6d3b2b7..bdcb0c7 100644 --- a/expected/wasm32-wasi/undefined-symbols.txt +++ b/expected/wasm32-wasip1/undefined-symbols.txt @@ -59,7 +59,6 @@ __imported_wasi_snapshot_preview1_sock_send __imported_wasi_snapshot_preview1_sock_shutdown __letf2 __lttf2 -__main_argc_argv __netf2 __stack_pointer __subtf3 |