Преглед изворни кода

* 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 година
родитељ
комит
b93cc83703
1 измењених фајлова са 1 додато и 1 уклоњено
  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    }
         { Update: the Mac OS X 10.6 linker orders data that needs to be    }
         { relocated before all other data, so make this data relocatable,  }
         { relocated before all other data, so make this data relocatable,  }
         { otherwise the end label won't be moved with the rest             }
         { 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));
           current_asmdata.asmlists[al_resourcestrings].concat(Tai_const.create_sym(endsymlab));
       end;
       end;