Nikolay Nikolov
|
aac37e3179
* fix warning
|
1 year ago |
Nikolay Nikolov
|
4b2a924ea0
* fix warning
|
1 year ago |
Nikolay Nikolov
|
3fddae4a40
+ wasm internal linker: implemented R_WASM_FUNCTION_OFFSET_I32 relocations
|
1 year ago |
Nikolay Nikolov
|
b679f8bc06
- wasm internal object reader: removed redundant check for R_WASM_TABLE_INDEX_I32 pointing to a SYMTAB_FUNCTION entry (we now do this check earlier)
|
1 year ago |
Nikolay Nikolov
|
e3b6d70f93
* wasm internal linker: set mempos of debug sections to 0
|
1 year ago |
Nikolay Nikolov
|
baee5b9fd4
* wasm internal linker: perform R_WASM_SECTION_OFFSET_I32 relocations
|
1 year ago |
Nikolay Nikolov
|
1061965ea5
+ wasm internal object reader: check that R_WASM_GLOBAL_INDEX_LEB point to a SYMTAB_GLOBAL symbol
|
1 year ago |
Nikolay Nikolov
|
30c8930c30
* fix warning
|
1 year ago |
Nikolay Nikolov
|
dc16426790
+ wasm internal object reader: check that relocations that should point to a SYMTAB_DATA symbol, actually point to such symbol
|
1 year ago |
Nikolay Nikolov
|
b35c118244
+ wasm internal object reader: added range check to the reader of the SymKind field
|
1 year ago |
Nikolay Nikolov
|
f3401c3f53
* fix warning
|
1 year ago |
Nikolay Nikolov
|
3071ae231a
+ wasm internal object reader: validate that relocations that should point to a SYMTAB_FUNCTION entry, actually point to such entry
|
1 year ago |
Nikolay Nikolov
|
baf9681684
* refactor: changed the type of SymbolTable.SymKind to TWasmSymbolType, to avoid type casts. No functional changes.
|
1 year ago |
Nikolay Nikolov
|
00d8d53c4e
* refactor: changed the type RelocationTable.RelocType to avoid type casts. No functional changes.
|
1 year ago |
Nikolay Nikolov
|
d87a6c89d4
* wasm internal object reader: removed the warnings in case of missing symbol (this will now create an internal error, instead)
|
1 year ago |
Nikolay Nikolov
|
a2a85dc7af
* wasm internal object reader: validation of the RelocIndex range moved to a single place - in ReadRelocationSection
|
1 year ago |
Nikolay Nikolov
|
4933d73938
+ support R_WASM_SECTION_OFFSET_I32 relocations in the wasm internal object reader
|
1 year ago |
Nikolay Nikolov
|
39c3d5d035
+ wasm internal object reader: support relocations for debug sections
|
1 year ago |
Nikolay Nikolov
|
dfdc4a4d78
+ wasm internal object reader: record section indices for debug sections. Check for duplicated debug sections.
|
1 year ago |
Nikolay Nikolov
|
6ab2cd3ce9
+ wasm internal object reader: also read the '.debug_frame' and '.debug_str' sections
|
1 year ago |
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 |