From 583493b6eff8dd9e8316caf9af2ac1de3d53be94 Mon Sep 17 00:00:00 2001 From: dons Date: Thu, 2 Sep 2004 03:22:39 +0000 Subject: [PATCH 1/1] [project @ 2004-09-02 03:22:39 by dons] $T_PRE_APP char now appears to be a '#' on OpenBSD/x86. --- ghc/driver/mangler/ghc-asm.lprl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 1.7.10.4