Ver código fonte

* on AIX, you also can't have a label without data coming at the end of the
resource string table -> use same workaround as for Darwin

git-svn-id: trunk@20805 -

Jonas Maebe 13 anos atrás
pai
commit
b93cc83703
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      compiler/cresstr.pas

+ 1 - 1
compiler/cresstr.pas

@@ -207,7 +207,7 @@ uses
         { Update: the Mac OS X 10.6 linker orders data that needs to be    }
         { relocated before all other data, so make this data relocatable,  }
         { otherwise the end label won't be moved with the rest             }
-        if (target_info.system in systems_darwin) then
+        if (target_info.system in (systems_darwin+systems_aix)) then
           current_asmdata.asmlists[al_resourcestrings].concat(Tai_const.create_sym(endsymlab));
       end;