From 05abf2170854fe6e8008bcacd6248303d8b629da Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 15 Sep 2005 15:02:05 +0000 Subject: [PATCH] * fixed Mac OS X compilation (start new ".data" section for resource strings) git-svn-id: trunk@1086 - --- compiler/cresstr.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/cresstr.pas b/compiler/cresstr.pas index 6fb46e72f3..88efe47275 100644 --- a/compiler/cresstr.pas +++ b/compiler/cresstr.pas @@ -186,6 +186,7 @@ begin if asmlist[aasmtai.al_resourcestrings]=nil then asmlist[aasmtai.al_resourcestrings]:=taasmoutput.create; maybe_new_object_file(asmlist[aasmtai.al_resourcestrings]); + new_section(asmlist[aasmtai.al_resourcestrings],sec_data,'',4); asmlist[aasmtai.al_resourcestrings].concat(tai_align.create(const_align(sizeof(aint)))); asmlist[aasmtai.al_resourcestrings].concat(tai_symbol.createname_global( make_mangledname('RESOURCESTRINGLIST',current_module.localsymtable,''),AT_DATA,0));