Browse Source

* system identifier system_wasm32_wasm renamed system_wasm32_embedded

git-svn-id: branches/wasm@48362 -
nickysn 4 years ago
parent
commit
807c743e35

+ 1 - 1
compiler/aggas.pas

@@ -558,7 +558,7 @@ implementation
                writer.AsmWrite('.section ');
            end;
          system_wasm32_wasi,
-         system_wasm32_wasm:
+         system_wasm32_embedded:
            begin
              writer.AsmWrite('.section ');
            end

+ 1 - 1
compiler/systems.inc

@@ -181,7 +181,7 @@
              system_i8086_win16,        { 89 }
              system_i8086_embedded,     { 90 }
              system_arm_aros,           { 91 }
-             system_wasm32_wasm,        { 92 }
+             system_wasm32_embedded,    { 92 }
              system_sparc64_linux,      { 93 }
              system_sparc64_solaris,    { 94 }
              system_arm_netbsd,         { 95 }

+ 1 - 1
compiler/systems.pas

@@ -294,7 +294,7 @@ interface
        systems_darwin = systems_ios + systems_iphonesym + systems_macosx;
 
        { all WebAssembly systems }
-       systems_wasm = [system_wasm32_wasm,system_wasm32_wasi];
+       systems_wasm = [system_wasm32_embedded,system_wasm32_wasi];
 
        {all solaris systems }
        systems_solaris = [system_sparc_solaris, system_i386_solaris,

+ 1 - 1
compiler/systems/i_wasm.pas

@@ -42,7 +42,7 @@ unit i_wasm;
 
         system_wasm_info : tsysteminfo =
           (
-            system       : system_wasm32_wasm;
+            system       : system_wasm32_embedded;
             name         : 'WebAssembly';
             shortname    : 'Wasm';
             flags        : [tf_under_development,tf_needs_symbol_size,tf_needs_symbol_type,

+ 2 - 2
compiler/systems/t_wasm.pas

@@ -159,8 +159,8 @@ end;
 
 initialization
   RegisterTarget(system_wasm_info);
-  RegisterImport(system_wasm32_wasm, timportlibwasm);
-  RegisterExport(system_wasm32_wasm, texportlibwasm);
+  RegisterImport(system_wasm32_embedded, timportlibwasm);
+  RegisterExport(system_wasm32_embedded, texportlibwasm);
   RegisterLinker(ld_wasm, tlinkerwasm);
 
 end.

+ 1 - 1
compiler/wasm32/agbinaryen.pas

@@ -590,7 +590,7 @@ implementation
          idtxt  : 'BINARYEN';
          asmbin : 'wasm-as';
          asmcmd : '$ASM $EXTRAOPT';
-         supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
+         supported_targets : [system_wasm32_embedded,system_wasm32_wasi];
          flags : [];
          labelprefix : 'L';
          labelmaxlen : -1;

+ 1 - 1
compiler/wasm32/agllvmmc.pas

@@ -314,7 +314,7 @@ implementation
          idtxt  : 'LLVM-MC';
          asmbin : 'llvm-mc';
          asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext --filetype=obj -o $OBJ $EXTRAOPT $ASM';
-         supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
+         supported_targets : [system_wasm32_embedded,system_wasm32_wasi];
          flags : [af_smartlink_sections];
          labelprefix : '.L';
          labelmaxlen : -1;

+ 1 - 1
compiler/wasm32/agwat.pas

@@ -1093,7 +1093,7 @@ implementation
          idtxt  : 'WABT';
          asmbin : 'wasa';
          asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM';
-         supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
+         supported_targets : [system_wasm32_embedded,system_wasm32_wasi];
          flags : [];
          labelprefix : 'L';
          labelmaxlen : -1;