소스 검색

* 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;