Nikolay Nikolov
|
d37117c460
* use an incrementing counter variable to determine the numbers for the code
|
пре 4 година |
Nikolay Nikolov
|
77b898fe45
* use objsym.size to determine the code size of the function (instead of
|
пре 4 година |
Nikolay Nikolov
|
2102fbdc97
- removed debug writelns from the wasm internal object writer
|
пре 4 година |
Nikolay Nikolov
|
99c84da071
+ generate the export section in the wasm internal obj writer
|
пре 4 година |
Nikolay Nikolov
|
abf831c430
+ fixed the addend in the relocations that point to data
|
пре 4 година |
Nikolay Nikolov
|
c881d05793
* fixed bug in the code, generated for the RELOC_FUNCTION_INDEX_LEB
|
пре 4 година |
Nikolay Nikolov
|
07461d0fc3
* made the constructor of TObjSymbol virtual, so it can be overriden
|
пре 4 година |
Nikolay Nikolov
|
efd5831742
* generate an internal error if an attempt is made to emit a
|
пре 4 година |
Nikolay Nikolov
|
392ca81c20
+ add threadvar symbols to the symbol table
|
пре 4 година |
Nikolay Nikolov
|
d7b141d70e
+ implemented the if, loop and else instructions
|
пре 4 година |
Nikolay Nikolov
|
ea401ccc82
+ support writing R_WASM_MEMORY_ADDR_I32 relocations
|
пре 4 година |
Nikolay Nikolov
|
7f5250bf46
+ implemented support for R_WASM_TABLE_INDEX_SLEB relocations
|
пре 4 година |
Nikolay Nikolov
|
9fa2e2934b
+ support the call_indirect instruction and the R_WASM_TYPE_INDEX_LEB
|
пре 4 година |
Nikolay Nikolov
|
bd6bbb6cf4
+ support writing imports from a different module in the wasm binary object writer
|
пре 4 година |
Nikolay Nikolov
|
238d09d875
+ support writing RELOC_FUNCTION_INDEX_LEB relocations to non-external functions
|
пре 4 година |
Nikolay Nikolov
|
bf5048cb5e
+ support generating R_WASM_TABLE_INDEX_I32 relocations
|
пре 4 година |
Nikolay Nikolov
|
acdb65c2a3
+ support tai_symbolpair in the wasm internal obj writer, so that the
|
пре 4 година |
Nikolay Nikolov
|
6e7e632682
* fixed another warning
|
пре 4 година |
Nikolay Nikolov
|
4ebf857ffc
* fixed warning
|
пре 4 година |
Nikolay Nikolov
|
b913133152
+ implemented leb and sleb relocations to data symbols
|
пре 4 година |
Nikolay Nikolov
|
67cbb7032e
+ fully implemented the RELOC_FUNCTION_INDEX_LEB relocations
|
пре 4 година |
Nikolay Nikolov
|
4e4910cb84
+ write the relocation tables for the code and data sections (empty for now)
|
пре 4 година |
Nikolay Nikolov
|
217b3ea3cc
+ write the segment info (names and alignment) to the linking custom section
|
пре 4 година |
Nikolay Nikolov
|
5066a7eb24
+ also write the data symbols to the symbol table
|
пре 4 година |
Nikolay Nikolov
|
ad8ed4b48d
+ write the non-external functions to the symbol table as well
|
пре 4 година |
Nikolay Nikolov
|
2d2906205b
+ write the externals to the symbol table
|
пре 4 година |
Nikolay Nikolov
|
8c57d20abc
+ write the linking section (empty for now)
|
пре 4 година |
Nikolay Nikolov
|
12496a638b
+ add relocation objects for the RELOC_FUNCTION_INDEX_LEB relocation to
|
пре 4 година |
Nikolay Nikolov
|
a5d1ce26a0
+ partial implementation of emitting RELOC_FUNCTION_INDEX_LEB relocations
|
пре 4 година |
Nikolay Nikolov
|
cbf444bbbe
+ write the actual function code in the code section
|
пре 4 година |