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 |
Nikolay Nikolov
|
bb0155141a
* fixed warning
|
3 years ago |
Nikolay Nikolov
|
92592be8e4
+ print more symbol properties to the console
|
3 years ago |
Nikolay Nikolov
|
628fcb9b1c
+ create the Type wasm section
|
3 years ago |
Nikolay Nikolov
|
3c3120845a
* fixed crash when writing a binary wasm module with a .bss section
|
3 years ago |
Nikolay Nikolov
|
455f603c8c
+ debug print the obj symbols to the console
|
3 years ago |
Nikolay Nikolov
|
12796d176d
+ added the indirect function table to the imports section
|
3 years ago |