mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 18:19:54 +02:00
* 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:
parent
cd5255c147
commit
5fe8b516d4
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user