Explorar o código

* fix for the wasm section directive writing

git-svn-id: branches/wasm@46841 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
15cdc6b856
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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