Преглед изворни кода

* fixed darwin compilation

git-svn-id: trunk@5310 -
Jonas Maebe пре 19 година
родитељ
комит
a9980bf951
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      compiler/aggas.pas

+ 5 - 0
compiler/aggas.pas

@@ -1098,6 +1098,11 @@ implementation
                 result := '.const';
                 exit;
               end;
+            sec_fpc:
+              begin
+                result := '.section __TEXT, .fpc, regular, no_dead_strip';
+                exit;
+              end;
           end;
         result := inherited sectionname(atype,aname,aorder);
       end;