projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e1c2c
)
Darwin Mangler: include alignment statements for symbol stubs
author
wolfgang.thaller@gmx.net
<unknown>
Fri, 24 Mar 2006 18:13:05 +0000
(18:13 +0000)
committer
wolfgang.thaller@gmx.net
<unknown>
Fri, 24 Mar 2006 18:13:05 +0000
(18:13 +0000)
ghc/driver/mangler/ghc-asm.lprl
patch
|
blob
|
history
diff --git
a/ghc/driver/mangler/ghc-asm.lprl
b/ghc/driver/mangler/ghc-asm.lprl
index
18388b5
..
902593e
100644
(file)
--- a/
ghc/driver/mangler/ghc-asm.lprl
+++ b/
ghc/driver/mangler/ghc-asm.lprl
@@
-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 . $_;