Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
3f873f31
Commit
3f873f31
authored
Mar 24, 2006
by
wolfgang.thaller@gmx.net
Browse files
Darwin Mangler: include alignment statements for symbol stubs
parent
d2e1c2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/driver/mangler/ghc-asm.lprl
View file @
3f873f31
...
...
@@ -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 . $_;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment