mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:27:56 +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
|
||||
Writeln('Warning! No object symbol created for ', SymbolTable[RelocIndex].SymName);
|
||||
end;
|
||||
R_WASM_SECTION_OFFSET_I32,
|
||||
R_WASM_GLOBAL_INDEX_LEB,
|
||||
R_WASM_TAG_INDEX_LEB:
|
||||
R_WASM_SECTION_OFFSET_I32:
|
||||
begin
|
||||
InputError('R_WASM_SECTION_OFFSET_I32 relocations not yet implemented');
|
||||
exit;
|
||||
end;
|
||||
R_WASM_GLOBAL_INDEX_LEB:
|
||||
{TODO};
|
||||
R_WASM_TAG_INDEX_LEB:
|
||||
begin
|
||||
InputError('R_WASM_TAG_INDEX_LEB relocations not yet implemented');
|
||||
exit;
|
||||
end;
|
||||
else
|
||||
internalerror(2023122802);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user