Nikolay Nikolov
|
7747e1f6c8
+ wasm internal linker: write the functions, defined in the current module in the linker map file
|
1 year ago |
Nikolay Nikolov
|
409de5ac96
+ write the import function indexes in the linker map file
|
1 year ago |
Nikolay Nikolov
|
1c1dbaf776
+ partial implementation of RELOC_FUNCTION_INDEX_LEB relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
f4f6a16796
+ fill the memory section in the wasm exe writer
|
1 year ago |
Nikolay Nikolov
|
507e9eb20a
+ added check for the ExeFunctionIndex inside WriteCodeSegments
|
1 year ago |
Nikolay Nikolov
|
88a42c3ee0
+ write the type indexes correctly
|
1 year ago |
Nikolay Nikolov
|
f5dbd38b7e
* extracted the import preparation to a separate method TWasmExeOutput.PrepareImports
|
1 year ago |
Nikolay Nikolov
|
946fc370e9
* set TWasmObjSection.MainFuncSymbol in the wasm object reader
|
1 year ago |
Nikolay Nikolov
|
ac0c187b56
+ WebAssembly exe writer: write the code section
|
1 year ago |
Nikolay Nikolov
|
d9a67bb16d
+ generate the import section in the wasm exe writer
|
1 year ago |
Nikolay Nikolov
|
2c72b62a0e
+ generate and write the Type section in the WebAssembly internal exe writer
|
1 year ago |
Nikolay Nikolov
|
3c4a1087f3
* writing of the type wasm object section extracted to a method TWasmFuncTypeTable.WriteTo, so it can be reused in the exe writer
|
1 year ago |
Nikolay Nikolov
|
a387accf81
* WriteWasmBasicType and WriteWasmResultType converted to global functions to allow reuse in the exe writer
|
1 year ago |
Nikolay Nikolov
|
5583781f47
+ initialize TWasmExeOutput.FWasmSections
|
1 year ago |
Nikolay Nikolov
|
7d6158d5f4
+ added and implemented TWasmExeOutput.WriteWasmSection
|
1 year ago |
Nikolay Nikolov
|
c342a5f473
* converted some helper methods from TWasmObjOutput to global functions, so they can be reused in the exe writer
|
1 year ago |
Nikolay Nikolov
|
b2f31c4112
+ added a section array to the wasm exe writer
|
1 year ago |
Nikolay Nikolov
|
16c4e0300c
+ WebAssembly internal linker, exe writer: keep track of exe import functions. Add and fill TWasmObjSymbolLinkingData.ExeFunctionIndex
|
1 year ago |
Nikolay Nikolov
|
da8ccd64ef
+ also write the functype of imported functions in the linker map file
|
1 year ago |
Nikolay Nikolov
|
4f4beb6225
+ store the functype in TWasmObjSymbolLinkingData
|
1 year ago |
Nikolay Nikolov
|
880eb3658a
+ process the module imports and write them to the map file in TWasmExeOutput.AfterUnusedSectionRemoval
|
1 year ago |
Nikolay Nikolov
|
541bd66a6c
+ implemented TWasmExeOutput.GenerateLibraryImports
|
1 year ago |
Nikolay Nikolov
|
b88b8efbce
+ WebAssembly object reader: create symbols for imports that have the
|
1 year ago |
Nikolay Nikolov
|
f83223c8b2
* SymbolTable.ObjSym type changed from TObjSymbol to TWasmObjSymbol
|
1 year ago |
Nikolay Nikolov
|
f30a41359d
+ added a TWasmFuncTypeTable instance to TWasmExeOutput
|
1 year ago |
Nikolay Nikolov
|
e695edff98
+ initialize TWasmObjData.FFuncTypes in TWasmObjData's constructor
|
1 year ago |
Nikolay Nikolov
|
0be3fe9ab4
- removed TWasmObjData.AddFuncType, instead call directly [F]FuncTypes.AddOrGetFuncType
|
1 year ago |
Nikolay Nikolov
|
eb046b07d0
* TWasmFuncTypeTable.AddFuncType renamed .AddOrGetFuncType
|
1 year ago |
Nikolay Nikolov
|
7266981c6c
+ Extracted the func list maintenance functionality from the WebAssembly object
|
1 year ago |
Nikolay Nikolov
|
d6c3c74b46
+ create relocation objects for R_WASM_FUNCTION_OFFSET_I32 relocations in the wasm object reader
|
1 year ago |