* Corrected r46481. Use both tcalo_new_section and tcalo_make_dead_strippable flags since only the default implementation implies a new section creation when tcalo_make_dead_strippable is specified.

git-svn-id: trunk@46482 -
This commit is contained in:
yury 2020-08-18 12:27:46 +00:00
parent 17e75004c5
commit 9e11f8122f

View File

@ -1046,7 +1046,7 @@ implementation
indsecname:=secname
else
indsecname:=lower(symind.name);
indtcb:=ctai_typedconstbuilder.create([tcalo_make_dead_strippable]);
indtcb:=ctai_typedconstbuilder.create([tcalo_new_section,tcalo_make_dead_strippable]);
indtcb.emit_tai(tai_const.create_sym_offset(sym,0),ptrdef);
current_asmdata.asmlists[al_indirectglobals].concatlist(indtcb.get_final_asmlist(
symind,