13 Commits

Author SHA1 Message Date
Sam Clegg
857ceeb10a Have wasm.js create fixed size memory and export it to all modules
Build must.wasm such that it imports the same size (16Mb)
memory.

This re-enables the pseudo-dynamic linking abilities of wasm.js
2017-11-03 15:28:24 -07:00
Sam Clegg
f7a3ac80ec [WebAssembly] Allow weak symbols when build libc.a for wasm 2017-10-30 17:38:35 -07:00
Sam Clegg
a7161e9449 [WebAssembly] Exclude less in libc.py 2017-10-27 14:39:51 -07:00
Sam Clegg
012c04aa2b [WebAssembly] Remove existing library before creating it with 'ar' 2017-10-26 19:20:10 -07:00
Sam Clegg
2a59097dd1 Add support for building directly to wasm object files. 2017-06-09 16:24:23 -07:00
JF Bastien
d8b373a605 Keep musl.bc
It can be used for static linking.
2016-02-03 02:27:12 -08:00
JF Bastien
bbad041ac5 Don't build puts.c from musl
The JS one works, but C one needs syscalls to do anything useful.
2016-02-01 08:16:40 -08:00
JF Bastien
2118407451 Remove a few files from the blacklist
This properly generates musl.wast and musl.wasm using tip-of-tree LLVM, binaryen (with --ignore-unknown) and sexpr-wasm.
2016-01-30 08:16:03 -08:00
JF Bastien
0c46644853 No need for 'global' 2016-01-30 03:55:31 -08:00
JF Bastien
406cb2e6b5 Fix compile list in verbose mode. 2016-01-30 02:50:24 -08:00
JF Bastien
f878c5fc09 Allow saving temporary files. 2016-01-30 02:44:50 -08:00
JF Bastien
66ec565817 Remove regcomp: it makes LLVM sad with byval 2016-01-30 02:27:23 -08:00
JF Bastien
910f9e5300 Hacky libc build 2016-01-28 11:10:19 -08:00