瀏覽代碼

* also change labels starting with L to _L on darwin/x86

git-svn-id: trunk@2725 -
Jonas Maebe 19 年之前
父節點
當前提交
ec486f0238
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -880,7 +880,7 @@ implementation
         if suffix<>'' then
           result:=result+'_'+suffix;
         { the Darwin assembler assumes that all symbols starting with 'L' are local }
-        if (target_info.system = system_powerpc_darwin) and
+        if (target_info.system in [system_powerpc_darwin,system_i386_darwin]) and
            (result[1] = 'L') then
           result := '_' + result;
       end;