|
@@ -142,8 +142,6 @@ uses
|
|
|
makes the linking too dependent on the linker script requiring a SORT(*) for
|
|
|
the data sections }
|
|
|
tcb:=ctai_typedconstbuilder.create([tcalo_make_dead_strippable,tcalo_new_section]);
|
|
|
- maybe_new_object_file(current_asmdata.asmlists[al_const]);
|
|
|
- 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));
|
|
@@ -163,7 +161,6 @@ uses
|
|
|
R:=TResourceStringItem(List.First);
|
|
|
while assigned(R) do
|
|
|
begin
|
|
|
- new_section(current_asmdata.asmlists[al_const],sec_rodata_norel,make_mangledname('RESSTR',current_module.localsymtable,'d_'+r.name),sizeof(pint));
|
|
|
{ Write default value }
|
|
|
if assigned(R.value) and (R.len<>0) then
|
|
|
valuelab:=tcb.emit_ansistring_const(current_asmdata.asmlists[al_const],R.Value,R.Len,getansistringcodepage)
|