* Put string with unit name into sec_rodata_norel (other strings are already there since r23017, this one was missed).

git-svn-id: trunk@24821 -
This commit is contained in:
sergei 2013-06-08 22:59:18 +00:00
parent cd5255c147
commit 5fe8b516d4

View File

@ -139,10 +139,10 @@ uses
R : TResourceStringItem;
begin
{ Put resourcestrings in a new objectfile. Putting it in multiple files
makes the linking too dependent on the linker script requiring a SORT(*) for
the data sections }
makes the linking too dependent on the linker script requiring a SORT(*) for
the data sections }
maybe_new_object_file(current_asmdata.asmlists[al_const]);
new_section(current_asmdata.asmlists[al_const],sec_data,make_mangledname('RESSTRTABLE',current_module.localsymtable,''),sizeof(pint));
new_section(current_asmdata.asmlists[al_const],sec_rodata_norel,make_mangledname('RESSTRTABLE',current_module.localsymtable,''),sizeof(pint));
maybe_new_object_file(current_asmdata.asmlists[al_resourcestrings]);
new_section(current_asmdata.asmlists[al_resourcestrings],sec_data,make_mangledname('RESSTR',current_module.localsymtable,'1_START'),sizeof(pint));