[project @ 2004-09-02 03:22:39 by dons]
authordons <unknown>
Thu, 2 Sep 2004 03:22:39 +0000 (03:22 +0000)
committerdons <unknown>
Thu, 2 Sep 2004 03:22:39 +0000 (03:22 +0000)
$T_PRE_APP char now appears to be a '#' on OpenBSD/x86.

ghc/driver/mangler/ghc-asm.lprl

index ec3fe59..91bc642 100644 (file)
@@ -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';