Skip to content
Snippets Groups Projects
Commit b77ef079 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-05-15 14:54:48 by simonm]

Miraculously, the same bug exists on sparc-sun-solaris2.
parent ca9d67a7
No related branches found
No related tags found
No related merge requests found
...@@ -200,7 +200,7 @@ sub process_asm_block_sparc { ...@@ -200,7 +200,7 @@ sub process_asm_block_sparc {
$str =~ s/^\.stabs "(ghc\d+\.c)"/.stabs "$ifile_root.hc"/g; # HACK HACK $str =~ s/^\.stabs "(ghc\d+\.c)"/.stabs "$ifile_root.hc"/g; # HACK HACK
# remove/record any literal constants defined here # 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($label) = $2;
local($body) = $1; local($body) = $1;
...@@ -209,7 +209,7 @@ sub process_asm_block_sparc { ...@@ -209,7 +209,7 @@ sub process_asm_block_sparc {
$LocalConstant{$label} = $body; $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 # inject definitions for any local constants now used herein
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment