mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +02:00
* wasm internal linker: produce an error if an R_WASM_SECTION_OFFSET_I32 or an
R_WASM_TAG_INDEX_LEB relocations is encountered - these aren't implemented, and are not required for 'hello, world', so will be done later.
This commit is contained in:
parent
4208fc79c7
commit
e6a68b28b6
@ -4071,10 +4071,18 @@ implementation
|
|||||||
else
|
else
|
||||||
Writeln('Warning! No object symbol created for ', SymbolTable[RelocIndex].SymName);
|
Writeln('Warning! No object symbol created for ', SymbolTable[RelocIndex].SymName);
|
||||||
end;
|
end;
|
||||||
R_WASM_SECTION_OFFSET_I32,
|
R_WASM_SECTION_OFFSET_I32:
|
||||||
R_WASM_GLOBAL_INDEX_LEB,
|
begin
|
||||||
R_WASM_TAG_INDEX_LEB:
|
InputError('R_WASM_SECTION_OFFSET_I32 relocations not yet implemented');
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
R_WASM_GLOBAL_INDEX_LEB:
|
||||||
{TODO};
|
{TODO};
|
||||||
|
R_WASM_TAG_INDEX_LEB:
|
||||||
|
begin
|
||||||
|
InputError('R_WASM_TAG_INDEX_LEB relocations not yet implemented');
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
else
|
else
|
||||||
internalerror(2023122802);
|
internalerror(2023122802);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user