From: dons Date: Thu, 2 Sep 2004 03:22:39 +0000 (+0000) Subject: [project @ 2004-09-02 03:22:39 by dons] X-Git-Tag: Initial_conversion_from_CVS_complete~1647 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=583493b6eff8dd9e8316caf9af2ac1de3d53be94;hp=b218afda6760db984a12275291de686c5cbe3e72;p=ghc-hetmet.git [project @ 2004-09-02 03:22:39 by dons] $T_PRE_APP char now appears to be a '#' on OpenBSD/x86. --- diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index ec3fe59..91bc642 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -165,7 +165,7 @@ sub init_TARGET_STUFF { $T_STABBY = 0; # 1 iff .stab things (usually if a.out format) $T_US = ''; # _ if symbols have an underscore on the front $T_PRE_APP = # regexp that says what comes before APP/NO_APP - ($TargetPlatform =~ /-(linux|freebsd|netbsd)$/) ? '#' : '/' ; + ($TargetPlatform =~ /-(linux|freebsd|netbsd|openbsd)$/) ? '#' : '/' ; $T_CONST_LBL = '^\.LC(\d+):$'; # regexp for what such a lbl looks like $T_POST_LBL = ':'; $T_X86_PRE_LLBL_PAT = '\.L';