From: simonmar Date: Mon, 17 Jan 2005 16:46:58 +0000 (+0000) Subject: [project @ 2005-01-17 16:46:58 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1229 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=84783be6c4277331856be38b00f73049ba84029f;p=ghc-hetmet.git [project @ 2005-01-17 16:46:58 by simonmar] sparc-.*linux: slight modification to rev. 1.107, the whitespace before .section should be \s+, not \t. Fixes problems with even more recent gcc versions on sparc64. --- diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index e868f33..886ada8 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -405,7 +405,7 @@ sub init_TARGET_STUFF { $T_CONST_LBL = '^\.LLC(\d+):$'; # regexp for what such a lbl looks like $T_POST_LBL = ':'; - $T_MOVE_DIRVS = '^((\s+\.align\s+\d+|\s+\.proc\s+\d+|\s+\.global\s+\S+|\.text|\.data|\.seg|\.stab.*|\t?\.section.*|\s+\.type.*|\s+\.size.*)\n)'; + $T_MOVE_DIRVS = '^((\s+\.align\s+\d+|\s+\.proc\s+\d+|\s+\.global\s+\S+|\.text|\.data|\.seg|\.stab.*|\s+?\.section.*|\s+\.type.*|\s+\.size.*)\n)'; $T_COPY_DIRVS = '\.(global|globl|proc|stab)'; $T_DOT_WORD = '\.(long|word|nword|xword|byte|half|short|skip|uahalf|uaword)';