Commit Graph

17 Commits

Author SHA1 Message Date
14ffeeb5bb [WebAssembly] Keep itermediate files (#31)
In particular we need to keep the generated headers around so they can be installed later.

This behavior mimics more closely what the musl Makefile does now that it supports out-of-tree
building (i.e. it puts all the generated files under obj)
2017-11-30 15:32:18 -08:00
2b92b728e3 Merge remote-tracking branch 'upstream/master' into HEAD 2017-11-29 15:46:05 -08:00
1086c398e6 [WebAssembly] Add -Wno-empty-body to wasm build (#24)
This is needed to suppress new llvm warnings
2017-11-16 16:26:18 -08:00
9f20a8a3c2 [WebAsembly] Build thread code (#22) 2017-11-15 15:58:02 -08:00
8116ebcd0c [WebAssembly] Fix shared library loading (#17)
Loading of shared libraries was broken back in:
39fde60

This change restores the ability for shared libraries to
be loaded such that they can share memory and provide
function exports to the main executable.

However the executable that libraries still need to built
in a specific way (i.e. all importing the same sized memory)
and their static globals need to be in the different address
range. This has the complication that the executables won't
run the wasm spec interpreter (since it doesn't pass in a
memory to the executables it runs). So although I'm fixing this
here in the musl repo I'm also proposiing that we remove the
continuous testing of this configurations on the wasm waterfall
in favor of concentrating on the statically linking lld case:
WebAssembly/waterfall#271
2017-11-06 14:18:53 -08:00
f7a3ac80ec [WebAssembly] Allow weak symbols when build libc.a for wasm 2017-10-30 17:38:35 -07:00
a7161e9449 [WebAssembly] Exclude less in libc.py 2017-10-27 14:39:51 -07:00
012c04aa2b [WebAssembly] Remove existing library before creating it with 'ar' 2017-10-26 19:20:10 -07:00
2a59097dd1 Add support for building directly to wasm object files. 2017-06-09 16:24:23 -07:00
d8b373a605 Keep musl.bc
It can be used for static linking.
2016-02-03 02:27:12 -08:00
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
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
0c46644853 No need for 'global' 2016-01-30 03:55:31 -08:00
406cb2e6b5 Fix compile list in verbose mode. 2016-01-30 02:50:24 -08:00
f878c5fc09 Allow saving temporary files. 2016-01-30 02:44:50 -08:00
66ec565817 Remove regcomp: it makes LLVM sad with byval 2016-01-30 02:27:23 -08:00
910f9e5300 Hacky libc build 2016-01-28 11:10:19 -08:00