[project @ 2001-03-07 10:27:43 by rrt]
[ghc-hetmet.git] / ghc / driver / mangler / ghc-asm.lprl
index 6e5da21..cd4d99a 100644 (file)
@@ -417,6 +417,7 @@ sub mangle_asm {
     $i = 0; $chkcat[0] = 'misc'; $chk[0] = '';
 
     while (<INASM>) {
+       tr/\r//d if $TargetPlatform =~ /-mingw32$/;
        next if $T_STABBY && /^\.stab.*${T_US}__stg_split_marker/o;
        next if $T_STABBY && /^\.stab.*ghc.*c_ID/;
        next if /^\t\.def.*endef$/;