Browse Source

--- Merging r31802 into '.':
U compiler/aarch64/agcpugas.pas
--- Recording mergeinfo for merge of r31802 into '.':
U .

git-svn-id: branches/fixes_3_0_ios@32014 -

Jonas Maebe 10 years ago
parent
commit
7de1a16d36
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/aarch64/agcpugas.pas

+ 2 - 2
compiler/aarch64/agcpugas.pas

@@ -117,7 +117,7 @@ unit agcpugas;
                      (ref.shiftmode<>SM_None) or
                      (ref.offset<>0) then
                     internalerror(2014121501);
-                  if target_asm.id=as_darwin then
+                  if target_info.system in systems_darwin then
                     result:=ref.symbol.name+darwin_addrpage2str[ref.refaddr]
                   else
                     result:=linux_addrpage2str[ref.refaddr]+ref.symbol.name
@@ -159,7 +159,7 @@ unit agcpugas;
                       addr_gotpageoffset,
                       addr_pageoffset:
                         begin
-                          if target_asm.id=as_darwin then
+                          if target_info.system in systems_darwin then
                             result:=result+', '+ref.symbol.name+darwin_addrpage2str[ref.refaddr]
                           else
                             result:=result+', '+linux_addrpage2str[ref.refaddr]+ref.symbol.name