From: Ian Lynagh Date: Sun, 11 May 2008 18:20:11 +0000 (+0000) Subject: Tell the mangler how to mangle for amd64/freebsd; fixes trac #2072 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=89eac8928317774fdc3f283d78d3ff3cb315db5e;hp=21dc32bc3614edbd9155d9a95ff1e4875e2d1c59 Tell the mangler how to mangle for amd64/freebsd; fixes trac #2072 --- diff --git a/driver/mangler/ghc-asm.lprl b/driver/mangler/ghc-asm.lprl index 8cfd5b5..ea01dc8 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)$/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