summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-06-06 13:07:06 +0000
committerIan Lynagh <igloo@earth.li>2008-06-06 13:07:06 +0000
commitdc2a0e66275055dec3068cc8194cfe907acd36ff (patch)
tree00b48ae718aa009e7b7c4241f5f734a1ba666df7 /driver
parentf87698f5cd016f5a5643e60709cc16d12ae7d753 (diff)
downloadhaskell-dc2a0e66275055dec3068cc8194cfe907acd36ff.tar.gz
Enable the mangler for netbsd/amd64; fixes trac #2347
Diffstat (limited to 'driver')
-rw-r--r--driver/mangler/ghc-asm.lprl2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/mangler/ghc-asm.lprl b/driver/mangler/ghc-asm.lprl
index ea01dc8dc8..769681c2a7 100644
--- a/driver/mangler/ghc-asm.lprl
+++ b/driver/mangler/ghc-asm.lprl
@@ -216,7 +216,7 @@ sub init_TARGET_STUFF {
$T_HDR_vector = "\.text\n\t\.align 8\n";
#--------------------------------------------------------#
- } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd|freebsd)$/m ) {
+ } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd|freebsd|netbsd)$/m ) {
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = ''; # _ if symbols have an underscore on the front