17 Commits

Author SHA1 Message Date
Derek Schuff
2a717f2d43 Add __stdio_write and __stdout_write to musl_hack list of imports
They are now imported because they are address-taken
2016-07-14 09:11:35 -07:00
Derek Schuff
cff987a27b Update wasm.js for v8's change to 2-level FFI namespace 2016-03-08 15:30:28 -08:00
Derek Schuff
cd50df76d4 Use the new exports table on the wasm module object 2016-02-29 13:45:25 -08:00
Derek Schuff
3f4c233ac0 Use 16MB for the linear memory array buffer
Some of the torture tests use big stacks, and 16 is enough larger than 2.
2016-02-18 15:35:14 -08:00
JF Bastien
1648814783 Add clrsbl clrsbll as well 2016-02-14 14:08:20 -08:00
JF Bastien
49dbb74456 Add __builtin_clrsb as NYI
builtin-bitops-1.c now hits it.
2016-02-13 13:57:29 -08:00
JF Bastien
968d8d2158 Improve trap handling, fix isspace. 2016-02-03 08:30:55 -08:00
JF Bastien
7f1742a8c3 Fix reference error. 2016-02-03 04:26:30 -08:00
JF Bastien
682407e272 dlsym: use same pattern as other loader
It's still broken because call_indirect requires a function in the same module.
2016-02-01 09:22:50 -08:00
JF Bastien
8bbb33957b Handle main() not returning EXIT_SUCCESS. 2016-02-01 08:26:21 -08:00
JF Bastien
f73845c1b8 Typo. 2016-02-01 08:05:12 -08:00
JF Bastien
acc1d6453b dlfcn.h implementation and detailed example. 2016-02-01 08:00:42 -08:00
JF Bastien
13f9666606 Stub dlfcn.h 2016-02-01 04:54:06 -08:00
JF Bastien
26e7adf5d0 wasm objects don't have hasOwnProperty and functions aren't Function 2016-01-31 02:49:24 -08:00
JF Bastien
ae7274db9b Add a few todos. 2016-01-30 14:12:19 -08:00
JF Bastien
f11387c0bb Return -1 from syscall stubs. 2016-01-30 13:45:37 -08:00
JF Bastien
e1f64b81c3 Add wasm.js
Imported from: https://github.com/WebAssembly/waterfall/blob/master/src/test/wasm.js
Hash: 8074c23c566a65f32d6b7fac065abf1ffca95473
2016-01-30 09:08:51 -08:00