Nikolay Nikolov
|
7f5250bf46
+ implemented support for R_WASM_TABLE_INDEX_SLEB relocations
|
3 years ago |
Nikolay Nikolov
|
9fa2e2934b
+ support the call_indirect instruction and the R_WASM_TYPE_INDEX_LEB
|
3 years ago |
Nikolay Nikolov
|
bd6bbb6cf4
+ support writing imports from a different module in the wasm binary object writer
|
3 years ago |
Nikolay Nikolov
|
238d09d875
+ support writing RELOC_FUNCTION_INDEX_LEB relocations to non-external functions
|
3 years ago |
Nikolay Nikolov
|
bf5048cb5e
+ support generating R_WASM_TABLE_INDEX_I32 relocations
|
3 years ago |
Nikolay Nikolov
|
acdb65c2a3
+ support tai_symbolpair in the wasm internal obj writer, so that the
|
3 years ago |
Nikolay Nikolov
|
6e7e632682
* fixed another warning
|
3 years ago |
Nikolay Nikolov
|
4ebf857ffc
* fixed warning
|
3 years ago |
Nikolay Nikolov
|
b913133152
+ implemented leb and sleb relocations to data symbols
|
3 years ago |
Nikolay Nikolov
|
67cbb7032e
+ fully implemented the RELOC_FUNCTION_INDEX_LEB relocations
|
3 years ago |
Nikolay Nikolov
|
4e4910cb84
+ write the relocation tables for the code and data sections (empty for now)
|
3 years ago |
Nikolay Nikolov
|
217b3ea3cc
+ write the segment info (names and alignment) to the linking custom section
|
3 years ago |
Nikolay Nikolov
|
5066a7eb24
+ also write the data symbols to the symbol table
|
3 years ago |
Nikolay Nikolov
|
ad8ed4b48d
+ write the non-external functions to the symbol table as well
|
3 years ago |
Nikolay Nikolov
|
2d2906205b
+ write the externals to the symbol table
|
3 years ago |
Nikolay Nikolov
|
8c57d20abc
+ write the linking section (empty for now)
|
3 years ago |
Nikolay Nikolov
|
12496a638b
+ add relocation objects for the RELOC_FUNCTION_INDEX_LEB relocation to
|
3 years ago |
Nikolay Nikolov
|
a5d1ce26a0
+ partial implementation of emitting RELOC_FUNCTION_INDEX_LEB relocations
|
3 years ago |
Nikolay Nikolov
|
cbf444bbbe
+ write the actual function code in the code section
|
3 years ago |
Nikolay Nikolov
|
dbb6f95ea7
* replaced TWasmObjData(Data) with FData in TWasmObjOutput.writeData
|
3 years ago |
Nikolay Nikolov
|
6d1df899e6
+ write the code section (still, without the actual function code, but with
|
3 years ago |
Nikolay Nikolov
|
e924dd0d16
+ generate and write the functions table in the wasm binary module,
|
3 years ago |
Nikolay Nikolov
|
7e53fecd09
+ handle tai_local in the internal asm writer and store the locals in the
|
3 years ago |
Nikolay Nikolov
|
050519f16f
+ handle the import_module and import_name directives in the internal
|
3 years ago |
Nikolay Nikolov
|
4ef2a88946
+ added method TWasmObjData.AddOrCreateObjSymbolExtraData
|
3 years ago |
Nikolay Nikolov
|
27675967f8
* store the funcname to functype index in a TFPHashObjectList, instead of
|
3 years ago |
Nikolay Nikolov
|
72a49b68ce
* fixed the writing of the external functions in the import table
|
3 years ago |
Nikolay Nikolov
|
4ca39cf07d
+ write the import functions in the wasm binary writer
|
3 years ago |
Nikolay Nikolov
|
78af12b584
+ added function name to functype hashlist in the wasm objdata class
|
3 years ago |
Nikolay Nikolov
|
a58368d20d
+ avoid duplicate functypes in the types section of the wasm module we produce
|
3 years ago |