|
@@ -247,6 +247,12 @@ interface
|
|
{ TWasmExeOutput }
|
|
{ TWasmExeOutput }
|
|
|
|
|
|
TWasmExeOutput = class(TExeOutput)
|
|
TWasmExeOutput = class(TExeOutput)
|
|
|
|
+ private
|
|
|
|
+ const
|
|
|
|
+ DataSections: array [1..3] of string = (
|
|
|
|
+ '.rodata',
|
|
|
|
+ '.data',
|
|
|
|
+ 'fpc.resources');
|
|
private
|
|
private
|
|
FImports: TFPHashObjectList;
|
|
FImports: TFPHashObjectList;
|
|
FFuncTypes: TWasmFuncTypeTable;
|
|
FFuncTypes: TWasmFuncTypeTable;
|
|
@@ -4705,11 +4711,6 @@ implementation
|
|
internalerror(2024010107);
|
|
internalerror(2024010107);
|
|
end;
|
|
end;
|
|
|
|
|
|
- const
|
|
|
|
- DataSections: array [1..3] of string = (
|
|
|
|
- '.rodata',
|
|
|
|
- '.data',
|
|
|
|
- 'fpc.resources');
|
|
|
|
var
|
|
var
|
|
DataCount: Integer;
|
|
DataCount: Integer;
|
|
DataSecName: string;
|
|
DataSecName: string;
|