Skip to content

Commit

Permalink
Add limitations section to Linking.md to clarify element and data seg…
Browse files Browse the repository at this point in the history
…ment indices renumbering is not supported (#193) (#194)
  • Loading branch information
matovitch authored Dec 6, 2022
1 parent 79d4b06 commit e24bf87
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Linking.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tasks need to be performed:
- Merging of globals sections (re-numbering globals)
- Merging of event sections (re-numbering events)
- Merging of table sections (re-numbering tables)
- Merging of data segments (re-positioning data)
- Merging of data segments (re-positioning data with [limitations](#limitations))
- Resolving undefined external references
- Synthesizing functions to call constructors and perform other initialization

Expand Down Expand Up @@ -686,3 +686,11 @@ have its address computed as follows:

The variable can then be used as normal. Upon thread exit, the runtime should free
the memory allocated for the TLS block.

### Limitations

- There is currently no support for passive data segments. The relocation types
necessary for referencing such segments (e.g. in `data.drop` or `memory.init`
instruction) do not yet exist.
- There is currently no support for table element segments, either active or
passive.

0 comments on commit e24bf87

Please sign in to comment.