Enable the mangler for netbsd/amd64; fixes trac #2347
authorIan Lynagh <igloo@earth.li>
Fri, 6 Jun 2008 13:07:06 +0000 (13:07 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 6 Jun 2008 13:07:06 +0000 (13:07 +0000)
driver/mangler/ghc-asm.lprl

index ea01dc8..769681c 100644 (file)
@@ -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