From: simonmar Date: Fri, 16 Sep 2005 14:02:22 +0000 (+0000) Subject: [project @ 2005-09-16 14:02:22 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~209 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0546faf2e57f78739e6a00a61dd6ba034289cf82;p=ghc-hetmet.git [project @ 2005-09-16 14:02:22 by simonmar] Update for Sparc/Solaris from Christian Meader. This might fix GHCi on Sparc. --- diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index cd142db..8a66422 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -400,8 +400,8 @@ 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|\.stab.*|\s*\.section.*|\s+\.type.*|\s+\.size.*)\n)'; - $T_COPY_DIRVS = '\.(global|proc|stab)'; + $T_MOVE_DIRVS = '^((\s+\.align\s+\d+|\s+\.proc\s+\d+|\s+\.global\s+\S+|\s+\.local\s+\S+|\.text|\.data|\.stab.*|\s*\.section.*|\s+\.type.*|\s+\.size.*)\n)'; + $T_COPY_DIRVS = '\.(global|local|proc|stab)'; $T_DOT_WORD = '\.(long|word|byte|half|skip|uahalf|uaword)'; $T_DOT_GLOBAL = '^\t\.global';