Nikolay Nikolov
|
9ee13f2937
+ also define non-imported SYMTAB_GLOBAL symbols in the wasm internal object reader
|
1 year ago |
Nikolay Nikolov
|
408e388af3
+ wasm internal linker: internally define the '__stack_pointer' global symbol
|
1 year ago |
Nikolay Nikolov
|
880d0333b0
+ wasm internal object reader: process SYMTAB_GLOBAL import entries
|
1 year ago |
Nikolay Nikolov
|
e6a68b28b6
* wasm internal linker: produce an error if an R_WASM_SECTION_OFFSET_I32 or an
|
1 year ago |
Nikolay Nikolov
|
4208fc79c7
+ implemented R_WASM_MEMORY_ADDR_SLEB and R_WASM_TABLE_INDEX_SLEB relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
b440f57739
+ implemented R_WASM_MEMORY_ADDR_LEB relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
5771245d74
+ create the Table and Elem sections in the wasm exe writer
|
1 year ago |
Nikolay Nikolov
|
7a228bccfc
+ implement R_WASM_TABLE_INDEX_I32 relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
1b2d29ea1a
+ implemented R_WASM_MEMORY_ADDR_I32 relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
12d7d271d6
+ write the data section in the wasm internal linker exe writer
|
1 year ago |
Nikolay Nikolov
|
b361b41a86
+ webassembly internal linker: create separate exe sections for .rodata and .bss
|
1 year ago |
Nikolay Nikolov
|
dc4689ba1b
* wasm internal linker: start the data section at offset 0, as WebAssembly is a Harvard architecture.
|
1 year ago |
Nikolay Nikolov
|
69ce966691
+ implemented RELOC_TYPE_INDEX_LEB relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
0b3238bcd3
* refactor: invert if condition and else statement (reducing the nesting level), because then terminates the function. No functional changes.
|
1 year ago |
Nikolay Nikolov
|
5845bb9095
* produce an internal error, instead of a warning in case of RELOC_FUNCTION_INDEX_LEB pointing to a function with missing ExeFunctionIndex
|
1 year ago |
Nikolay Nikolov
|
50986967f5
+ wasm internal linker: fill ExeFunctionIndex of alias code symbols as well
|
1 year ago |
Nikolay Nikolov
|
cf79ca16b4
* only set MainFuncSymbol of code sections to the main (non-alias) symbol
|
1 year ago |
Nikolay Nikolov
|
c453bac7ad
+ report an error in case a wasm object file has a code section, without a main symbol
|
1 year ago |
Nikolay Nikolov
|
e1d56a9944
* wasm internal linker: use the main symbol (without WASM_SYM_EXPLICIT_NAME,
|
1 year ago |
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 |