Browse Source

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

git-svn-id: trunk@2725 -
Jonas Maebe 19 years ago
parent
commit
ec486f0238
1 changed files with 1 additions and 1 deletions
  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;