Ver Fonte

* ignore relocation sections for custom sections for now (will be done later), so that we can proceed with the debug info generation in a later phase

Nikolay Nikolov há 1 ano atrás
pai
commit
ff4744e0ed
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      compiler/ogwasm.pas

+ 3 - 1
compiler/ogwasm.pas

@@ -2588,7 +2588,9 @@ implementation
                 RelocTableIndex:=1
               else
                 begin
-                  InputError('Relocation for custom sections not supported, yet');
+                  Writeln('Warning! Relocation section ignored!');
+                  Result:=True;
+                  //InputError('Relocation for custom sections not supported, yet');
                   exit;
                 end;
               if not ReadUleb32(RelocCount) then