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

* Darwin targets that don't support link order sym files can't smart link
vectorized sections

git-svn-id: trunk@48765 -

Jonas Maebe пре 4 година
родитељ
комит
6beb28316e
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      compiler/aasmcnst.pas

+ 3 - 1
compiler/aasmcnst.pas

@@ -1584,7 +1584,9 @@ implementation
 
    class function ttai_typedconstbuilder.is_smartlink_vectorized_dead_strip: boolean;
      begin
-       result:=tf_smartlink_sections in target_info.flags;
+       result:=(tf_smartlink_sections in target_info.flags) and
+               (not(target_info.system in systems_darwin) or
+                (tf_supports_symbolorderfile in target_info.flags));
      end;