summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-01-11 06:21:22 -0800
committerGitHub <noreply@github.com>2017-01-11 06:21:22 -0800
commitd3c6c973d9c5fe13ad1066d5de47470a41b54943 (patch)
treeccb73b371844c45a5f6b93efcec10c2cd797ecc4 /Makefile
parent6f4df52f245c2aee9d9d071065d38e200bc2bac5 (diff)
downloadwabt-d3c6c973d9c5fe13ad1066d5de47470a41b54943.tar.gz
wabt-d3c6c973d9c5fe13ad1066d5de47470a41b54943.tar.bz2
wabt-d3c6c973d9c5fe13ad1066d5de47470a41b54943.zip
Add support for linkable modules (#228)
This change adds support for writing wasm modules such that they are compatible with the proposed linking spec: https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md Basically this means that wast2wasm will generate and extra 'reloc' sections and will pad any LEBs in the code section that might require relocation. This mode is activated by passing the -r flag to wast2wasm. Also, start work on wasm-link which should be able to link such modules together.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1278d735..9b67450d 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ BUILD_TYPES := DEBUG RELEASE
SANITIZERS := ASAN MSAN LSAN UBSAN
CONFIGS := NORMAL $(SANITIZERS) NO_RE2C_BISON NO_TESTS
EXECUTABLES := wast2wasm wasm2wast wasm-interp wasmopcodecnt hexfloat_test \
- wasmdump wast-desugar
+ wasmdump wast-desugar wasm-link
# directory names
GCC_DIR := gcc/