From 9e11f8122f49356bf6f3429c67052d95ddc0fef0 Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 18 Aug 2020 12:27:46 +0000 Subject: [PATCH] * 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 - --- compiler/aasmcnst.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/aasmcnst.pas b/compiler/aasmcnst.pas index 95f8fc1743..00cff3fb13 100644 --- a/compiler/aasmcnst.pas +++ b/compiler/aasmcnst.pas @@ -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,