Przeglądaj źródła

m68k/palmos: support the prc-tools specific @END hack for globals when writing data symbols

git-svn-id: trunk@37897 -
Károly Balogh 7 lat temu
rodzic
commit
57b2064cdd
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      compiler/m68k/ag68kgas.pas

+ 2 - 0
compiler/m68k/ag68kgas.pas

@@ -118,6 +118,8 @@ interface
                 s:=s+symbol.name;
                 if (offset <> 0) then
                   s:=s+tostr_with_plus(offset);
+                if (target_info.system = system_m68k_palmos) and (symbol.typ = AT_DATA) then
+                  s:=s+'@END';
               end
             else
               if (offset <> 0) or ((index=NR_NO) and (base=NR_NO)) then