Skip to content

Commit f8fcf1a

Browse files
authored
Add new WASM_SYM_EXPORTED (#96)
Fixes #64
1 parent d31de62 commit f8fcf1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Linking.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ The current set of valid flags for symbols are:
251251
- `0x10 / WASM_SYM_UNDEFINED` - Indicating that this symbol is not defined.
252252
For function/global/event symbols, must match whether the symbol is an import
253253
or is defined; for data symbols, determines whether a segment is specified.
254+
- `0x20 / WASM_SYM_EXPORTED` - The symbol is intended to be exported from the
255+
wasm module to the host environment. This differs from the visibility flags
256+
in that it effects the static linker.
254257

255258
For `WASM_COMDAT_INFO` the following fields are present in the
256259
subsection:

0 commit comments

Comments
 (0)