Browse Source

Treat metadata as data in agppcmpw.pas

git-svn-id: trunk@47041 -
pierre 4 years ago
parent
commit
0685319be8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/powerpc/agppcmpw.pas

+ 1 - 1
compiler/powerpc/agppcmpw.pas

@@ -1046,7 +1046,7 @@ interface
                begin
                   if tai_symbol(hp).sym.typ=AT_FUNCTION then
                     WriteProcedureHeader(hp)
-                  else if tai_symbol(hp).sym.typ=AT_DATA then
+                  else if tai_symbol(hp).sym.typ in [AT_DATA,AT_METADATA] then
                     begin
                        s:= tai_symbol(hp).sym.name;
                        WriteDataHeader(s, tai_symbol(hp).is_global, true);