From 89eac8928317774fdc3f283d78d3ff3cb315db5e Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 11 May 2008 18:20:11 +0000 Subject: [PATCH 1/1] Tell the mangler how to mangle for amd64/freebsd; fixes trac #2072 --- driver/mangler/ghc-asm.lprl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4