Browse Source

Fix usage of GNU assembler for i386-nativent target

Pierre Muller 1 year ago
parent
commit
f249987133
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/aggas.pas

+ 2 - 1
compiler/aggas.pas

@@ -531,6 +531,7 @@ implementation
          system_i386_go32v2,
          system_i386_win32,
          system_x86_64_win64,
+         system_i386_nativent,
          system_i386_wince,
          system_arm_wince,
          system_aarch64_win64:
@@ -1786,7 +1787,7 @@ implementation
         { on Windows/(PE)COFF, global symbols are hidden by default: global
           symbols that are not explicitly exported from an executable/library,
           become hidden }
-        if (target_info.system in (systems_windows+systems_wince)) then
+        if (target_info.system in (systems_windows+systems_wince+systems_nativent)) then
           exit;
         if target_info.system in systems_darwin then
           writer.AsmWrite(#9'.private_extern ')