diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-03-03 19:31:46 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-03-03 19:31:46 +0000 |
commit | 9b9f35b9e747f86ec0bdab004cc3cd8bde784b14 (patch) | |
tree | cfb2c23a68022a72333076fa43fd65910d483d01 /compiler/symdef.pas | |
parent | f50b668fe7f1e9e0e6bd2e8afb269254a4061e46 (diff) | |
download | fpc-9b9f35b9e747f86ec0bdab004cc3cd8bde784b14.tar.gz |
* also change labels starting with L to _L on darwin/x86
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@2725 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/symdef.pas')
-rw-r--r-- | compiler/symdef.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/symdef.pas b/compiler/symdef.pas index db3694a933..931bf7b3fe 100644 --- a/compiler/symdef.pas +++ b/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; |