Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Tobias Decking
GHC
Commits
3f873f31
Commit
3f873f31
authored
Mar 24, 2006
by
wolfgang.thaller@gmx.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Darwin Mangler: include alignment statements for symbol stubs
parent
d2e1c2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ghc/driver/mangler/ghc-asm.lprl
ghc/driver/mangler/ghc-asm.lprl
+3
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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