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:
5bd3072
)
Tweak the mangler; fixes trac #2871
author
Ian Lynagh
<igloo@earth.li>
Wed, 11 Feb 2009 15:03:40 +0000
(15:03 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 11 Feb 2009 15:03:40 +0000
(15:03 +0000)
It was getting confused by lines like:
# 9 "C:\Temp\/ghc620_0/ghc620_0.hc" 1
driver/mangler/ghc-asm.lprl
patch
|
blob
|
history
diff --git
a/driver/mangler/ghc-asm.lprl
b/driver/mangler/ghc-asm.lprl
index
7fd1855
..
34f4758
100644
(file)
--- a/
driver/mangler/ghc-asm.lprl
+++ b/
driver/mangler/ghc-asm.lprl
@@
-580,7
+580,7
@@
sub mangle_asm {
next if /${T_PRE_APP}(NO_)?APP/om;
next if /^;/m && $TargetPlatform =~ /^hppa/m;
- next if /(^$|^\t\.file\t|^ # )/m && $TargetPlatform =~ /^(mips|ia64)-/m;
+ next if /(^$|^\t\.file\t|^ # )/m && $TargetPlatform =~ /(^mips-|^ia64-|-mingw32$)/m;
if ( $TargetPlatform =~ /^mips-/m
&& /^\t\.(globl\S+\.text|comm\t)/m ) {