Darwin Mangler: include alignment statements for symbol stubs

parent d2e1c2ce
......@@ -602,6 +602,9 @@ sub mangle_asm {
$chkcat[$i] = 'dyld';
$chksymb[$i] = '';
$dyld_section = $_;
} elsif ( $TargetPlatform =~ /^.*-apple-darwin.*/ && $chkcat[$i] eq 'dyld' && /^\s*\.align/)
{ # non_lazy_symbol_ptrs that point to local symbols
$dyld_section .= $_;
} elsif ( $TargetPlatform =~ /^.*-apple-darwin.*/ && $chkcat[$i] eq 'dyld' && /^L_.*:$/)
{ # non_lazy_symbol_ptrs that point to local symbols
$chk[++$i] = $dyld_section . $_;
......
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