Commit 9fe16c3b authored by wolfgang's avatar wolfgang
Browse files

[project @ 2003-04-10 21:27:54 by wolfgang]

Mac OS X/Darwin: Fix two more mangler bugs. Maybe the profiling libraries will work this time...

MERGE TO STABLE
parent 50c98638
...@@ -297,7 +297,7 @@ sub init_TARGET_STUFF { ...@@ -297,7 +297,7 @@ sub init_TARGET_STUFF {
$T_CONST_LBL = '^\LC\d+:'; # regexp for what such a lbl looks like $T_CONST_LBL = '^\LC\d+:'; # regexp for what such a lbl looks like
$T_POST_LBL = ':'; $T_POST_LBL = ':';
$T_MOVE_DIRVS = '^(\s*(\.align \d+|\.text|\.data|\.cstring|\.non_lazy_symbol_pointer|\.const|\.static_const|\.literal4|\.literal8|\.static_data|\.globl \S+)\n)'; $T_MOVE_DIRVS = '^(\s*(\.align \d+|\.text|\.data|\.const_data|\.cstring|\.non_lazy_symbol_pointer|\.const|\.static_const|\.literal4|\.literal8|\.static_data|\.globl \S+)\n)';
$T_COPY_DIRVS = '\.(globl)'; $T_COPY_DIRVS = '\.(globl)';
$T_hsc_cc_PAT = '\.byte.*\)(hsc|cc) (.*)"\n\t\.byte \d+\n\t\.byte "(.*)"\n\t\.byte \d+'; $T_hsc_cc_PAT = '\.byte.*\)(hsc|cc) (.*)"\n\t\.byte \d+\n\t\.byte "(.*)"\n\t\.byte \d+';
...@@ -625,7 +625,7 @@ sub mangle_asm { ...@@ -625,7 +625,7 @@ sub mangle_asm {
$chk[++$i] = $_; $chk[++$i] = $_;
$chkcat[$i] = 'dyld'; $chkcat[$i] = 'dyld';
$chksymb[$i] = ''; $chksymb[$i] = '';
} elsif ( $TargetPlatform =~ /^powerpc-apple-.*/ && /^\.data/ && $chkcat[$i] == 'dyld') } elsif ( $TargetPlatform =~ /^powerpc-apple-.*/ && /^\.data/ && $chkcat[$i] eq 'dyld')
{ # non_lazy_symbol_ptrs that point to local symbols { # non_lazy_symbol_ptrs that point to local symbols
$chk[++$i] = $_; $chk[++$i] = $_;
$chkcat[$i] = 'dyld'; $chkcat[$i] = 'dyld';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment