summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-05-11 18:20:11 +0000
committerIan Lynagh <igloo@earth.li>2008-05-11 18:20:11 +0000
commit89eac8928317774fdc3f283d78d3ff3cb315db5e (patch)
tree106820d424a02d4823be596144c621ccabc7ffc9 /driver
parent21dc32bc3614edbd9155d9a95ff1e4875e2d1c59 (diff)
downloadhaskell-89eac8928317774fdc3f283d78d3ff3cb315db5e.tar.gz
Tell the mangler how to mangle for amd64/freebsd; fixes trac #2072
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 8cfd5b5716..ea01dc8dc8 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