From: simonm Date: Tue, 13 Jun 2000 15:35:29 +0000 (+0000) Subject: [project @ 2000-06-13 15:35:29 by simonm] X-Git-Tag: Approximately_9120_patches~4241 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=da06df9b73e48c1032e7c9ef48f75c1e62b6ecb2 [project @ 2000-06-13 15:35:29 by simonm] Miraculously, the same bug exists on sparc-sun-solaris2. --- diff --git a/ghc/driver/split/ghc-split.lprl b/ghc/driver/split/ghc-split.lprl index 57729f2..804b3eb 100644 --- a/ghc/driver/split/ghc-split.lprl +++ b/ghc/driver/split/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\.ascii.*\n)+)/ ) { + while ( $str =~ /(\t\.align .\n(\.?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 .\nLC\d+:\n(\t\.ascii.*\n)+//; + $str =~ s/\t\.align .\n\.?LC\d+:\n(\t\.asci[iz].*\n)+//; } # inject definitions for any local constants now used herein