Nikolay Nikolov
|
ada576e559
+ wasm internal object reader: pass a TWasmCustomDebugSectionType parameter to ReadDebugSection
|
1 year ago |
Nikolay Nikolov
|
543b341203
+ write debug sections in the wasm internal exe writer
|
1 year ago |
Nikolay Nikolov
|
3724e00169
+ wasm object reader: allow other sections to be created before the first code section
|
1 year ago |
Nikolay Nikolov
|
ff4744e0ed
* ignore relocation sections for custom sections for now (will be done later), so that we can proceed with the debug info generation in a later phase
|
1 year ago |
Nikolay Nikolov
|
9a983632f9
+ read debug sections in the wasm internal object reader
|
1 year ago |
Nikolay Nikolov
|
5fe4ab49bc
+ fill the correct minimal number of memory pages required in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
93d38629aa
+ added check for whether R_WASM_TABLE_INDEX_I32 relocations always point to a function symbol in the wasm internal object reader
|
1 year ago |
Nikolay Nikolov
|
dd1565c667
* wasm internal exe writer: set mempos for code sections to the offset within
|
1 year ago |
Nikolay Nikolov
|
c49ac16a19
* wasm internal linker: start the .text section at mempos 0
|
1 year ago |
Nikolay Nikolov
|
5eb5fdabad
* start the data at offset 1024 instead of 0, just like the LLVM linker
|
1 year ago |
Nikolay Nikolov
|
baa81d5275
+ allocate stack and set the initial value for the stack pointer in the wasm internal exe writer
|
1 year ago |
Nikolay Nikolov
|
eaf9a9f1b9
* fixed bug in the application of RELOC_GLOBAL_INDEX_LEB fixups in the wasm internal exe writer
|
1 year ago |
Nikolay Nikolov
|
ec206cf490
+ wasm internal linker: write the exported functions to the export section in the exe writer
|
1 year ago |
Nikolay Nikolov
|
c4a77a832f
+ write export section in the wasm internal linker exe writer, only the memory is exported for now
|
1 year ago |
Nikolay Nikolov
|
d03963afe9
+ generate the global section in the wasm internal linker exe writer
|
1 year ago |
Nikolay Nikolov
|
f48282d7b3
+ implemented R_WASM_GLOBAL_INDEX_LEB relocations in the wasm internal linker
|
1 year ago |
Nikolay Nikolov
|
bbeb98aeef
+ wasm internal linker: put all wasm global symbols in separate sections,
|
1 year ago |
Nikolay Nikolov
|
cd93050d7e
* set the size of AT_WASM_GLOBAL symbols to 1
|
1 year ago |
Nikolay Nikolov
|
ef796906e9
+ wasm internal obj reader: add globals to a '.wasm_globals' object section
|
1 year ago |
Nikolay Nikolov
|
2eae62a6e8
* define the __stack_pointer symbol in a different way, so it doesn't crash during linking
|
1 year ago |
Nikolay Nikolov
|
167c7bc565
+ create relocations for R_WASM_GLOBAL_INDEX_LEB entires in the wasm object reader
|
1 year ago |
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 |