From 7dff106d14e7f9800853e63b4267dfba8f01a91b Mon Sep 17 00:00:00 2001 From: svenbarth Date: Wed, 14 Oct 2020 09:11:37 +0000 Subject: [PATCH] * use the name of the symbol instead of the name of the section as the later is always lowercased git-svn-id: trunk@47109 - --- compiler/aarch64/agcpugas.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/aarch64/agcpugas.pas b/compiler/aarch64/agcpugas.pas index 11e4e74b3d..a93505a826 100644 --- a/compiler/aarch64/agcpugas.pas +++ b/compiler/aarch64/agcpugas.pas @@ -370,7 +370,7 @@ unit agcpugas; { note: we can pass Nil here, because in case of a LLVM backend this whole code shouldn't be required anyway } - xdatasym:=current_asmdata.DefineAsmSymbol('xdata_'+lastsec.name^,AB_LOCAL,AT_DATA,nil); + xdatasym:=current_asmdata.DefineAsmSymbol('xdata_'+lastsym.sym.name,AB_LOCAL,AT_DATA,nil); tmplist:=tasmlist.create; new_section(tmplist,sec_pdata,lastsec.name^,0);