2
0
Эх сурвалжийг харах

* wasm internal linker: set mempos of the .wasm_tags (and .wasm_globals) section to 0

Nikolay Nikolov 1 жил өмнө
parent
commit
033a2ae2e7
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      compiler/ogwasm.pas

+ 2 - 1
compiler/ogwasm.pas

@@ -5041,7 +5041,8 @@ implementation
             { calculate size of the section }
             exesec.Size:=CurrMemPos-exesec.MemPos;
           end
-        else if Copy(aname,1,Length(DebugPrefix))=DebugPrefix then
+        else if (aname='.wasm_globals') or (aname='.wasm_tags') or
+                (Copy(aname,1,Length(DebugPrefix))=DebugPrefix) then
           begin
             CurrMemPos:=0;
             inherited;