summaryrefslogtreecommitdiff
path: root/compiler/cresstr.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-04-11 18:02:18 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-04-11 18:02:18 +0000
commit6ec21804132f18d926b36308533425e273947148 (patch)
tree9743f97bc4c837aefcc08a1eae6ae5fcd3abf9ec /compiler/cresstr.pas
parent4e17ba21825ad67ba663941732919f60574246f4 (diff)
downloadfpc-6ec21804132f18d926b36308533425e273947148.tar.gz
* 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: http://svn.freepascal.org/svn/fpc/trunk@20805 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cresstr.pas')
-rw-r--r--compiler/cresstr.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cresstr.pas b/compiler/cresstr.pas
index a4c4109265..f689c91891 100644
--- a/compiler/cresstr.pas
+++ b/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;