Tell the mangler how to mangle for amd64/freebsd; fixes trac #2072
authorIan Lynagh <igloo@earth.li>
Sun, 11 May 2008 18:20:11 +0000 (18:20 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 11 May 2008 18:20:11 +0000 (18:20 +0000)
driver/mangler/ghc-asm.lprl

index 8cfd5b5..ea01dc8 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)$/m ) {
+    } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd|freebsd)$/m ) {
 
     $T_STABBY       = 0; # 1 iff .stab things (usually if a.out format)
     $T_US           = ''; # _ if symbols have an underscore on the front