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 |
Nikolay Nikolov
|
905f0b1f78
+ add the __stack_pointer global import
|
3 years ago |
Nikolay Nikolov
|
e8c3f5d6b0
+ create the data section and the first entry of the import section
|
3 years ago |
Nikolay Nikolov
|
2563cb6daa
+ start writing the wasm sections. The DataCount section is the first section to be implemented.
|
3 years ago |
Nikolay Nikolov
|
e45d8578e8
+ count the number of segments and assign segment indices to the wasm sections
|
3 years ago |
Nikolay Nikolov
|
eea8f32772
+ introduced TWasmObjSection.IsCode and .IsData
|
3 years ago |
Nikolay Nikolov
|
698b5de389
+ added TWasmObjSection class
|
3 years ago |
Nikolay Nikolov
|
429454c8f4
+ write some debug info to the console in the wasm obj writer
|
3 years ago |
Nikolay Nikolov
|
c200bf5311
* fixed TWasmObjData.sectionname_gas
|
3 years ago |