소스 검색

* excplicitly link against libc in the unit dl, so the correct startup files are used, resolves issue #29594

git-svn-id: trunk@34366 -
florian 9 년 전
부모
커밋
385f13cae9
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      rtl/unix/dl.pp

+ 3 - 2
rtl/unix/dl.pp

@@ -31,8 +31,9 @@ const
   {$define ELF} // ELF symbol versioning.
 {$endif}
 
-{$if defined(linux) and defined(cpuarm)}
-{ arm-linux seems to require this }
+{$if defined(linux) and (defined(cpuarm) or defined(powerpc))}
+{ some linux targets seem to require this, if libc is not linked
+  the wrong start up code is used }
 {$linklib c}
 {$endif}