X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdriver%2Fghc-split.lprl;h=91a34d256e6af497f2e5dc682d4af67f841be764;hb=b016ea8cf219abd62ed9cedfa5e43666fdf7b516;hp=8c140ccd23e091edcc3f19010037385b39a33b56;hpb=37a28e5948c5f511870e5f67e4472beebecc5493;p=ghc-hetmet.git diff --git a/ghc/driver/ghc-split.lprl b/ghc/driver/ghc-split.lprl index 8c140cc..91a34d2 100644 --- a/ghc/driver/ghc-split.lprl +++ b/ghc/driver/ghc-split.lprl @@ -200,7 +200,7 @@ sub process_asm_block_sparc { $str =~ s/^\.stabs "(ghc\d+\.c)"/.stabs "$ifile_root.hc"/g; # HACK HACK # remove/record any literal constants defined here - while ( $str =~ /(\t\.align .\n\.?(LC\d+):\n(\t\.asci[iz].*\n)+)/ ) { + while ( $str =~ /(\t\.align .\n\.?(L?LC\d+):\n(\t\.asci[iz].*\n)+)/ ) { local($label) = $2; local($body) = $1; @@ -209,7 +209,7 @@ sub process_asm_block_sparc { $LocalConstant{$label} = $body; - $str =~ s/\t\.align .\n\.?LC\d+:\n(\t\.asci[iz].*\n)+//; + $str =~ s/\t\.align .\n\.?LL?C\d+:\n(\t\.asci[iz].*\n)+//; } # inject definitions for any local constants now used herein