summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authordons <unknown>2003-08-18 09:24:50 +0000
committerdons <unknown>2003-08-18 09:24:50 +0000
commit90810d119e4442dceca8bd75a3f52acec3261e5c (patch)
tree69fb4f8fa39e81b82d9cb38598c622347767fb8d /ghc
parent69b53de75dea9499c6a03071753eb914fa983836 (diff)
downloadhaskell-90810d119e4442dceca8bd75a3f52acec3261e5c.tar.gz
[project @ 2003-08-18 09:24:50 by dons]
OpenBSD has now moved to ELF on x86 architectures. So mangle it.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/driver/mangler/ghc-asm.lprl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl
index 51a1b042e4..87dc96320a 100644
--- a/ghc/driver/mangler/ghc-asm.lprl
+++ b/ghc/driver/mangler/ghc-asm.lprl
@@ -142,7 +142,7 @@ sub init_TARGET_STUFF {
$T_create_word = "\t.word";
#--------------------------------------------------------#
- } elsif ( $TargetPlatform =~ /^i386-.*-(linuxaout|freebsd2|openbsd|nextstep3|cygwin32|mingw32)$/ ) {
+ } elsif ( $TargetPlatform =~ /^i386-.*-(linuxaout|freebsd2|nextstep3|cygwin32|mingw32)$/ ) {
# NeXT added but not tested. CaS
$T_STABBY = 1; # 1 iff .stab things (usually if a.out format)
@@ -172,7 +172,7 @@ sub init_TARGET_STUFF {
$T_create_word = "\t.word";
#--------------------------------------------------------#
- } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|freebsd|netbsd)$/ ) {
+ } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|freebsd|netbsd|openbsd)$/ ) {
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = ''; # _ if symbols have an underscore on the front