Pārlūkot izejas kodu

* fix for the wasm section directive writing

git-svn-id: branches/wasm@46841 -
nickysn 4 gadi atpakaļ
vecāks
revīzija
15cdc6b856
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      compiler/aggas.pas

+ 5 - 0
compiler/aggas.pas

@@ -552,6 +552,11 @@ implementation
            begin
              if (atype in [sec_stub]) then
                writer.AsmWrite('.section ');
+           end;
+         system_wasm32_wasi,
+         system_wasm32_wasm:
+           begin
+             writer.AsmWrite('.section ');
            end
          else
            begin