|
@@ -3867,6 +3867,7 @@ implementation
|
|
objsym.bind:=AB_GLOBAL;
|
|
objsym.bind:=AB_GLOBAL;
|
|
objsym.typ:=AT_FUNCTION;
|
|
objsym.typ:=AT_FUNCTION;
|
|
objsym.objsection:=TObjSection(ObjData.ObjSectionList[SymIndex-FuncTypeImportsCount]);
|
|
objsym.objsection:=TObjSection(ObjData.ObjSectionList[SymIndex-FuncTypeImportsCount]);
|
|
|
|
+ TWasmObjSection(ObjData.ObjSectionList[SymIndex-FuncTypeImportsCount]).MainFuncSymbol:=objsym;
|
|
objsym.offset:=0;
|
|
objsym.offset:=0;
|
|
objsym.size:=objsym.objsection.Size;
|
|
objsym.size:=objsym.objsection.Size;
|
|
end;
|
|
end;
|