Browse Source

* WebAssembly internal linker: reduced exe section alignment to 16 bytes

Nikolay Nikolov 1 year ago
parent
commit
3218f25d13
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/ogwasm.pas

+ 1 - 0
compiler/ogwasm.pas

@@ -5137,6 +5137,7 @@ implementation
       begin
       begin
         inherited create;
         inherited create;
         CObjData:=TWasmObjData;
         CObjData:=TWasmObjData;
+        SectionMemAlign:=16;
         MaxMemPos:=$FFFFFFFF;
         MaxMemPos:=$FFFFFFFF;
         FFuncTypes:=TWasmFuncTypeTable.Create;
         FFuncTypes:=TWasmFuncTypeTable.Create;
         for i in TWasmSectionID do
         for i in TWasmSectionID do