瀏覽代碼

* use the name of the symbol instead of the name of the section as the later is always lowercased

git-svn-id: trunk@47109 -
svenbarth 4 年之前
父節點
當前提交
7dff106d14
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/aarch64/agcpugas.pas

+ 1 - 1
compiler/aarch64/agcpugas.pas

@@ -370,7 +370,7 @@ unit agcpugas;
                         { note: we can pass Nil here, because in case of a LLVM
                         { note: we can pass Nil here, because in case of a LLVM
                                 backend this whole code shouldn't be required
                                 backend this whole code shouldn't be required
                                 anyway }
                                 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;
                         tmplist:=tasmlist.create;
                         new_section(tmplist,sec_pdata,lastsec.name^,0);
                         new_section(tmplist,sec_pdata,lastsec.name^,0);