Browse Source

* 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 1 year ago
parent
commit
ff4744e0ed
1 changed files with 3 additions and 1 deletions
  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