ソースを参照

* don't define asmsymbols for weak external functions as local/global

git-svn-id: trunk@31048 -
Jonas Maebe 10 年 前
コミット
2cdf969649
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -2191,7 +2191,7 @@ implementation
          { treated as references to external symbols, needed for darwin.   }
 
          { make sure we don't change the binding of real external symbols }
-         if not(po_external in pd.procoptions) then
+         if ([po_external,po_weakexternal]*pd.procoptions)=[] then
            begin
              if (po_global in pd.procoptions) or
                 (cs_profile in current_settings.moduleswitches) then