Commit History

Author SHA1 Message Date
  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
  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