Commit 87822a2e authored by wolfgang's avatar wolfgang
Browse files

[project @ 2005-04-30 15:45:58 by wolfgang]

More Mac OS X Tiger / GCC 4.0 fixes.

MERGE TO STABLE
parent 28122dd6
......@@ -565,6 +565,12 @@ sub mangle_asm {
$chkcat[$i] = 'dyld';
$chksymb[$i] = '';
} elsif ( $TargetPlatform =~ /^powerpc-apple-.*/ && $chkcat[$i] eq 'dyld' && /^\s*\.data/)
{ # non_lazy_symbol_ptrs that point to local symbols
$chk[++$i] = $_;
$chkcat[$i] = 'dyld';
$chksymb[$i] = '';
} elsif ( /^\s+/ ) { # most common case first -- a simple line!
# duplicated from the bottom
......@@ -711,11 +717,6 @@ sub mangle_asm {
$chkcat[$i] = 'unknown';
}
} elsif ( $TargetPlatform =~ /^powerpc-apple-.*/ && /^\.data/ && $chkcat[$i] eq 'dyld')
{ # non_lazy_symbol_ptrs that point to local symbols
$chk[++$i] = $_;
$chkcat[$i] = 'dyld';
$chksymb[$i] = '';
} elsif ( $TargetPlatform =~ /^powerpc-.*-linux/ && /^\.LCTOC1 = /o ) {
# PowerPC Linux's large-model PIC (-fPIC) generates a gobal offset
# table "by hand". Be sure to copy it over.
......
Markdown is supported
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